Task: Program Execution
Input (English): R, 4703, N, f, 1139, 679, r, j, 4479, 6971
Output (English): 5