#include <stdio.h>
#include <math.h>
int main()
{
double x1,x2,y1,y2,d,r1,r2;
printf("?circle 1:");
scanf("%lf,%lf,%lf",&x1,&y1,&r1);
printf("?circle 2:");
scanf("%lf,%lf,%lf",&x2,&y2,&r2);
d=sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1));
if(d==r1+r2)
printf("两个圆相切\n");
else if(d<r1+r2)
printf("两个圆相交\n");
else
printf("两圆不相交\n");
return 0;
}