Task: Program Execution
Input (English): 9147, r
Output (English): 1