import Data.List                                                                                                                                                            

checker :: Int -> Int -> Int -> Bool
checker a b c 
  | a < b && ((elemIndex c [a..b]) /= Nothing) = True
  | otherwise = False

main = do
  [a, b, c] <- map read . words <$> getLine
  if checker a b c 
    then putStrLn "Yes"
    else putStrLn "No"