Task: Program Execution
Input (English): 8411, d, g, 1457, 1411, X, 6167
Output (English): 8411, 1457, 1411, 6167