import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No0024 { public static void main(String[] args){ int val[] = new int[10]; try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){ int n = Integer.parseInt(br.readLine()); for(int i=0; i buf){ buf = val[i]; ans = i; } } System.out.println(ans); } }