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

class B:
    def __init__(self, txt: str):
        self.w: F = None
        self.y: J = None
        self.o: E = None
        self.p: D = None
        self.t: A = None
        self.v: J = None
        self.z: F = None
        self.txt = txt

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

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

class E:
    def __init__(self, txt: str):
        self.t: H = None
        self.w: C = None
        self.q: C = None
        self.z: D = None
        self.o: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.z: H = None
        self.w: E = None
        self.r: E = None
        self.txt = txt

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

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

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

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

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

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

class B:
    def __init__(self, txt: str):
        self.w: F = None
        self.y: J = None
        self.o: E = None
        self.p: D = None
        self.t: A = None
        self.v: J = None
        self.z: F = None
        self.txt = txt

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

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

class E:
    def __init__(self, txt: str):
        self.t: H = None
        self.w: C = None
        self.q: C = None
        self.z: D = None
        self.o: D = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.z: H = None
        self.w: E = None
        self.r: E = None
        self.txt = txt

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

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

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

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

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

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