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

class B:
    def __init__(self, txt: str):
        self.s: G = None
        self.y: G = None
        self.t: F = None
        self.x: E = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.u: F = None
        self.o: A = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.z: D = None
        self.t: G = None
        self.w: B = None
        self.s: A = None
        self.x: A = None
        self.txt = txt

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

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

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

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

class B:
    def __init__(self, txt: str):
        self.s: G = None
        self.y: G = None
        self.t: F = None
        self.x: E = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.u: F = None
        self.o: A = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.z: D = None
        self.t: G = None
        self.w: B = None
        self.s: A = None
        self.x: A = None
        self.txt = txt

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

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

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

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