Task: Program Execution
Input (English): Q, 2, 5, N
Output (English): [['Q', '2', '5'], ['Q', '2', 'N'], ['Q', '5', 'N'], ['2', '5', 'N']]