Task: Program Execution
Input (English): 3, W, N
Output (English): [['3', 'W'], ['3', 'N'], ['W', 'N']]