main = do
  [s,m,n] <- fmap (map read) getArgs
  mapM_ (print . maxDegree s) [m..n]
main = do
  [s,m,n] <- fmap (map read) getArgs
  mapM_ (print . maxDegree s) [m..n]
main = do
  [s,m,n] <- fmap (map read) getArgs
  mapM_ (print . maxDegree s) [m..n]