Task: Program Execution
Input (English): r, 9561, N, b, 471
Output (English): 18, 9561, 14, 2, 471