class Point
  include Comparable
  attr_accessor :x, :y
  def initialize(x=0.0, y=0.0)
    @x = x; @y = y
  end

  def <=>(p)
    return 1 if @x > p.x
    return 1 if (@x == p.x) && (@y > p.y)
    return -1 if @x < p.x
    return -1 if (@x == p.x) && (@y < p.y)
    0
  end
  def +(p)
    Point.new(@x+p.x, @y+p.y)
  end
  def -(p)
    Point.new(@x-p.x, @y-p.y)
  end
  def -@
    Point.new(-@x, -@y)
  end

  def dot(p)
    @x*p.x + @y*p.y
  end
  def cross(p)
    @x*p.y - @y*p.x
  end
  def abs
    Math::hypot(@x, @y)
  end
  def norm
    @x**2 + @y**2
  end
  CounterClockwise = 1  # self-p1-p2の順で反時計回り
  Clockwise = -1        # self-p1-p2の順で時計回り
  # 3点の位置関係を調べる
  def ccw(p1, p2)
    p = p1-self; q = p2-self
    return 1 if p.cross(q) > 0
    return -1 if p.cross(q) < 0
    0
  end
end

class Segment
  attr_accessor :a, :b
  def initialize(p1=Point.new, p2=Point.new)
    @a = p1; @b = p2
  end

  def include?(p)
    (@a-p).abs + (@b-p).abs == (b-a).abs
  end
  def intersect?(s)
    s.a.ccw(s.b, self.a) * s.a.ccw(s.b, self.b) < 0 && self.a.ccw(self.b, s.a) * self.a.ccw(self.b, s.b) < 0
  end
  def crossingPoint(s)
    dev = (self.b.y-self.a.y)*(s.b.x-s.a.x) - (self.b.x-self.a.x)*(s.b.y-s.a.y)
    p "ERROR" if dev==0
    d1 = s.a.y*s.b.x - s.a.x*s.b.y
    d2 = self.a.y*self.b.x - self.a.x*self.b.y
    x = d1*(self.b.x - self.a.x) - d2*(s.b.x - s.a.x)
    x /= dev
    y = d1*(self.b.y - self.a.y) - d2*(s.b.y - s.a.y)
    y /= dev
    Point.new(x, y)
  end
end

while (x1, y1, x2, y2 = gets.split.map(&:to_i)).find{|v| v != 0} do
  segment = Array.new
  crossingPoint = Array.new
  s = 0
  segment.push(Segment.new(Point.new(x1, y1), Point.new(x2, y2)))
  2.times do
    x1, y1, x2, y2 = gets.split.map(&:to_i)
    segment.push(Segment.new(Point.new(x1, y1), Point.new(x2, y2)))
  end
  3.times do |i|
    break if !segment[i].intersect?(segment[(i+1)%3])
    crossingPoint.push(segment[i].crossingPoint(segment[(i+1)%3]))
  end
  if crossingPoint.size == 3
    a = crossingPoint[2] - crossingPoint[0]
    b = crossingPoint[1] - crossingPoint[0]
    s = (a.x*b.y - b.x*a.y).abs / 2.0
  end
  if s > 1900000
    puts "dai-kichi"
  elsif s > 1000000
    puts "chu-kichi"
  elsif s > 100000
    puts "kichi"
  elsif s > 0
    puts "syo-kichi"
  else
    puts "kyo"
  end
end