Task: Program Execution
Input (English): Q, 1, M, S, K
Output (English): [['Q', '1', 'M', 'S'], ['Q', '1', 'M', 'K'], ['Q', '1', 'S', 'K'], ['Q', 'M', 'S', 'K'], ['1', 'M', 'S', 'K']]