Task: Program Execution
Input (English): 9507, m, 4959, S, 7501, A, 7359, m, 9961, r, Y, u, 8847, Z, 7113, 9951, 5391, C, 9025, 5891, 3737, P, q
Output (English): 9507, 4959, 7501, 7359, 9961, 8847, 7113, 9951, 5391, 9025, 5891, 3737