Task: Program Execution
Input (English): L, 1391, U, R, 6747, T, i, x, 1521, 9807, A, 5371, h, 4647, Z, 9663, a
Output (English): L, U, R, T, i, x, A, h, Z, a, 1391, 6747, 1521, 9807, 5371, 4647, 9663