Task: Program Execution
Input (English): 8779, X, B, 7751, E
Output (English): 8779, 7751