Task: Program Execution
Input (English): 1881, 3761, 3465, M, i, 5059, P, Q, i, J, 6875, 4061, N, Q, H, W, 7369, C, 4923, V
Output (English): 1881, 3761, 3465, 5059, 6875, 4061, 7369, 4923