import java.io.*;
 
class Main{
    public static void main (String[ ] args) throws Exception{
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        String str = br.readLine();

        String[] strarr = str.split(" ");
        int[] intarr = new int[3];

        for(int i=0; i<3; i++)
        {
            intarr[i] = Integer.parseInt(strarr[i]);
        }
        
        if(intarr[0] < intarr[1] && intarr[1] < intarr[2])
        {
            System.out.println("Yes");
        }
        else
        {
            System.out.println("No");
        }
    }
} import java.io.*; io.* java class Main{
    public static void main (String[ ] args) throws Exception{
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        String str = br.readLine();

        String[] strarr = str.split(" ");
        int[] intarr = new int[3];

        for(int i=0; i<3; i++)
        {
            intarr[i] = Integer.parseInt(strarr[i]);
        }
        
        if(intarr[0] < intarr[1] && intarr[1] < intarr[2])
        {
            System.out.println("Yes");
        }
        else
        {
            System.out.println("No");
        }
    }
} Main public static void main (String[ ] args) throws Exception{
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        String str = br.readLine();

        String[] strarr = str.split(" ");
        int[] intarr = new int[3];

        for(int i=0; i<3; i++)
        {
            intarr[i] = Integer.parseInt(strarr[i]);
        }
        
        if(intarr[0] < intarr[1] && intarr[1] < intarr[2])
        {
            System.out.println("Yes");
        }
        else
        {
            System.out.println("No");
        }
    } main {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        String str = br.readLine();

        String[] strarr = str.split(" ");
        int[] intarr = new int[3];

        for(int i=0; i<3; i++)
        {
            intarr[i] = Integer.parseInt(strarr[i]);
        }
        
        if(intarr[0] < intarr[1] && intarr[1] < intarr[2])
        {
            System.out.println("Yes");
        }
        else
        {
            System.out.println("No");
        }
    } 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[] strarr = str.split(" "); strarr str.split(" ") str.split str " " int[] intarr = new int[3]; intarr new int[3] 3 for(int i=0; i<3; i++)
        {
            intarr[i] = Integer.parseInt(strarr[i]);
        } int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
            intarr[i] = Integer.parseInt(strarr[i]);
        } {
            intarr[i] = Integer.parseInt(strarr[i]);
        } intarr[i] = Integer.parseInt(strarr[i]) intarr[i] intarr i Integer.parseInt(strarr[i]) Integer.parseInt Integer strarr[i] strarr i if(intarr[0] < intarr[1] && intarr[1] < intarr[2])
        {
            System.out.println("Yes");
        }
        else
        {
            System.out.println("No");
        } intarr[0] < intarr[1] && intarr[1] < intarr[2] intarr[0] < intarr[1] intarr[0] intarr 0 intarr[1] intarr 1 intarr[1] < intarr[2] intarr[1] intarr 1 intarr[2] intarr 2 {
            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.io.*;
 
class Main{
    public static void main (String[ ] args) throws Exception{
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        String str = br.readLine();

        String[] strarr = str.split(" ");
        int[] intarr = new int[3];

        for(int i=0; i<3; i++)
        {
            intarr[i] = Integer.parseInt(strarr[i]);
        }
        
        if(intarr[0] < intarr[1] && intarr[1] < intarr[2])
        {
            System.out.println("Yes");
        }
        else
        {
            System.out.println("No");
        }
    }
}