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

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

class C:
    def __init__(self, txt: str):
        self.o: E = None
        self.p: A = None
        self.x: A = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.z: E = None
        self.u: E = None
        self.p: I = None
        self.o: F = None
        self.v: H = None
        self.txt = txt

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

class F:
    def __init__(self, txt: str):
        self.t: J = None
        self.q: C = None
        self.s: G = None
        self.r: G = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.z: C = None
        self.r: A = None
        self.x: F = None
        self.u: E = None
        self.s: E = None
        self.y: G = None
        self.t: A = None
        self.o: C = None
        self.txt = txt

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

class J:
    def __init__(self, txt: str):
        self.o: G = None
        self.z: G = None
        self.w: E = None
        self.r: A = None
        self.u: H = None
        self.q: E = None
        self.y: I = None
        self.txt = txt

b = A("b")
m = B("m")
d = C("d")
i = D("i")
h = E("h")
f = F("f")
j = G("j")
n = H("n")
l = I("l")
k = J("k")

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

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

class C:
    def __init__(self, txt: str):
        self.o: E = None
        self.p: A = None
        self.x: A = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.z: E = None
        self.u: E = None
        self.p: I = None
        self.o: F = None
        self.v: H = None
        self.txt = txt

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

class F:
    def __init__(self, txt: str):
        self.t: J = None
        self.q: C = None
        self.s: G = None
        self.r: G = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.z: C = None
        self.r: A = None
        self.x: F = None
        self.u: E = None
        self.s: E = None
        self.y: G = None
        self.t: A = None
        self.o: C = None
        self.txt = txt

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

class J:
    def __init__(self, txt: str):
        self.o: G = None
        self.z: G = None
        self.w: E = None
        self.r: A = None
        self.u: H = None
        self.q: E = None
        self.y: I = None
        self.txt = txt

b = A("b")
m = B("m")
d = C("d")
i = D("i")
h = E("h")
f = F("f")
j = G("j")
n = H("n")
l = I("l")
k = J("k")

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