Task: Program Execution
Input (English): J, g, 6, 3, R
Output (English): [['J', 'g', '6', '3'], ['J', 'g', '6', 'R'], ['J', 'g', '3', 'R'], ['J', '6', '3', 'R'], ['g', '6', '3', 'R']]