m@main=getLine>>=print.round.f.map read.words>>m f[a,b]=a^2/2/b+b/2