Task: Program Execution
Input (English): Z, c, 7415, 5159, F, 589, 4953, U, 4897, G, 7373, 6279, 9345, Q
Output (English): 7415, 5159, 589, 4953, 4897, 7373, 6279, 9345