import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static int getHighestCount(int[] types) { int[] countTypes = getCountTypes(types); int maxTypeIndex = 1; int maxValue = 0; for(int i=1;imaxValue) { maxTypeIndex = i; maxValue = countTypes[i]; } } return maxTypeIndex; } static int[] getCountTypes(int[] types) { int[] countTypes = new int[6]; for(int i =0;i