class A:
    def __init__(self, txt: str):
        self.x: C = None
        self.o: B = None
        self.u: J = None
        self.v: D = None
        self.q: I = None
        self.t: B = None
        self.txt = txt

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

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

class D:
    def __init__(self, txt: str):
        self.q: H = None
        self.y: C = None
        self.w: A = None
        self.x: E = None
        self.s: F = None
        self.p: J = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.w: F = None
        self.z: J = None
        self.p: J = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.q: A = None
        self.y: E = None
        self.x: B = None
        self.p: C = None
        self.z: C = None
        self.o: C = None
        self.t: C = None
        self.r: D = None
        self.v: E = None
        self.u: D = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.t: A = None
        self.v: B = None
        self.txt = txt

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

class I:
    def __init__(self, txt: str):
        self.v: J = None
        self.y: C = None
        self.o: C = None
        self.t: A = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.v: F = None
        self.s: A = None
        self.txt = txt

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

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

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

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

class D:
    def __init__(self, txt: str):
        self.q: H = None
        self.y: C = None
        self.w: A = None
        self.x: E = None
        self.s: F = None
        self.p: J = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.w: F = None
        self.z: J = None
        self.p: J = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.q: A = None
        self.y: E = None
        self.x: B = None
        self.p: C = None
        self.z: C = None
        self.o: C = None
        self.t: C = None
        self.r: D = None
        self.v: E = None
        self.u: D = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.t: A = None
        self.v: B = None
        self.txt = txt

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

class I:
    def __init__(self, txt: str):
        self.v: J = None
        self.y: C = None
        self.o: C = None
        self.t: A = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.v: F = None
        self.s: A = None
        self.txt = txt

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

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