while 1:print+(reduce(lambda m,n:n*(m>1>(m^n)&(m^n)-10)