class A:
    def __init__(self, txt: str):
        self.o: H = None
        self.w: H = None
        self.p: C = None
        self.z: F = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.t: A = None
        self.v: A = None
        self.u: H = None
        self.z: E = None
        self.txt = txt

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

class E:
    def __init__(self, txt: str):
        self.s: A = None
        self.q: A = None
        self.t: C = None
        self.txt = txt

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

class G:
    def __init__(self, txt: str):
        self.w: E = None
        self.y: F = None
        self.v: C = None
        self.o: E = None
        self.r: A = None
        self.u: C = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.q: F = None
        self.v: D = None
        self.w: F = None
        self.txt = txt

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

l.o = g
l.w = g
l.p = c
l.z = j
a.s = j
a.o = i
a.p = f
a.t = d
a.q = n
c.t = l
c.v = n
c.u = g
c.z = i
e.t = j
i.s = n
i.q = n
i.t = c
j.p = l
j.v = c
f.w = i
f.o = i
f.y = j
f.v = c
f.u = c
f.r = n
g.q = j
g.w = j
g.v = e
d.w = i
d.o = i
d.y = j
d.v = c
d.u = c
d.r = n
n.o = g
n.w = g
n.p = c
n.z = j
assert l.o.v.t.txt == "
class A:
    def __init__(self, txt: str):
        self.o: H = None
        self.w: H = None
        self.p: C = None
        self.z: F = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.t: A = None
        self.v: A = None
        self.u: H = None
        self.z: E = None
        self.txt = txt

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

class E:
    def __init__(self, txt: str):
        self.s: A = None
        self.q: A = None
        self.t: C = None
        self.txt = txt

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

class G:
    def __init__(self, txt: str):
        self.w: E = None
        self.y: F = None
        self.v: C = None
        self.o: E = None
        self.r: A = None
        self.u: C = None
        self.txt = txt

class H:
    def __init__(self, txt: str):
        self.q: F = None
        self.v: D = None
        self.w: F = None
        self.txt = txt

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

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