class A:
    def __init__(self, txt: str):
        self.x: F = None
        self.y: B = None
        self.s: C = None
        self.o: D = None
        self.u: J = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.t: G = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.p: D = None
        self.r: A = None
        self.s: H = None
        self.w: G = None
        self.t: G = None
        self.x: I = None
        self.u: A = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.t: A = None
        self.x: H = None
        self.y: J = None
        self.s: J = None
        self.p: B = None
        self.o: H = None
        self.u: F = None
        self.txt = txt

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

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

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

class H:
    def __init__(self, txt: str):
        self.o: J = None
        self.v: D = None
        self.u: G = None
        self.w: I = None
        self.t: J = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.q: F = None
        self.y: E = None
        self.p: B = None
        self.z: G = None
        self.txt = txt

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

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

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

class B:
    def __init__(self, txt: str):
        self.t: G = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.p: D = None
        self.r: A = None
        self.s: H = None
        self.w: G = None
        self.t: G = None
        self.x: I = None
        self.u: A = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.t: A = None
        self.x: H = None
        self.y: J = None
        self.s: J = None
        self.p: B = None
        self.o: H = None
        self.u: F = None
        self.txt = txt

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

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

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

class H:
    def __init__(self, txt: str):
        self.o: J = None
        self.v: D = None
        self.u: G = None
        self.w: I = None
        self.t: J = None
        self.txt = txt

class I:
    def __init__(self, txt: str):
        self.q: F = None
        self.y: E = None
        self.p: B = None
        self.z: G = None
        self.txt = txt

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

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

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