'use strict';

function Main(INPUT) {
    const input = INPUT.split("\n")[0].split(" ");
    if (input[2] > input[0] && input[2] < input[1]) {
        console.log("Yes");
    } else {
        console.log("No");
    }
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
