f=1:scanl(+)1 f q s=show$f!!s*f!!(s-1) z(c:s)=unlines$map(q.read)s main=interact$z.lines