Task: Program Execution
Input (English): i, r, d, x
Output (English): [['i', 'r', 'd'], ['i', 'r', 'x'], ['i', 'd', 'x'], ['r', 'd', 'x']]