Task: Program Execution
Input (English): 719, 7167, 8711, 5897, 5247, 9287, A
Output (English): 1, 2, 3, 4, 5, 6