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

class B:
    def __init__(self, txt: str):
        self.t: D = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.w: E = None
        self.txt = txt

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

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

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

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

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

class J:
    def __init__(self, txt: str):
        self.q: A = None
        self.p: A = None
        self.y: E = None
        self.v: A = None
        self.r: B = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.t: D = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.w: E = None
        self.txt = txt

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

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

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

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

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

class J:
    def __init__(self, txt: str):
        self.q: A = None
        self.p: A = None
        self.y: E = None
        self.v: A = None
        self.r: B = None
        self.txt = txt

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

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