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