class A:
    def __init__(self, txt: str):
        self.o: C = None
        self.w: H = None
        self.x: C = None
        self.v: H = None
        self.t: B = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.s: D = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.x: F = None
        self.o: E = None
        self.y: H = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.p: F = None
        self.t: G = None
        self.u: H = None
        self.y: H = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.q: G = None
        self.z: D = None
        self.s: C = None
        self.v: B = None
        self.txt = txt

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

class G:
    def __init__(self, txt: str):
        self.z: C = None
        self.p: C = None
        self.r: C = None
        self.t: E = None
        self.y: C = None
        self.u: F = None
        self.q: H = None
        self.x: F = None
        self.txt = txt

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

e = A("e")
n = B("n")
l = C("l")
f = D("f")
i = E("i")
b = F("b")
d = G("d")
k = H("k")

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

class B:
    def __init__(self, txt: str):
        self.s: D = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.x: F = None
        self.o: E = None
        self.y: H = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.p: F = None
        self.t: G = None
        self.u: H = None
        self.y: H = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.q: G = None
        self.z: D = None
        self.s: C = None
        self.v: B = None
        self.txt = txt

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

class G:
    def __init__(self, txt: str):
        self.z: C = None
        self.p: C = None
        self.r: C = None
        self.t: E = None
        self.y: C = None
        self.u: F = None
        self.q: H = None
        self.x: F = None
        self.txt = txt

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

e = A("e")
n = B("n")
l = C("l")
f = D("f")
i = E("i")
b = F("b")
d = G("d")
k = H("k")

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