Task: Program Execution
Input (English): 2413, 3911, F, 3761, J, S, 3177, 6993, 5825, Z, F, 4221
Output (English): F, J, S, Z, F, 2413, 3911, 3761, 3177, 6993, 5825, 4221