program main implicit none real x,y read(*,*)x,y write(*,*)ceiling(sqrt(x**2+y**2)*2+0.00001) end program main