Task: Program Execution
Input (English): 5741, 1999, 9435, 337, Q, I, z, 7845, u, u, J, 2185, 9587, m, 3075, G, 9227, 9707
Output (English): 5741, 1999, 9435, 337, 7845, 2185, 9587, 3075, 9227, 9707