s=1 for w in string.gmatch(io.read(),"%d+") do s=s*w end print(s)