Task: Program Execution
Input (English): 9585, n, S, g, 3539, 2323, R, 8923, j, 1861, w
Output (English): n, S, g, R, j, w, 9585, 3539, 2323, 8923, 1861