Task: Program Execution
Input (English): n, 619, 7829, 2877, 4257, 745, 1197, 6621, 909, 335
Output (English): 1