Q118

Given n and k, return the kth permutation sequence.