strstoints :: [String] -> [Integer]
strstoints xs =  map read xs

ints input = (strstoints (words input))

ord :: [Integer] -> String
ord ints@(a:b:[]) | a > b  = "a" ++ " > " ++ "b"
                  | a == b = "a" ++ " == " ++ "b"
                  | a < b  = "a" ++ " < " ++ "b"

ord3 :: [Integer] -> String
ord3 ints@(a:b:c:[]) | a < b && b < c = "Yes"
                     | otherwise      = "No"


main = do
  str <- getLine
  putStrLn $ ord3 $ ints str