class A:
    def __init__(self, txt: str):
        self.v: B = None
        self.s: I = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.s: F = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.v: G = None
        self.x: J = None
        self.t: H = None
        self.s: G = None
        self.txt = txt

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

class F:
    def __init__(self, txt: str):
        self.z: E = None
        self.r: G = None
        self.v: H = None
        self.txt = txt

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

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

class I:
    def __init__(self, txt: str):
        self.y: J = None
        self.o: D = None
        self.r: G = None
        self.txt = txt

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

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

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

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

class C:
    def __init__(self, txt: str):
        self.s: F = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.v: G = None
        self.x: J = None
        self.t: H = None
        self.s: G = None
        self.txt = txt

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

class F:
    def __init__(self, txt: str):
        self.z: E = None
        self.r: G = None
        self.v: H = None
        self.txt = txt

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

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

class I:
    def __init__(self, txt: str):
        self.y: J = None
        self.o: D = None
        self.r: G = None
        self.txt = txt

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

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

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