Task: Program Execution
Input (English): G, 5, h
Output (English): [['G', '5'], ['G', 'h'], ['5', 'h']]