#include <cstdio>
#include <cstdlib>
#include <queue>
#define REP(i,n) for(int i=0; i<(int)(n); i++)

#define f first
#define s second
#define mp make_pair

#include<complex>
#define EPS (1e-10)

using namespace std;

using std::complex;
typedef complex<double> P;

static inline bool eq(const P &a, const P &b){
  return abs(a-b) < EPS;
}

static inline double inp(const P &a, const P &b){
  return (conj(a)*b).real();
}

static inline double outp(const P &a, const P &b){
  return (conj(a)*b).imag();
}


struct S{
  P p1;
  P p2;
  S(P p,P q) : p1(p), p2(q) {}
  S(){}
};

int ccw(P p0, P p1, P p2){
  P d1 = p1-p0;
  P d2 = p2-p0;
  double dx1 = d1.real(), dx2 = d2.real();
  double dy1 = d1.imag(), dy2 = d2.imag();

  if(dx1*dy2 > dy1*dx2) return  1;
  if(dx1*dy2 < dy1*dx2) return -1;
  if((dx1*dx2 < 0) || (dy1*dy2 < 0)) return -1;
  if((dx1*dx1+dy1*dy1) < (dx2*dx2+dy2*dy2)) return 1;
  return 0;
}

bool intersect(const S &s1, const S &s2){
  return ((ccw(s1.p1, s1.p2, s2.p1)
	   *ccw(s1.p1, s1.p2, s2.p2)) <= 0)
    &&((ccw(s2.p1, s2.p2, s1.p1)
	*ccw(s2.p1, s2.p2, s1.p2)) <= 0);
}

class Line{
public:
  P p;
  P d;
  Line(){}
  Line(P pos, P dir){p=pos; d=dir/abs(dir);}
};

Line LineDirect(P pos, P dir){
  return Line(pos, dir);
}

Line LinePos(P p1, P p2){
  return Line(p1, p2-p1);
}

P crossPoint(const Line &l1, const Line &l2){
  double num = outp(l2.d, l2.p-l1.p);
  double denom = outp(l2.d, l1.d);
  return P(l1.p + l1.d * num/denom);
}


int main(){
  int x1, y1, x2, y2;
  while(scanf("%d%d%d%d", &x1, &y1, &x2, &y2), (x1 | x2 | y1 | y2)){
    S s[3];
    vector<P> p;

    s[0] = S(P(x1, y1), P(x2, y2));
    REP(i,2){
      scanf("%d%d%d%d", &x1, &y1, &x2, &y2);
      s[i + 1] = S(P(x1, y1), P(x2, y2));
    }

    for(int i = 0; i < 3; i++){
      for(int j = i + 1; j < 3; j++){
	P dir1 = s[i].p1 - s[i].p2;
	P dir2 = s[j].p1 - s[j].p2;

	P tmp = dir1 / dir2;
	if(std::abs(tmp.imag()) > EPS && intersect(s[i], s[j])){
	  Line l1 = LinePos(s[i].p1, s[i].p2);
	  Line l2 = LinePos(s[j].p1, s[j].p2);
	  p.push_back(crossPoint(l1, l2));
	}
      }
    }

    const char *un[] = {
      "dai-kichi",
      "chu-kichi",
      "kichi",
      "syo-kichi",
      "kyo"
    };
    int ans = 4;

    if(p.size() == 3){
      P p1 = p[2] - p[0];
      P p2 = p[1] - p[0];

      double sz = std::abs(outp(p1, p2)) / 2.0;

      if(sz + EPS > 1900000){
	ans = 0;
      }else if(sz + EPS > 1000000){
	ans = 1;
      }else if(sz + EPS > 100000){
	ans = 2;
      }else if(sz > EPS){
	ans = 3;
      }
    }

    puts(un[ans]);
  }
  return 0;
}