Task: Program Execution
Input (English): 0, E, G, M
Output (English): [['0', 'E', 'G'], ['0', 'E', 'M'], ['0', 'G', 'M'], ['E', 'G', 'M']]