Task: Program Execution
Input (English): R, 5067, f, q
Output (English): 1