Task: Program Execution
Input (English): R, Q, 9, 3
Output (English): [['R', 'Q', '9'], ['R', 'Q', '3'], ['R', '9', '3'], ['Q', '9', '3']]