Task: Program Execution
Input (English): A, M, 9379, 2197, 4913, I, 8971, 7415, q, 6227, u, 515
Output (English): A, M, I, q, u, 9379, 2197, 4913, 8971, 7415, 6227, 515