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