class A:
    def __init__(self, txt: str):
        self.q: J = None
        self.w: E = None
        self.v: F = None
        self.p: J = None
        self.txt = txt

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

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

class D:
    def __init__(self, txt: str):
        self.u: I = None
        self.z: J = None
        self.txt = txt

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

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

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

class H:
    def __init__(self, txt: str):
        self.t: A = None
        self.s: F = None
        self.txt = txt

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

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

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

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

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

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

class D:
    def __init__(self, txt: str):
        self.u: I = None
        self.z: J = None
        self.txt = txt

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

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

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

class H:
    def __init__(self, txt: str):
        self.t: A = None
        self.s: F = None
        self.txt = txt

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

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

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

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