Task: Program Execution
Input (English): 4769, N, k, 405, 3239, 9395, 175, 4623, 7927, 2827, 5729, R, 8179, 5635
Output (English): 4769, 14, 11, 405, 3239, 9395, 175, 4623, 7927, 2827, 5729, 18, 8179, 5635