class A:
    def __init__(self, txt: str):
        self.v: D = None
        self.z: E = None
        self.s: E = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.p: G = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.u: F = None
        self.o: I = None
        self.r: G = None
        self.v: E = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.x: H = None
        self.s: F = None
        self.q: F = None
        self.p: G = None
        self.w: H = None
        self.txt = txt

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

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

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

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

class I:
    def __init__(self, txt: str):
        self.y: C = None
        self.t: H = None
        self.v: D = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.p: G = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.u: F = None
        self.o: I = None
        self.r: G = None
        self.v: E = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.x: H = None
        self.s: F = None
        self.q: F = None
        self.p: G = None
        self.w: H = None
        self.txt = txt

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

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

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

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

class I:
    def __init__(self, txt: str):
        self.y: C = None
        self.t: H = None
        self.v: D = None
        self.txt = txt

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

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