import static java.lang.System.out;
 public class Main {
     public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
 
         if(a < b && a < c && b < c){                                                                                                       
             out.println("Yes");
         }
         else{
             out.println("No");
         }
 
     }
 } import static java.lang.System.out; import static java.lang.System.out; import static java.lang.System.out; public class Main {
     public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
 
         if(a < b && a < c && b < c){                                                                                                       
             out.println("Yes");
         }
         else{
             out.println("No");
         }
 
     }
 } Main public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
 
         if(a < b && a < c && b < c){                                                                                                       
             out.println("Yes");
         }
         else{
             out.println("No");
         }
 
     } main {
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
 
         if(a < b && a < c && b < c){                                                                                                       
             out.println("Yes");
         }
         else{
             out.println("No");
         }
 
     } String str = new java.util.Scanner(System.in).nextLine(); str new java.util.Scanner(System.in).nextLine() new java.util.Scanner(System.in).nextLine new java.util.Scanner(System.in) String[] tmp = str.split(" "); tmp str.split(" ") str.split str " " int a = Integer.parseInt(tmp[0]); a Integer.parseInt(tmp[0]) Integer.parseInt Integer tmp[0] tmp 0 int b = Integer.parseInt(tmp[1]); b Integer.parseInt(tmp[1]) Integer.parseInt Integer tmp[1] tmp 1 int c = Integer.parseInt(tmp[2]); c Integer.parseInt(tmp[2]) Integer.parseInt Integer tmp[2] tmp 2 if(a < b && a < c && b < c){                                                                                                       
             out.println("Yes");
         }
         else{
             out.println("No");
         } a < b && a < c && b < c a < b && a < c && b < c a < b a b a < c a c b < c b c {                                                                                                       
             out.println("Yes");
         } out.println("Yes") out.println out "Yes" {
             out.println("No");
         } out.println("No") out.println out "No" String[] args args public class Main {
     public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
 
         if(a < b && a < c && b < c){                                                                                                       
             out.println("Yes");
         }
         else{
             out.println("No");
         }
 
     }
 } public class Main {
     public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
 
         if(a < b && a < c && b < c){                                                                                                       
             out.println("Yes");
         }
         else{
             out.println("No");
         }
 
     }
 } Main
import static java.lang.System.out;
 public class Main {
     public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
 
         if(a < b && a < c && b < c){                                                                                                       
             out.println("Yes");
         }
         else{
             out.println("No");
         }
 
     }
 }