AtCoder Beginner Contest 086
B
1 21
AtCoder
⌀ 0
原题
← AC →
翻译中…

Problem Statement

翻译中…

AtCoDeer the deer has found two positive integers, $a$ and $b$. Determine whether the concatenation of $a$ and $b$ in this order is a square number.

翻译中…

Constraints

翻译中…
  • $1$ $≤$ $a,b$ $≤$ $100$
  • $a$ and $b$ are integers.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

a b

翻译中…

Output

翻译中…

If the concatenation of $a$ and $b$ in this order is a square number, print Yes; otherwise, print No.

翻译中…

样例

Input #1
1 21
Output #1
Yes
As $121$ $=$ $11$ × $11$, it is a square number.
Input #2
100 100
Output #2
No
$100100$ is not a square number.
Input #3
12 10
Output #3
No
题目信息
题号
abc086_b
时间限制
2 s
内存限制
256 MB

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