Task: Program Execution
Input (English): 7837, b, 2949, G, 5251, 9751, b, F, 4099, J, o, 6177, J, o, r, M, m
Output (English): b, G, b, F, J, o, J, o, r, M, m, 7837, 2949, 5251, 9751, 4099, 6177