EPS = 1e-9
class Point
  attr_accessor :x, :y 
  def initialize p
    @x = p[0]
    @y = p[1]
  end
end
def cross(p1,p2,p3,p4)
  a = (p4.y - p3.y)*(p4.x - p1.x) - (p4.x - p3.x)*(p4.y - p1.y)
  b = (p2.x - p1.x)*(p4.y - p1.y) - (p2.y - p1.y)*(p4.x - p1.x)
  c = (p2.x - p1.x)*(p4.y - p3.y) - (p2.y - p1.y)*(p4.x - p3.x)
  return nil if c.abs < EPS
  d = a / c
  e = b / c
  return nil if d < 0 || d > 1 || e < 0 || e > 1
  Point.new([(p2.x - p1.x) * d + p1.x, (p2.y - p1.y) * d + p1.y])
end
while gets
  break if $_.strip == "0 0 0 0"
  l1 = $_.split.map(&:to_f)
  l2 = gets.split.map(&:to_f)
  l3 = gets.split.map(&:to_f)
  p1 = Point.new(l1[0,2])
  p2 = Point.new(l1[2,2])
  p3 = Point.new(l2[0,2])
  p4 = Point.new(l2[2,2])
  p5 = Point.new(l3[0,2])
  p6 = Point.new(l3[2,2])

  c1 = cross(p1,p2,p3,p4)
  c2 = cross(p3,p4,p5,p6)
  c3 = cross(p5,p6,p1,p2)

  unless c1 && c2 && c3
    puts "kyo"
  else
    if (c2.x - c1.x).abs < EPS && (c2.y - c1.y).abs < EPS then puts "kyo"
    s = ((c2.x - c1.x)*(c3.y - c1.y) - (c2.y - c1.y)*(c3.x - c1.x)).abs / 2
    elsif s >= 1_900_000 then puts "dai-kichi"
    elsif s >= 1_000_000 then puts "chu-kichi"
    elsif s >= 100_000 then puts "kichi"
    else puts "syo-kichi"
    end
  end
end