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

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

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

class D:
    def __init__(self, txt: str):
        self.s: F = None
        self.r: A = None
        self.w: C = None
        self.q: H = None
        self.u: F = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.t: F = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.s: G = None
        self.y: B = None
        self.w: I = None
        self.o: G = None
        self.v: A = None
        self.q: I = None
        self.z: D = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.x: E = None
        self.o: I = None
        self.s: A = None
        self.z: E = None
        self.t: I = None
        self.v: F = None
        self.txt = txt

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

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

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

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

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

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

class D:
    def __init__(self, txt: str):
        self.s: F = None
        self.r: A = None
        self.w: C = None
        self.q: H = None
        self.u: F = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.t: F = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.s: G = None
        self.y: B = None
        self.w: I = None
        self.o: G = None
        self.v: A = None
        self.q: I = None
        self.z: D = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.x: E = None
        self.o: I = None
        self.s: A = None
        self.z: E = None
        self.t: I = None
        self.v: F = None
        self.txt = txt

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

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

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

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