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

class B:
    def __init__(self, txt: str):
        self.o: I = None
        self.u: J = None
        self.r: C = None
        self.s: E = None
        self.txt = txt

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

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

class E:
    def __init__(self, txt: str):
        self.y: G = None
        self.q: I = None
        self.z: B = None
        self.r: J = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.p: B = None
        self.u: E = None
        self.o: H = None
        self.txt = txt

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

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

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

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

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

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

class B:
    def __init__(self, txt: str):
        self.o: I = None
        self.u: J = None
        self.r: C = None
        self.s: E = None
        self.txt = txt

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

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

class E:
    def __init__(self, txt: str):
        self.y: G = None
        self.q: I = None
        self.z: B = None
        self.r: J = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.p: B = None
        self.u: E = None
        self.o: H = None
        self.txt = txt

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

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

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

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

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

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