main::IO() main= do x<-fmap read getLine print . (`mod` 2) . (+1) $ x