while 1:print reduce(lambda s,x:s+x*(s[-1]