100861: [AtCoder]ABC086 B - 1 21
Memory Limit:256 MB
Time Limit:2 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
Score : $200$ points
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
.
Sample Input 1
1 21
Sample Output 1
Yes
As $121$ $=$ $11$ × $11$, it is a square number.
Sample Input 2
100 100
Sample Output 2
No
$100100$ is not a square number.
Sample Input 3
12 10
Sample Output 3
No