Task: Program Execution
Input (English): R, L, x, 9071, 8495, O, q, F
Output (English): 2