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

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

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

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

class E:
    def __init__(self, txt: str):
        self.x: G = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.p: C = None
        self.txt = txt

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

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

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

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

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

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

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

class E:
    def __init__(self, txt: str):
        self.x: G = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.p: C = None
        self.txt = txt

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

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

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

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