import java.util.*;
import java.lang.*;
import java.io.*;
class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		int a, b, c;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] str1Ary = str.split(" ");
		a = Integer.parseInt(str1Ary[0]);
		b = Integer.parseInt(str1Ary[1]);
		c = Integer.parseInt(str1Ary[2]);
		if (a < b && b < c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		int a, b, c;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] str1Ary = str.split(" ");
		a = Integer.parseInt(str1Ary[0]);
		b = Integer.parseInt(str1Ary[1]);
		c = Integer.parseInt(str1Ary[2]);
		if (a < b && b < c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
} Main public static void main (String[] args) throws java.lang.Exception
	{
		int a, b, c;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] str1Ary = str.split(" ");
		a = Integer.parseInt(str1Ary[0]);
		b = Integer.parseInt(str1Ary[1]);
		c = Integer.parseInt(str1Ary[2]);
		if (a < b && b < c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	} main {
		int a, b, c;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] str1Ary = str.split(" ");
		a = Integer.parseInt(str1Ary[0]);
		b = Integer.parseInt(str1Ary[1]);
		c = Integer.parseInt(str1Ary[2]);
		if (a < b && b < c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	} int a a b b c; c BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String[] str1Ary = str.split(" "); str1Ary str.split(" ") str.split str " " a = Integer.parseInt(str1Ary[0]) a Integer.parseInt(str1Ary[0]) Integer.parseInt Integer str1Ary[0] str1Ary 0 b = Integer.parseInt(str1Ary[1]) b Integer.parseInt(str1Ary[1]) Integer.parseInt Integer str1Ary[1] str1Ary 1 c = Integer.parseInt(str1Ary[2]) c Integer.parseInt(str1Ary[2]) Integer.parseInt Integer str1Ary[2] str1Ary 2 if (a < b && b < c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		} a < b && b < c a < b a b 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("No") System.out.println System.out System System.out "No" String[] args args
import java.util.*;
import java.lang.*;
import java.io.*;
class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		int a, b, c;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] str1Ary = str.split(" ");
		a = Integer.parseInt(str1Ary[0]);
		b = Integer.parseInt(str1Ary[1]);
		c = Integer.parseInt(str1Ary[2]);
		if (a < b && b < c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
}