Problem: Let's define the cost of a string s as the number of index pairs i and j (1 ≤ i < j < |s|) such that s_i = s_j and s_{i+1} = s_{j+1}.

You are given two positive integers n and k. Among all strings with length n that contain only the first k characters of the Latin alphabet, find a string with minimum possible cost. If there are multiple such strings with minimum cost — find any of them.

Input

The only line contains two integers n and k (1 ≤ n ≤ 2 ⋅ 10^5; 1 ≤ k ≤ 26).

Output

Print the string s such that it consists of n characters, each its character is one of the k first Latin letters, and it has the minimum possible cost among all these strings. If there are multiple such strings — print any of them.

Examples

Input


9 4


Output


aabacadbb


Input


5 1


Output


aaaaa

Input


10 26


Output


codeforces

Solution (in PYTHON3):

Solution:
n,k = map(int,input().split())
m = {0: '', 1: 'a', 2: 'aabb', 3: 'aabacbbcc', 4: 'aabacadbbcbdccdd', 5: 'aabacadaebbcbdbeccdceddee', 6: 'aabacadaeafbbcbdbebfccdcecfddedfeeff', 7: 'aabacadaeafagbbcbdbebfbgccdcecfcgddedfdgeefegffgg', 8: 'aabacadaeafagahbbcbdbebfbgbhccdcecfcgchddedfdgdheefegehffgfhgghh', 9: 'aabacadaeafagahaibbcbdbebfbgbhbiccdcecfcgchciddedfdgdhdieefegeheiffgfhfigghgihhii', 10: 'aabacadaeafagahaiajbbcbdbebfbgbhbibjccdcecfcgchcicjddedfdgdhdidjeefegeheiejffgfhfifjgghgigjhhihjiijj', 11: 'aabacadaeafagahaiajakbbcbdbebfbgbhbibjbkccdcecfcgchcicjckddedfdgdhdidjdkeefegeheiejekffgfhfifjfkgghgigjgkhhihjhkiijikjjkk', 12: 'aabacadaeafagahaiajakalbbcbdbebfbgbhbibjbkblccdcecfcgchcicjckclddedfdgdhdidjdkdleefegeheiejekelffgfhfifjfkflgghgigjgkglhhihjhkhliijikiljjkjlkkll', 13: 'aabacadaeafagahaiajakalambbcbdbebfbgbhbibjbkblbmccdcecfcgchcicjckclcmddedfdgdhdidjdkdldmeefegeheiejekelemffgfhfifjfkflfmgghgigjgkglgmhhihjhkhlhmiijikilimjjkjljmkklkmllmm', 14: 'aabacadaeafagahaiajakalamanbbcbdbebfbgbhbibjbkblbmbnccdcecfcgchcicjckclcmcnddedfdgdhdidjdkdldmdneefegeheiejekelemenffgfhfifjfkflfmfngghgigjgkglgmgnhhihjhkhlhmhniijikiliminjjkjljmjnkklkmknllmlnmmnn', 15: 'aabacadaeafagahaiajakalamanaobbcbdbebfbgbhbibjbkblbmbnboccdcecfcgchcicjckclcmcncoddedfdgdhdidjdkdldmdndoeefegeheiejekelemeneoffgfhfifjfkflfmfnfogghgigjgkglgmgngohhihjhkhlhmhnhoiijikiliminiojjkjljmjnjokklkmknkollmlnlommnmonnoo', 16: 'aabacadaeafagahaiajakalamanaoapbbcbdbebfbgbhbibjbkblbmbnbobpccdcecfcgchcicjckclcmcncocpddedfdgdhdidjdkdldmdndodpeefegeheiejekelemeneoepffgfhfifjfkflfmfnfofpgghgigjgkglgmgngogphhihjhkhlhmhnhohpiijikiliminioipjjkjljmjnjojpkklkmknkokpllmlnlolpmmnmompnnonpoopp', 17: 'aabacadaeafagahaiajakalamanaoapaqbbcbdbebfbgbhbibjbkblbmbnbobpbqccdcecfcgchcicjckclcmcncocpcqddedfdgdhdidjdkdldmdndodpdqeefegeheiejekelemeneoepeqffgfhfifjfkflfmfnfofpfqgghgigjgkglgmgngogpgqhhihjhkhlhmhnhohphqiijikiliminioipiqjjkjljmjnjojpjqkklkmknkokpkqllmlnlolplqmmnmompmqnnonpnqoopoqppqq', 18: 'aabacadaeafagahaiajakalamanaoapaqarbbcbdbebfbgbhbibjbkblbmbnbobpbqbrccdcecfcgchcicjckclcmcncocpcqcrddedfdgdhdidjdkdldmdndodpdqdreefegeheiejekelemeneoepeqerffgfhfifjfkflfmfnfofpfqfrgghgigjgkglgmgngogpgqgrhhihjhkhlhmhnhohphqhriijikiliminioipiqirjjkjljmjnjojpjqjrkklkmknkokpkqkrllmlnlolplqlrmmnmompmqmrnnonpnqnroopoqorppqprqqrr', 19: 'aabacadaeafagahaiajakalamanaoapaqarasbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsccdcecfcgchcicjckclcmcncocpcqcrcsddedfdgdhdidjdkdldmdndodpdqdrdseefegeheiejekelemeneoepeqeresffgfhfifjfkflfmfnfofpfqfrfsgghgigjgkglgmgngogpgqgrgshhihjhkhlhmhnhohphqhrhsiijikiliminioipiqirisjjkjljmjnjojpjqjrjskklkmknkokpkqkrksllmlnlolplqlrlsmmnmompmqmrmsnnonpnqnrnsoopoqorosppqprpsqqrqsrrss', 20: 'aabacadaeafagahaiajakalamanaoapaqarasatbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtccdcecfcgchcicjckclcmcncocpcqcrcsctddedfdgdhdidjdkdldmdndodpdqdrdsdteefegeheiejekelemeneoepeqeresetffgfhfifjfkflfmfnfofpfqfrfsftgghgigjgkglgmgngogpgqgrgsgthhihjhkhlhmhnhohphqhrhshtiijikiliminioipiqirisitjjkjljmjnjojpjqjrjsjtkklkmknkokpkqkrksktllmlnlolplqlrlsltmmnmompmqmrmsmtnnonpnqnrnsntoopoqorosotppqprpsptqqrqsqtrrsrtsstt', 21: 'aabacadaeafagahaiajakalamanaoapaqarasataubbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbuccdcecfcgchcicjckclcmcncocpcqcrcsctcuddedfdgdhdidjdkdldmdndodpdqdrdsdtdueefegeheiejekelemeneoepeqereseteuffgfhfifjfkflfmfnfofpfqfrfsftfugghgigjgkglgmgngogpgqgrgsgtguhhihjhkhlhmhnhohphqhrhshthuiijikiliminioipiqirisitiujjkjljmjnjojpjqjrjsjtjukklkmknkokpkqkrksktkullmlnlolplqlrlsltlummnmompmqmrmsmtmunnonpnqnrnsntnuoopoqorosotouppqprpsptpuqqrqsqtqurrsrtrusstsuttuu', 22: 'aabacadaeafagahaiajakalamanaoapaqarasatauavbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvccdcecfcgchcicjckclcmcncocpcqcrcsctcucvddedfdgdhdidjdkdldmdndodpdqdrdsdtdudveefegeheiejekelemeneoepeqereseteuevffgfhfifjfkflfmfnfofpfqfrfsftfufvgghgigjgkglgmgngogpgqgrgsgtgugvhhihjhkhlhmhnhohphqhrhshthuhviijikiliminioipiqirisitiuivjjkjljmjnjojpjqjrjsjtjujvkklkmknkokpkqkrksktkukvllmlnlolplqlrlsltlulvmmnmompmqmrmsmtmumvnnonpnqnrnsntnunvoopoqorosotouovppqprpsptpupvqqrqsqtquqvrrsrtrurvsstsusvttutvuuvv', 23: 'aabacadaeafagahaiajakalamanaoapaqarasatauavawbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdweefegeheiejekelemeneoepeqereseteuevewffgfhfifjfkflfmfnfofpfqfrfsftfufvfwgghgigjgkglgmgngogpgqgrgsgtgugvgwhhihjhkhlhmhnhohphqhrhshthuhvhwiijikiliminioipiqirisitiuiviwjjkjljmjnjojpjqjrjsjtjujvjwkklkmknkokpkqkrksktkukvkwllmlnlolplqlrlsltlulvlwmmnmompmqmrmsmtmumvmwnnonpnqnrnsntnunvnwoopoqorosotouovowppqprpsptpupvpwqqrqsqtquqvqwrrsrtrurvrwsstsusvswttutvtwuuvuwvvww', 24: 'aabacadaeafagahaiajakalamanaoapaqarasatauavawaxbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxeefegeheiejekelemeneoepeqereseteuevewexffgfhfifjfkflfmfnfofpfqfrfsftfufvfwfxgghgigjgkglgmgngogpgqgrgsgtgugvgwgxhhihjhkhlhmhnhohphqhrhshthuhvhwhxiijikiliminioipiqirisitiuiviwixjjkjljmjnjojpjqjrjsjtjujvjwjxkklkmknkokpkqkrksktkukvkwkxllmlnlolplqlrlsltlulvlwlxmmnmompmqmrmsmtmumvmwmxnnonpnqnrnsntnunvnwnxoopoqorosotouovowoxppqprpsptpupvpwpxqqrqsqtquqvqwqxrrsrtrurvrwrxsstsusvswsxttutvtwtxuuvuwuxvvwvxwwxx', 25: 'aabacadaeafagahaiajakalamanaoapaqarasatauavawaxaybbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbyccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdyeefegeheiejekelemeneoepeqereseteuevewexeyffgfhfifjfkflfmfnfofpfqfrfsftfufvfwfxfygghgigjgkglgmgngogpgqgrgsgtgugvgwgxgyhhihjhkhlhmhnhohphqhrhshthuhvhwhxhyiijikiliminioipiqirisitiuiviwixiyjjkjljmjnjojpjqjrjsjtjujvjwjxjykklkmknkokpkqkrksktkukvkwkxkyllmlnlolplqlrlsltlulvlwlxlymmnmompmqmrmsmtmumvmwmxmynnonpnqnrnsntnunvnwnxnyoopoqorosotouovowoxoyppqprpsptpupvpwpxpyqqrqsqtquqvqwqxqyrrsrtrurvrwrxrysstsusvswsxsyttutvtwtxtyuuvuwuxuyvvwvxvywwxwyxxyy', 26: 'aabacadaeafagahaiajakalamanaoapaqarasatauavawaxayazbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzeefegeheiejekelemeneoepeqereseteuevewexeyezffgfhfifjfkflfmfnfofpfqfrfsftfufvfwfxfyfzgghgigjgkglgmgngogpgqgrgsgtgugvgwgxgygzhhihjhkhlhmhnhohphqhrhshthuhvhwhxhyhziijikiliminioipiqirisitiuiviwixiyizjjkjljmjnjojpjqjrjsjtjujvjwjxjyjzkklkmknkokpkqkrksktkukvkwkxkykzllmlnlolplqlrlsltlulvlwlxlylzmmnmompmqmrmsmtmumvmwmxmymznnonpnqnrnsntnunvnwnxnynzoopoqorosotouovowoxoyozppqprpsptpupvpwpxpypzqqrqsqtquqvqwqxqyqzrrsrtrurvrwrxryrzsstsusvswsxsyszttutvtwtxtytzuuvuwuxuyuzvvwvxvyvzwwxwywzxxyxzyyzz'}
ans = m[k]
if len(ans)>=n:
    print(ans[:n])
else:
    print((ans*((n//len(ans))+1))[:n])