Task: Program Execution
Input (English): J, 4469, 1443, 1919, 3219, c, 4293, C, 7159, 2293, 4351, g, g, f, 423, 9373, 6949, Q, 3539
Output (English): J, c, C, g, g, f, Q, 4469, 1443, 1919, 3219, 4293, 7159, 2293, 4351, 423, 9373, 6949, 3539