give integer n k construct list answer contain n different positive integer range 1 n obey follow requirementsuppose list answer a1 a2 a3 list a1 a2 a2 a3 a3 a4 an1 exactly k distinct integersreturn list answer if multiple valid answer return Example 1input n 3 k 1output 123explanation the 123 different positive integer range 1 3 11 exactly 1 distinct integer 1Example 2Input n 3 k 2output 132explanation the 132 different positive integer range 1 3 21 exactly 2 distinct integer 1 2 Constraints1 k n 104