/* * Solution Template for Outbreak * * Australian Informatics Olympiad 2026 Invitationals * * This file is provided to assist with reading of input and writing of output * for the problem. You may modify this file however you wish, or * you may choose not to use this file at all. */ #include /* N is the number of villagers and is always odd. */ int N; /* A contains the initial personality values. The array starts from 0. */ int A[200005]; int answer; int main(void) { int i; /* Read the number of villagers and their initial values. */ scanf("%d", &N); for (i = 0; i < N; i++) { scanf("%d", &A[i]); } /* TODO: Determine the last villager's personality value. */ /* Write the answer. */ printf("%d\n", answer); return 0; }