class A:
    def __init__(self, txt: str):
        self.v: I = None
        self.y: D = None
        self.q: F = None
        self.x: E = None
        self.t: H = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.y: E = None
        self.r: D = None
        self.s: I = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.t: C = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.w: I = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.z: I = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.z: C = None
        self.x: C = None
        self.txt = txt

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

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

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

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

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

class C:
    def __init__(self, txt: str):
        self.y: E = None
        self.r: D = None
        self.s: I = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.t: C = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.w: I = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.z: I = None
        self.txt = txt

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

class H:
    def __init__(self, txt: str):
        self.z: C = None
        self.x: C = None
        self.txt = txt

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

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

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

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