Task: Program Execution
Input (English): V, p, 5, 3, H, 5
Output (English): [['V', 'p', '5', '3', 'H'], ['V', 'p', '5', '3', '5'], ['V', 'p', '5', 'H', '5'], ['V', 'p', '3', 'H', '5'], ['V', '5', '3', 'H', '5'], ['p', '5', '3', 'H', '5']]