class A:
    def __init__(self, txt: str):
        self.x: B = None
        self.v: D = None
        self.u: B = None
        self.w: H = None
        self.r: A = None
        self.s: E = None
        self.t: B = None
        self.q: F = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.y: B = None
        self.z: B = None
        self.u: F = None
        self.v: D = None
        self.o: F = None
        self.w: H = None
        self.p: D = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.r: A = None
        self.q: A = None
        self.s: B = None
        self.t: C = None
        self.z: F = None
        self.u: E = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.w: A = None
        self.r: B = None
        self.s: G = None
        self.p: A = None
        self.v: H = None
        self.o: G = None
        self.u: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.y: H = None
        self.r: G = None
        self.x: A = None
        self.v: A = None
        self.u: D = None
        self.q: E = None
        self.w: E = None
        self.o: G = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.p: H = None
        self.x: F = None
        self.o: C = None
        self.u: E = None
        self.v: C = None
        self.w: C = None
        self.txt = txt

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

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

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

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

class C:
    def __init__(self, txt: str):
        self.y: B = None
        self.z: B = None
        self.u: F = None
        self.v: D = None
        self.o: F = None
        self.w: H = None
        self.p: D = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.r: A = None
        self.q: A = None
        self.s: B = None
        self.t: C = None
        self.z: F = None
        self.u: E = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.w: A = None
        self.r: B = None
        self.s: G = None
        self.p: A = None
        self.v: H = None
        self.o: G = None
        self.u: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.y: H = None
        self.r: G = None
        self.x: A = None
        self.v: A = None
        self.u: D = None
        self.q: E = None
        self.w: E = None
        self.o: G = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.p: H = None
        self.x: F = None
        self.o: C = None
        self.u: E = None
        self.v: C = None
        self.w: C = None
        self.txt = txt

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

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

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