100 atcoder#ABC086B. [ABC086B] 1 21

[ABC086B] 1 21

Score : 200200 points

Problem Statement

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

Constraints

  • 11 \leq a,ba,b \leq 100100
  • aa and bb are integers.

Input

Input is given from Standard Input in the following format:

aa bb

Output

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

1 21
Yes

As 121121 == 1111 × 1111, it is a square number.

100 100
No

100100100100 is not a square number.

12 10
No