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