import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String a=sc.next();
String b=sc.next();
a+=b;
double i=Double.valueOf(a);
int j=(int)Math.sqrt(i);
if(Math.pow(j,2)==i){System.out.println("Yes");}else{System.out.println("No");}
}} import java.util.*; util.* java public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String a=sc.next();
String b=sc.next();
a+=b;
double i=Double.valueOf(a);
int j=(int)Math.sqrt(i);
if(Math.pow(j,2)==i){System.out.println("Yes");}else{System.out.println("No");}
}} Main public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String a=sc.next();
String b=sc.next();
a+=b;
double i=Double.valueOf(a);
int j=(int)Math.sqrt(i);
if(Math.pow(j,2)==i){System.out.println("Yes");}else{System.out.println("No");}
} main {
Scanner sc = new Scanner(System.in);
String a=sc.next();
String b=sc.next();
a+=b;
double i=Double.valueOf(a);
int j=(int)Math.sqrt(i);
if(Math.pow(j,2)==i){System.out.println("Yes");}else{System.out.println("No");}
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String a=sc.next(); a sc.next() sc.next sc String b=sc.next(); b sc.next() sc.next sc a+=b a b double i=Double.valueOf(a); i Double.valueOf(a) Double.valueOf Double a int j=(int)Math.sqrt(i); j (int)Math.sqrt(i) Math.sqrt Math i if(Math.pow(j,2)==i){System.out.println("Yes");}else{System.out.println("No");} Math.pow(j,2)==i Math.pow(j,2) Math.pow Math j 2 i {System.out.println("Yes");} System.out.println("Yes") System.out.println System.out System System.out "Yes" {System.out.println("No");} System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String a=sc.next();
String b=sc.next();
a+=b;
double i=Double.valueOf(a);
int j=(int)Math.sqrt(i);
if(Math.pow(j,2)==i){System.out.println("Yes");}else{System.out.println("No");}
}} public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String a=sc.next();
String b=sc.next();
a+=b;
double i=Double.valueOf(a);
int j=(int)Math.sqrt(i);
if(Math.pow(j,2)==i){System.out.println("Yes");}else{System.out.println("No");}
}} Main
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String a=sc.next();
String b=sc.next();
a+=b;
double i=Double.valueOf(a);
int j=(int)Math.sqrt(i);
if(Math.pow(j,2)==i){System.out.println("Yes");}else{System.out.println("No");}
}}