Task: Program Execution
Input (English): F, 1261, 8477, f, T, O, C, T, d, 637, 3461, K, m, o, q, 3627, 7151, N, a, a
Output (English): 1261, 8477, 637, 3461, 3627, 7151