Task: Program Execution
Input (English): 1347, U, 4355, 1703, w, 2183, 2863, z, R, D, B, 785, u, X, I, 915, 7113
Output (English): 1347, 4355, 1703, 2183, 2863, 785, 915, 7113