import Control.Applicative main = do n <- read <$> getLine print $ if even n then n else n+1