Task: Program Execution
Input (English): 1419, B, b, Q, 1621, E
Output (English): B, b, Q, E, 1419, 1621