Task: Program Execution
Input (English): 1643, 6701, 8429, 2717, B, 4577, 8979
Output (English): 1, 2, 3, 4, 6, 7