class A:
    def __init__(self, txt: str):
        self.z: E = None
        self.u: B = None
        self.t: E = None
        self.x: C = None
        self.txt = txt

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

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

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

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

j = A("j")
b = B("b")
n = C("n")
h = D("h")
e = E("e")
l = A("l")
c = B("c")
i = A("i")
g = D("g")
d = C("d")

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

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

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

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

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

j = A("j")
b = B("b")
n = C("n")
h = D("h")
e = E("e")
l = A("l")
c = B("c")
i = A("i")
g = D("g")
d = C("d")

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