Task: Program Execution
Input (English): 5609, E, h, 5597, 3137, q
Output (English): 5609, 5597, 3137