class A:
    def __init__(self, txt: str):
        self.s: E = None
        self.z: B = None
        self.q: E = None
        self.u: E = None
        self.v: B = None
        self.o: E = None
        self.t: F = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.x: F = None
        self.o: B = None
        self.r: G = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.u: C = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.u: C = None
        self.x: B = None
        self.r: G = None
        self.s: F = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.v: F = None
        self.p: D = None
        self.y: C = None
        self.w: B = None
        self.s: G = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.x: C = None
        self.q: E = None
        self.txt = txt

c = A("c")
e = B("e")
a = C("a")
m = D("m")
i = E("i")
j = F("j")
k = G("k")
b = G("b")
l = F("l")
g = E("g")

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

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

class C:
    def __init__(self, txt: str):
        self.x: F = None
        self.o: B = None
        self.r: G = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.u: C = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.u: C = None
        self.x: B = None
        self.r: G = None
        self.s: F = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.v: F = None
        self.p: D = None
        self.y: C = None
        self.w: B = None
        self.s: G = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.x: C = None
        self.q: E = None
        self.txt = txt

c = A("c")
e = B("e")
a = C("a")
m = D("m")
i = E("i")
j = F("j")
k = G("k")
b = G("b")
l = F("l")
g = E("g")

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