#include <cstdio>
#include <cmath>

#define EPS (1e-9)

using namespace std;

bool eq(double a, double b)
{
	return (fabs(b - a) <= EPS);
}

bool getP(int x1, int y1, int x2, int y2, int p1, int q1, int p2, int q2, double *r1, double *r2)
{
	int D = (x2 - x1) * (q2 - q1) - (y2 - y1) * (p2 - p1);
	if (D == 0) return (false);
	
	double r, s;
	
	r = ((q2 - q1) * (p1 - x1) - (p2 - p1) * (q1 - y1)) / (double)D;
	s = ((y2 - y1) * (p1 - x1) - (y2 - y1) * (q1 - y1)) / (double)D;
	//printf("%lf %lf\n", r, s);
	if (0 <= r + EPS && r - EPS <= 1 &&
		0 <= s + EPS && s - EPS <= 1){
		*r1 = x1 + r * (x2 - x1);
		*r2 = y1 + r * (y2 - y1);
		return (true);
	}
	
	return (false);
}

int main()
{
	int x1[3], y1[3], x2[3], y2[3];
	double x3[3], y3[3];
	
	while (1){
		for (int i = 0; i < 3; i++){
			scanf("%d %d %d %d", x1 + i, y1 + i, x2 + i, y2 + i);
			if (x1[i] == 0 && x2[i] == 0 && y1[i] == 0 && y2[i] == 0) return (0);
		}
		
		for (int i = 0; i < 3; i++){
			for (int j = i + 1; j < 3; j++){
				if (!getP(x1[i], y1[i], x2[i], y2[i],
						  x1[j], y1[j], x2[j], y2[j],
						  &x3[i], &y3[i])){
						  printf("kyo\n");
						  goto ng;
				}
			}
		}
		
		for (int i = 0; i < 3; i++) for (int j = i + 1; j < 3; j++) if (eq(x3[i], x3[j]) && eq(y3[i], y3[j])){
			printf("kyo\n"); goto ng;
		}
		x3[0] -= x3[2]; x3[1] -= x3[2];
		y3[0] -= y3[2]; y3[1] -= y3[2];
		
		double S;
		
		S = 0.5 * fabs(x3[0] * y3[1] - y3[0] * x3[1]);
		
		if (S >= 1900000) printf("dai-kichi\n");
		else if (S >= 1000000) printf("chu-kichi\n");
		else if (S >= 100000) printf("kichi\n");
		else if (S > 0) printf("syo-kichi\n");
		else printf("kyo\n");
		
		ng:;
	}
	
	return (0);
}