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