Task: Program Execution
Input (English): I, 997, 3727, M, i, 5795, T, 7539, m, z
Output (English): I, M, i, T, m, z, 997, 3727, 5795, 7539