Task: Program Execution
Input (English): 9747, K, 4349, H, 4747
Output (English): 9747, 4349, 4747