Task: Program Execution
Input (English): G, 6, 4, 9, m
Output (English): [['G', '6', '4', '9'], ['G', '6', '4', 'm'], ['G', '6', '9', 'm'], ['G', '4', '9', 'm'], ['6', '4', '9', 'm']]