Task: Program Execution
Input (English): n, 1, P
Output (English): [['n', '1'], ['n', 'P'], ['1', 'P']]