Task: Program Execution
Input (English): 4665, w, 6481, q, 1051, 6635, R, L, 4599, 6099, 8389, 1565, n, 2877, 9827, D, j, 9611
Output (English): 4665, 6481, 1051, 6635, 4599, 6099, 8389, 1565, 2877, 9827, 9611