class A:
    def __init__(self, txt: str):
        self.u: F = None
        self.v: G = None
        self.y: B = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.w: E = None
        self.p: D = None
        self.z: F = None
        self.r: C = None
        self.q: A = None
        self.x: F = None
        self.o: D = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.s: E = None
        self.p: G = None
        self.x: D = None
        self.w: G = None
        self.txt = txt

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

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

class F:
    def __init__(self, txt: str):
        self.w: G = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.o: F = None
        self.r: C = None
        self.y: F = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.w: E = None
        self.p: D = None
        self.z: F = None
        self.r: C = None
        self.q: A = None
        self.x: F = None
        self.o: D = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.s: E = None
        self.p: G = None
        self.x: D = None
        self.w: G = None
        self.txt = txt

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

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

class F:
    def __init__(self, txt: str):
        self.w: G = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.o: F = None
        self.r: C = None
        self.y: F = None
        self.txt = txt

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

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