import Text.Printf f s=sqrt$sum$map((^2).read)s::Float m@main=getLine>>=printf"%.2f\n".f.words>>m