Task: Program Execution
Input (English): 1351, 6293, w, 4851, 2533, h, 2305, 6007, A, k, Z, 7067
Output (English): 1351, 6293, 4851, 2533, 2305, 6007, 7067