Codeforces Round 100
A
New Year Table
Codeforces
1700
原题
←B →
翻译中…

Gerald is setting the New Year table. The table has the form of a circle; its radius equals $*R*$. Gerald invited many guests and is concerned whether the table has enough space for plates for all those guests. Consider all plates to be round and have the same radii that equal $*r*$. Each plate must be completely inside the table and must touch the edge of the table. Of course, the plates must not intersect, but they can touch each other. Help Gerald determine whether the table is large enough for $*n*$ plates.

翻译中…

Input

翻译中…

The first line contains three integers $*n*$, $*R*$ and $*r*$ ($1 ≤ *n* ≤ 100$, $1 ≤ *r*, *R* ≤ 1000$) — the number of plates, the radius of the table and the plates' radius.

翻译中…

Output

翻译中…

Print "YES" (without the quotes) if it is possible to place $*n*$ plates on the table by the rules given above. If it is impossible, print "NO".

翻译中…

Remember, that each plate must touch the edge of the table.

翻译中…

Note

翻译中…

The possible arrangement of the plates for the first sample is:

翻译中…

image

翻译中…

样例

Input #1
4 10 4
Output #1
YES
InputCopy OutputCopy
Input #2
5 10 4
Output #2
NO
InputCopy OutputCopy
Input #3
1 10 10
Output #3
YES
InputCopy OutputCopy
题目信息
题号
140A
时间限制
2 s
内存限制
256 MB
标签
计算几何
数学

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