isInRange :: Ord a => a -> a -> a -> Bool
isInRange x y z = x < y && y < z

main :: IO ()
main = do input <- getLine
          let a : b : c : _ = map read $ words input :: [Int]
          putStrLn $ if isInRange a b c then "Yes" else "No"