Two circles#4

Two circles

1 second
64 megabytes
Easy

Determine at how many points two circles intersect.

Input

Six real 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, and r_1,\ r_2 are their radii.

All numbers are real, do not exceed 10^9 in absolute value, and are given with at most decimal places.

Output

Output a single number — the number of intersection points. If the number of intersection points is infinite, output -1.

Examples

Example 1

Loading
Loading