class A:
    def __init__(self, txt: str):
        self.o: H = None
        self.x: I = None
        self.v: C = None
        self.y: I = None
        self.w: I = None
        self.r: G = None
        self.q: H = None
        self.txt = txt

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

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

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

class E:
    def __init__(self, txt: str):
        self.u: C = None
        self.o: C = None
        self.y: H = None
        self.q: B = None
        self.txt = txt

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

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

class H:
    def __init__(self, txt: str):
        self.t: F = None
        self.w: E = None
        self.v: F = None
        self.q: I = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.r: F = None
        self.s: G = None
        self.w: C = None
        self.y: C = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.v: B = None
        self.y: C = None
        self.txt = txt

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

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

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

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

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

class E:
    def __init__(self, txt: str):
        self.u: C = None
        self.o: C = None
        self.y: H = None
        self.q: B = None
        self.txt = txt

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

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

class H:
    def __init__(self, txt: str):
        self.t: F = None
        self.w: E = None
        self.v: F = None
        self.q: I = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.r: F = None
        self.s: G = None
        self.w: C = None
        self.y: C = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.v: B = None
        self.y: C = None
        self.txt = txt

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

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