import java.util.*;

//input a b c is a < b < c?
public class Main {
	public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		String[] input = sc.nextLine().split(" ");
		int [] abc = new int[input.length];
		for(int i = 0;i<abc.length;i++)
		{
			abc[i] = Integer.parseInt(input[i]);
		}
		String str;
		if(abc[0] < abc[2])
		{
			if(abc[1] < abc[2])
			{
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			}
			else
			{
				str = "No";
			}
		}
		else
		{
			str = "No";
		}
		System.out.println(str);

		sc.close();
	}
}
 import java.util.*; util.* java public class Main {
	public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		String[] input = sc.nextLine().split(" ");
		int [] abc = new int[input.length];
		for(int i = 0;i<abc.length;i++)
		{
			abc[i] = Integer.parseInt(input[i]);
		}
		String str;
		if(abc[0] < abc[2])
		{
			if(abc[1] < abc[2])
			{
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			}
			else
			{
				str = "No";
			}
		}
		else
		{
			str = "No";
		}
		System.out.println(str);

		sc.close();
	}
} Main public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		String[] input = sc.nextLine().split(" ");
		int [] abc = new int[input.length];
		for(int i = 0;i<abc.length;i++)
		{
			abc[i] = Integer.parseInt(input[i]);
		}
		String str;
		if(abc[0] < abc[2])
		{
			if(abc[1] < abc[2])
			{
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			}
			else
			{
				str = "No";
			}
		}
		else
		{
			str = "No";
		}
		System.out.println(str);

		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		String[] input = sc.nextLine().split(" ");
		int [] abc = new int[input.length];
		for(int i = 0;i<abc.length;i++)
		{
			abc[i] = Integer.parseInt(input[i]);
		}
		String str;
		if(abc[0] < abc[2])
		{
			if(abc[1] < abc[2])
			{
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			}
			else
			{
				str = "No";
			}
		}
		else
		{
			str = "No";
		}
		System.out.println(str);

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] input = sc.nextLine().split(" "); input sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int [] abc = new int[input.length]; abc new int[input.length] input.length input input.length for(int i = 0;i<abc.length;i++)
		{
			abc[i] = Integer.parseInt(input[i]);
		} int i = 0; int i = 0; i 0 i<abc.length i abc.length abc abc.length i++ i++ i {
			abc[i] = Integer.parseInt(input[i]);
		} {
			abc[i] = Integer.parseInt(input[i]);
		} abc[i] = Integer.parseInt(input[i]) abc[i] abc i Integer.parseInt(input[i]) Integer.parseInt Integer input[i] input i String str; str if(abc[0] < abc[2])
		{
			if(abc[1] < abc[2])
			{
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			}
			else
			{
				str = "No";
			}
		}
		else
		{
			str = "No";
		} abc[0] < abc[2] abc[0] abc 0 abc[2] abc 2 {
			if(abc[1] < abc[2])
			{
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			}
			else
			{
				str = "No";
			}
		} if(abc[1] < abc[2])
			{
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			}
			else
			{
				str = "No";
			} abc[1] < abc[2] abc[1] abc 1 abc[2] abc 2 {
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			} if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				} abc[0] < abc[1] abc[0] abc 0 abc[1] abc 1 {
					str = "Yes";
				} str = "Yes" str "Yes" {
					str = "No";
				} str = "No" str "No" {
				str = "No";
			} str = "No" str "No" {
			str = "No";
		} str = "No" str "No" System.out.println(str) System.out.println System.out System System.out str sc.close() sc.close sc String args[] args public class Main {
	public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		String[] input = sc.nextLine().split(" ");
		int [] abc = new int[input.length];
		for(int i = 0;i<abc.length;i++)
		{
			abc[i] = Integer.parseInt(input[i]);
		}
		String str;
		if(abc[0] < abc[2])
		{
			if(abc[1] < abc[2])
			{
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			}
			else
			{
				str = "No";
			}
		}
		else
		{
			str = "No";
		}
		System.out.println(str);

		sc.close();
	}
} public class Main {
	public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		String[] input = sc.nextLine().split(" ");
		int [] abc = new int[input.length];
		for(int i = 0;i<abc.length;i++)
		{
			abc[i] = Integer.parseInt(input[i]);
		}
		String str;
		if(abc[0] < abc[2])
		{
			if(abc[1] < abc[2])
			{
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			}
			else
			{
				str = "No";
			}
		}
		else
		{
			str = "No";
		}
		System.out.println(str);

		sc.close();
	}
} Main
import java.util.*;

//input a b c is a < b < c?
public class Main {
	public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		String[] input = sc.nextLine().split(" ");
		int [] abc = new int[input.length];
		for(int i = 0;i<abc.length;i++)
		{
			abc[i] = Integer.parseInt(input[i]);
		}
		String str;
		if(abc[0] < abc[2])
		{
			if(abc[1] < abc[2])
			{
				if(abc[0] < abc[1])
				{
					str = "Yes";
				}
				else
				{
					str = "No";
				}
			}
			else
			{
				str = "No";
			}
		}
		else
		{
			str = "No";
		}
		System.out.println(str);

		sc.close();
	}
}

