
import java.util.Scanner;

class Main {

public static void main(String[] args){
String a,b;
String m;
Scanner sc = new Scanner(System.in);
a= sc.next();
b= sc.next();

a=a+b;
int c =Integer.parseInt(a);


m="No";
for(int i=1; i<=1000; i++){
if((c-(i*i))==0){
m="Yes";
break;
}
}
 System.out.println(m);
}
} import java.util.Scanner; Scanner java.util class Main {

public static void main(String[] args){
String a,b;
String m;
Scanner sc = new Scanner(System.in);
a= sc.next();
b= sc.next();

a=a+b;
int c =Integer.parseInt(a);


m="No";
for(int i=1; i<=1000; i++){
if((c-(i*i))==0){
m="Yes";
break;
}
}
 System.out.println(m);
}
} Main public static void main(String[] args){
String a,b;
String m;
Scanner sc = new Scanner(System.in);
a= sc.next();
b= sc.next();

a=a+b;
int c =Integer.parseInt(a);


m="No";
for(int i=1; i<=1000; i++){
if((c-(i*i))==0){
m="Yes";
break;
}
}
 System.out.println(m);
} main {
String a,b;
String m;
Scanner sc = new Scanner(System.in);
a= sc.next();
b= sc.next();

a=a+b;
int c =Integer.parseInt(a);


m="No";
for(int i=1; i<=1000; i++){
if((c-(i*i))==0){
m="Yes";
break;
}
}
 System.out.println(m);
} String a a b; b String m; m Scanner sc = new Scanner(System.in); sc new Scanner(System.in) a= sc.next() a sc.next() sc.next sc b= sc.next() b sc.next() sc.next sc a=a+b a a+b a b int c =Integer.parseInt(a); c Integer.parseInt(a) Integer.parseInt Integer a m="No" m "No" for(int i=1; i<=1000; i++){
if((c-(i*i))==0){
m="Yes";
break;
}
} int i=1; int i=1; i 1 i<=1000 i 1000 i++ i++ i {
if((c-(i*i))==0){
m="Yes";
break;
}
} {
if((c-(i*i))==0){
m="Yes";
break;
}
} if((c-(i*i))==0){
m="Yes";
break;
} (c-(i*i))==0 (c-(i*i)) c (i*i) i i 0 {
m="Yes";
break;
} m="Yes" m "Yes" break; System.out.println(m) System.out.println System.out System System.out m String[] args args

import java.util.Scanner;

class Main {

public static void main(String[] args){
String a,b;
String m;
Scanner sc = new Scanner(System.in);
a= sc.next();
b= sc.next();

a=a+b;
int c =Integer.parseInt(a);


m="No";
for(int i=1; i<=1000; i++){
if((c-(i*i))==0){
m="Yes";
break;
}
}
 System.out.println(m);
}
}
