Task: Program Execution
Input (English): N, 4633, 667
Output (English): 5300