class A:
    def __init__(self, txt: str):
        self.s: D = None
        self.v: C = None
        self.o: H = None
        self.z: E = None
        self.t: H = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.x: D = None
        self.p: E = None
        self.w: F = None
        self.z: H = None
        self.v: D = None
        self.t: F = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.r: F = None
        self.t: E = None
        self.u: G = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.o: A = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.q: H = None
        self.u: A = None
        self.s: A = None
        self.r: H = None
        self.v: C = None
        self.z: B = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.t: G = None
        self.x: C = None
        self.z: D = None
        self.q: H = None
        self.y: E = None
        self.s: A = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.z: C = None
        self.p: F = None
        self.t: E = None
        self.w: C = None
        self.q: C = None
        self.s: H = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.o: D = None
        self.w: H = None
        self.s: G = None
        self.txt = txt

i = A("i")
l = B("l")
c = C("c")
b = D("b")
k = E("k")
h = F("h")
a = G("a")
e = H("e")
j = H("j")

i.s = b
i.v = c
i.o = e
i.z = k
i.t = j
l.x = b
l.v = b
l.p = k
l.w = h
l.t = h
l.z = j
c.r = h
c.t = k
c.u = a
b.o = i
k.q = j
k.r = j
k.u = i
k.s = i
k.v = c
k.z = l
h.t = a
h.x = c
h.z = b
h.q = j
h.y = k
h.s = i
a.z = c
a.w = c
a.q = c
a.p = h
a.t = k
a.s = j
e.o = b
e.w = j
e.s = a
j.o = b
j.w = e
j.s = a
assert c.u.t.u.t.s.t.z.txt == "
class A:
    def __init__(self, txt: str):
        self.s: D = None
        self.v: C = None
        self.o: H = None
        self.z: E = None
        self.t: H = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.x: D = None
        self.p: E = None
        self.w: F = None
        self.z: H = None
        self.v: D = None
        self.t: F = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.r: F = None
        self.t: E = None
        self.u: G = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.o: A = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.q: H = None
        self.u: A = None
        self.s: A = None
        self.r: H = None
        self.v: C = None
        self.z: B = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.t: G = None
        self.x: C = None
        self.z: D = None
        self.q: H = None
        self.y: E = None
        self.s: A = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.z: C = None
        self.p: F = None
        self.t: E = None
        self.w: C = None
        self.q: C = None
        self.s: H = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.o: D = None
        self.w: H = None
        self.s: G = None
        self.txt = txt

i = A("i")
l = B("l")
c = C("c")
b = D("b")
k = E("k")
h = F("h")
a = G("a")
e = H("e")
j = H("j")

i.s = b
i.v = c
i.o = e
i.z = k
i.t = j
l.x = b
l.v = b
l.p = k
l.w = h
l.t = h
l.z = j
c.r = h
c.t = k
c.u = a
b.o = i
k.q = j
k.r = j
k.u = i
k.s = i
k.v = c
k.z = l
h.t = a
h.x = c
h.z = b
h.q = j
h.y = k
h.s = i
a.z = c
a.w = c
a.q = c
a.p = h
a.t = k
a.s = j
e.o = b
e.w = j
e.s = a
j.o = b
j.w = e
j.s = a
assert c.u.t.u.t.s.t.z.txt == "l"