Task: Program Execution
Input (English): 9, g, 6, r
Output (English): [['9', 'g', '6'], ['9', 'g', 'r'], ['9', '6', 'r'], ['g', '6', 'r']]