Task: Program Execution
Input (English): R, 7385, 1417, 831, 1285, t, 3817, N, D, 8789, 1541, Q, 655, 8531, 1009, 3159, 8107, 369, 1029, V, 2675, 7321, Q
Output (English): 7385, 1417, 831, 1285, 3817, 8789, 1541, 655, 8531, 1009, 3159, 8107, 369, 1029, 2675, 7321