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

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

class C:
    def __init__(self, txt: str):
        self.p: A = None
        self.q: B = None
        self.o: G = None
        self.t: E = None
        self.txt = txt

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

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

class F:
    def __init__(self, txt: str):
        self.o: A = None
        self.t: B = None
        self.u: A = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.y: C = None
        self.u: J = None
        self.w: B = None
        self.t: F = None
        self.s: D = None
        self.v: C = None
        self.txt = txt

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

class J:
    def __init__(self, txt: str):
        self.q: D = None
        self.w: I = None
        self.z: D = None
        self.x: E = None
        self.o: B = None
        self.txt = txt

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

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

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

class C:
    def __init__(self, txt: str):
        self.p: A = None
        self.q: B = None
        self.o: G = None
        self.t: E = None
        self.txt = txt

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

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

class F:
    def __init__(self, txt: str):
        self.o: A = None
        self.t: B = None
        self.u: A = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.y: C = None
        self.u: J = None
        self.w: B = None
        self.t: F = None
        self.s: D = None
        self.v: C = None
        self.txt = txt

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

class J:
    def __init__(self, txt: str):
        self.q: D = None
        self.w: I = None
        self.z: D = None
        self.x: E = None
        self.o: B = None
        self.txt = txt

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

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