import Data.List main = do [a,b] <- map read . words <$> getLine mapM print (tail (sort (enum a b))) enum a b = do x <- [0..a] y <- [0..b] return (x+y*5)