Task: Program Execution
Input (English): 6509, O, 7107, 3043, g, J, u, M, V
Output (English): O, g, J, u, M, V, 6509, 7107, 3043