Task: Program Execution
Input (English): N, 4681, u, 3493, 4247, m, M, M, 4455, A
Output (English): 4681, 3493, 4247, 4455