Task: Program Execution
Input (English): 6777, 3909, o, L, g, 7113, N, M, O, X
Output (English): o, L, g, N, M, O, X, 6777, 3909, 7113