Task: Program Execution
Input (English): n, 8897, h, 9395, z, t, 5761
Output (English): 8897, 9395, 5761