P23799 [AtCoder] 1 21
入门
题目描述

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.

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.

Constraints

  • 1 ≤ a,b ≤ 100
  • a and b are integers.

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

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
1 21
样例输出
Yes