Task: Program Execution
Input (English): g, 2, 7, U
Output (English): [['g', '2', '7'], ['g', '2', 'U'], ['g', '7', 'U'], ['2', '7', 'U']]