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

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

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

class D:
    def __init__(self, txt: str):
        self.x: C = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.z: A = None
        self.y: C = None
        self.q: H = None
        self.r: B = None
        self.v: D = None
        self.w: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.y: D = None
        self.p: H = None
        self.r: H = None
        self.z: H = None
        self.q: B = None
        self.s: I = None
        self.txt = txt

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

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

class I:
    def __init__(self, txt: str):
        self.u: D = None
        self.v: C = None
        self.p: E = None
        self.x: A = None
        self.txt = txt

i = A("i")
c = B("c")
k = C("k")
l = D("l")
a = E("a")
n = F("n")
j = G("j")
h = H("h")
m = I("m")
b = F("b")

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

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

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

class D:
    def __init__(self, txt: str):
        self.x: C = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.z: A = None
        self.y: C = None
        self.q: H = None
        self.r: B = None
        self.v: D = None
        self.w: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.y: D = None
        self.p: H = None
        self.r: H = None
        self.z: H = None
        self.q: B = None
        self.s: I = None
        self.txt = txt

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

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

class I:
    def __init__(self, txt: str):
        self.u: D = None
        self.v: C = None
        self.p: E = None
        self.x: A = None
        self.txt = txt

i = A("i")
c = B("c")
k = C("k")
l = D("l")
a = E("a")
n = F("n")
j = G("j")
h = H("h")
m = I("m")
b = F("b")

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