class A:
    def __init__(self, txt: str):
        self.p: C = None
        self.w: A = None
        self.x: C = None
        self.u: F = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.w: C = None
        self.r: F = None
        self.s: B = None
        self.x: E = None
        self.y: D = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.z: D = None
        self.v: E = None
        self.r: C = None
        self.p: C = None
        self.u: F = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.r: F = None
        self.v: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.s: B = None
        self.w: E = None
        self.u: E = None
        self.txt = txt

e = A("e")
h = B("h")
j = C("j")
k = D("k")
b = E("b")
m = F("m")
a = B("a")
l = D("l")
i = A("i")

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

class B:
    def __init__(self, txt: str):
        self.w: C = None
        self.r: F = None
        self.s: B = None
        self.x: E = None
        self.y: D = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.z: D = None
        self.v: E = None
        self.r: C = None
        self.p: C = None
        self.u: F = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.r: F = None
        self.v: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.s: B = None
        self.w: E = None
        self.u: E = None
        self.txt = txt

e = A("e")
h = B("h")
j = C("j")
k = D("k")
b = E("b")
m = F("m")
a = B("a")
l = D("l")
i = A("i")

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