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

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

class C:
    def __init__(self, txt: str):
        self.r: H = None
        self.u: J = None
        self.txt = txt

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

class E:
    def __init__(self, txt: str):
        self.p: C = None
        self.o: F = None
        self.s: G = None
        self.z: C = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.u: B = None
        self.w: I = None
        self.v: B = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.z: C = None
        self.q: D = None
        self.r: A = None
        self.y: F = None
        self.p: E = None
        self.w: B = None
        self.txt = txt

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

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

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

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

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

class C:
    def __init__(self, txt: str):
        self.r: H = None
        self.u: J = None
        self.txt = txt

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

class E:
    def __init__(self, txt: str):
        self.p: C = None
        self.o: F = None
        self.s: G = None
        self.z: C = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.u: B = None
        self.w: I = None
        self.v: B = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.z: C = None
        self.q: D = None
        self.r: A = None
        self.y: F = None
        self.p: E = None
        self.w: B = None
        self.txt = txt

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

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

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

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