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

class B:
    def __init__(self, txt: str):
        self.o: I = None
        self.v: A = None
        self.x: C = None
        self.s: J = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.q: A = None
        self.s: D = None
        self.t: B = None
        self.v: A = None
        self.w: F = None
        self.u: J = None
        self.x: A = None
        self.z: F = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.v: G = None
        self.s: H = None
        self.x: I = None
        self.u: A = None
        self.w: G = None
        self.o: F = None
        self.r: H = None
        self.y: F = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.t: B = None
        self.s: D = None
        self.q: I = None
        self.w: I = None
        self.x: J = None
        self.u: A = None
        self.r: F = None
        self.z: B = None
        self.o: H = None
        self.y: J = 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.p: E = None
        self.s: A = None
        self.t: A = None
        self.z: F = None
        self.y: C = None
        self.w: F = None
        self.q: J = None
        self.v: C = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.p: E = None
        self.r: E = None
        self.q: D = None
        self.s: F = None
        self.x: C = None
        self.v: J = None
        self.w: G = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.q: C = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.s: B = None
        self.u: D = None
        self.t: E = None
        self.p: E = None
        self.o: C = None
        self.v: B = None
        self.r: D = None
        self.w: A = None
        self.z: C = None
        self.txt = txt

a = A("a")
i = B("i")
k = C("k")
b = D("b")
n = E("n")
g = F("g")
m = G("m")
l = H("l")
h = I("h")
e = J("e")

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

class B:
    def __init__(self, txt: str):
        self.o: I = None
        self.v: A = None
        self.x: C = None
        self.s: J = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.q: A = None
        self.s: D = None
        self.t: B = None
        self.v: A = None
        self.w: F = None
        self.u: J = None
        self.x: A = None
        self.z: F = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.v: G = None
        self.s: H = None
        self.x: I = None
        self.u: A = None
        self.w: G = None
        self.o: F = None
        self.r: H = None
        self.y: F = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.t: B = None
        self.s: D = None
        self.q: I = None
        self.w: I = None
        self.x: J = None
        self.u: A = None
        self.r: F = None
        self.z: B = None
        self.o: H = None
        self.y: J = 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.p: E = None
        self.s: A = None
        self.t: A = None
        self.z: F = None
        self.y: C = None
        self.w: F = None
        self.q: J = None
        self.v: C = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.p: E = None
        self.r: E = None
        self.q: D = None
        self.s: F = None
        self.x: C = None
        self.v: J = None
        self.w: G = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.q: C = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.s: B = None
        self.u: D = None
        self.t: E = None
        self.p: E = None
        self.o: C = None
        self.v: B = None
        self.r: D = None
        self.w: A = None
        self.z: C = None
        self.txt = txt

a = A("a")
i = B("i")
k = C("k")
b = D("b")
n = E("n")
g = F("g")
m = G("m")
l = H("l")
h = I("h")
e = J("e")

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