main=let n="428571" in putStrLn.(:[]).(!!)n.(`mod`(length n)).read=<