Task: Program Execution
Input (English): 7347, 6907, O, 3967, 7687, c, X, J, 4133, 4215, 1377, 4997
Output (English): 7347, 6907, 3967, 7687, 4133, 4215, 1377, 4997