Task: Program Execution
Input (English): n, M, H
Output (English): 0