import scala.annotation.tailrec
import scala.io.StdIn._
object Main extends App {
  loop()
  @tailrec def loop(): Unit = {
    val Array(ax1, ay1, bx1, by1) = readLine.trim.split(' ').map(_.toInt)
    if (ax1 == 0 && ay1 == 0 && bx1 == 0 && by1 == 0) return
    val line1 = Line(Point(ax1, ay1), Point(bx1, by1))
    val Array(line2, line3) = Array.tabulate(2){_ ⇒
      val Array(ax, ay, bx, by) = readLine.trim.split(' ').map(_.toInt)
      Line(Point(ax, ay), Point(bx, by))
    }
    println(Some((areas _).curried).flatMap(line1.crossPoint(line2).map).flatMap(line2.crossPoint(line3).map).flatMap(line3.crossPoint(line1).map) match {
      case Some(area) if area >= 1900000 ⇒ "dai-kichi"
      case Some(area) if area >= 1000000 ⇒ "chu-kichi"
      case Some(area) if area >= 100000 ⇒ "kichi"
      case Some(area) if area >= 0.000001 ⇒ "syo-kichi"
      case _ ⇒ "kyo"
    })
    loop()
  }
  def areas(a: Point, b: Point, c: Point): Double = {
    val s = (a.distance(b) + b.distance(c) + c.distance(a)) / 2
    math.sqrt(s * (s - a.distance(b)) * (s - b.distance(c)) * (s - c.distance(a)))
  }
}

case class Point(x: Double, y: Double) {
  def -(that: Point): Vector = Vector(x - that.x, y - that.y)
  def distance(that: Point): Double = (this - that).length
}
case class Vector(x: Double, y: Double) {
  def dot(that: Vector): Double = x * that.x + y * that.y
  def cross(that: Vector): Double = x * that.y - y * that.x
  def length: Double = math.sqrt(x * x + y * y)
  def sin(that: Vector): Double = {
    cross(that) / length / that.length
  }
  def cos(that: Vector): Double = {
    dot(that) / length / that.length
  }
}
case class Line(endA: Point, endB: Point) {
  private val a = endB.y - endA.y
  private val b = endA.x - endB.x
  private val c = endA.y * endB.x - endA.x * endB.y
  def crossPoint(that: Line): Option[Point] = {
    val d = a * that.b - b * that.a
    if (math.abs(d) < 0.0000001) None
    else {
      val cp = Point((b * that.c - c * that.b) / d, (c * that.a - a * that.c) / d)
      Some(cp).filter(isOnLine).filter(that.isOnLine)
    }
  }
  private def isOnLine(that: Point): Boolean = {
    val am = endA - that
    val mb = endB - that
    am.sin(mb).abs <= 0.000001 && (am.cos(mb) + 1 ).abs <= 0.000001
  }
}
