Task: Program Execution
Input (English): U, 9741, 9961, 9811, 3795, i, n, J, 3881, A, Z, i, V, S, 3657, 9705, n, N
Output (English): 9741, 9961, 9811, 3795, 3881, 3657, 9705