Task: Program Execution
Input (English): 5977, 1841, 4747, 7977, O, h, 4949, 2345, 2559
Output (English): O, h, 5977, 1841, 4747, 7977, 4949, 2345, 2559