class A:
    def __init__(self, txt: str):
        self.y: E = None
        self.w: F = None
        self.o: J = None
        self.u: B = None
        self.q: G = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.v: A = None
        self.r: I = None
        self.q: G = None
        self.z: J = None
        self.p: I = None
        self.t: D = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.y: D = None
        self.q: G = None
        self.w: G = None
        self.o: G = None
        self.txt = txt

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

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

class F:
    def __init__(self, txt: str):
        self.t: C = None
        self.z: I = None
        self.q: J = None
        self.p: A = None
        self.u: D = None
        self.o: D = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.p: A = None
        self.o: C = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.s: A = None
        self.o: F = None
        self.r: C = None
        self.x: J = None
        self.z: A = None
        self.w: I = None
        self.u: J = None
        self.t: I = None
        self.q: A = None
        self.p: I = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.s: J = None
        self.o: B = None
        self.y: B = None
        self.v: G = None
        self.q: J = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.t: G = None
        self.q: G = None
        self.u: H = None
        self.z: B = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.v: A = None
        self.r: I = None
        self.q: G = None
        self.z: J = None
        self.p: I = None
        self.t: D = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.y: D = None
        self.q: G = None
        self.w: G = None
        self.o: G = None
        self.txt = txt

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

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

class F:
    def __init__(self, txt: str):
        self.t: C = None
        self.z: I = None
        self.q: J = None
        self.p: A = None
        self.u: D = None
        self.o: D = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.p: A = None
        self.o: C = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.s: A = None
        self.o: F = None
        self.r: C = None
        self.x: J = None
        self.z: A = None
        self.w: I = None
        self.u: J = None
        self.t: I = None
        self.q: A = None
        self.p: I = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.s: J = None
        self.o: B = None
        self.y: B = None
        self.v: G = None
        self.q: J = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.t: G = None
        self.q: G = None
        self.u: H = None
        self.z: B = None
        self.txt = txt

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

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