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

class B:
    def __init__(self, txt: str):
        self.w: J = None
        self.z: A = None
        self.o: D = None
        self.t: E = None
        self.y: C = None
        self.txt = txt

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

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

class E:
    def __init__(self, txt: str):
        self.p: D = None
        self.q: D = None
        self.x: D = None
        self.z: D = None
        self.v: F = None
        self.t: A = None
        self.o: D = None
        self.u: J = None
        self.txt = txt

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

class G:
    def __init__(self, txt: str):
        self.o: E = None
        self.u: J = None
        self.t: B = None
        self.q: E = None
        self.z: F = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.q: A = None
        self.v: A = None
        self.p: I = None
        self.w: B = None
        self.u: G = None
        self.z: B = None
        self.r: I = None
        self.txt = txt

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

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

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

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

class B:
    def __init__(self, txt: str):
        self.w: J = None
        self.z: A = None
        self.o: D = None
        self.t: E = None
        self.y: C = None
        self.txt = txt

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

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

class E:
    def __init__(self, txt: str):
        self.p: D = None
        self.q: D = None
        self.x: D = None
        self.z: D = None
        self.v: F = None
        self.t: A = None
        self.o: D = None
        self.u: J = None
        self.txt = txt

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

class G:
    def __init__(self, txt: str):
        self.o: E = None
        self.u: J = None
        self.t: B = None
        self.q: E = None
        self.z: F = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.q: A = None
        self.v: A = None
        self.p: I = None
        self.w: B = None
        self.u: G = None
        self.z: B = None
        self.r: I = None
        self.txt = txt

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

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

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

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