using System; using System.Collections.Generic; using System.IO; using System.Linq; class Solution { static void Main(String[] args) { int n = Convert.ToInt32(Console.ReadLine()); string str = Console.ReadLine(); string[] types_temp = str.Split(' '); int[] types = Array.ConvertAll(types_temp,Int32.Parse); int [] answers = new int[6]; answers[0]=0; answers[1]=0; answers[2]=0; answers[3]=0; answers[4]=0; answers[5]=0; for (int i=0;i maxValue){maxValue = answers[j]; identity = j;} } Console.WriteLine(identity); // your code goes here } }