Task: Program Execution
Input (English): 2307, 6501, 3091, Z, h, W, p, 6537, L, 3239, j, 1783, n, T, 7787, l
Output (English): 2307, 6501, 3091, 6537, 3239, 1783, 7787