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

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

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

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

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

class F:
    def __init__(self, txt: str):
        self.z: C = None
        self.v: D = None
        self.y: E = None
        self.p: C = None
        self.r: C = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.t: F = None
        self.z: B = None
        self.s: B = None
        self.x: H = None
        self.txt = txt

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

class I:
    def __init__(self, txt: str):
        self.v: G = None
        self.txt = txt

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

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

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

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

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

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

class F:
    def __init__(self, txt: str):
        self.z: C = None
        self.v: D = None
        self.y: E = None
        self.p: C = None
        self.r: C = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.t: F = None
        self.z: B = None
        self.s: B = None
        self.x: H = None
        self.txt = txt

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

class I:
    def __init__(self, txt: str):
        self.v: G = None
        self.txt = txt

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

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