Task: Program Execution
Input (English): g, 3, L
Output (English): [['g', '3'], ['g', 'L'], ['3', 'L']]