Task: Program Execution
Input (English): n, 4887, O, t, g, l, 5785, 2853, S
Output (English): n, O, t, g, l, S, 4887, 5785, 2853