Task: Program Execution
Input (English): 1707, 6019, t, N, 2889, 7837, 7949, 7647, o, K, n
Output (English): 1, 2, 5, 6, 7, 8