import java.util.*;
import java.lang.*;
import java.io.*;
class Main
{
{
Scanner in
= new Scanner
(System.
in); double x1, y1, r1;
double x2, y2, r2;
x1 = in.nextDouble();
y1 = in.nextDouble();
r1 = in.nextDouble();
x2 = in.nextDouble();
y2 = in.nextDouble();
r2 = in.nextDouble();
if( x1 == x2 && y1 == y2 && r1 == r2 )
{
}
else if( Math.
sqrt( (x2
-x1
)*(x2
-x1
) + (y2
-y1
)*(y2
-y1
) ) == r1
+r2
|| Math.
sqrt( (x2
-x1
)*(x2
-x1
) + (y2
-y1
)*(y2
-y1
) ) + r2
== r1
|| Math.
sqrt( (x2
-x1
)*(x2
-x1
) + (y2
-y1
)*(y2
-y1
) ) + r1
== r2
) {
}
else if( Math.
sqrt( (x2
-x1
)*(x2
-x1
) + (y2
-y1
)*(y2
-y1
) ) > r1
+r2
) {
}
else if( Math.
sqrt( (x2
-x1
)*(x2
-x1
) + (y2
-y1
)*(y2
-y1
) ) + r2
< r1
|| Math.
sqrt( (x2
-x1
)*(x2
-x1
) + (y2
-y1
)*(y2
-y1
) ) + r1
< r2
) {
}
else
{
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CiAKIApjbGFzcyBNYWluCnsKICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCiAgIHsKICAgIFNjYW5uZXIgaW4gPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwogICAgZG91YmxlIHgxLCB5MSwgcjE7CiAgICBkb3VibGUgeDIsIHkyLCByMjsKICAgIHgxID0gaW4ubmV4dERvdWJsZSgpOwogICAgeTEgPSBpbi5uZXh0RG91YmxlKCk7CiAgICByMSA9IGluLm5leHREb3VibGUoKTsKICAgIHgyID0gaW4ubmV4dERvdWJsZSgpOwogICAgeTIgPSBpbi5uZXh0RG91YmxlKCk7CiA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