Task: Program Execution
Input (English): r, 3, Q, 5, v
Output (English): [['r', '3', 'Q', '5'], ['r', '3', 'Q', 'v'], ['r', '3', '5', 'v'], ['r', 'Q', '5', 'v'], ['3', 'Q', '5', 'v']]