Task: Program Execution
Input (English): R, F, 7975, 3703, 2139, 8595
Output (English): 22412