Task: Program Execution
Input (English): p, 4, 0, N
Output (English): [['p', '4', '0'], ['p', '4', 'N'], ['p', '0', 'N'], ['4', '0', 'N']]