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

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

class C:
    def __init__(self, txt: str):
        self.v: B = None
        self.y: B = None
        self.x: B = None
        self.s: D = None
        self.q: D = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.u: B = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.v: C = None
        self.w: D = None
        self.p: D = None
        self.txt = txt

m = A("m")
e = B("e")
n = C("n")
j = D("j")
k = E("k")
l = A("l")
b = B("b")

m.o = j
m.t = k
m.s = k
m.p = n
m.z = n
e.x = b
e.r = b
e.w = j
e.u = k
e.y = l
n.v = e
n.x = e
n.y = b
n.s = j
n.q = j
j.u = b
k.v = n
k.w = j
k.p = j
l.o = j
l.t = k
l.s = k
l.p = n
l.z = n
b.x = e
b.r = e
b.w = j
b.u = k
b.y = m
assert l.s.v.x.x.y.t.v.txt == "
class A:
    def __init__(self, txt: str):
        self.o: D = None
        self.t: E = None
        self.p: C = None
        self.z: C = None
        self.s: E = None
        self.txt = txt

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

class C:
    def __init__(self, txt: str):
        self.v: B = None
        self.y: B = None
        self.x: B = None
        self.s: D = None
        self.q: D = None
        self.txt = txt

class D:
    def __init__(self, txt: str):
        self.u: B = None
        self.txt = txt

class E:
    def __init__(self, txt: str):
        self.v: C = None
        self.w: D = None
        self.p: D = None
        self.txt = txt

m = A("m")
e = B("e")
n = C("n")
j = D("j")
k = E("k")
l = A("l")
b = B("b")

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