Go: package main

import (
	"bufio"
		"os"
	"strings"
	"strconv"
	"fmt"
	"math"
)

var scanner = bufio.NewScanner(os.Stdin)

type Point struct {
	x, y float64
}
func main() {
	for scanner.Scan() {
		buf1 := strings.Split(scanner.Text(), " ")
		line1 := make([]float64, len(buf1))
		for i := range line1 {
			line1[i], _ = strconv.ParseFloat(buf1[i], 64)
		}
		if line1[0] == 0 && line1[1] == 0 &&
			line1[2] == 0 && line1[3] == 0 {
				break
		}
		scanner.Scan()
		buf2 := strings.Split(scanner.Text(), " ")
		line2 := make([]float64, len(buf2))
		for i := range line2 {
			line2[i], _ = strconv.ParseFloat(buf2[i], 64)
		}
		scanner.Scan()
		buf3 := strings.Split(scanner.Text(), " ")
		line3 := make([]float64, len(buf3))
		for i := range line2 {
			line3[i], _ = strconv.ParseFloat(buf3[i], 64)
		}
		if !intersect(line1[0], line1[1], line1[2], line1[3], line2[0], line2[1], line2[2], line2[3]) ||
			!intersect(line2[0], line2[1], line2[2], line2[3], line3[0], line3[1], line3[2], line3[3]) ||
			!intersect(line3[0], line3[1], line3[2], line3[3], line1[0], line1[1], line1[2], line1[3]) {
				fmt.Println("kyo")
		} else {
			p1 := intersection(line1[0], line1[1], line1[2], line1[3], line2[0], line2[1], line2[2], line2[3])
			p2 := intersection(line2[0], line2[1], line2[2], line2[3], line3[0], line3[1], line3[2], line3[3])
			p3 := intersection(line3[0], line3[1], line3[2], line3[3], line1[0], line1[1], line1[2], line1[3])
			area := math.Abs((p2.x - p1.x) * (p3.y - p1.y) - (p2.y - p1.y) * (p3.x - p1.x))/2
			if area < 0.00000001 {
				fmt.Println("kyo")
			} else if 1899999.99999999 < area {
				fmt.Println("dai-kichi")
			} else if 999999.99999999 < area {
				fmt.Println("chu-kichi")
			} else if 99999.99999999 < area {
				fmt.Println("kichi")
			} else {
				fmt.Println("syo-kichi")
			}
		}
	}
}

func cross(x1, y1, x2, y2 float64) int {
	z :=  x1 * y2 - y1 * x2
	if 0 < z {
		return 1
	} else if z < 0 {
		return -1
	} else {
		return 0
	}
}

func intersect(x1, y1, x2, y2, x3, y3, x4, y4 float64) bool {
	if 0 <= cross(x2-x1, y2-y1, x3-x1, y3-y1) *
		cross(x2-x1, y2-y1, x4-x1, y4-y1) {
			return false
	}
	if 0 <= cross(x4-x3, y4-y3, x1-x3, y1-y3) *
		cross(x4-x3, y4-y3, x2-x3, y2-y3) {
			return false
	}
	return true
}

func intersection(x1, y1, x2, y2, x3, y3, x4, y4 float64) Point {
	if x3 == x4 {
		x1, x3 = x3, x1
		y1, y3 = y3, y1
		x2, x4 = x4, x2
		y2, y4 = y4, y2
	}
	ret := Point{}
	if x1 == x2 {
		// y軸に平行な直線の場合
		c := (y4 - y3) / (x4 - x3)
		d := y3 - c * x3
		x := x1
		y := c * x + d
		ret.x, ret.y = x, y
	} else {
		a := (y2 - y1) / (x2 - x1)
		b := y1 - a * x1
		c := (y4 - y3) / (x4 - x3)
		d := y3 - c * x3
		x := (d - b) / (a - c)
		y := a * x + b
		ret.x, ret.y = x, y
	}
	return ret
}

C++: #include <cstdio>
#include <cmath>
#include <iostream>
#include <string>
#define EPS 1e-10
using namespace std;

double add(double a,double b){
	if(fabs(a+b)<EPS*(fabs(a)+fabs(b)))return 0.0;
	return a+b;
}

struct point{
	double x,y;
	point(){}
	point(double xx,double yy){
		x=xx;
		y=yy;
	}
	point operator +(point p){
		return point(x+p.x,y+p.y);
	}
	point operator -(point p){
		return point(x-p.x,y-p.y);
	}
	point operator *(double d){
		return point(x*d,y*d);
	}
	double dot(point p){
		return add(p.x*x,p.y*y);
	}
	double det(point p){
		return add(x*p.y,-y*p.x);
	}
	double len(){
		return sqrt(add(x*x,y*y));
	}
};

bool on_seg(point p1,point p2,point q){
	return (p2-p1).det(p2-q)==0 && (p1-q).dot(p2-q)<=0;
}

point intersection(point p1,point p2,point q1,point q2){
	return p1+(p2-p1)*((q2-q1).det(q1-p1)/(q2-q1).det(p2-p1));
}

double x[4][4];
double y[4][4];
point p[8];
point g[3];
double len[3];
string check(){
	if((p[0]-p[2]).dot(p[1]-p[3])==0)return "kyo";
	g[0]=intersection(p[0],p[1],p[2],p[3]);
	if(!(on_seg(p[0],p[1],g[0]) && on_seg(p[2],p[3],g[0])))return "kyo";
	
	if((p[0]-p[4]).dot(p[1]-p[5])==0)return "kyo";
	g[1]=intersection(p[0],p[1],p[4],p[5]);
	if(!(on_seg(p[0],p[1],g[1]) && on_seg(p[4],p[5],g[1])))return "kyo";
	
	if((p[2]-p[4]).dot(p[3]-p[5])==0)return "kyo";
	g[2]=intersection(p[2],p[3],p[4],p[5]);
	if(!(on_seg(p[2],p[3],g[2]) && on_seg(p[4],p[5],g[2])))return "kyo";
	
	len[0]=(g[0]-g[1]).len();
	len[1]=(g[1]-g[2]).len();
	len[2]=(g[0]-g[2]).len();
	double s=(len[0]+len[1]+len[2])/2.0;
	double S=sqrt(s*(s-len[0])*(s-len[1])*(s-len[2]));
	if(S<EPS)return "kyo";
	if(S<100000.0)return "syo-kichi";
	if(S<1000000.0)return "kichi";
	if(S<1900000.0)return "chu-kichi";
	return "dai-kichi";
}

int main(void){
	while(1){
		scanf("%lf %lf %lf %lf",&x[0][0],&y[0][0],&x[1][0],&y[1][0]);
		if(x[0][0]==0.0 && y[0][0]==0.0 && x[1][0]==0.0 && y[1][0]==0.0)break;
		p[0]=point(x[0][0],y[0][0]);
		p[1]=point(x[1][0],y[1][0]);
		for(int i=1;i<=2;i++){
			scanf("%lf %lf %lf %lf",&x[0][i],&y[0][i],&x[1][i],&y[1][i]);
			p[i*2+0]=point(x[0][i],y[0][i]);
			p[i*2+1]=point(x[1][i],y[1][i]);
		}
		cout << check() << endl;
	}
	return 0;
}