Task: Program Execution
Input (English): M, T, Q, 5
Output (English): [['M', 'T', 'Q'], ['M', 'T', '5'], ['M', 'Q', '5'], ['T', 'Q', '5']]