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

const double EPS = 1e-8;

const char* fortune[] = {
	"dai-kichi",
	"chu-kichi",
	"kichi",
	"syo-kichi",
	"kyo",
};

template<class T> class Vector2
{
public:
	int crossProduct( const Vector2& v )
	{
		return x * v.y - v.x * y;
	}

	T x, y;
};

int main()
{
	int x1, y1, x2, y2;
	while( cin >> x1 >> y1 >> x2 >> y2 && ( x1 || y1 || x2 || y2 ) ){
		Vector2<int> p[ 3 ][ 2 ];
		Vector2<int> v[ 3 ];
		p[ 0 ][ 0 ].x = x1;
		p[ 0 ][ 0 ].y = y1;
		p[ 0 ][ 1 ].x = x2;
		p[ 0 ][ 1 ].y = y2;
		v[ 0 ].x = x2 - x1;
		v[ 0 ].y = y2 - y1;
		for( int i = 1; i < 3; ++i ){
			cin >> x1 >> y1 >> x2 >> y2;
			p[ i ][ 0 ].x = x1;
			p[ i ][ 0 ].y = y1;
			p[ i ][ 1 ].x = x2;
			p[ i ][ 1 ].y = y2;
			v[ i ].x = x2 - x1;
			v[ i ].y = y2 - y1;
		}

		int result = 0;
		if( v[ 0 ].crossProduct( v[ 1 ] ) * v[ 1 ].crossProduct( v[ 2 ] ) * v[ 2 ].crossProduct( v[ 0 ] ) == 0 ){
			result = 4;
		}else{
			Vector2<double> e[ 3 ];
			for( int i = 0; i < 3; ++i ){
				int a = i;
				int b = ( i + 1 ) % 3;
				int ax = p[ a ][ 0 ].x;
				int ay = p[ a ][ 0 ].y;
				int cx = p[ b ][ 0 ].x;
				int cy = p[ b ][ 0 ].y;
				int abx = v[ a ].x;
				int aby = v[ a ].y;
				int cdx = v[ b ].x;
				int cdy = v[ b ].y;
				double s = static_cast<double>( cdy * ( cx - ax ) - cdx * ( cy - ay ) )
					/ static_cast<double>( abx * cdy - cdx * aby );
				double t = static_cast<double>( aby * ( cx - ax ) - abx * ( cy - ay ) )
					/ static_cast<double>( abx * cdy - cdx * aby );
				if( s + EPS > 1.0 || s - EPS < 0.0 ){
					result = 4;
					break;
				}
				if( t + EPS > 1.0 || t - EPS < 0.0 ){
					result = 4;
					break;
				}
				e[ i ].x = p[ i ][ 0 ].x + s * v[ i ].x;
				e[ i ].y = p[ i ][ 0 ].y + s * v[ i ].y;
			}
			if( result != 4 ){
				Vector2<double> tmp;
				tmp.x = e[ 0 ].x;
				tmp.y = e[ 0 ].y;
				for( int i = 0; i < 3; ++i ){
					e[ i ].x -= tmp.x;
					e[ i ].y -= tmp.y;
				}
				double sq = fabs( e[ 1 ].x * e[ 2 ].y - e[ 2 ].x * e[ 1 ].y ) / 2;
				if( sq < EPS ){
					result = 4;
				}else if( sq < 100000 ){
					result = 3;
				}else if( sq < 1000000 ){
					result = 2;
				}else if( sq < 1900000 ){
					result = 1;
				}else{
					result = 0;
				}
			}
		}
		cout << fortune[ result ] << endl;
	}

	return 0;
}