Task: Program Execution
Input (English): R, 5989, 3491, 6445, 5423, v, C, t, q, p, e, 7555, 7333, Q, 6351
Output (English): 8