Task: Program Execution
Input (English): J, 5995, 4391, 7983, 9151, O
Output (English): J, O, 5995, 4391, 7983, 9151