Task: Program Execution
Input (English): 4589, 3741, h, U, p, g, 1231, 2183, U
Output (English): 4589, 3741, 1231, 2183