#include <stdio.h>
#include <cmath>
#include <algorithm>
#include <cfloat>
#include <stack>
#include <queue>
#include <vector>
#include <string>
#include <iostream>
#include <set>
#include <map>
#include <time.h>
typedef long long int ll;
typedef unsigned long long int ull;
#define BIG_NUM 2000000000
#define MOD 1000000007
#define EPS 0.000000001
using namespace std;


struct Point{
	double x,y;
};

struct Line{
	Point p1,p2;
};
Line line[3];

int func(double x1,double y1,double x2, double y2, double xp, double yp){
	double naiseki,norm1,norm2,gaiseki;
	norm1 = sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1));
	norm2 = sqrt((xp-x1)*(xp-x1)+(yp-y1)*(yp-y1));
	naiseki = (xp-x1)*(x2-x1)+(yp-y1)*(y2-y1);
	gaiseki = (x2-x1)*(yp-y1)-(xp-x1)*(y2-y1);
	if(gaiseki > EPS){
		return 1;
	}else if(gaiseki < -EPS){
		return -1;
	}
	if(naiseki < -EPS){
		return 2;
	}

	if(norm1 < norm2){
		return -2;
	}
	return 0;
}

Point calc_Cross_Point(double x1,double x2,double x3,double x4,double y1,double y2,double y3,double y4){
	Point ret;
	ret.x = ((x2-x1)*(y3*(x4-x3)+x3*(y3-y4))-(x4-x3)*(y1*(x2-x1)+x1*(y1-y2)))/((y2-y1)*(x4-x3)-(y4-y3)*(x2-x1));
	if(x1 != x2){
		ret.y = ((y2-y1)*ret.x+y1*(x2-x1)+x1*(y1-y2))/(x2-x1);
	}else{
		ret.y = ((y4-y3)*ret.x+y3*(x4-x3)+x3*(y3-y4))/(x4-x3);
	}
	return ret;
}

double calc_S(Point a,Point b,Point c){
	return fabs((b.x*a.y - b.y*a.x)+(c.x*b.y - c.y*b.x)+(a.x*c.y - a.y*c.x))/2;
}

void func(){

	scanf("%lf %lf %lf %lf",&line[1].p1.x,&line[1].p1.y,&line[1].p2.x,&line[1].p2.y);
	scanf("%lf %lf %lf %lf",&line[2].p1.x,&line[2].p1.y,&line[2].p2.x,&line[2].p2.y);

	bool cross_12 = false,cross_13 = false,cross_23 = false;
	Point A,B,C;

	if(func(line[0].p1.x,line[0].p1.y,line[0].p2.x,line[0].p2.y,line[1].p1.x,line[1].p1.y)*
			func(line[0].p1.x,line[0].p1.y,line[0].p2.x,line[0].p2.y,line[1].p2.x,line[1].p2.y) <= 0 &&
			func(line[1].p1.x,line[1].p1.y,line[1].p2.x,line[1].p2.y,line[0].p1.x,line[0].p1.y)*
			func(line[1].p1.x,line[1].p1.y,line[1].p2.x,line[1].p2.y,line[0].p2.x,line[0].p2.y) <= 0){
		cross_12 = true;
		A = calc_Cross_Point(line[0].p1.x,line[0].p2.x,line[1].p1.x,line[1].p2.x,line[0].p1.y,line[0].p2.y,line[1].p1.y,line[1].p2.y);
	}
	if(!cross_12){
		printf("kyo\n");
		return;
	}

	if(func(line[0].p1.x,line[0].p1.y,line[0].p2.x,line[0].p2.y,line[2].p1.x,line[2].p1.y)*
			func(line[0].p1.x,line[0].p1.y,line[0].p2.x,line[0].p2.y,line[2].p2.x,line[2].p2.y) <= 0 &&
			func(line[2].p1.x,line[2].p1.y,line[2].p2.x,line[2].p2.y,line[0].p1.x,line[0].p1.y)*
			func(line[2].p1.x,line[2].p1.y,line[2].p2.x,line[2].p2.y,line[0].p2.x,line[0].p2.y) <= 0){
		cross_13 = true;
		B = calc_Cross_Point(line[0].p1.x,line[0].p2.x,line[2].p1.x,line[2].p2.x,line[0].p1.y,line[0].p2.y,line[2].p1.y,line[2].p2.y);
	}
	if(!cross_13){
		printf("kyo\n");
		return;
	}


	if(func(line[1].p1.x,line[1].p1.y,line[1].p2.x,line[1].p2.y,line[2].p1.x,line[2].p1.y)*
			func(line[1].p1.x,line[1].p1.y,line[1].p2.x,line[1].p2.y,line[2].p2.x,line[2].p2.y) <= 0 &&
			func(line[2].p1.x,line[2].p1.y,line[2].p2.x,line[2].p2.y,line[1].p1.x,line[1].p1.y)*
			func(line[2].p1.x,line[2].p1.y,line[2].p2.x,line[2].p2.y,line[1].p2.x,line[1].p2.y) <= 0){
		cross_23 = true;
		C = calc_Cross_Point(line[1].p1.x,line[1].p2.x,line[2].p1.x,line[2].p2.x,line[1].p1.y,line[1].p2.y,line[2].p1.y,line[2].p2.y);
	}
	if(!cross_23){
		printf("kyo\n");
		return;
	}


	double S = calc_S(A,B,C);

	if(S < EPS){
		printf("kyo\n");
	}else{
		if(S >= 1900000.0){
			printf("dai-kichi\n");
		}else if(S >= 1000000.0){
			printf("chu-kichi\n");
		}else if(S >= 100000.0){
			printf("kichi\n");
		}else{
			printf("syo-kichi\n");
		}
	}
}

int main(){

	while(true){
		scanf("%lf %lf %lf %lf",&line[0].p1.x,&line[0].p1.y,&line[0].p2.x,&line[0].p2.y);
		if(line[0].p1.x == 0 && line[0].p1.y == 0 && line[0].p2.x == 0 && line[0].p2.y == 0)break;

		func();
	}

    return 0;
}

Measured memory_bytes: 3212