import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[], ans;
		int a, b, c;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        a = Integer.parseInt(str[0]);
        b = Integer.parseInt(str[1]);
        c = Integer.parseInt(str[2]);

        if(a < b && b < c){
        	ans = "Yes";
        }else{
        	ans = "No";
        }
        System.out.println(ans);

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[], ans;
		int a, b, c;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        a = Integer.parseInt(str[0]);
        b = Integer.parseInt(str[1]);
        c = Integer.parseInt(str[2]);

        if(a < b && b < c){
        	ans = "Yes";
        }else{
        	ans = "No";
        }
        System.out.println(ans);

	}

} Main public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[], ans;
		int a, b, c;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        a = Integer.parseInt(str[0]);
        b = Integer.parseInt(str[1]);
        c = Integer.parseInt(str[2]);

        if(a < b && b < c){
        	ans = "Yes";
        }else{
        	ans = "No";
        }
        System.out.println(ans);

	} main {
		// TODO ?????????????????????????????????????????????
		String str[], ans;
		int a, b, c;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        a = Integer.parseInt(str[0]);
        b = Integer.parseInt(str[1]);
        c = Integer.parseInt(str[2]);

        if(a < b && b < c){
        	ans = "Yes";
        }else{
        	ans = "No";
        }
        System.out.println(ans);

	} String str[] str ans; ans int a a b b c; c BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) str = br.readLine().split(" ") str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a = Integer.parseInt(str[0]) a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 b = Integer.parseInt(str[1]) b Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 c = Integer.parseInt(str[2]) c Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 if(a < b && b < c){
        	ans = "Yes";
        }else{
        	ans = "No";
        } a < b && b < c a < b a b b < c b c {
        	ans = "Yes";
        } ans = "Yes" ans "Yes" {
        	ans = "No";
        } ans = "No" ans "No" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[], ans;
		int a, b, c;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        a = Integer.parseInt(str[0]);
        b = Integer.parseInt(str[1]);
        c = Integer.parseInt(str[2]);

        if(a < b && b < c){
        	ans = "Yes";
        }else{
        	ans = "No";
        }
        System.out.println(ans);

	}

} public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[], ans;
		int a, b, c;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        a = Integer.parseInt(str[0]);
        b = Integer.parseInt(str[1]);
        c = Integer.parseInt(str[2]);

        if(a < b && b < c){
        	ans = "Yes";
        }else{
        	ans = "No";
        }
        System.out.println(ans);

	}

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[], ans;
		int a, b, c;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        a = Integer.parseInt(str[0]);
        b = Integer.parseInt(str[1]);
        c = Integer.parseInt(str[2]);

        if(a < b && b < c){
        	ans = "Yes";
        }else{
        	ans = "No";
        }
        System.out.println(ans);

	}

}