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

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

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

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

class E:
    def __init__(self, txt: str):
        self.u: D = None
        self.w: B = None
        self.o: C = None
        self.z: B = None
        self.r: B = None
        self.txt = txt

h = A("h")
j = B("j")
c = C("c")
k = D("k")
a = E("a")
l = B("l")
n = E("n")
g = D("g")
d = A("d")
f = E("f")

h.s = g
h.w = f
h.x = f
h.z = c
h.v = l
j.v = f
j.o = a
j.w = k
c.w = n
c.s = l
k.y = g
k.t = c
a.u = k
a.w = j
a.r = j
a.o = c
a.z = l
l.v = a
l.o = a
l.w = k
n.u = g
n.w = l
n.r = l
n.o = c
n.z = j
g.y = k
g.t = c
d.s = g
d.w = f
d.z = c
d.x = a
d.v = j
f.u = g
f.w = j
f.r = j
f.o = c
f.z = l
assert j.o.z.w.y.t.txt == "
class A:
    def __init__(self, txt: str):
        self.s: D = None
        self.w: E = None
        self.z: C = None
        self.x: E = None
        self.v: B = None
        self.txt = txt

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

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

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

class E:
    def __init__(self, txt: str):
        self.u: D = None
        self.w: B = None
        self.o: C = None
        self.z: B = None
        self.r: B = None
        self.txt = txt

h = A("h")
j = B("j")
c = C("c")
k = D("k")
a = E("a")
l = B("l")
n = E("n")
g = D("g")
d = A("d")
f = E("f")

h.s = g
h.w = f
h.x = f
h.z = c
h.v = l
j.v = f
j.o = a
j.w = k
c.w = n
c.s = l
k.y = g
k.t = c
a.u = k
a.w = j
a.r = j
a.o = c
a.z = l
l.v = a
l.o = a
l.w = k
n.u = g
n.w = l
n.r = l
n.o = c
n.z = j
g.y = k
g.t = c
d.s = g
d.w = f
d.z = c
d.x = a
d.v = j
f.u = g
f.w = j
f.r = j
f.o = c
f.z = l
assert j.o.z.w.y.t.txt == "c"