import java.math.BigInteger;
import java.util.Scanner;
class p2116 {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
while(sc.hasNext()){
int k=sc.nextInt();
BigInteger a =sc.nextBigInteger();
BigInteger b=sc.nextBigInteger();
BigInteger sum=b.add(a);
BigInteger max=BigInteger.valueOf(2).pow(k-1).subtract(BigInteger.ONE);
BigInteger low=BigInteger.valueOf(2).pow(k-1).multiply(BigInteger.valueOf(-1));
if(sum.compareTo(max)>0||sum.compareTo(low)<0){
System.out.println("Yes");
}else{
System.out.println("WaHaHa");
}
}
}
}
import java.util.Scanner;
class p2116 {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
while(sc.hasNext()){
int k=sc.nextInt();
BigInteger a =sc.nextBigInteger();
BigInteger b=sc.nextBigInteger();
BigInteger sum=b.add(a);
BigInteger max=BigInteger.valueOf(2).pow(k-1).subtract(BigInteger.ONE);
BigInteger low=BigInteger.valueOf(2).pow(k-1).multiply(BigInteger.valueOf(-1));
if(sum.compareTo(max)>0||sum.compareTo(low)<0){
System.out.println("Yes");
}else{
System.out.println("WaHaHa");
}
}
}
}