#include int main(void) { int array[9]; int j; for (j = 0;j < 9;j++) { scanf("%d", &array[j]); } int i; for (i = 0;i <= 8;i++) { if (array[i + 1] - array[i] == 2) printf("%d\n", array[i] + 1); } if (array[0] != 1) printf("%d\n", 1); else if (array[i] != 10) printf("%d\n", 10); return 0; }