Task: Program Execution
Input (English): 4561, N, l, 3867, q, 4405, u, v, J, 1161, 4533, 7981, K
Output (English): N, l, q, u, v, J, K