class A:
    def __init__(self, txt: str):
        self.o: G = None
        self.y: C = None
        self.x: B = None
        self.r: C = None
        self.p: H = None
        self.s: C = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.v: C = None
        self.t: A = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.w: H = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.z: I = None
        self.t: F = None
        self.v: A = None
        self.x: I = None
        self.p: C = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.v: I = None
        self.r: G = None
        self.y: H = None
        self.x: G = None
        self.t: C = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.x: D = None
        self.r: C = None
        self.u: A = None
        self.s: I = None
        self.w: I = None
        self.v: H = None
        self.p: G = None
        self.o: B = None
        self.t: C = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.x: D = None
        self.t: C = None
        self.v: F = None
        self.u: D = None
        self.p: C = None
        self.o: G = None
        self.r: A = None
        self.s: G = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.r: E = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.z: F = None
        self.w: H = None
        self.txt = txt

l = A("l")
n = B("n")
i = C("i")
c = D("c")
e = E("e")
g = F("g")
k = G("k")
d = H("d")
f = I("f")
a = G("a")

l.o = a
l.y = i
l.r = i
l.s = i
l.x = n
l.p = d
n.v = i
n.t = l
i.w = d
c.z = f
c.x = f
c.t = g
c.v = l
c.p = i
e.v = f
e.r = a
e.x = a
e.y = d
e.t = i
g.x = c
g.r = i
g.t = i
g.u = l
g.s = f
g.w = f
g.v = d
g.p = a
g.o = n
k.x = c
k.u = c
k.t = i
k.p = i
k.v = g
k.o = a
k.s = a
k.r = l
d.r = e
f.z = g
f.w = d
a.x = c
a.u = c
a.t = i
a.p = i
a.v = g
a.o = k
a.s = k
a.r = l
assert k.o.v.u.p.r.txt == "
class A:
    def __init__(self, txt: str):
        self.o: G = None
        self.y: C = None
        self.x: B = None
        self.r: C = None
        self.p: H = None
        self.s: C = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.v: C = None
        self.t: A = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.w: H = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.z: I = None
        self.t: F = None
        self.v: A = None
        self.x: I = None
        self.p: C = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.v: I = None
        self.r: G = None
        self.y: H = None
        self.x: G = None
        self.t: C = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.x: D = None
        self.r: C = None
        self.u: A = None
        self.s: I = None
        self.w: I = None
        self.v: H = None
        self.p: G = None
        self.o: B = None
        self.t: C = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.x: D = None
        self.t: C = None
        self.v: F = None
        self.u: D = None
        self.p: C = None
        self.o: G = None
        self.r: A = None
        self.s: G = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.r: E = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.z: F = None
        self.w: H = None
        self.txt = txt

l = A("l")
n = B("n")
i = C("i")
c = D("c")
e = E("e")
g = F("g")
k = G("k")
d = H("d")
f = I("f")
a = G("a")

l.o = a
l.y = i
l.r = i
l.s = i
l.x = n
l.p = d
n.v = i
n.t = l
i.w = d
c.z = f
c.x = f
c.t = g
c.v = l
c.p = i
e.v = f
e.r = a
e.x = a
e.y = d
e.t = i
g.x = c
g.r = i
g.t = i
g.u = l
g.s = f
g.w = f
g.v = d
g.p = a
g.o = n
k.x = c
k.u = c
k.t = i
k.p = i
k.v = g
k.o = a
k.s = a
k.r = l
d.r = e
f.z = g
f.w = d
a.x = c
a.u = c
a.t = i
a.p = i
a.v = g
a.o = k
a.s = k
a.r = l
assert k.o.v.u.p.r.txt == "e"