Task: Program Execution
Input (English): B, 8, 1, 7, f
Output (English): [['B', '8', '1', '7'], ['B', '8', '1', 'f'], ['B', '8', '7', 'f'], ['B', '1', '7', 'f'], ['8', '1', '7', 'f']]