Task: Program Execution
Input (English): 8239, G, 3575, D, B, e, 3969, 4829, M, 1825, Y, 8047
Output (English): 8239, 3575, 3969, 4829, 1825, 8047