Codeforces Beta Round 85 (Div. 1 Only)
A
Petya and Inequiations
Codeforces
1400
原题
←B →
翻译中…

Little Petya loves inequations. Help him find $*n*$ positive integers $*a*_{1}, *a*_{2}, ..., *a*_{*n*}$, such that the following two conditions are satisfied:

翻译中…
  • $*a*_{1}^{2} + *a*_{2}^{2} + ... + *a*_{*n*}^{2} ≥ *x*$
  • $*a*_{1} + *a*_{2} + ... + *a*_{*n*} ≤ *y*$
翻译中…

Input

翻译中…

The first line contains three space-separated integers $*n*$, $*x*$ and $*y*$ ($1 ≤ *n* ≤ 10^{5}, 1 ≤ *x* ≤ 10^{12}, 1 ≤ *y* ≤ 10^{6}$).

翻译中…

Please do not use the %lld specificator to read or write 64-bit integers in С++. It is recommended to use cin, cout streams or the %I64d specificator.

翻译中…

Output

翻译中…

Print $*n*$ positive integers that satisfy the conditions, one integer per line. If such numbers do not exist, print a single number "-1". If there are several solutions, print any of them.

翻译中…

样例

Input #1
5 15 15
Output #1
4
4
1
1
2
InputCopy OutputCopy
Input #2
2 3 2
Output #2
-1
InputCopy OutputCopy
Input #3
1 99 11
Output #3
11
InputCopy OutputCopy
题目信息
题号
111A
时间限制
2 s
内存限制
256 MB
标签
贪心

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