Task: Program Execution
Input (English): G, n, N
Output (English): [['G', 'n'], ['G', 'N'], ['n', 'N']]