Task: Program Execution
Input (English): 5791, M
Output (English): M