VK Cup 2017 - Qualification 2
A
New Password
Codeforces
800
原题
←B →
翻译中…

Innokentiy decides to change the password in the social net "Contact!", but he is too lazy to invent a new password by himself. That is why he needs your help.

翻译中…

Innokentiy decides that new password should satisfy the following conditions:

翻译中…
  • the length of the password must be equal to $*n*$,
  • the password should consist only of lowercase Latin letters,
  • the number of distinct symbols in the password must be equal to $*k*$,
  • any two consecutive symbols in the password must be distinct.
翻译中…

Your task is to help Innokentiy and to invent a new password which will satisfy all given conditions.

翻译中…

Input

翻译中…

The first line contains two positive integers $*n*$ and $*k*$ ($2 ≤ *n* ≤ 100$, $2 ≤ *k* ≤ *min*(*n*, 26)$) — the length of the password and the number of distinct symbols in it.

翻译中…

Pay attention that a desired new password always exists.

翻译中…

Output

翻译中…

Print any password which satisfies all conditions given by Innokentiy.

翻译中…

Note

翻译中…

In the first test there is one of the appropriate new passwords — java, because its length is equal to $4$ and $3$ distinct lowercase letters a, j and v are used in it.

翻译中…

In the second test there is one of the appropriate new passwords — python, because its length is equal to $6$ and it consists of $6$ distinct lowercase letters.

翻译中…

In the third test there is one of the appropriate new passwords — phphp, because its length is equal to $5$ and $2$ distinct lowercase letters p and h are used in it.

翻译中…

Pay attention the condition that no two identical symbols are consecutive is correct for all appropriate passwords in tests.

翻译中…

样例

Input #1
4 3
Output #1
java
InputCopy OutputCopy
Input #2
6 6
Output #2
python
InputCopy OutputCopy
Input #3
5 2
Output #3
phphp
InputCopy OutputCopy
题目信息
题号
770A
时间限制
1 s
内存限制
256 MB
标签
*special
模拟

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。