class A:
    def __init__(self, txt: str):
        self.v: H = None
        self.z: G = None
        self.o: J = None
        self.u: J = None
        self.q: H = None
        self.t: H = None
        self.s: J = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.o: D = None
        self.q: I = None
        self.r: B = None
        self.s: A = None
        self.txt = txt

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

class E:
    def __init__(self, txt: str):
        self.x: I = None
        self.u: H = None
        self.z: I = None
        self.y: J = None
        self.q: B = None
        self.o: G = None
        self.p: G = None
        self.r: B = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.v: B = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.v: J = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.q: C = None
        self.x: F = None
        self.o: G = None
        self.u: B = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.t: C = None
        self.z: B = None
        self.txt = txt

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

n = A("n")
a = B("a")
b = C("b")
d = D("d")
k = E("k")
c = F("c")
h = G("h")
f = H("f")
i = I("i")
l = J("l")

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

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

class C:
    def __init__(self, txt: str):
        self.o: D = None
        self.q: I = None
        self.r: B = None
        self.s: A = None
        self.txt = txt

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

class E:
    def __init__(self, txt: str):
        self.x: I = None
        self.u: H = None
        self.z: I = None
        self.y: J = None
        self.q: B = None
        self.o: G = None
        self.p: G = None
        self.r: B = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.v: B = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.v: J = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.q: C = None
        self.x: F = None
        self.o: G = None
        self.u: B = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.t: C = None
        self.z: B = None
        self.txt = txt

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

n = A("n")
a = B("a")
b = C("b")
d = D("d")
k = E("k")
c = F("c")
h = G("h")
f = H("f")
i = I("i")
l = J("l")

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