Task: Program Execution
Input (English): 4017, 265, R
Output (English): 3