Task: Program Execution
Input (English): u, 1635, 737, 5001
Output (English): 3