import java.util.Scanner;
public class Main{
    public static void main(String[] args){
    Scanner InData = new Scanner(System.in);
    int a = InData.nextInt();
    int b = InData.nextInt();
    int c = InData.nextInt();
    if(a>=b || b>=c)
        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 InData = new Scanner(System.in);
    int a = InData.nextInt();
    int b = InData.nextInt();
    int c = InData.nextInt();
    if(a>=b || b>=c)
        System.out.println("No");
    else
        System.out.println("Yes");
    }
} Main public static void main(String[] args){
    Scanner InData = new Scanner(System.in);
    int a = InData.nextInt();
    int b = InData.nextInt();
    int c = InData.nextInt();
    if(a>=b || b>=c)
        System.out.println("No");
    else
        System.out.println("Yes");
    } main {
    Scanner InData = new Scanner(System.in);
    int a = InData.nextInt();
    int b = InData.nextInt();
    int c = InData.nextInt();
    if(a>=b || b>=c)
        System.out.println("No");
    else
        System.out.println("Yes");
    } Scanner InData = new Scanner(System.in); InData new Scanner(System.in) int a = InData.nextInt(); a InData.nextInt() InData.nextInt InData int b = InData.nextInt(); b InData.nextInt() InData.nextInt InData int c = InData.nextInt(); c InData.nextInt() InData.nextInt InData if(a>=b || b>=c)
        System.out.println("No");
    else
        System.out.println("Yes"); a>=b || b>=c a>=b a b b>=c b c System.out.println("No") System.out.println System.out System System.out "No" 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 InData = new Scanner(System.in);
    int a = InData.nextInt();
    int b = InData.nextInt();
    int c = InData.nextInt();
    if(a>=b || b>=c)
        System.out.println("No");
    else
        System.out.println("Yes");
    }
} public class Main{
    public static void main(String[] args){
    Scanner InData = new Scanner(System.in);
    int a = InData.nextInt();
    int b = InData.nextInt();
    int c = InData.nextInt();
    if(a>=b || b>=c)
        System.out.println("No");
    else
        System.out.println("Yes");
    }
} Main
import java.util.Scanner;
public class Main{
    public static void main(String[] args){
    Scanner InData = new Scanner(System.in);
    int a = InData.nextInt();
    int b = InData.nextInt();
    int c = InData.nextInt();
    if(a>=b || b>=c)
        System.out.println("No");
    else
        System.out.println("Yes");
    }
}