#include <cstdio>
#include <iostream>
#include <string>
#include <cmath>
using namespace std;

int main(){
  int i,j,x1[3],y1[3],x2[3],y2[3],ty[3]/*x=c >> 1, y=c >> 2*/;
  double a[3],b[3],x3[3],y3[3],sen[3],s;
  long long ans;
  while(1){
    cin >> x1[0] >> y1[0] >> x2[0] >> y2[0];
    if(x1[0] == 0 && x2[0] == 0 && y1[0] == 0 && y2[0] == 0) break;
    for(i=1;i<3;i++) cin >> x1[i] >> y1[i] >> x2[i] >> y2[i];

    for(i=0;i<3;i++){// y = a * x + b
      a[i] = b[i] = 0.0;
      if(x1[i] == x2[i]) ty[i] = 1;
      else if(y1[i] == y2[i]){
	ty[i] = 2;
	a[i] = 0.0;
	b[i] = (double)y1[i];
      }
      else{
	a[i] =(double)  (y1[i] - y2[i]) / (x1[i] - x2[i]);
	b[i] = (double) y1[i] - a[i] * x1[i];
	ty[i] = 0;
      }
    }

    ans = 0;
    for(i=0;i<3;i++){ //ÃÂ¿ÃÂ¹ÃÂ¤ÃÂ¾ÃÂ¬ÃÂ¹ÃÂ§
      if(ty[i] == 1 && ty[(i+1)%3] == 1){
	ans = -1;
	break;
      }
      else if(ty[i] != 1 && ty[(i+1)%3] != 1 && a[i] == a[(i+1)%3]){
	ans = -1;
	break;
      }
    }

    if(ans == 0){
      for(i=0;i<3;i++){
	if(ty[i] == 1){
	  x3[i] = (double)x1[i];
	  y3[i] = a[(i+1)%3] * x3[i] + b[(i+1)%3];
	}
	else{
	  x3[i] = (b[(i+1)%3] - b[i]) / (a[i] - a[(i+1)%3]);
	  if(b[(i+1)%3] == b[i]) x3[i] = 0.0;
	  y3[i] = a[i] * x3[i] + b[i];
	}

	if( (x1[i] <= x2[i] &&(x1[i] > x3[i] || x3[i] > x2[i]))  ||  (x2[i] < x1[i] &&(x2[i] > x3[i] || x3[i] > x1[i]))  ||  (y1[i] <= y2[i] &&(y1[i] > y3[i] || y3[i] > y2[i]))  ||  (y2[i] < y1[i] &&(y2[i] > y3[i] || y3[i] > y1[i])) ){
	  ans = -1.0;
	  break; //ÃÂÃÂ¾ÃÂ¬ÃÂ¤ÃÂÃÂÃÂ¤ÃÂ«ÃÂ¤ÃÂºÃÂÃÂ¤ÃÂ·ÃÂ¤ÃÂ¤ÃÂ¤ÃÂ¤ÃÂ¤ÃÂ¤
	}
	else if( (x1[(i+1)%3] <= x2[(i+1)%3] &&(x1[(i+1)%3] > x3[i] || x3[i] > x2[(i+1)%3]))  ||  (x2[(i+1)%3] < x1[(i+1)%3] &&(x2[(i+1)%3] > x3[i] || x3[i] > x1[(i+1)%3]))  ||  (y1[(i+1)%3] <= y2[(i+1)%3] &&(y1[(i+1)%3] > y3[i] || y3[i] > y2[(i+1)%3]))  ||  (y2[(i+1)%3] < y1[(i+1)%3] &&(y2[(i+1)%3] > y3[i] || y3[i] > y1[(i+1)%3])) ){
	  ans = -1.0;
	  break; //ÃÂÃÂ¾ÃÂ¬ÃÂ¤ÃÂÃÂÃÂ¤ÃÂ«ÃÂ¤ÃÂºÃÂÃÂ¤ÃÂ·ÃÂ¤ÃÂ¤ÃÂ¤ÃÂ¤ÃÂ¤ÃÂ¤
	}
      }

      s = 0.0;
      for(i=0;i<3;i++){
	sen[i] = sqrt( pow(x3[i] - x3[(i+1)%3],2) + pow(y3[i] - y3[(i+1)%3],2));
	s += sen[i];
      }
      
      s /= 2;
      if(ans == 0) ans = (long long)sqrt(s * (s - sen[0]) * (s - sen[1]) * (s - sen[2]));
      
      int c = 0;
      for(i=0;i<3;i++){ //ÃÂ£ÃÂ³ÃÂ¤ÃÂ¤ÃÂÃÂÃÂ¾ÃÂ¬ÃÂ¤ÃÂ¬ÃÂ£ÃÂ±ÃÂÃÂÃÂ¤ÃÂ¸ÃÂ²ÃÂ¤ÃÂ¯ÃÂ¤ÃÂ«
	if(x3[i] == x3[(i+1)%3] && y3[i] == y3[(i+1)%3]) c++;
      }
      if(c == 3) ans = -1;
    }

    if(ans >= 1900000) cout << "dai-kichi" << endl;
    else if(ans >= 1000000) cout << "chu-kichi" << endl;
    else if(ans >= 100000) cout << "kichi" << endl;
    else if(ans > 0) cout << "syo-kichi" << endl;
    else cout << "kyo" << endl;

  }
  return 0;
}