Task: Program Execution
Input (English): N, T, 7755, 7447, 6711, 8589, 8817, 1279, E, C, 2907, 5887, 6303, 1611, 2891, 4727, 9511, w
Output (English): 5