Task: Program Execution
Input (English): R, A, w, 2711, 463, 1613, R, 45, 5211, 7407, O
Output (English): 6