Task: Program Execution
Input (English): 3729, 3983, C, S, J, J, 1981, F, b, a, 4363, j, c, f
Output (English): C, S, J, J, F, b, a, j, c, f, 3729, 3983, 1981, 4363