$/=$";print<>*<>+1e-8|0