import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String as = sc.next();
		String bs = sc.next();
		
		String s = as + bs;
		int ab = Integer.parseInt(s);
		int count = 0;
		
		for(int i = 1; i <= ab; i++) {
			if(ab % i == 0) {
				count++;
			}
		}
		
		if(count % 2 == 0) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String as = sc.next();
		String bs = sc.next();
		
		String s = as + bs;
		int ab = Integer.parseInt(s);
		int count = 0;
		
		for(int i = 1; i <= ab; i++) {
			if(ab % i == 0) {
				count++;
			}
		}
		
		if(count % 2 == 0) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String as = sc.next();
		String bs = sc.next();
		
		String s = as + bs;
		int ab = Integer.parseInt(s);
		int count = 0;
		
		for(int i = 1; i <= ab; i++) {
			if(ab % i == 0) {
				count++;
			}
		}
		
		if(count % 2 == 0) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		String as = sc.next();
		String bs = sc.next();
		
		String s = as + bs;
		int ab = Integer.parseInt(s);
		int count = 0;
		
		for(int i = 1; i <= ab; i++) {
			if(ab % i == 0) {
				count++;
			}
		}
		
		if(count % 2 == 0) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String as = sc.next(); as sc.next() sc.next sc String bs = sc.next(); bs sc.next() sc.next sc String s = as + bs; s as + bs as bs int ab = Integer.parseInt(s); ab Integer.parseInt(s) Integer.parseInt Integer s int count = 0; count 0 for(int i = 1; i <= ab; i++) {
			if(ab % i == 0) {
				count++;
			}
		} int i = 1; int i = 1; i 1 i <= ab i ab i++ i++ i {
			if(ab % i == 0) {
				count++;
			}
		} {
			if(ab % i == 0) {
				count++;
			}
		} if(ab % i == 0) {
				count++;
			} ab % i == 0 ab % i ab i 0 {
				count++;
			} count++ count if(count % 2 == 0) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		} count % 2 == 0 count % 2 count 2 0 {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String as = sc.next();
		String bs = sc.next();
		
		String s = as + bs;
		int ab = Integer.parseInt(s);
		int count = 0;
		
		for(int i = 1; i <= ab; i++) {
			if(ab % i == 0) {
				count++;
			}
		}
		
		if(count % 2 == 0) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String as = sc.next();
		String bs = sc.next();
		
		String s = as + bs;
		int ab = Integer.parseInt(s);
		int count = 0;
		
		for(int i = 1; i <= ab; i++) {
			if(ab % i == 0) {
				count++;
			}
		}
		
		if(count % 2 == 0) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String as = sc.next();
		String bs = sc.next();
		
		String s = as + bs;
		int ab = Integer.parseInt(s);
		int count = 0;
		
		for(int i = 1; i <= ab; i++) {
			if(ab % i == 0) {
				count++;
			}
		}
		
		if(count % 2 == 0) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}
}
