Task: Program Execution
Input (English): 5427, 977, 3677
Output (English): 3