Task: Program Execution
Input (English): d, F, i, B
Output (English): [['d', 'F', 'i'], ['d', 'F', 'B'], ['d', 'i', 'B'], ['F', 'i', 'B']]