import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int[] ar = new int[7]; int n = sc.nextInt(); int max = -1; for (int i=0; i=0; i--) { if (ar[i]==max) {System.out.println(i); break;} } } }