Task: Program Execution
Input (English): 5, B, S, J
Output (English): [['5', 'B', 'S'], ['5', 'B', 'J'], ['5', 'S', 'J'], ['B', 'S', 'J']]