object Main {
  def main(args: Array[String]): Unit = {
    val input: Array[Int] = io.StdIn.readLine.split(' ').map(_.toInt)
    if (input(2) >= input(0) && input(2) <= input(1)) {
      println("YES")
    } else {
      println("NO")
    }
  }
}
