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

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

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

class D:
    def __init__(self, txt: str):
        self.o: C = None
        self.s: B = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.x: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.o: E = None
        self.t: B = None
        self.w: C = None
        self.y: C = None
        self.z: C = None
        self.u: E = None
        self.txt = txt

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

n = A("n")
e = B("e")
c = C("c")
a = D("a")
j = E("j")
i = F("i")
m = G("m")
k = F("k")

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

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

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

class D:
    def __init__(self, txt: str):
        self.o: C = None
        self.s: B = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.x: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.o: E = None
        self.t: B = None
        self.w: C = None
        self.y: C = None
        self.z: C = None
        self.u: E = None
        self.txt = txt

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

n = A("n")
e = B("e")
c = C("c")
a = D("a")
j = E("j")
i = F("i")
m = G("m")
k = F("k")

n.t = j
n.s = c
n.q = m
n.y = i
n.u = i
n.v = a
n.x = a
e.x = i
c.u = e
a.o = c
a.s = e
j.x = a
i.o = j
i.u = j
i.t = e
i.w = c
i.y = c
i.z = c
m.y = e
m.w = a
k.o = j
k.u = j
k.t = e
k.w = c
k.y = c
k.z = c
assert n.u.o.x.o.u.txt == "e"