Task: Program Execution
Input (English): 9421, 3701, R, N, 7759
Output (English): 2