class A:
    def __init__(self, txt: str):
        self.x: G = None
        self.s: E = None
        self.q: B = None
        self.u: E = None
        self.y: B = None
        self.p: G = None
        self.z: E = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.u: F = None
        self.t: C = None
        self.q: C = None
        self.s: A = None
        self.v: D = None
        self.p: F = None
        self.y: C = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.z: B = None
        self.u: G = None
        self.y: C = None
        self.p: A = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.s: C = None
        self.p: F = None
        self.q: B = None
        self.u: C = None
        self.y: B = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.p: A = None
        self.o: G = None
        self.t: A = None
        self.txt = txt

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

l = A("l")
j = B("j")
g = C("g")
e = D("e")
m = E("m")
d = F("d")
f = G("f")
k = E("k")
c = D("c")
h = A("h")

l.x = f
l.p = f
l.s = k
l.u = k
l.q = j
l.y = j
l.z = m
j.u = d
j.p = d
j.t = g
j.q = g
j.y = g
j.s = h
j.v = e
g.t = c
g.s = j
g.y = d
e.z = j
e.u = f
e.y = g
e.p = l
m.s = g
m.u = g
m.p = d
m.q = j
m.y = j
d.p = h
d.t = h
d.o = f
f.q = j
k.s = g
k.u = g
k.p = d
k.q = j
k.y = j
c.z = j
c.u = f
c.y = g
c.p = l
h.x = f
h.p = f
h.s = m
h.u = m
h.q = j
h.y = j
h.z = k
assert e.y.s.v.txt == "
class A:
    def __init__(self, txt: str):
        self.x: G = None
        self.s: E = None
        self.q: B = None
        self.u: E = None
        self.y: B = None
        self.p: G = None
        self.z: E = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.u: F = None
        self.t: C = None
        self.q: C = None
        self.s: A = None
        self.v: D = None
        self.p: F = None
        self.y: C = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.z: B = None
        self.u: G = None
        self.y: C = None
        self.p: A = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.s: C = None
        self.p: F = None
        self.q: B = None
        self.u: C = None
        self.y: B = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.p: A = None
        self.o: G = None
        self.t: A = None
        self.txt = txt

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

l = A("l")
j = B("j")
g = C("g")
e = D("e")
m = E("m")
d = F("d")
f = G("f")
k = E("k")
c = D("c")
h = A("h")

l.x = f
l.p = f
l.s = k
l.u = k
l.q = j
l.y = j
l.z = m
j.u = d
j.p = d
j.t = g
j.q = g
j.y = g
j.s = h
j.v = e
g.t = c
g.s = j
g.y = d
e.z = j
e.u = f
e.y = g
e.p = l
m.s = g
m.u = g
m.p = d
m.q = j
m.y = j
d.p = h
d.t = h
d.o = f
f.q = j
k.s = g
k.u = g
k.p = d
k.q = j
k.y = j
c.z = j
c.u = f
c.y = g
c.p = l
h.x = f
h.p = f
h.s = m
h.u = m
h.q = j
h.y = j
h.z = k
assert e.y.s.v.txt == "e"