Task: Program Execution
Input (English): F, 9937, R, 7297, 1821, w, a, T, F, 1255, N, m, 2805, 4571, Z, a
Output (English): 9937, 7297, 1821, 1255, 2805, 4571