main = putStrLn . show . subtract 1 =<< readLn