Competitions

# Intro to geometry - 1

# Two circles

How many points in common two given circles have?

#### Input

Six real numbers `x`

, _{1}`y`

, _{1}`r`

, _{1}`x`

, _{2}`y`

, _{2}`r`

, where _{2}`x`

, _{1}`y`

, _{1}`x`

, _{2}`y`

are the coordinates of the centers of the circles, _{2}`r`

, _{1}`r`

are its radius._{2}

#### Output

The number of common points for two circles: **0**, **1** or **2**. Print **-1** if circles have a lot of common points.

Input example #1

0 0 5 5 0 1

Output example #1

2