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

class B:
    def __init__(self, txt: str):
        self.o: C = None
        self.s: A = None
        self.t: H = None
        self.u: E = None
        self.y: H = None
        self.p: D = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.z: D = None
        self.t: H = None
        self.r: H = None
        self.s: B = None
        self.x: F = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.o: D = None
        self.v: B = None
        self.z: C = None
        self.txt = txt

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

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

class G:
    def __init__(self, txt: str):
        self.y: A = None
        self.txt = txt

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

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

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

class B:
    def __init__(self, txt: str):
        self.o: C = None
        self.s: A = None
        self.t: H = None
        self.u: E = None
        self.y: H = None
        self.p: D = None
        self.txt = txt

class C:
    def __init__(self, txt: str):
        self.z: D = None
        self.t: H = None
        self.r: H = None
        self.s: B = None
        self.x: F = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.o: D = None
        self.v: B = None
        self.z: C = None
        self.txt = txt

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

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

class G:
    def __init__(self, txt: str):
        self.y: A = None
        self.txt = txt

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

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

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