class A:
    def __init__(self, txt: str):
        self.w: J = None
        self.z: H = None
        self.s: D = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.u: C = None
        self.r: F = None
        self.v: G = None
        self.t: I = None
        self.p: I = None
        self.z: A = None
        self.w: A = None
        self.y: G = None
        self.txt = txt

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

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

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

class F:
    def __init__(self, txt: str):
        self.r: A = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.s: E = None
        self.o: G = None
        self.w: A = None
        self.x: A = None
        self.u: I = None
        self.y: G = None
        self.p: B = None
        self.z: I = None
        self.t: B = None
        self.txt = txt

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

class J:
    def __init__(self, txt: str):
        self.v: D = None
        self.q: A = None
        self.w: F = None
        self.y: F = None
        self.t: H = None
        self.p: G = None
        self.x: B = None
        self.o: B = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.u: C = None
        self.r: F = None
        self.v: G = None
        self.t: I = None
        self.p: I = None
        self.z: A = None
        self.w: A = None
        self.y: G = None
        self.txt = txt

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

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

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

class F:
    def __init__(self, txt: str):
        self.r: A = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.s: E = None
        self.o: G = None
        self.w: A = None
        self.x: A = None
        self.u: I = None
        self.y: G = None
        self.p: B = None
        self.z: I = None
        self.t: B = None
        self.txt = txt

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

class J:
    def __init__(self, txt: str):
        self.v: D = None
        self.q: A = None
        self.w: F = None
        self.y: F = None
        self.t: H = None
        self.p: G = None
        self.x: B = None
        self.o: B = None
        self.txt = txt

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

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