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

class B:
    def __init__(self, txt: str):
        self.x: I = None
        self.z: C = None
        self.u: E = None
        self.y: F = None
        self.o: C = None
        self.w: D = None
        self.r: D = None
        self.q: D = None
        self.s: H = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.u: G = None
        self.v: A = None
        self.q: F = None
        self.y: E = None
        self.z: G = None
        self.r: A = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.u: G = None
        self.q: B = None
        self.o: E = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.w: A = None
        self.p: D = None
        self.v: D = None
        self.u: C = None
        self.q: I = None
        self.y: A = None
        self.z: D = None
        self.x: A = None
        self.t: H = None
        self.txt = txt

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

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

class H:
    def __init__(self, txt: str):
        self.u: D = None
        self.x: I = None
        self.s: B = None
        self.v: I = None
        self.t: E = None
        self.o: E = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.t: H = None
        self.s: D = None
        self.u: D = None
        self.o: D = None
        self.y: E = None
        self.r: F = None
        self.p: B = None
        self.w: B = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.x: I = None
        self.z: C = None
        self.u: E = None
        self.y: F = None
        self.o: C = None
        self.w: D = None
        self.r: D = None
        self.q: D = None
        self.s: H = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.u: G = None
        self.v: A = None
        self.q: F = None
        self.y: E = None
        self.z: G = None
        self.r: A = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.u: G = None
        self.q: B = None
        self.o: E = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.w: A = None
        self.p: D = None
        self.v: D = None
        self.u: C = None
        self.q: I = None
        self.y: A = None
        self.z: D = None
        self.x: A = None
        self.t: H = None
        self.txt = txt

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

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

class H:
    def __init__(self, txt: str):
        self.u: D = None
        self.x: I = None
        self.s: B = None
        self.v: I = None
        self.t: E = None
        self.o: E = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.t: H = None
        self.s: D = None
        self.u: D = None
        self.o: D = None
        self.y: E = None
        self.r: F = None
        self.p: B = None
        self.w: B = None
        self.txt = txt

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

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