Task: Program Execution
Input (English): 5881, 9331, 4959, g, O, 3171, 2821, Y, P, 5087
Output (English): 5881, 9331, 4959, 3171, 2821, 5087