Task: Program Execution
Input (English): 5613, 7655, 9929, N, 7115, 4561
Output (English): 5