Task: Program Execution
Input (English): 6261, 8737, 8109, B
Output (English): 4