$x+=1/$_/@0for@0=1..<>;print$x||1.644934