class A:
    def __init__(self, txt: str):
        self.v: C = None
        self.s: E = None
        self.p: C = None
        self.x: H = None
        self.y: H = None
        self.r: F = None
        self.t: C = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.w: A = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.w: H = None
        self.r: C = None
        self.q: I = None
        self.z: G = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.v: G = None
        self.x: A = None
        self.u: J = None
        self.q: G = None
        self.txt = txt

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

class G:
    def __init__(self, txt: str):
        self.p: I = None
        self.q: H = None
        self.x: F = None
        self.w: I = None
        self.txt = txt

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

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

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

e = A("e")
h = B("h")
n = C("n")
f = D("f")
a = E("a")
i = F("i")
k = G("k")
g = H("g")
l = I("l")
c = J("c")

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

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

class C:
    def __init__(self, txt: str):
        self.w: A = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.w: H = None
        self.r: C = None
        self.q: I = None
        self.z: G = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.v: G = None
        self.x: A = None
        self.u: J = None
        self.q: G = None
        self.txt = txt

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

class G:
    def __init__(self, txt: str):
        self.p: I = None
        self.q: H = None
        self.x: F = None
        self.w: I = None
        self.txt = txt

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

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

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

e = A("e")
h = B("h")
n = C("n")
f = D("f")
a = E("a")
i = F("i")
k = G("k")
g = H("g")
l = I("l")
c = J("c")

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