import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] a = new int[10]; for (int i = 0; i < a.length - 1 ; i++) { a[i] = sc.nextInt(); } for(int i = 0 ; i < 10 ; i++) { if(a[i] != i + 1) { System.out.println(i + 1); } } } }