import java.util.Scanner;

class Main{
    static boolean hikaku(int a,int b){
	if(a < b)
	    return (true);
	else
	    return(false);
    }

    public static void main(String[] args){
	Scanner stdIn = new Scanner(System.in);
	int x = stdIn.nextInt();
	int y = stdIn.nextInt();
	int z = stdIn.nextInt();
	if(hikaku(x,y) && hikaku(y,z))
	    System.out.println("Yes");
	else
	    System.out.println("No");
    }
} import java.util.Scanner; Scanner java.util class Main{
    static boolean hikaku(int a,int b){
	if(a < b)
	    return (true);
	else
	    return(false);
    }

    public static void main(String[] args){
	Scanner stdIn = new Scanner(System.in);
	int x = stdIn.nextInt();
	int y = stdIn.nextInt();
	int z = stdIn.nextInt();
	if(hikaku(x,y) && hikaku(y,z))
	    System.out.println("Yes");
	else
	    System.out.println("No");
    }
} Main static boolean hikaku(int a,int b){
	if(a < b)
	    return (true);
	else
	    return(false);
    } hikaku {
	if(a < b)
	    return (true);
	else
	    return(false);
    } if(a < b)
	    return (true);
	else
	    return(false); a < b a b return (true); (true) return(false); (false) int a a int b b public static void main(String[] args){
	Scanner stdIn = new Scanner(System.in);
	int x = stdIn.nextInt();
	int y = stdIn.nextInt();
	int z = stdIn.nextInt();
	if(hikaku(x,y) && hikaku(y,z))
	    System.out.println("Yes");
	else
	    System.out.println("No");
    } main {
	Scanner stdIn = new Scanner(System.in);
	int x = stdIn.nextInt();
	int y = stdIn.nextInt();
	int z = stdIn.nextInt();
	if(hikaku(x,y) && hikaku(y,z))
	    System.out.println("Yes");
	else
	    System.out.println("No");
    } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int x = stdIn.nextInt(); x stdIn.nextInt() stdIn.nextInt stdIn int y = stdIn.nextInt(); y stdIn.nextInt() stdIn.nextInt stdIn int z = stdIn.nextInt(); z stdIn.nextInt() stdIn.nextInt stdIn if(hikaku(x,y) && hikaku(y,z))
	    System.out.println("Yes");
	else
	    System.out.println("No"); hikaku(x,y) && hikaku(y,z) hikaku(x,y) hikaku x y hikaku(y,z) hikaku y z 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" String[] args args
import java.util.Scanner;

class Main{
    static boolean hikaku(int a,int b){
	if(a < b)
	    return (true);
	else
	    return(false);
    }

    public static void main(String[] args){
	Scanner stdIn = new Scanner(System.in);
	int x = stdIn.nextInt();
	int y = stdIn.nextInt();
	int z = stdIn.nextInt();
	if(hikaku(x,y) && hikaku(y,z))
	    System.out.println("Yes");
	else
	    System.out.println("No");
    }
}