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

class B:
    def __init__(self, txt: str):
        self.q: I = None
        self.u: C = None
        self.w: I = None
        self.z: D = None
        self.y: E = None
        self.txt = txt

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

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

class E:
    def __init__(self, txt: str):
        self.r: D = None
        self.txt = txt

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

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

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

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

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

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

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

class B:
    def __init__(self, txt: str):
        self.q: I = None
        self.u: C = None
        self.w: I = None
        self.z: D = None
        self.y: E = None
        self.txt = txt

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

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

class E:
    def __init__(self, txt: str):
        self.r: D = None
        self.txt = txt

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

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

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

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

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

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

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