Task: Program Execution
Input (English): L, N, 5725
Output (English): 2