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