class A:
    def __init__(self, txt: str):
        self.t: E = None
        self.w: D = None
        self.q: D = None
        self.z: D = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.y: F = None
        self.w: E = None
        self.r: A = None
        self.p: F = None
        self.q: G = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.x: G = None
        self.u: E = None
        self.y: G = None
        self.t: C = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.p: F = None
        self.o: G = None
        self.s: A = None
        self.u: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.t: B = None
        self.s: B = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.y: A = None
        self.t: H = None
        self.x: D = None
        self.txt = txt

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

b = A("b")
e = B("e")
j = C("j")
l = D("l")
n = E("n")
g = F("g")
i = G("i")
d = H("d")
h = C("h")
k = H("k")

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

class B:
    def __init__(self, txt: str):
        self.y: F = None
        self.w: E = None
        self.r: A = None
        self.p: F = None
        self.q: G = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.x: G = None
        self.u: E = None
        self.y: G = None
        self.t: C = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.p: F = None
        self.o: G = None
        self.s: A = None
        self.u: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.t: B = None
        self.s: B = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.y: A = None
        self.t: H = None
        self.x: D = None
        self.txt = txt

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

b = A("b")
e = B("e")
j = C("j")
l = D("l")
n = E("n")
g = F("g")
i = G("i")
d = H("d")
h = C("h")
k = H("k")

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