import java.io.*;
class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split(" ");
        if(sp.length > 3)
        	return;
        int a = Integer.parseInt(sp[0]);
        int b = Integer.parseInt(sp[1]);
        int c = Integer.parseInt(sp[2]);
        if(a<b){
        	if(b<c){
        		System.out.println("Yes");
        	}else
            	System.out.println("No");
        }else
        	System.out.println("No");
      }
} import java.io.*; io.* java class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split(" ");
        if(sp.length > 3)
        	return;
        int a = Integer.parseInt(sp[0]);
        int b = Integer.parseInt(sp[1]);
        int c = Integer.parseInt(sp[2]);
        if(a<b){
        	if(b<c){
        		System.out.println("Yes");
        	}else
            	System.out.println("No");
        }else
        	System.out.println("No");
      }
} Main public static void main(String[] args) throws IOException {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split(" ");
        if(sp.length > 3)
        	return;
        int a = Integer.parseInt(sp[0]);
        int b = Integer.parseInt(sp[1]);
        int c = Integer.parseInt(sp[2]);
        if(a<b){
        	if(b<c){
        		System.out.println("Yes");
        	}else
            	System.out.println("No");
        }else
        	System.out.println("No");
      } main {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split(" ");
        if(sp.length > 3)
        	return;
        int a = Integer.parseInt(sp[0]);
        int b = Integer.parseInt(sp[1]);
        int c = Integer.parseInt(sp[2]);
        if(a<b){
        	if(b<c){
        		System.out.println("Yes");
        	}else
            	System.out.println("No");
        }else
        	System.out.println("No");
      } BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1); r new BufferedReader(new InputStreamReader(System.in), 1) String is = r.readLine(); is r.readLine() r.readLine r String[] sp = is.split(" "); sp is.split(" ") is.split is " " if(sp.length > 3)
        	return; sp.length > 3 sp.length sp sp.length 3 return; int a = Integer.parseInt(sp[0]); a Integer.parseInt(sp[0]) Integer.parseInt Integer sp[0] sp 0 int b = Integer.parseInt(sp[1]); b Integer.parseInt(sp[1]) Integer.parseInt Integer sp[1] sp 1 int c = Integer.parseInt(sp[2]); c Integer.parseInt(sp[2]) Integer.parseInt Integer sp[2] sp 2 if(a<b){
        	if(b<c){
        		System.out.println("Yes");
        	}else
            	System.out.println("No");
        }else
        	System.out.println("No"); a<b a b {
        	if(b<c){
        		System.out.println("Yes");
        	}else
            	System.out.println("No");
        } if(b<c){
        		System.out.println("Yes");
        	}else
            	System.out.println("No"); b<c b c {
        		System.out.println("Yes");
        	} System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.io.*;
class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split(" ");
        if(sp.length > 3)
        	return;
        int a = Integer.parseInt(sp[0]);
        int b = Integer.parseInt(sp[1]);
        int c = Integer.parseInt(sp[2]);
        if(a<b){
        	if(b<c){
        		System.out.println("Yes");
        	}else
            	System.out.println("No");
        }else
        	System.out.println("No");
      }
}