class A:
    def __init__(self, txt: str):
        self.t: F = None
        self.z: C = None
        self.s: B = None
        self.p: C = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.v: A = None
        self.z: A = None
        self.txt = txt

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

class E:
    def __init__(self, txt: str):
        self.y: F = None
        self.x: G = None
        self.z: D = None
        self.v: H = None
        self.q: G = None
        self.u: A = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.o: J = None
        self.t: G = None
        self.x: E = None
        self.z: C = None
        self.v: G = None
        self.r: H = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.r: B = None
        self.t: J = None
        self.p: D = None
        self.q: B = None
        self.w: C = None
        self.z: H = None
        self.v: D = None
        self.y: H = None
        self.u: C = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.w: J = None
        self.u: I = None
        self.z: B = None
        self.y: D = None
        self.o: B = None
        self.x: G = None
        self.txt = txt

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

class J:
    def __init__(self, txt: str):
        self.z: H = None
        self.w: I = None
        self.p: E = None
        self.x: A = None
        self.q: G = None
        self.r: D = None
        self.txt = txt

h = A("h")
j = B("j")
m = C("m")
n = D("n")
d = E("d")
g = F("g")
k = G("k")
c = H("c")
a = I("a")
e = J("e")

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

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

class C:
    def __init__(self, txt: str):
        self.v: A = None
        self.z: A = None
        self.txt = txt

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

class E:
    def __init__(self, txt: str):
        self.y: F = None
        self.x: G = None
        self.z: D = None
        self.v: H = None
        self.q: G = None
        self.u: A = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.o: J = None
        self.t: G = None
        self.x: E = None
        self.z: C = None
        self.v: G = None
        self.r: H = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.r: B = None
        self.t: J = None
        self.p: D = None
        self.q: B = None
        self.w: C = None
        self.z: H = None
        self.v: D = None
        self.y: H = None
        self.u: C = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.w: J = None
        self.u: I = None
        self.z: B = None
        self.y: D = None
        self.o: B = None
        self.x: G = None
        self.txt = txt

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

class J:
    def __init__(self, txt: str):
        self.z: H = None
        self.w: I = None
        self.p: E = None
        self.x: A = None
        self.q: G = None
        self.r: D = None
        self.txt = txt

h = A("h")
j = B("j")
m = C("m")
n = D("n")
d = E("d")
g = F("g")
k = G("k")
c = H("c")
a = I("a")
e = J("e")

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