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[] types_temp = Console.ReadLine().Split(' '); int[] types = Array.ConvertAll(types_temp,Int32.Parse); // your code goes here max(tabType(types)); } static int[] tabType(int[] types) { int[] tab =new int[5]; tab[0]=0;tab[1]=0;tab[2]=0;tab[3]=0;tab[4]=0; for(int i = 0;imax) max = tab[i]; } for(int j = 0;j<5;j++) { if(tab[j]==max) { Console.WriteLine(j+1); break; } } } }