return list(itertools.permutations(nums))