Permutation $*p*$ is an ordered set of integers $*p*_{1}, *p*_{2}, ..., *p*_{*n*}$, consisting of $*n*$ distinct positive integers not larger than $*n*$. We'll denote as $*n*$ the length of permutation $*p*_{1}, *p*_{2}, ..., *p*_{*n*}$.
Your task is to find such permutation $*p*$ of length $*n*$, that the group of numbers $|*p*_{1} - *p*_{2}|, |*p*_{2} - *p*_{3}|, ..., |*p*_{*n* - 1} - *p*_{*n*}|$ has exactly $*k*$ distinct elements.
Input
The single line of the input contains two space-separated positive integers $*n*$, $*k*$ ($1 ≤ *k* < *n* ≤ 10^{5}$).
Output
Print $*n*$ integers forming the permutation. If there are multiple answers, print any of them.
Note
By $|*x*|$ we denote the absolute value of number $*x*$.
样例
3 2
1 3 2
3 1
1 2 3
5 2
1 3 2 4 5
题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。