require("fs").readFileSync("/dev/stdin","utf8").split('\n').some(function(i){z=i.split(' '),a=+z[0],b=+z[1],c=+z[2],d=+z[3],e=+z[4],f=+z[5],r=Math.sqrt((a-d)*(a-d)+(b-e)*(b-e));if(c)console.log(r>c+f?0:r<c-f?2:r<f-c?-2:1)})