﻿using System;

namespace MaxCounters
{
    public class Program
    {
        public static void Main(string[] args)
        {
            int N = 5;
            int[] A = new int[] {3, 4, 4, 6, 1, 4, 4};
            Solution S = new Solution();
            
            Console.WriteLine($"Array [{string.Join(", ", A)}] calculates these {N} counters: [{string.Join(", ", S.solution(N, A))}]");
        }
    }
}
