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

class B:
    def __init__(self, txt: str):
        self.o: A = None
        self.t: A = None
        self.s: D = None
        self.w: H = None
        self.q: G = None
        self.z: D = None
        self.y: A = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.s: A = None
        self.y: J = None
        self.txt = txt

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

class E:
    def __init__(self, txt: str):
        self.z: C = None
        self.s: J = None
        self.txt = txt

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

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

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

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

class J:
    def __init__(self, txt: str):
        self.v: A = None
        self.t: B = None
        self.q: B = None
        self.p: B = None
        self.z: B = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.o: A = None
        self.t: A = None
        self.s: D = None
        self.w: H = None
        self.q: G = None
        self.z: D = None
        self.y: A = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.s: A = None
        self.y: J = None
        self.txt = txt

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

class E:
    def __init__(self, txt: str):
        self.z: C = None
        self.s: J = None
        self.txt = txt

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

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

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

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

class J:
    def __init__(self, txt: str):
        self.v: A = None
        self.t: B = None
        self.q: B = None
        self.p: B = None
        self.z: B = None
        self.txt = txt

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

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