#include <stdio.h>
int main()
{
int g;
scanf("%d",&g);
float f,m,t,r;
printf("boy=1,girl=2");
printf("father:");
scanf("%f",&f);
printf("mother:");
scanf("%f",&m);
if (g==1)
t=(f+m)*1.08/2;
else if (g==2)
t=(f*0.923+m)/2;
printf("%.0f\n",t);
else
printf("gender error\n");
printf(":\n");
scanf("%f",&r);
if ((t-r)<=3&&(t-r)>=-3)
{
printf("coincident\n");
}
else
printf("incoincident\n");
}