class A:
    def __init__(self, txt: str):
        self.w: E = None
        self.y: J = None
        self.r: D = None
        self.s: B = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.r: C = None
        self.x: G = None
        self.p: C = None
        self.t: J = None
        self.txt = txt

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

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

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

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

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

class H:
    def __init__(self, txt: str):
        self.y: I = None
        self.q: G = None
        self.r: E = None
        self.z: F = None
        self.x: F = None
        self.w: B = None
        self.t: F = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.y: F = None
        self.o: G = None
        self.q: E = None
        self.p: G = None
        self.t: A = None
        self.v: F = None
        self.x: J = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.r: H = None
        self.u: G = None
        self.z: F = None
        self.q: G = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.r: C = None
        self.x: G = None
        self.p: C = None
        self.t: J = None
        self.txt = txt

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

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

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

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

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

class H:
    def __init__(self, txt: str):
        self.y: I = None
        self.q: G = None
        self.r: E = None
        self.z: F = None
        self.x: F = None
        self.w: B = None
        self.t: F = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.y: F = None
        self.o: G = None
        self.q: E = None
        self.p: G = None
        self.t: A = None
        self.v: F = None
        self.x: J = None
        self.txt = txt

class J:
    def __init__(self, txt: str):
        self.r: H = None
        self.u: G = None
        self.z: F = None
        self.q: G = None
        self.txt = txt

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

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