Task: Program Execution
Input (English): T, 7687, n, g, J, 9363, 1341, h, 6379, 5249, 3449, 9291, d, E
Output (English): T, n, g, J, h, d, E, 7687, 9363, 1341, 6379, 5249, 3449, 9291