Task: Program Execution
Input (English): w, u, N, 1583, 6457
Output (English): 4, 5