The conversation between human and AI assistant.
[|Human|] For a given positive integer n, generate all the possible permutations of numbers with length n.
[|AI|] 1 2
2 1
[|Human|] 
For a given positive integer n, generate all the possible permutations of numbers with length n.