Task: Program Execution
Input (English): 1849, 6851, E, 2373, q, Y, 5889, 1097, 1181, 8537, i, d, R, 4627, r, 9379, 9299, h
Output (English): 1849, 6851, 2373, 5889, 1097, 1181, 8537, 4627, 9379, 9299