Task: Program Execution
Input (English): g, 9089, N, 9523
Output (English): 2