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