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

class B:
    def __init__(self, txt: str):
        self.z: E = None
        self.u: G = None
        self.s: E = None
        self.v: I = None
        self.o: E = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.v: A = None
        self.q: I = None
        self.o: H = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.y: A = None
        self.txt = txt

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

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

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

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

class J:
    def __init__(self, txt: str):
        self.r: I = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.z: E = None
        self.u: G = None
        self.s: E = None
        self.v: I = None
        self.o: E = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.v: A = None
        self.q: I = None
        self.o: H = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.y: A = None
        self.txt = txt

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

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

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

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

class J:
    def __init__(self, txt: str):
        self.r: I = None
        self.txt = txt

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

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