Task: Program Execution
Input (English): M, 7977, o
Output (English): 7977