Task: Program Execution
Input (English): w, 5287, N
Output (English): 1, 3