import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        int t;
        System.out.println(s.nextInt() < (t = s.nextInt()) && t < s.nextInt() ? "Yes" : "No");
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        int t;
        System.out.println(s.nextInt() < (t = s.nextInt()) && t < s.nextInt() ? "Yes" : "No");
    }
} Main public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        int t;
        System.out.println(s.nextInt() < (t = s.nextInt()) && t < s.nextInt() ? "Yes" : "No");
    } main {
        Scanner s = new Scanner(System.in);
        int t;
        System.out.println(s.nextInt() < (t = s.nextInt()) && t < s.nextInt() ? "Yes" : "No");
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int t; t System.out.println(s.nextInt() < (t = s.nextInt()) && t < s.nextInt() ? "Yes" : "No") System.out.println System.out System System.out s.nextInt() < (t = s.nextInt()) && t < s.nextInt() ? "Yes" : "No" s.nextInt() < (t = s.nextInt()) && t < s.nextInt() s.nextInt() < (t = s.nextInt()) s.nextInt() s.nextInt s (t = s.nextInt()) t s.nextInt() s.nextInt s t < s.nextInt() t s.nextInt() s.nextInt s "Yes" "No" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        int t;
        System.out.println(s.nextInt() < (t = s.nextInt()) && t < s.nextInt() ? "Yes" : "No");
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        int t;
        System.out.println(s.nextInt() < (t = s.nextInt()) && t < s.nextInt() ? "Yes" : "No");
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        int t;
        System.out.println(s.nextInt() < (t = s.nextInt()) && t < s.nextInt() ? "Yes" : "No");
    }
}