Task: Program Execution
Input (English): 1735, 6729, X, 2847, 6869, U, 2835, 6443, h, e, 5571, 3721, 9777
Output (English): 1735, 6729, 2847, 6869, 2835, 6443, 5571, 3721, 9777