Task: Program Execution
Input (English): 9249, 6987, 3885, 2887, 1541, z, m
Output (English): z, m, 9249, 6987, 3885, 2887, 1541