Task: Program Execution
Input (English): 7239, 4159, 1099, 8947, 4043, 6111, S, 8667, O, A, m, 5231, 9073
Output (English): S, O, A, m, 7239, 4159, 1099, 8947, 4043, 6111, 8667, 5231, 9073