Task: Program Execution
Input (English): g, B, 2, J
Output (English): [['g', 'B', '2'], ['g', 'B', 'J'], ['g', '2', 'J'], ['B', '2', 'J']]