Task: Program Execution
Input (English): N, W
Output (English):