Task: Program Execution
Input (English): m, j, r
Output (English): -1