class A:
    def __init__(self, txt: str):
        self.o: D = None
        self.z: F = None
        self.u: B = None
        self.t: F = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.w: E = None
        self.v: D = None
        self.s: G = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.u: E = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.t: D = None
        self.r: D = None
        self.v: H = None
        self.o: H = None
        self.s: F = None
        self.x: F = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.p: B = None
        self.w: C = None
        self.z: B = None
        self.x: C = None
        self.q: D = None
        self.y: H = None
        self.o: H = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.u: D = None
        self.txt = txt

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

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

e.o = n
e.z = l
e.t = l
e.u = g
g.w = c
g.v = n
g.s = b
a.p = n
a.s = h
a.z = c
a.v = e
n.u = c
c.t = n
c.r = n
c.v = i
c.o = h
c.s = l
c.x = l
l.p = g
l.z = g
l.w = a
l.x = a
l.q = n
l.y = h
l.o = h
f.u = n
i.w = h
i.u = a
i.s = a
i.v = a
i.z = b
i.p = c
i.o = c
i.q = l
h.w = i
h.u = a
h.s = a
h.v = a
h.z = f
h.p = c
h.o = c
h.q = l
b.u = n
assert c.v.q.x.z.s.q.u.t.txt == "
class A:
    def __init__(self, txt: str):
        self.o: D = None
        self.z: F = None
        self.u: B = None
        self.t: F = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.w: E = None
        self.v: D = None
        self.s: G = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.u: E = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.t: D = None
        self.r: D = None
        self.v: H = None
        self.o: H = None
        self.s: F = None
        self.x: F = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.p: B = None
        self.w: C = None
        self.z: B = None
        self.x: C = None
        self.q: D = None
        self.y: H = None
        self.o: H = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.u: D = None
        self.txt = txt

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

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

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