Task: Program Execution
Input (English): 4155, 3437, 9741, 185, E, B, 1235, R, o, 1413, p, v, P, 5261, r, 9971, P, Q, U, f, m, q
Output (English): 4155, 3437, 9741, 185, 1235, 1413, 5261, 9971