Problems
Two circles
Two circles
Determine at how many points two circles intersect.
Input data
6 numbers x_1, y_1, r_1, x_2, y_2, r_2, where x_1, y_1, x_2, y_2 are the coordinates of the centers of the circles, r_1 , r_2 are their radii.
All numbers are real, do not exceed 1000000000 modulo, and are specified with no more than 3 decimal places.
Output data
Output a single number, the number of intersection points. If the number of points is infinite, output -1.
Examples
Input example #1
0 0 5 5 0 1
Output example #1
2