Task: Program Execution
Input (English): 2, W, a, H, d
Output (English): [['2', 'W', 'a', 'H'], ['2', 'W', 'a', 'd'], ['2', 'W', 'H', 'd'], ['2', 'a', 'H', 'd'], ['W', 'a', 'H', 'd']]