'use strict';
(function(stdin) {
  var inputs = stdin.toString().trim().split('\n');
  var params = inputs[0].split(' ').map(Number);

  (function(a, b, c) {
    console.log(f(a,b,c));
    function f(a,b,c){
      if (a < b && b < c){return 'Yes';}
      return 'No'
    }

  }(params[0], params[1], params[2]));

}(require('fs').readFileSync('/dev/stdin', 'utf8')));