permutations

512ms
692ms