class A:
    def __init__(self, txt: str):
        self.v: G = None
        self.z: H = None
        self.r: E = None
        self.o: H = None
        self.p: D = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.p: A = None
        self.r: D = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.y: H = None
        self.w: G = None
        self.r: B = None
        self.x: I = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.y: D = None
        self.w: G = None
        self.o: B = None
        self.txt = txt

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

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

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

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

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

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

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

class C:
    def __init__(self, txt: str):
        self.p: A = None
        self.r: D = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.y: H = None
        self.w: G = None
        self.r: B = None
        self.x: I = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.y: D = None
        self.w: G = None
        self.o: B = None
        self.txt = txt

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

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

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

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

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

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