while 1:print reduce(lambda x,y:x*y,input())