Task: Program Execution
Input (English): 9, 7, 3, Z, 9
Output (English): [['9', '7', '3', 'Z'], ['9', '7', '3', '9'], ['9', '7', 'Z', '9'], ['9', '3', 'Z', '9'], ['7', '3', 'Z', '9']]