class A:
    def __init__(self, txt: str):
        self.s: C = None
        self.t: G = None
        self.y: C = None
        self.o: C = None
        self.q: H = None
        self.u: I = None
        self.txt = txt

class B:
    def __init__(self, txt: str):
        self.s: H = None
        self.o: E = None
        self.v: G = None
        self.y: H = None
        self.t: I = None
        self.r: C = None
        self.z: C = None
        self.w: H = None
        self.u: C = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.o: A = None
        self.w: F = None
        self.z: G = None
        self.y: E = None
        self.v: F = None
        self.r: I = None
        self.t: G = None
        self.p: H = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.q: C = None
        self.r: I = None
        self.p: B = None
        self.w: H = None
        self.z: A = None
        self.x: H = None
        self.u: I = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.r: H = None
        self.o: E = None
        self.t: D = None
        self.p: E = None
        self.z: F = None
        self.x: C = None
        self.u: B = None
        self.w: G = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.p: B = None
        self.y: B = None
        self.v: H = None
        self.r: C = None
        self.q: H = None
        self.u: C = None
        self.txt = txt

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

class I:
    def __init__(self, txt: str):
        self.q: E = None
        self.u: F = None
        self.v: H = None
        self.txt = txt

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

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

class B:
    def __init__(self, txt: str):
        self.s: H = None
        self.o: E = None
        self.v: G = None
        self.y: H = None
        self.t: I = None
        self.r: C = None
        self.z: C = None
        self.w: H = None
        self.u: C = None
        self.txt = txt

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

class D:
    def __init__(self, txt: str):
        self.o: A = None
        self.w: F = None
        self.z: G = None
        self.y: E = None
        self.v: F = None
        self.r: I = None
        self.t: G = None
        self.p: H = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.q: C = None
        self.r: I = None
        self.p: B = None
        self.w: H = None
        self.z: A = None
        self.x: H = None
        self.u: I = None
        self.txt = txt

class F:
    def __init__(self, txt: str):
        self.r: H = None
        self.o: E = None
        self.t: D = None
        self.p: E = None
        self.z: F = None
        self.x: C = None
        self.u: B = None
        self.w: G = None
        self.txt = txt

class G:
    def __init__(self, txt: str):
        self.p: B = None
        self.y: B = None
        self.v: H = None
        self.r: C = None
        self.q: H = None
        self.u: C = None
        self.txt = txt

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

class I:
    def __init__(self, txt: str):
        self.q: E = None
        self.u: F = None
        self.v: H = None
        self.txt = txt

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

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