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

class B:
    def __init__(self, txt: str):
        self.y: J = None
        self.v: A = None
        self.q: J = None
        self.z: A = None
        self.w: G = None
        self.p: D = None
        self.s: D = None
        self.u: H = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.u: A = None
        self.txt = txt

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

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

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

class G:
    def __init__(self, txt: str):
        self.z: J = None
        self.s: B = None
        self.o: H = None
        self.q: B = None
        self.p: A = None
        self.y: F = None
        self.txt = txt

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

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

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

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

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

class B:
    def __init__(self, txt: str):
        self.y: J = None
        self.v: A = None
        self.q: J = None
        self.z: A = None
        self.w: G = None
        self.p: D = None
        self.s: D = None
        self.u: H = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.u: A = None
        self.txt = txt

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

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

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

class G:
    def __init__(self, txt: str):
        self.z: J = None
        self.s: B = None
        self.o: H = None
        self.q: B = None
        self.p: A = None
        self.y: F = None
        self.txt = txt

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

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

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

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

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