Task: Program Execution
Input (English): 1003, 4317, 7717, 7821, B, 8287, 8923, a, 4251
Output (English): 1003, 4317, 7717, 7821, 2, 8287, 8923, 1, 4251