import java.util.Scanner;

public class Main {

	public static void main(String[] args)  {

		Scanner scaner = new Scanner( System.in );

		int first = Integer.parseInt( scaner.next() );
		int second= Integer.parseInt( scaner.next() );
		int third = Integer.parseInt( scaner.next() );

		String resultMessage = "No";

		if (  first < second && second < third ) {
			resultMessage = "Yes";
		}

		System.out.println( resultMessage );


		scaner.close();
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args)  {

		Scanner scaner = new Scanner( System.in );

		int first = Integer.parseInt( scaner.next() );
		int second= Integer.parseInt( scaner.next() );
		int third = Integer.parseInt( scaner.next() );

		String resultMessage = "No";

		if (  first < second && second < third ) {
			resultMessage = "Yes";
		}

		System.out.println( resultMessage );


		scaner.close();
	}

} Main public static void main(String[] args)  {

		Scanner scaner = new Scanner( System.in );

		int first = Integer.parseInt( scaner.next() );
		int second= Integer.parseInt( scaner.next() );
		int third = Integer.parseInt( scaner.next() );

		String resultMessage = "No";

		if (  first < second && second < third ) {
			resultMessage = "Yes";
		}

		System.out.println( resultMessage );


		scaner.close();
	} main {

		Scanner scaner = new Scanner( System.in );

		int first = Integer.parseInt( scaner.next() );
		int second= Integer.parseInt( scaner.next() );
		int third = Integer.parseInt( scaner.next() );

		String resultMessage = "No";

		if (  first < second && second < third ) {
			resultMessage = "Yes";
		}

		System.out.println( resultMessage );


		scaner.close();
	} Scanner scaner = new Scanner( System.in ); scaner new Scanner( System.in ) int first = Integer.parseInt( scaner.next() ); first Integer.parseInt( scaner.next() ) Integer.parseInt Integer scaner.next() scaner.next scaner int second= Integer.parseInt( scaner.next() ); second Integer.parseInt( scaner.next() ) Integer.parseInt Integer scaner.next() scaner.next scaner int third = Integer.parseInt( scaner.next() ); third Integer.parseInt( scaner.next() ) Integer.parseInt Integer scaner.next() scaner.next scaner String resultMessage = "No"; resultMessage "No" if (  first < second && second < third ) {
			resultMessage = "Yes";
		} first < second && second < third first < second first second second < third second third {
			resultMessage = "Yes";
		} resultMessage = "Yes" resultMessage "Yes" System.out.println( resultMessage ) System.out.println System.out System System.out resultMessage scaner.close() scaner.close scaner String[] args args public class Main {

	public static void main(String[] args)  {

		Scanner scaner = new Scanner( System.in );

		int first = Integer.parseInt( scaner.next() );
		int second= Integer.parseInt( scaner.next() );
		int third = Integer.parseInt( scaner.next() );

		String resultMessage = "No";

		if (  first < second && second < third ) {
			resultMessage = "Yes";
		}

		System.out.println( resultMessage );


		scaner.close();
	}

} public class Main {

	public static void main(String[] args)  {

		Scanner scaner = new Scanner( System.in );

		int first = Integer.parseInt( scaner.next() );
		int second= Integer.parseInt( scaner.next() );
		int third = Integer.parseInt( scaner.next() );

		String resultMessage = "No";

		if (  first < second && second < third ) {
			resultMessage = "Yes";
		}

		System.out.println( resultMessage );


		scaner.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args)  {

		Scanner scaner = new Scanner( System.in );

		int first = Integer.parseInt( scaner.next() );
		int second= Integer.parseInt( scaner.next() );
		int third = Integer.parseInt( scaner.next() );

		String resultMessage = "No";

		if (  first < second && second < third ) {
			resultMessage = "Yes";
		}

		System.out.println( resultMessage );


		scaner.close();
	}

}