Task: Program Execution
Input (English): 9533, V, C, w, 6155, g, 5971, X
Output (English): V, C, w, g, X, 9533, 6155, 5971