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

class B:
    def __init__(self, txt: str):
        self.v: H = None
        self.s: G = None
        self.p: I = None
        self.z: J = None
        self.t: J = None
        self.y: F = None
        self.w: F = None
        self.txt = txt

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

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

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

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

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

class H:
    def __init__(self, txt: str):
        self.w: J = None
        self.r: I = None
        self.p: B = None
        self.y: I = None
        self.o: D = None
        self.t: A = None
        self.q: B = None
        self.txt = txt

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

class J:
    def __init__(self, txt: str):
        self.y: B = None
        self.u: D = None
        self.r: F = None
        self.w: G = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.v: H = None
        self.s: G = None
        self.p: I = None
        self.z: J = None
        self.t: J = None
        self.y: F = None
        self.w: F = None
        self.txt = txt

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

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

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

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

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

class H:
    def __init__(self, txt: str):
        self.w: J = None
        self.r: I = None
        self.p: B = None
        self.y: I = None
        self.o: D = None
        self.t: A = None
        self.q: B = None
        self.txt = txt

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

class J:
    def __init__(self, txt: str):
        self.y: B = None
        self.u: D = None
        self.r: F = None
        self.w: G = None
        self.txt = txt

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

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