class A:
    def __init__(self, txt: str):
        self.s: C = None
        self.x: I = None
        self.t: H = None
        self.v: I = None
        self.q: E = None
        self.u: I = None
        self.r: E = None
        self.z: H = None
        self.w: I = None
        self.p: C = None
        self.txt = txt

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

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

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

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

class F:
    def __init__(self, txt: str):
        self.q: B = None
        self.y: D = None
        self.z: B = None
        self.txt = txt

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

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

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

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

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

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

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

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

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

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

class F:
    def __init__(self, txt: str):
        self.q: B = None
        self.y: D = None
        self.z: B = None
        self.txt = txt

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

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

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

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

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

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