Testing Round 6
A
Candies
Codeforces
800
原题
←B →
翻译中…

Polycarpus has got $*n*$ candies and $*m*$ friends ($*n* ≥ *m*$). He wants to make a New Year present with candies to each friend. Polycarpus is planning to present all candies and he wants to do this in the fairest (that is, most equal) manner. He wants to choose such $*a*_{*i*}$, where $*a*_{*i*}$ is the number of candies in the $*i*$-th friend's present, that the maximum $*a*_{*i*}$ differs from the least $*a*_{*i*}$ as little as possible.

翻译中…

For example, if $*n*$ is divisible by $*m*$, then he is going to present the same number of candies to all his friends, that is, the maximum $*a*_{*i*}$ won't differ from the minimum one.

翻译中…

Input

翻译中…

The single line of the input contains a pair of space-separated positive integers $*n*$, $*m*$ ($1 ≤ *n*, *m* ≤ 100;*n* ≥ *m*$) — the number of candies and the number of Polycarpus's friends.

翻译中…

Output

翻译中…

Print the required sequence $*a*_{1}, *a*_{2}, ..., *a*_{*m*}$, where $*a*_{*i*}$ is the number of candies in the $*i*$-th friend's present. All numbers $*a*_{*i*}$ must be positive integers, total up to $*n*$, the maximum one should differ from the minimum one by the smallest possible value.

翻译中…

Note

翻译中…

Print $*a*_{*i*}$ in any order, separate the numbers by spaces.

翻译中…

样例

Input #1
12 3
Output #1
4 4 4
InputCopy OutputCopy
Input #2
15 4
Output #2
3 4 4 4
InputCopy OutputCopy
Input #3
18 7
Output #3
2 2 2 3 3 3 3
InputCopy OutputCopy
题目信息
题号
306A
所属比赛
时间限制
1 s
内存限制
256 MB
标签
模拟

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