Task: Program Execution
Input (English): 8, p, 7, r
Output (English): [['8', 'p', '7'], ['8', 'p', 'r'], ['8', '7', 'r'], ['p', '7', 'r']]