"use strict";
function body(ary){
    let ans = "";
    if (ary[0] < ary[1] && ary[1] < ary[2]){
	ans = "Yes";
    } else {
	ans = "No";
    }
    return ans;
}

(function (){
    var s = require("fs").readFileSync("/dev/stdin", "utf8");
    var ary = s.split(' ').map(Number);

    var ans=body(ary);
    
    console.log(ans);
})();
