Task: Program Execution
Input (English): 899, 3285, 5205, 3851, 1729, 105, 4039, 4987, D
Output (English): 1