Task: Program Execution
Input (English): N, e, M
Output (English): 0