m@main=getLine>>=print.f.span(>'.')>>m f(b,c)=read b+sum[1|c>=".5"]