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

class B:
    def __init__(self, txt: str):
        self.p: F = None
        self.q: D = None
        self.t: D = None
        self.txt = txt

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

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

class E:
    def __init__(self, txt: str):
        self.t: F = None
        self.o: B = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.x: A = None
        self.r: E = None
        self.o: E = None
        self.u: E = None
        self.s: B = None
        self.w: D = None
        self.txt = txt

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

e = A("e")
j = B("j")
c = C("c")
i = D("i")
l = E("l")
h = F("h")
b = G("b")
f = G("f")
a = G("a")
d = A("d")

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

class B:
    def __init__(self, txt: str):
        self.p: F = None
        self.q: D = None
        self.t: D = None
        self.txt = txt

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

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

class E:
    def __init__(self, txt: str):
        self.t: F = None
        self.o: B = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.x: A = None
        self.r: E = None
        self.o: E = None
        self.u: E = None
        self.s: B = None
        self.w: D = None
        self.txt = txt

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

e = A("e")
j = B("j")
c = C("c")
i = D("i")
l = E("l")
h = F("h")
b = G("b")
f = G("f")
a = G("a")
d = A("d")

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