x,y,r=gets.scan(/\d+/).map &:to_i p x+y+(r*2**0.5).ceil