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