Task: Program Execution
Input (English): 5, 7, g, 6, 5
Output (English): [['5', '7', 'g', '6'], ['5', '7', 'g', '5'], ['5', '7', '6', '5'], ['5', 'g', '6', '5'], ['7', 'g', '6', '5']]