Task: Program Execution
Input (English): 5673, 3137, 661, B, 6145, q, 4247, Q, H
Output (English): 5673, 3137, 661, 6145, 4247