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