class A:
    def __init__(self, txt: str):
        self.t: I = None
        self.y: I = None
        self.r: E = None
        self.p: J = None
        self.v: B = None
        self.x: F = None
        self.q: G = None
        self.u: D = None
        self.s: E = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.r: D = None
        self.v: C = None
        self.y: G = None
        self.z: H = None
        self.q: E = None
        self.x: I = None
        self.s: E = None
        self.w: A = None
        self.t: E = None
        self.u: E = None
        self.txt = txt

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

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

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

class F:
    def __init__(self, txt: str):
        self.r: C = None
        self.o: E = None
        self.x: D = None
        self.p: I = None
        self.w: B = None
        self.q: E = None
        self.t: H = None
        self.u: A = None
        self.z: C = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.o: C = None
        self.x: D = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.q: I = None
        self.z: B = None
        self.t: E = None
        self.p: J = None
        self.s: D = None
        self.x: F = None
        self.y: B = None
        self.w: J = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.r: H = None
        self.w: F = None
        self.z: G = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.v: D = None
        self.r: D = None
        self.q: C = None
        self.u: A = None
        self.w: G = None
        self.y: F = None
        self.z: I = None
        self.s: F = None
        self.t: C = None
        self.o: G = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.r: D = None
        self.v: C = None
        self.y: G = None
        self.z: H = None
        self.q: E = None
        self.x: I = None
        self.s: E = None
        self.w: A = None
        self.t: E = None
        self.u: E = None
        self.txt = txt

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

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

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

class F:
    def __init__(self, txt: str):
        self.r: C = None
        self.o: E = None
        self.x: D = None
        self.p: I = None
        self.w: B = None
        self.q: E = None
        self.t: H = None
        self.u: A = None
        self.z: C = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.o: C = None
        self.x: D = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.q: I = None
        self.z: B = None
        self.t: E = None
        self.p: J = None
        self.s: D = None
        self.x: F = None
        self.y: B = None
        self.w: J = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.r: H = None
        self.w: F = None
        self.z: G = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.v: D = None
        self.r: D = None
        self.q: C = None
        self.u: A = None
        self.w: G = None
        self.y: F = None
        self.z: I = None
        self.s: F = None
        self.t: C = None
        self.o: G = None
        self.txt = txt

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

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