Task: Program Execution
Input (English): 4731, R, 2425, 6309, W, p, 3625, o, 7309, w, e, 4907, q, 8407, w, 3431, 9277, E, w, 4767, 4905, e
Output (English): R, W, p, o, w, e, q, w, E, w, e