class A:
    def __init__(self, txt: str):
        self.z: C = None
        self.x: D = None
        self.y: C = None
        self.t: D = None
        self.w: C = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.q: D = None
        self.p: B = None
        self.x: D = None
        self.r: D = None
        self.w: C = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.s: B = None
        self.r: B = None
        self.x: C = None
        self.txt = txt

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

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

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

class B:
    def __init__(self, txt: str):
        self.q: D = None
        self.p: B = None
        self.x: D = None
        self.r: D = None
        self.w: C = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.s: B = None
        self.r: B = None
        self.x: C = None
        self.txt = txt

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

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

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