Task: Program Execution
Input (English): N, 4271, 435, 469
Output (English): 14, 4271, 435, 469