class A:
    def __init__(self, txt: str):
        self.y: H = None
        self.u: C = None
        self.x: G = None
        self.p: H = None
        self.s: I = None
        self.txt = txt

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

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

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

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

class F:
    def __init__(self, txt: str):
        self.p: I = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.r: A = None
        self.s: D = None
        self.y: F = None
        self.txt = txt

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

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

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

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

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

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

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

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

class F:
    def __init__(self, txt: str):
        self.p: I = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.r: A = None
        self.s: D = None
        self.y: F = None
        self.txt = txt

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

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

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

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