Task: Program Execution
Input (English): 5803, G, u, 435, N, 5341, 1497, x, J, N, 8467, n, C
Output (English): 5803, 435, 5341, 1497, 8467