class A:
    def __init__(self, txt: str):
        self.t: B = None
        self.p: G = None
        self.x: C = None
        self.q: H = None
        self.u: F = None
        self.y: H = None
        self.o: B = None
        self.txt = txt

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

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

class D:
    def __init__(self, txt: str):
        self.y: G = None
        self.t: H = None
        self.w: C = None
        self.r: A = None
        self.p: A = None
        self.txt = txt

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

class F:
    def __init__(self, txt: str):
        self.s: H = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.t: B = None
        self.r: H = None
        self.o: B = None
        self.txt = txt

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

l = A("l")
j = B("j")
n = C("n")
f = D("f")
b = E("b")
k = F("k")
g = G("g")
i = H("i")
a = H("a")
h = C("h")

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

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

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

class D:
    def __init__(self, txt: str):
        self.y: G = None
        self.t: H = None
        self.w: C = None
        self.r: A = None
        self.p: A = None
        self.txt = txt

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

class F:
    def __init__(self, txt: str):
        self.s: H = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.t: B = None
        self.r: H = None
        self.o: B = None
        self.txt = txt

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

l = A("l")
j = B("j")
n = C("n")
f = D("f")
b = E("b")
k = F("k")
g = G("g")
i = H("i")
a = H("a")
h = C("h")

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