main = readLn >>= print . f where f n = (map (flip div 2) [1..21]) !! n