Task: Program Execution
Input (English): 2587, P, 6493, 5357, w, z, U, 5759, 9145, 9233, 1721, 8593, 5671, Q, 1541, X, m
Output (English): 2587, 6493, 5357, 5759, 9145, 9233, 1721, 8593, 5671, 1541