id
int64
0
6k
prompt
stringlengths
265
1.96k
answer
stringclasses
10 values
pythoncode
stringlengths
267
1.96k
depth0
stringclasses
10 values
depth1
stringclasses
10 values
depth2
stringclasses
10 values
depth3
stringclasses
10 values
depth4
stringclasses
11 values
depth5
stringclasses
11 values
depth6
stringclasses
11 values
depth7
stringclasses
11 values
num_nodes
int64
3
7
num_edges
int64
3
29
num_classes
int64
2
7
path_length
int64
3
7
num_cycle
int64
0
6
0
class A: def __init__(self, txt: str): self.v: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt i = A("i") b = B("b") d = A("d") j = B("j") g = B("g") i.v = g i.x = j b.y = d d.v = g d.x = b j.y = d g.y = i assert d.x.y.v.txt == "
g"
class A: def __init__(self, txt: str): self.v: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt i = A("i") b = B("b") d = A("d") j = B("j") g = B("g") i.v = g i.x = j b.y = d d.v = g d.x = b j.y = d g.y = i assert d.x.y.v.txt == "g"
d
b
d
g
x
x
x
x
5
7
2
3
1
1
class A: def __init__(self, txt: str): self.q: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt c = A("c") g = B("g") j = B("j") c.q = j c.p = g g.r = j j.r = g assert g.r.r.r.txt == "
j"
class A: def __init__(self, txt: str): self.q: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt c = A("c") g = B("g") j = B("j") c.q = j c.p = g g.r = j j.r = g assert g.r.r.r.txt == "j"
g
j
g
j
x
x
x
x
3
4
2
3
2
2
class A: def __init__(self, txt: str): self.o: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.v: A = None self.txt = txt a = A("a") j = B("j") g = B("g") h = A("h") a.o = h a.w = j j.u = g j.v = h g.u = j g.v = h h.o = a h.w = j assert j.u.u.v.o.txt == "
a"
class A: def __init__(self, txt: str): self.o: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.v: A = None self.txt = txt a = A("a") j = B("j") g = B("g") h = A("h") a.o = h a.w = j j.u = g j.v = h g.u = j g.v = h h.o = a h.w = j assert j.u.u.v.o.txt == "a"
j
g
j
h
a
x
x
x
4
8
2
4
1
3
class A: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.x: B = None self.txt = txt f = A("f") d = B("d") a = B("a") c = A("c") f.t = d f.x = c d.w = a d.x = a a.w = d a.x = d c.t = a c.x = f assert a.w.w.x.txt == "
d"
class A: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.x: B = None self.txt = txt f = A("f") d = B("d") a = B("a") c = A("c") f.t = d f.x = c d.w = a d.x = a a.w = d a.x = d c.t = a c.x = f assert a.w.w.x.txt == "d"
a
d
a
d
x
x
x
x
4
6
2
3
2
4
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt a = A("a") f = B("f") g = B("g") a.r = f f.s = a g.s = a assert a.r.s.r.txt == "
f"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt a = A("a") f = B("f") g = B("g") a.r = f f.s = a g.s = a assert a.r.s.r.txt == "f"
a
f
a
f
x
x
x
x
3
3
2
3
2
5
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt h = A("h") b = B("b") c = A("c") i = A("i") g = A("g") h.r = i b.z = i c.r = g i.r = g g.r = i assert c.r.r.r.r.r.txt == "
g"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt h = A("h") b = B("b") c = A("c") i = A("i") g = A("g") h.r = i b.z = i c.r = g i.r = g g.r = i assert c.r.r.r.r.r.txt == "g"
c
g
i
g
i
g
x
x
5
5
2
5
3
6
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt a = A("a") e = B("e") f = A("f") a.q = f e.v = a f.q = a assert a.q.q.q.txt == "
f"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt a = A("a") e = B("e") f = A("f") a.q = f e.v = a f.q = a assert a.q.q.q.txt == "f"
a
f
a
f
x
x
x
x
3
3
2
3
2
7
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.z: B = None self.txt = txt b = A("b") h = B("h") d = B("d") c = A("c") f = A("f") a = A("a") b.p = d h.q = d h.z = d d.q = h d.z = h c.p = d f.p = h a.p = d assert f.p.q.z.q.txt == "
d"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.z: B = None self.txt = txt b = A("b") h = B("h") d = B("d") c = A("c") f = A("f") a = A("a") b.p = d h.q = d h.z = d d.q = h d.z = h c.p = d f.p = h a.p = d assert f.p.q.z.q.txt == "d"
f
h
d
h
d
x
x
x
6
6
2
4
2
8
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.y: A = None self.txt = txt i = A("i") b = B("b") h = A("h") c = A("c") i.o = h b.s = i b.y = h h.o = c c.o = i assert i.o.o.o.txt == "
i"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.y: A = None self.txt = txt i = A("i") b = B("b") h = A("h") c = A("c") i.o = h b.s = i b.y = h h.o = c c.o = i assert i.o.o.o.txt == "i"
i
h
c
i
x
x
x
x
4
5
2
3
1
9
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt a = A("a") e = B("e") d = A("d") h = B("h") c = B("c") g = A("g") a.u = e e.w = d d.u = h h.w = a c.w = d g.u = e assert a.u.w.u.w.txt == "
a"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt a = A("a") e = B("e") d = A("d") h = B("h") c = B("c") g = A("g") a.u = e e.w = d d.u = h h.w = a c.w = d g.u = e assert a.u.w.u.w.txt == "a"
a
e
d
h
a
x
x
x
6
6
2
4
1
10
class A: def __init__(self, txt: str): self.u: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt j = A("j") f = B("f") h = B("h") g = A("g") b = B("b") e = B("e") j.u = g j.z = g f.s = j h.s = g g.u = j g.z = j b.s = g e.s = g assert h.s.u.z.txt == "
g"
class A: def __init__(self, txt: str): self.u: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt j = A("j") f = B("f") h = B("h") g = A("g") b = B("b") e = B("e") j.u = g j.z = g f.s = j h.s = g g.u = j g.z = j b.s = g e.s = g assert h.s.u.z.txt == "g"
h
g
j
g
x
x
x
x
6
6
2
3
1
11
class A: def __init__(self, txt: str): self.q: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt h = A("h") g = B("g") f = A("f") i = A("i") c = A("c") b = B("b") h.q = b h.x = c g.r = b f.q = g f.x = h i.q = g i.x = c c.q = g c.x = h b.r = g assert c.x.x.q.txt == "
g"
class A: def __init__(self, txt: str): self.q: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt h = A("h") g = B("g") f = A("f") i = A("i") c = A("c") b = B("b") h.q = b h.x = c g.r = b f.q = g f.x = h i.q = g i.x = c c.q = g c.x = h b.r = g assert c.x.x.q.txt == "g"
c
h
c
g
x
x
x
x
6
10
2
3
1
12
class A: def __init__(self, txt: str): self.o: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt j = A("j") f = B("f") d = B("d") i = A("i") c = B("c") j.o = d j.s = i f.p = c d.p = c i.o = f i.s = j c.p = f assert d.p.p.p.txt == "
c"
class A: def __init__(self, txt: str): self.o: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt j = A("j") f = B("f") d = B("d") i = A("i") c = B("c") j.o = d j.s = i f.p = c d.p = c i.o = f i.s = j c.p = f assert d.p.p.p.txt == "c"
d
c
f
c
x
x
x
x
5
7
2
3
1
13
class A: def __init__(self, txt: str): self.u: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.z: A = None self.txt = txt i = A("i") j = B("j") g = A("g") h = B("h") b = A("b") a = B("a") i.u = g i.q = a j.o = g j.z = g g.u = i g.q = a h.o = b h.z = b b.u = i b.q = a a.o = g a.z = b assert i.q.z.q.txt == "
a"
class A: def __init__(self, txt: str): self.u: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.z: A = None self.txt = txt i = A("i") j = B("j") g = A("g") h = B("h") b = A("b") a = B("a") i.u = g i.q = a j.o = g j.z = g g.u = i g.q = a h.o = b h.z = b b.u = i b.q = a a.o = g a.z = b assert i.q.z.q.txt == "a"
i
a
b
a
x
x
x
x
6
10
2
3
1
14
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt a = A("a") e = B("e") f = A("f") a.x = e e.s = a f.x = e assert e.s.x.s.txt == "
a"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt a = A("a") e = B("e") f = A("f") a.x = e e.s = a f.x = e assert e.s.x.s.txt == "a"
e
a
e
a
x
x
x
x
3
3
2
3
2
15
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.q: A = None self.txt = txt d = A("d") a = B("a") g = B("g") j = B("j") h = A("h") i = B("i") d.u = i a.t = h a.q = h g.t = d g.q = d j.t = d j.q = d h.u = j i.t = d i.q = h assert i.t.u.q.u.txt == "
j"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.q: A = None self.txt = txt d = A("d") a = B("a") g = B("g") j = B("j") h = A("h") i = B("i") d.u = i a.t = h a.q = h g.t = d g.q = d j.t = d j.q = d h.u = j i.t = d i.q = h assert i.t.u.q.u.txt == "j"
i
d
i
h
j
x
x
x
6
7
2
4
1
16
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.s: B = None self.txt = txt d = A("d") f = B("f") h = B("h") b = A("b") i = A("i") g = A("g") a = B("a") d.x = b f.x = h f.s = h h.x = a h.s = f b.x = g i.x = d g.x = b a.x = h a.s = h assert a.x.x.x.x.x.txt == "
h"
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.s: B = None self.txt = txt d = A("d") f = B("f") h = B("h") b = A("b") i = A("i") g = A("g") a = B("a") d.x = b f.x = h f.s = h h.x = a h.s = f b.x = g i.x = d g.x = b a.x = h a.s = h assert a.x.x.x.x.x.txt == "h"
a
h
a
h
a
h
x
x
7
8
2
5
4
17
class A: def __init__(self, txt: str): self.u: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt j = A("j") f = B("f") g = A("g") a = B("a") c = A("c") j.u = g j.w = f f.z = j g.u = c g.w = a a.z = j c.u = g c.w = f assert g.w.z.u.txt == "
g"
class A: def __init__(self, txt: str): self.u: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt j = A("j") f = B("f") g = A("g") a = B("a") c = A("c") j.u = g j.w = f f.z = j g.u = c g.w = a a.z = j c.u = g c.w = f assert g.w.z.u.txt == "g"
g
a
j
g
x
x
x
x
5
8
2
3
1
18
class A: def __init__(self, txt: str): self.r: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt a = A("a") g = B("g") j = B("j") b = B("b") i = A("i") d = B("d") a.r = g a.t = j g.v = i j.v = a b.v = a i.r = j i.t = g d.v = a assert b.v.r.v.r.txt == "
j"
class A: def __init__(self, txt: str): self.r: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt a = A("a") g = B("g") j = B("j") b = B("b") i = A("i") d = B("d") a.r = g a.t = j g.v = i j.v = a b.v = a i.r = j i.t = g d.v = a assert b.v.r.v.r.txt == "j"
b
a
g
i
j
x
x
x
6
8
2
4
0
19
class A: def __init__(self, txt: str): self.o: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.s: B = None self.txt = txt b = A("b") i = B("i") f = B("f") d = A("d") j = B("j") b.o = i b.w = j i.t = j i.s = j f.t = j f.s = i d.o = f d.w = j j.t = f j.s = i assert d.w.s.t.txt == "
j"
class A: def __init__(self, txt: str): self.o: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.s: B = None self.txt = txt b = A("b") i = B("i") f = B("f") d = A("d") j = B("j") b.o = i b.w = j i.t = j i.s = j f.t = j f.s = i d.o = f d.w = j j.t = f j.s = i assert d.w.s.t.txt == "j"
d
j
i
j
x
x
x
x
5
9
2
3
1
20
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.s: B = None self.txt = txt f = A("f") c = B("c") i = A("i") b = B("b") j = A("j") f.r = c c.o = b c.s = b i.r = b b.o = c b.s = c j.r = b assert c.o.o.o.o.txt == "
c"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.s: B = None self.txt = txt f = A("f") c = B("c") i = A("i") b = B("b") j = A("j") f.r = c c.o = b c.s = b i.r = b b.o = c b.s = c j.r = b assert c.o.o.o.o.txt == "c"
c
b
c
b
c
x
x
x
5
5
2
4
3
21
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.r: A = None self.txt = txt b = A("b") a = B("a") h = A("h") b.o = h a.v = b a.r = h h.o = b assert a.v.o.o.txt == "
b"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.r: A = None self.txt = txt b = A("b") a = B("a") h = A("h") b.o = h a.v = b a.r = h h.o = b assert a.v.o.o.txt == "b"
a
b
h
b
x
x
x
x
3
4
2
3
1
22
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.q: B = None self.txt = txt i = A("i") d = B("d") b = A("b") j = B("j") c = B("c") g = B("g") i.x = j d.z = j d.q = j b.x = g j.z = g j.q = d c.z = j c.q = d g.z = d g.q = c assert i.x.q.z.txt == "
j"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.q: B = None self.txt = txt i = A("i") d = B("d") b = A("b") j = B("j") c = B("c") g = B("g") i.x = j d.z = j d.q = j b.x = g j.z = g j.q = d c.z = j c.q = d g.z = d g.q = c assert i.x.q.z.txt == "j"
i
j
d
j
x
x
x
x
6
9
2
3
1
23
class A: def __init__(self, txt: str): self.t: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt a = A("a") c = B("c") b = B("b") g = A("g") e = A("e") h = A("h") d = B("d") a.t = e a.s = e c.w = d b.w = d g.t = a g.s = e e.t = g e.s = h h.t = g h.s = e d.w = b assert e.t.t.s.t.s.t.txt == "
g"
class A: def __init__(self, txt: str): self.t: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt a = A("a") c = B("c") b = B("b") g = A("g") e = A("e") h = A("h") d = B("d") a.t = e a.s = e c.w = d b.w = d g.t = a g.s = e e.t = g e.s = h h.t = g h.s = e d.w = b assert e.t.t.s.t.s.t.txt == "g"
e
g
a
e
g
e
g
x
7
10
2
6
4
24
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.y: B = None self.txt = txt e = A("e") d = B("d") g = B("g") j = A("j") f = A("f") a = A("a") e.r = a d.u = j d.y = g g.u = a g.y = d j.r = f f.r = j a.r = f assert a.r.r.r.r.r.txt == "
f"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.y: B = None self.txt = txt e = A("e") d = B("d") g = B("g") j = A("j") f = A("f") a = A("a") e.r = a d.u = j d.y = g g.u = a g.y = d j.r = f f.r = j a.r = f assert a.r.r.r.r.r.txt == "f"
a
f
j
f
j
f
x
x
6
8
2
5
3
25
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.r: B = None self.txt = txt d = A("d") h = B("h") j = B("j") f = A("f") c = A("c") b = A("b") a = A("a") d.z = a h.t = a h.r = j j.t = f j.r = h f.z = b c.z = d b.z = a a.z = d assert c.z.z.z.txt == "
d"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.r: B = None self.txt = txt d = A("d") h = B("h") j = B("j") f = A("f") c = A("c") b = A("b") a = A("a") d.z = a h.t = a h.r = j j.t = f j.r = h f.z = b c.z = d b.z = a a.z = d assert c.z.z.z.txt == "d"
c
d
a
d
x
x
x
x
7
9
2
3
1
26
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.w: B = None self.txt = txt a = A("a") c = B("c") h = A("h") g = B("g") d = A("d") i = B("i") b = A("b") a.r = h c.y = h c.w = i h.r = a g.y = b g.w = i d.r = b i.y = b i.w = g b.r = h assert b.r.r.r.txt == "
h"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.w: B = None self.txt = txt a = A("a") c = B("c") h = A("h") g = B("g") d = A("d") i = B("i") b = A("b") a.r = h c.y = h c.w = i h.r = a g.y = b g.w = i d.r = b i.y = b i.w = g b.r = h assert b.r.r.r.txt == "h"
b
h
a
h
x
x
x
x
7
10
2
3
1
27
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.q: A = None self.txt = txt b = A("b") e = B("e") g = A("g") b.w = g e.y = b e.q = g g.w = b assert e.y.w.w.txt == "
b"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.q: A = None self.txt = txt b = A("b") e = B("e") g = A("g") b.w = g e.y = b e.q = g g.w = b assert e.y.w.w.txt == "b"
e
b
g
b
x
x
x
x
3
4
2
3
1
28
class A: def __init__(self, txt: str): self.p: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt d = A("d") h = B("h") e = A("e") d.p = h d.w = e h.y = d e.p = h e.w = d assert d.p.y.w.txt == "
e"
class A: def __init__(self, txt: str): self.p: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt d = A("d") h = B("h") e = A("e") d.p = h d.w = e h.y = d e.p = h e.w = d assert d.p.y.w.txt == "e"
d
h
d
e
x
x
x
x
3
5
2
3
1
29
class A: def __init__(self, txt: str): self.x: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt b = A("b") g = B("g") i = A("i") c = B("c") e = B("e") f = A("f") a = A("a") b.x = i b.w = g g.w = f i.x = f i.w = g c.w = a e.w = a f.x = i f.w = c a.x = i a.w = c assert f.w.w.w.w.x.txt == "
i"
class A: def __init__(self, txt: str): self.x: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt b = A("b") g = B("g") i = A("i") c = B("c") e = B("e") f = A("f") a = A("a") b.x = i b.w = g g.w = f i.x = f i.w = g c.w = a e.w = a f.x = i f.w = c a.x = i a.w = c assert f.w.w.w.w.x.txt == "i"
f
c
a
c
a
i
x
x
7
11
2
5
2
30
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.x: A = None self.txt = txt j = A("j") c = B("c") e = A("e") i = B("i") j.p = e c.s = i c.x = j e.p = j i.s = c i.x = e assert j.p.p.p.p.txt == "
j"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.x: A = None self.txt = txt j = A("j") c = B("c") e = A("e") i = B("i") j.p = e c.s = i c.x = j e.p = j i.s = c i.x = e assert j.p.p.p.p.txt == "j"
j
e
j
e
j
x
x
x
4
6
2
4
3
31
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.t: B = None self.txt = txt c = A("c") a = B("a") i = B("i") g = B("g") f = A("f") b = B("b") h = A("h") c.v = f a.s = f a.t = g i.s = c i.t = a g.s = c g.t = i f.v = h b.s = h b.t = g h.v = f assert b.s.v.v.v.v.v.txt == "
f"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.t: B = None self.txt = txt c = A("c") a = B("a") i = B("i") g = B("g") f = A("f") b = B("b") h = A("h") c.v = f a.s = f a.t = g i.s = c i.t = a g.s = c g.t = i f.v = h b.s = h b.t = g h.v = f assert b.s.v.v.v.v.v.txt == "f"
b
h
f
h
f
h
f
x
7
11
2
6
4
32
class A: def __init__(self, txt: str): self.r: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.z: B = None self.txt = txt d = A("d") h = B("h") c = A("c") i = A("i") e = B("e") j = A("j") d.r = i d.z = c h.s = e h.z = e c.r = i c.z = j i.r = c i.z = c e.s = h e.z = h j.r = d j.z = d assert h.z.s.z.z.s.s.txt == "
h"
class A: def __init__(self, txt: str): self.r: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.z: B = None self.txt = txt d = A("d") h = B("h") c = A("c") i = A("i") e = B("e") j = A("j") d.r = i d.z = c h.s = e h.z = e c.r = i c.z = j i.r = c i.z = c e.s = h e.z = h j.r = d j.z = d assert h.z.s.z.z.s.s.txt == "h"
h
e
h
e
h
e
h
x
6
8
2
6
5
33
class A: def __init__(self, txt: str): self.u: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt d = A("d") h = B("h") f = B("f") i = B("i") c = A("c") g = B("g") j = B("j") d.u = i d.y = c h.v = i f.v = h i.v = j c.u = j c.y = d g.v = i j.v = f assert g.v.v.v.v.txt == "
h"
class A: def __init__(self, txt: str): self.u: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt d = A("d") h = B("h") f = B("f") i = B("i") c = A("c") g = B("g") j = B("j") d.u = i d.y = c h.v = i f.v = h i.v = j c.u = j c.y = d g.v = i j.v = f assert g.v.v.v.v.txt == "h"
g
i
j
f
h
x
x
x
7
9
2
4
0
34
class A: def __init__(self, txt: str): self.t: A = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt d = A("d") c = B("c") i = B("i") j = A("j") b = A("b") h = A("h") a = B("a") d.t = j d.o = c c.v = a i.v = a j.t = b j.o = i b.t = j b.o = c h.t = j h.o = i a.v = c assert b.t.t.o.v.txt == "
a"
class A: def __init__(self, txt: str): self.t: A = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt d = A("d") c = B("c") i = B("i") j = A("j") b = A("b") h = A("h") a = B("a") d.t = j d.o = c c.v = a i.v = a j.t = b j.o = i b.t = j b.o = c h.t = j h.o = i a.v = c assert b.t.t.o.v.txt == "a"
b
j
b
c
a
x
x
x
7
11
2
4
1
35
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt e = A("e") f = B("f") a = B("a") d = A("d") g = B("g") i = B("i") h = B("h") e.t = f f.v = d a.v = e d.t = i g.v = e i.v = d h.v = d assert h.v.t.v.t.v.t.v.txt == "
d"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt e = A("e") f = B("f") a = B("a") d = A("d") g = B("g") i = B("i") h = B("h") e.t = f f.v = d a.v = e d.t = i g.v = e i.v = d h.v = d assert h.v.t.v.t.v.t.v.txt == "d"
h
d
i
d
i
d
i
d
7
7
2
7
5
36
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.v: B = None self.txt = txt i = A("i") c = B("c") a = A("a") j = B("j") i.u = j c.z = j c.v = j a.u = c j.z = c j.v = c assert i.u.v.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.v: B = None self.txt = txt i = A("i") c = B("c") a = A("a") j = B("j") i.u = j c.z = j c.v = j a.u = c j.z = c j.v = c assert i.u.v.z.z.txt == "c"
i
j
c
j
c
x
x
x
4
4
2
4
2
37
class A: def __init__(self, txt: str): self.u: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt a = A("a") f = B("f") i = B("i") b = A("b") g = A("g") c = B("c") a.u = f a.w = b f.u = a i.u = b b.u = i b.w = a g.u = f g.w = a c.u = b assert g.u.u.w.w.u.u.txt == "
a"
class A: def __init__(self, txt: str): self.u: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt a = A("a") f = B("f") i = B("i") b = A("b") g = A("g") c = B("c") a.u = f a.w = b f.u = a i.u = b b.u = i b.w = a g.u = f g.w = a c.u = b assert g.u.u.w.w.u.u.txt == "a"
g
f
a
b
a
f
a
x
6
9
2
6
3
38
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt b = A("b") e = B("e") a = A("a") b.y = e e.q = b a.y = e assert b.y.q.y.txt == "
e"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt b = A("b") e = B("e") a = A("a") b.y = e e.q = b a.y = e assert b.y.q.y.txt == "e"
b
e
b
e
x
x
x
x
3
3
2
3
2
39
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt b = A("b") f = B("f") j = A("j") e = B("e") a = B("a") h = A("h") b.q = e f.p = a j.q = e e.p = a a.p = f h.q = e assert b.q.p.p.p.p.txt == "
f"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt b = A("b") f = B("f") j = A("j") e = B("e") a = B("a") h = A("h") b.q = e f.p = a j.q = e e.p = a a.p = f h.q = e assert b.q.p.p.p.p.txt == "f"
b
e
a
f
a
f
x
x
6
6
2
5
2
40
class A: def __init__(self, txt: str): self.p: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt g = A("g") a = B("a") f = A("f") i = B("i") g.p = a g.r = i a.q = i f.p = a f.r = i i.q = a assert g.r.q.q.txt == "
i"
class A: def __init__(self, txt: str): self.p: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt g = A("g") a = B("a") f = A("f") i = B("i") g.p = a g.r = i a.q = i f.p = a f.r = i i.q = a assert g.r.q.q.txt == "i"
g
i
a
i
x
x
x
x
4
6
2
3
1
41
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.r: B = None self.txt = txt g = A("g") j = B("j") b = B("b") d = A("d") c = A("c") e = B("e") i = B("i") g.r = e j.x = b j.r = i b.x = i b.r = e d.r = i c.r = b e.x = j e.r = b i.x = e i.r = e assert e.r.r.r.x.txt == "
i"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.r: B = None self.txt = txt g = A("g") j = B("j") b = B("b") d = A("d") c = A("c") e = B("e") i = B("i") g.r = e j.x = b j.r = i b.x = i b.r = e d.r = i c.r = b e.x = j e.r = b i.x = e i.r = e assert e.r.r.r.x.txt == "i"
e
b
e
b
i
x
x
x
7
10
2
4
2
42
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.z: A = None self.txt = txt a = A("a") b = B("b") g = B("g") c = A("c") f = A("f") a.w = g b.p = a b.z = a g.p = f g.z = a c.w = b f.w = b assert f.w.p.w.z.txt == "
a"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.z: A = None self.txt = txt a = A("a") b = B("b") g = B("g") c = A("c") f = A("f") a.w = g b.p = a b.z = a g.p = f g.z = a c.w = b f.w = b assert f.w.p.w.z.txt == "a"
f
b
a
g
a
x
x
x
5
6
2
4
1
43
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt b = A("b") f = B("f") c = B("c") b.q = c f.u = b c.u = b assert c.u.q.u.txt == "
b"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt b = A("b") f = B("f") c = B("c") b.q = c f.u = b c.u = b assert c.u.q.u.txt == "b"
c
b
c
b
x
x
x
x
3
3
2
3
2
44
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.v: A = None self.txt = txt c = A("c") f = B("f") j = A("j") b = B("b") d = A("d") i = A("i") a = B("a") c.x = f f.r = b f.v = i j.x = b b.r = f b.v = c d.x = f i.x = a a.r = b a.v = c assert d.x.v.x.r.txt == "
b"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.v: A = None self.txt = txt c = A("c") f = B("f") j = A("j") b = B("b") d = A("d") i = A("i") a = B("a") c.x = f f.r = b f.v = i j.x = b b.r = f b.v = c d.x = f i.x = a a.r = b a.v = c assert d.x.v.x.r.txt == "b"
d
f
i
a
b
x
x
x
7
10
2
4
0
45
class A: def __init__(self, txt: str): self.t: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.q: B = None self.txt = txt c = A("c") a = B("a") b = B("b") c.t = b c.z = b a.y = c a.q = b b.y = c b.q = a assert a.y.z.y.txt == "
c"
class A: def __init__(self, txt: str): self.t: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.q: B = None self.txt = txt c = A("c") a = B("a") b = B("b") c.t = b c.z = b a.y = c a.q = b b.y = c b.q = a assert a.y.z.y.txt == "c"
a
c
b
c
x
x
x
x
3
5
2
3
1
46
class A: def __init__(self, txt: str): self.w: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.s: B = None self.txt = txt h = A("h") c = B("c") b = A("b") j = A("j") i = B("i") h.w = c h.q = j c.o = i c.s = i b.w = c b.q = h j.w = c j.q = h i.o = c i.s = c assert b.w.s.s.txt == "
c"
class A: def __init__(self, txt: str): self.w: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.s: B = None self.txt = txt h = A("h") c = B("c") b = A("b") j = A("j") i = B("i") h.w = c h.q = j c.o = i c.s = i b.w = c b.q = h j.w = c j.q = h i.o = c i.s = c assert b.w.s.s.txt == "c"
b
c
i
c
x
x
x
x
5
8
2
3
1
47
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.q: A = None self.txt = txt a = A("a") f = B("f") b = B("b") e = B("e") c = B("c") d = A("d") h = B("h") a.q = f f.r = a f.q = d b.r = a b.q = d e.r = a e.q = d c.r = d c.q = d d.q = e h.r = d h.q = a assert a.q.r.q.q.q.r.q.txt == "
f"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.q: A = None self.txt = txt a = A("a") f = B("f") b = B("b") e = B("e") c = B("c") d = A("d") h = B("h") a.q = f f.r = a f.q = d b.r = a b.q = d e.r = a e.q = d c.r = d c.q = d d.q = e h.r = d h.q = a assert a.q.r.q.q.q.r.q.txt == "f"
a
f
a
f
d
e
a
f
7
11
2
7
4
48
class A: def __init__(self, txt: str): self.x: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt f = A("f") j = B("j") h = A("h") d = B("d") g = A("g") i = B("i") c = B("c") f.x = c f.y = d j.p = d h.x = c h.y = i d.p = i g.x = c g.y = i i.p = j c.p = j assert j.p.p.p.p.p.txt == "
i"
class A: def __init__(self, txt: str): self.x: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt f = A("f") j = B("j") h = A("h") d = B("d") g = A("g") i = B("i") c = B("c") f.x = c f.y = d j.p = d h.x = c h.y = i d.p = i g.x = c g.y = i i.p = j c.p = j assert j.p.p.p.p.p.txt == "i"
j
d
i
j
d
i
x
x
7
10
2
5
3
49
class A: def __init__(self, txt: str): self.u: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.z: A = None self.txt = txt f = A("f") a = B("a") c = A("c") e = B("e") i = A("i") j = A("j") f.u = j f.s = j a.t = e a.z = j c.u = j c.s = i e.t = a e.z = f i.u = f i.s = j j.u = c j.s = i assert e.t.z.s.u.txt == "
f"
class A: def __init__(self, txt: str): self.u: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.z: A = None self.txt = txt f = A("f") a = B("a") c = A("c") e = B("e") i = A("i") j = A("j") f.u = j f.s = j a.t = e a.z = j c.u = j c.s = i e.t = a e.z = f i.u = f i.s = j j.u = c j.s = i assert e.t.z.s.u.txt == "f"
e
a
j
i
f
x
x
x
6
11
2
4
0
50
class A: def __init__(self, txt: str): self.r: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.u: A = None self.txt = txt d = A("d") i = B("i") e = B("e") g = A("g") a = B("a") b = A("b") d.r = i d.q = b i.x = a i.u = b e.x = i e.u = g g.r = e g.q = b a.x = i a.u = g b.r = a b.q = d assert b.r.u.q.r.u.q.txt == "
b"
class A: def __init__(self, txt: str): self.r: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.u: A = None self.txt = txt d = A("d") i = B("i") e = B("e") g = A("g") a = B("a") b = A("b") d.r = i d.q = b i.x = a i.u = b e.x = i e.u = g g.r = e g.q = b a.x = i a.u = g b.r = a b.q = d assert b.r.u.q.r.u.q.txt == "b"
b
a
g
b
a
g
b
x
6
12
2
6
4
51
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt h = A("h") c = B("c") d = A("d") g = B("g") h.u = d c.y = d d.u = h g.y = d assert c.y.u.u.u.txt == "
h"
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt h = A("h") c = B("c") d = A("d") g = B("g") h.u = d c.y = d d.u = h g.y = d assert c.y.u.u.u.txt == "h"
c
d
h
d
h
x
x
x
4
4
2
4
2
52
class A: def __init__(self, txt: str): self.q: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.s: A = None self.txt = txt g = A("g") e = B("e") b = B("b") a = A("a") g.q = b g.r = b e.z = a e.s = g b.z = a b.s = g a.q = e a.r = b assert b.z.q.z.txt == "
a"
class A: def __init__(self, txt: str): self.q: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.s: A = None self.txt = txt g = A("g") e = B("e") b = B("b") a = A("a") g.q = b g.r = b e.z = a e.s = g b.z = a b.s = g a.q = e a.r = b assert b.z.q.z.txt == "a"
b
a
e
a
x
x
x
x
4
7
2
3
1
53
class A: def __init__(self, txt: str): self.q: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt h = A("h") g = B("g") i = A("i") d = B("d") h.q = i h.w = i g.v = d i.q = h i.w = h d.v = g assert h.q.q.q.txt == "
i"
class A: def __init__(self, txt: str): self.q: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt h = A("h") g = B("g") i = A("i") d = B("d") h.q = i h.w = i g.v = d i.q = h i.w = h d.v = g assert h.q.q.q.txt == "i"
h
i
h
i
x
x
x
x
4
4
2
3
2
54
class A: def __init__(self, txt: str): self.y: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt d = A("d") a = B("a") b = B("b") i = A("i") d.y = a d.s = i a.t = b a.x = d b.t = a b.x = d i.y = b i.s = d assert a.t.x.s.txt == "
i"
class A: def __init__(self, txt: str): self.y: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt d = A("d") a = B("a") b = B("b") i = A("i") d.y = a d.s = i a.t = b a.x = d b.t = a b.x = d i.y = b i.s = d assert a.t.x.s.txt == "i"
a
b
d
i
x
x
x
x
4
8
2
3
0
55
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt b = A("b") h = B("h") f = A("f") i = B("i") j = A("j") d = B("d") b.v = j h.z = f f.v = b i.z = b j.v = b d.z = f assert f.v.v.v.v.v.v.txt == "
j"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt b = A("b") h = B("h") f = A("f") i = B("i") j = A("j") d = B("d") b.v = j h.z = f f.v = b i.z = b j.v = b d.z = f assert f.v.v.v.v.v.v.txt == "j"
f
b
j
b
j
b
j
x
6
6
2
6
4
56
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.p: A = None self.txt = txt j = A("j") c = B("c") b = B("b") j.u = b c.r = b c.p = j b.r = c b.p = j assert b.p.u.r.txt == "
c"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.p: A = None self.txt = txt j = A("j") c = B("c") b = B("b") j.u = b c.r = b c.p = j b.r = c b.p = j assert b.p.u.r.txt == "c"
b
j
b
c
x
x
x
x
3
5
2
3
1
57
class A: def __init__(self, txt: str): self.x: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.t: A = None self.txt = txt e = A("e") b = B("b") j = B("j") c = B("c") e.x = j e.s = c b.z = e b.t = e j.z = e j.t = e c.z = e c.t = e assert c.t.x.z.x.txt == "
j"
class A: def __init__(self, txt: str): self.x: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.t: A = None self.txt = txt e = A("e") b = B("b") j = B("j") c = B("c") e.x = j e.s = c b.z = e b.t = e j.z = e j.t = e c.z = e c.t = e assert c.t.x.z.x.txt == "j"
c
e
j
e
j
x
x
x
4
5
2
4
2
58
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt a = A("a") d = B("d") g = A("g") c = B("c") a.t = d d.t = a g.t = c c.t = a assert d.t.t.t.txt == "
a"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt a = A("a") d = B("d") g = A("g") c = B("c") a.t = d d.t = a g.t = c c.t = a assert d.t.t.t.txt == "a"
d
a
d
a
x
x
x
x
4
4
2
3
2
59
class A: def __init__(self, txt: str): self.v: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.q: A = None self.txt = txt c = A("c") h = B("h") d = B("d") c.v = d c.s = d h.s = d h.q = c d.s = h d.q = c assert d.s.q.v.txt == "
d"
class A: def __init__(self, txt: str): self.v: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.q: A = None self.txt = txt c = A("c") h = B("h") d = B("d") c.v = d c.s = d h.s = d h.q = c d.s = h d.q = c assert d.s.q.v.txt == "d"
d
h
c
d
x
x
x
x
3
5
2
3
1
60
class A: def __init__(self, txt: str): self.z: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt j = A("j") g = B("g") d = A("d") e = B("e") i = A("i") j.z = d j.x = i g.u = j d.z = i d.x = j e.u = d i.z = d i.x = j assert e.u.z.z.txt == "
d"
class A: def __init__(self, txt: str): self.z: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt j = A("j") g = B("g") d = A("d") e = B("e") i = A("i") j.z = d j.x = i g.u = j d.z = i d.x = j e.u = d i.z = d i.x = j assert e.u.z.z.txt == "d"
e
d
i
d
x
x
x
x
5
8
2
3
1
61
class A: def __init__(self, txt: str): self.u: A = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt d = A("d") i = B("i") b = A("b") f = B("f") c = A("c") d.u = c d.o = i i.y = f b.u = c b.o = f f.y = i c.u = b c.o = i assert c.o.y.y.y.txt == "
f"
class A: def __init__(self, txt: str): self.u: A = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt d = A("d") i = B("i") b = A("b") f = B("f") c = A("c") d.u = c d.o = i i.y = f b.u = c b.o = f f.y = i c.u = b c.o = i assert c.o.y.y.y.txt == "f"
c
i
f
i
f
x
x
x
5
8
2
4
2
62
class A: def __init__(self, txt: str): self.o: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt b = A("b") e = B("e") d = A("d") a = A("a") i = A("i") f = B("f") g = A("g") b.o = f b.q = f e.y = f d.o = e d.q = e a.o = f a.q = f i.o = e i.q = e f.y = e g.o = f g.q = f assert d.o.y.y.y.txt == "
f"
class A: def __init__(self, txt: str): self.o: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt b = A("b") e = B("e") d = A("d") a = A("a") i = A("i") f = B("f") g = A("g") b.o = f b.q = f e.y = f d.o = e d.q = e a.o = f a.q = f i.o = e i.q = e f.y = e g.o = f g.q = f assert d.o.y.y.y.txt == "f"
d
e
f
e
f
x
x
x
7
7
2
4
2
63
class A: def __init__(self, txt: str): self.x: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt e = A("e") g = B("g") d = B("d") b = A("b") h = B("h") j = A("j") e.x = j e.y = j g.o = b d.o = e b.x = j b.y = e h.o = j j.x = e j.y = b assert h.o.x.y.y.y.txt == "
e"
class A: def __init__(self, txt: str): self.x: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt e = A("e") g = B("g") d = B("d") b = A("b") h = B("h") j = A("j") e.x = j e.y = j g.o = b d.o = e b.x = j b.y = e h.o = j j.x = e j.y = b assert h.o.x.y.y.y.txt == "e"
h
j
e
j
b
e
x
x
6
8
2
5
2
64
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt j = A("j") f = B("f") g = B("g") e = A("e") b = B("b") i = A("i") j.v = i f.z = g g.z = f e.v = i b.z = g i.v = e assert g.z.z.z.z.z.z.txt == "
g"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt j = A("j") f = B("f") g = B("g") e = A("e") b = B("b") i = A("i") j.v = i f.z = g g.z = f e.v = i b.z = g i.v = e assert g.z.z.z.z.z.z.txt == "g"
g
f
g
f
g
f
g
x
6
6
2
6
5
65
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt g = A("g") f = B("f") b = A("b") h = A("h") c = A("c") d = B("d") e = B("e") g.s = f f.q = e b.s = f h.s = d c.s = e d.q = e e.q = d assert b.s.q.q.q.q.q.q.txt == "
d"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt g = A("g") f = B("f") b = A("b") h = A("h") c = A("c") d = B("d") e = B("e") g.s = f f.q = e b.s = f h.s = d c.s = e d.q = e e.q = d assert b.s.q.q.q.q.q.q.txt == "d"
b
f
e
d
e
d
e
d
7
7
2
7
4
66
class A: def __init__(self, txt: str): self.t: B = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.p: A = None self.txt = txt c = A("c") f = B("f") i = B("i") a = B("a") h = B("h") d = A("d") c.t = a c.u = d f.s = i f.p = c i.s = f i.p = c a.s = i a.p = c h.s = f h.p = d d.t = a d.u = c assert c.u.t.p.txt == "
c"
class A: def __init__(self, txt: str): self.t: B = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.p: A = None self.txt = txt c = A("c") f = B("f") i = B("i") a = B("a") h = B("h") d = A("d") c.t = a c.u = d f.s = i f.p = c i.s = f i.p = c a.s = i a.p = c h.s = f h.p = d d.t = a d.u = c assert c.u.t.p.txt == "c"
c
d
a
c
x
x
x
x
6
12
2
3
1
67
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt h = A("h") e = B("e") f = B("f") b = B("b") j = A("j") g = A("g") i = A("i") h.v = g e.x = f f.x = b b.x = e j.v = g g.v = h i.v = j assert b.x.x.x.x.txt == "
e"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt h = A("h") e = B("e") f = B("f") b = B("b") j = A("j") g = A("g") i = A("i") h.v = g e.x = f f.x = b b.x = e j.v = g g.v = h i.v = j assert b.x.x.x.x.txt == "e"
b
e
f
b
e
x
x
x
7
7
2
4
2
68
class A: def __init__(self, txt: str): self.t: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.w: A = None self.txt = txt b = A("b") e = B("e") d = A("d") a = B("a") c = B("c") f = B("f") b.t = d b.z = d e.q = c e.w = b d.t = b d.z = b a.q = f a.w = b c.q = f c.w = b f.q = e f.w = b assert c.q.w.z.t.txt == "
b"
class A: def __init__(self, txt: str): self.t: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.w: A = None self.txt = txt b = A("b") e = B("e") d = A("d") a = B("a") c = B("c") f = B("f") b.t = d b.z = d e.q = c e.w = b d.t = b d.z = b a.q = f a.w = b c.q = f c.w = b f.q = e f.w = b assert c.q.w.z.t.txt == "b"
c
f
b
d
b
x
x
x
6
10
2
4
1
69
class A: def __init__(self, txt: str): self.x: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt c = A("c") h = B("h") d = B("d") c.x = h c.r = d h.o = c d.o = c assert d.o.x.o.txt == "
c"
class A: def __init__(self, txt: str): self.x: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt c = A("c") h = B("h") d = B("d") c.x = h c.r = d h.o = c d.o = c assert d.o.x.o.txt == "c"
d
c
h
c
x
x
x
x
3
4
2
3
1
70
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt j = A("j") h = B("h") f = A("f") b = B("b") c = A("c") j.v = c h.v = b f.v = c b.v = h c.v = f assert h.v.v.v.txt == "
b"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt j = A("j") h = B("h") f = A("f") b = B("b") c = A("c") j.v = c h.v = b f.v = c b.v = h c.v = f assert h.v.v.v.txt == "b"
h
b
h
b
x
x
x
x
5
5
2
3
2
71
class A: def __init__(self, txt: str): self.v: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt c = A("c") d = B("d") j = B("j") i = A("i") b = A("b") g = B("g") e = A("e") c.v = g c.x = b d.o = g j.o = d i.v = d i.x = e b.v = j b.x = i g.o = d e.v = j e.x = i assert i.v.o.o.o.txt == "
g"
class A: def __init__(self, txt: str): self.v: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt c = A("c") d = B("d") j = B("j") i = A("i") b = A("b") g = B("g") e = A("e") c.v = g c.x = b d.o = g j.o = d i.v = d i.x = e b.v = j b.x = i g.o = d e.v = j e.x = i assert i.v.o.o.o.txt == "g"
i
d
g
d
g
x
x
x
7
11
2
4
2
72
class A: def __init__(self, txt: str): self.u: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt c = A("c") g = B("g") j = A("j") c.u = g c.y = j g.x = j j.u = g j.y = c assert j.u.x.u.txt == "
g"
class A: def __init__(self, txt: str): self.u: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt c = A("c") g = B("g") j = A("j") c.u = g c.y = j g.x = j j.u = g j.y = c assert j.u.x.u.txt == "g"
j
g
j
g
x
x
x
x
3
5
2
3
2
73
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt g = A("g") j = B("j") h = B("h") e = A("e") c = A("c") f = B("f") g.z = h j.w = h h.w = j e.z = j c.z = j f.w = j assert c.z.w.w.w.txt == "
h"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt g = A("g") j = B("j") h = B("h") e = A("e") c = A("c") f = B("f") g.z = h j.w = h h.w = j e.z = j c.z = j f.w = j assert c.z.w.w.w.txt == "h"
c
j
h
j
h
x
x
x
6
6
2
4
2
74
class A: def __init__(self, txt: str): self.w: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.t: B = None self.txt = txt d = A("d") f = B("f") i = B("i") b = A("b") e = B("e") g = B("g") d.w = b d.x = b f.w = e f.t = g i.w = f i.t = g b.w = d b.x = d e.w = i e.t = g g.w = i g.t = i assert b.x.x.x.x.w.x.txt == "
b"
class A: def __init__(self, txt: str): self.w: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.t: B = None self.txt = txt d = A("d") f = B("f") i = B("i") b = A("b") e = B("e") g = B("g") d.w = b d.x = b f.w = e f.t = g i.w = f i.t = g b.w = d b.x = d e.w = i e.t = g g.w = i g.t = i assert b.x.x.x.x.w.x.txt == "b"
b
d
b
d
b
d
b
x
6
9
2
6
5
75
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt h = A("h") c = B("c") j = A("j") i = A("i") f = B("f") d = A("d") e = B("e") h.y = i c.u = f j.y = h i.y = h f.u = e d.y = j e.u = c assert h.y.y.y.y.y.y.txt == "
h"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt h = A("h") c = B("c") j = A("j") i = A("i") f = B("f") d = A("d") e = B("e") h.y = i c.u = f j.y = h i.y = h f.u = e d.y = j e.u = c assert h.y.y.y.y.y.y.txt == "h"
h
i
h
i
h
i
h
x
7
7
2
6
5
76
class A: def __init__(self, txt: str): self.o: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt e = A("e") c = B("c") g = B("g") i = A("i") b = B("b") e.o = i e.y = i c.r = b g.r = c i.o = e i.y = e b.r = g assert g.r.r.r.r.txt == "
c"
class A: def __init__(self, txt: str): self.o: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt e = A("e") c = B("c") g = B("g") i = A("i") b = B("b") e.o = i e.y = i c.r = b g.r = c i.o = e i.y = e b.r = g assert g.r.r.r.r.txt == "c"
g
c
b
g
c
x
x
x
5
5
2
4
2
77
class A: def __init__(self, txt: str): self.x: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.w: A = None self.txt = txt c = A("c") a = B("a") e = A("e") j = B("j") c.x = a c.y = e a.p = e a.w = c e.x = j e.y = c j.p = c j.w = c assert e.y.x.p.txt == "
e"
class A: def __init__(self, txt: str): self.x: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.w: A = None self.txt = txt c = A("c") a = B("a") e = A("e") j = B("j") c.x = a c.y = e a.p = e a.w = c e.x = j e.y = c j.p = c j.w = c assert e.y.x.p.txt == "e"
e
c
a
e
x
x
x
x
4
7
2
3
1
78
class A: def __init__(self, txt: str): self.y: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt i = A("i") f = B("f") d = A("d") h = B("h") b = B("b") g = B("g") i.y = d i.w = b f.t = b d.y = i d.w = h h.t = b b.t = f g.t = b assert i.y.y.w.t.t.txt == "
b"
class A: def __init__(self, txt: str): self.y: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt i = A("i") f = B("f") d = A("d") h = B("h") b = B("b") g = B("g") i.y = d i.w = b f.t = b d.y = i d.w = h h.t = b b.t = f g.t = b assert i.y.y.w.t.t.txt == "b"
i
d
i
b
f
b
x
x
6
8
2
5
2
79
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt h = A("h") g = B("g") a = A("a") f = B("f") i = A("i") e = B("e") h.x = i g.t = h a.x = h f.t = h i.x = h e.t = h assert i.x.x.x.txt == "
h"
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt h = A("h") g = B("g") a = A("a") f = B("f") i = A("i") e = B("e") h.x = i g.t = h a.x = h f.t = h i.x = h e.t = h assert i.x.x.x.txt == "h"
i
h
i
h
x
x
x
x
6
6
2
3
2
80
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.r: B = None self.txt = txt c = A("c") e = B("e") g = A("g") b = B("b") d = A("d") c.o = d e.p = d e.r = b g.o = d b.p = c b.r = e d.o = c assert d.o.o.o.o.txt == "
d"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.r: B = None self.txt = txt c = A("c") e = B("e") g = A("g") b = B("b") d = A("d") c.o = d e.p = d e.r = b g.o = d b.p = c b.r = e d.o = c assert d.o.o.o.o.txt == "d"
d
c
d
c
d
x
x
x
5
7
2
4
3
81
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt f = A("f") e = B("e") a = A("a") f.w = a e.w = a a.w = f assert e.w.w.w.txt == "
a"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt f = A("f") e = B("e") a = A("a") f.w = a e.w = a a.w = f assert e.w.w.w.txt == "a"
e
a
f
a
x
x
x
x
3
3
2
3
1
82
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt e = A("e") j = B("j") f = B("f") c = A("c") b = A("b") e.q = f j.x = f f.x = j c.q = f b.q = j assert j.x.x.x.x.txt == "
j"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt e = A("e") j = B("j") f = B("f") c = A("c") b = A("b") e.q = f j.x = f f.x = j c.q = f b.q = j assert j.x.x.x.x.txt == "j"
j
f
j
f
j
x
x
x
5
5
2
4
3
83
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.t: B = None self.txt = txt a = A("a") d = B("d") j = A("j") f = B("f") b = A("b") h = B("h") a.r = h d.u = f d.t = f j.r = h f.u = h f.t = h b.r = d h.u = f h.t = d assert d.u.t.t.t.txt == "
f"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.t: B = None self.txt = txt a = A("a") d = B("d") j = A("j") f = B("f") b = A("b") h = B("h") a.r = h d.u = f d.t = f j.r = h f.u = h f.t = h b.r = d h.u = f h.t = d assert d.u.t.t.t.txt == "f"
d
f
h
d
f
x
x
x
6
7
2
4
2
84
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.s: B = None self.txt = txt d = A("d") j = B("j") i = B("i") b = A("b") e = B("e") a = B("a") d.y = b j.p = d j.s = i i.p = b i.s = e b.y = d e.p = b e.s = a a.p = d a.s = i assert d.y.y.y.y.y.txt == "
b"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.s: B = None self.txt = txt d = A("d") j = B("j") i = B("i") b = A("b") e = B("e") a = B("a") d.y = b j.p = d j.s = i i.p = b i.s = e b.y = d e.p = b e.s = a a.p = d a.s = i assert d.y.y.y.y.y.txt == "b"
d
b
d
b
d
b
x
x
6
10
2
5
4
85
class A: def __init__(self, txt: str): self.v: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.o: A = None self.txt = txt g = A("g") f = B("f") d = B("d") e = A("e") g.v = f g.x = e f.t = d f.o = g d.t = f d.o = g e.v = f e.x = g assert f.o.v.o.x.txt == "
e"
class A: def __init__(self, txt: str): self.v: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.o: A = None self.txt = txt g = A("g") f = B("f") d = B("d") e = A("e") g.v = f g.x = e f.t = d f.o = g d.t = f d.o = g e.v = f e.x = g assert f.o.v.o.x.txt == "e"
f
g
f
g
e
x
x
x
4
8
2
4
2
86
class A: def __init__(self, txt: str): self.y: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.r: B = None self.txt = txt i = A("i") j = B("j") e = A("e") g = B("g") d = B("d") i.y = e i.q = j j.p = i j.r = g e.y = i e.q = d g.p = i g.r = d d.p = i d.r = g assert d.r.p.q.r.txt == "
g"
class A: def __init__(self, txt: str): self.y: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.r: B = None self.txt = txt i = A("i") j = B("j") e = A("e") g = B("g") d = B("d") i.y = e i.q = j j.p = i j.r = g e.y = i e.q = d g.p = i g.r = d d.p = i d.r = g assert d.r.p.q.r.txt == "g"
d
g
i
j
g
x
x
x
5
10
2
4
1
87
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.u: A = None self.txt = txt b = A("b") i = B("i") h = B("h") b.z = i i.v = b i.u = b h.v = b h.u = b assert b.z.v.z.txt == "
i"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.u: A = None self.txt = txt b = A("b") i = B("i") h = B("h") b.z = i i.v = b i.u = b h.v = b h.u = b assert b.z.v.z.txt == "i"
b
i
b
i
x
x
x
x
3
3
2
3
2
88
class A: def __init__(self, txt: str): self.v: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") h = B("h") e = B("e") d = A("d") j = B("j") b = A("b") a.v = d a.u = b h.z = e e.z = h d.v = a d.u = b j.z = e b.v = a b.u = d assert d.v.u.u.u.u.v.txt == "
a"
class A: def __init__(self, txt: str): self.v: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") h = B("h") e = B("e") d = A("d") j = B("j") b = A("b") a.v = d a.u = b h.z = e e.z = h d.v = a d.u = b j.z = e b.v = a b.u = d assert d.v.u.u.u.u.v.txt == "a"
d
a
b
d
b
d
a
x
6
9
2
6
4
89
class A: def __init__(self, txt: str): self.w: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.s: B = None self.txt = txt h = A("h") a = B("a") f = A("f") c = B("c") i = A("i") g = B("g") e = A("e") h.w = f h.z = e a.q = e a.s = g f.w = i f.z = h c.q = e c.s = g i.w = f i.z = e g.q = h g.s = a e.w = f e.z = i assert e.z.w.w.w.txt == "
f"
class A: def __init__(self, txt: str): self.w: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.s: B = None self.txt = txt h = A("h") a = B("a") f = A("f") c = B("c") i = A("i") g = B("g") e = A("e") h.w = f h.z = e a.q = e a.s = g f.w = i f.z = h c.q = e c.s = g i.w = f i.z = e g.q = h g.s = a e.w = f e.z = i assert e.z.w.w.w.txt == "f"
e
i
f
i
f
x
x
x
7
14
2
4
2
90
class A: def __init__(self, txt: str): self.o: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt b = A("b") j = B("j") d = B("d") b.o = j b.v = j j.s = b d.s = b assert d.s.v.s.txt == "
b"
class A: def __init__(self, txt: str): self.o: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt b = A("b") j = B("j") d = B("d") b.o = j b.v = j j.s = b d.s = b assert d.s.v.s.txt == "b"
d
b
j
b
x
x
x
x
3
3
2
3
1
91
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.z: B = None self.txt = txt i = A("i") h = B("h") b = A("b") g = B("g") i.r = b h.q = i h.z = g b.r = i g.q = b g.z = h assert i.r.r.r.r.txt == "
i"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.z: B = None self.txt = txt i = A("i") h = B("h") b = A("b") g = B("g") i.r = b h.q = i h.z = g b.r = i g.q = b g.z = h assert i.r.r.r.r.txt == "i"
i
b
i
b
i
x
x
x
4
6
2
4
3
92
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.r: A = None self.txt = txt e = A("e") d = B("d") a = A("a") f = B("f") e.y = d d.w = a d.r = a a.y = d f.w = e f.r = e assert e.y.r.y.r.txt == "
a"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.r: A = None self.txt = txt e = A("e") d = B("d") a = A("a") f = B("f") e.y = d d.w = a d.r = a a.y = d f.w = e f.r = e assert e.y.r.y.r.txt == "a"
e
d
a
d
a
x
x
x
4
4
2
4
2
93
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.s: A = None self.txt = txt b = A("b") i = B("i") a = B("a") j = A("j") b.q = a i.o = a i.s = b a.o = i a.s = j j.q = a assert j.q.s.q.s.txt == "
j"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.s: A = None self.txt = txt b = A("b") i = B("i") a = B("a") j = A("j") b.q = a i.o = a i.s = b a.o = i a.s = j j.q = a assert j.q.s.q.s.txt == "j"
j
a
j
a
j
x
x
x
4
6
2
4
3
94
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.q: B = None self.txt = txt h = A("h") f = B("f") d = B("d") e = A("e") b = A("b") g = B("g") h.u = g f.p = b f.q = g d.p = e d.q = g e.u = g b.u = g g.p = e g.q = d assert e.u.p.u.p.u.txt == "
g"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.q: B = None self.txt = txt h = A("h") f = B("f") d = B("d") e = A("e") b = A("b") g = B("g") h.u = g f.p = b f.q = g d.p = e d.q = g e.u = g b.u = g g.p = e g.q = d assert e.u.p.u.p.u.txt == "g"
e
g
e
g
e
g
x
x
6
9
2
5
4
95
class A: def __init__(self, txt: str): self.r: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.q: A = None self.txt = txt f = A("f") j = B("j") i = B("i") a = A("a") e = A("e") f.r = i f.s = j j.o = i j.q = a i.o = j i.q = a a.r = j a.s = i e.r = j e.s = j assert i.o.o.o.txt == "
j"
class A: def __init__(self, txt: str): self.r: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.q: A = None self.txt = txt f = A("f") j = B("j") i = B("i") a = A("a") e = A("e") f.r = i f.s = j j.o = i j.q = a i.o = j i.q = a a.r = j a.s = i e.r = j e.s = j assert i.o.o.o.txt == "j"
i
j
i
j
x
x
x
x
5
9
2
3
2
96
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.p: B = None self.txt = txt b = A("b") a = B("a") c = B("c") i = A("i") g = A("g") b.p = g a.o = i a.p = c c.o = i c.p = a i.p = g g.p = b assert g.p.p.p.txt == "
b"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.p: B = None self.txt = txt b = A("b") a = B("a") c = B("c") i = A("i") g = A("g") b.p = g a.o = i a.p = c c.o = i c.p = a i.p = g g.p = b assert g.p.p.p.txt == "b"
g
b
g
b
x
x
x
x
5
7
2
3
2
97
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt j = A("j") a = B("a") c = B("c") d = B("d") b = A("b") i = A("i") j.u = b a.t = j c.t = b d.t = j b.u = i i.u = j assert d.t.u.u.u.u.u.txt == "
i"
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt j = A("j") a = B("a") c = B("c") d = B("d") b = A("b") i = A("i") j.u = b a.t = j c.t = b d.t = j b.u = i i.u = j assert d.t.u.u.u.u.u.txt == "i"
d
j
b
i
j
b
i
x
6
6
2
6
3
98
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt i = A("i") j = B("j") g = B("g") d = A("d") b = B("b") i.w = b j.v = b g.v = b d.w = b b.v = g assert g.v.v.v.v.v.txt == "
b"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt i = A("i") j = B("j") g = B("g") d = A("d") b = B("b") i.w = b j.v = b g.v = b d.w = b b.v = g assert g.v.v.v.v.v.txt == "b"
g
b
g
b
g
b
x
x
5
5
2
5
4
99
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.y: A = None self.txt = txt e = A("e") a = B("a") c = A("c") j = B("j") i = B("i") e.r = c a.s = c a.y = c c.r = e j.s = c j.y = c i.s = c i.y = e assert i.s.r.r.txt == "
c"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.y: A = None self.txt = txt e = A("e") a = B("a") c = A("c") j = B("j") i = B("i") e.r = c a.s = c a.y = c c.r = e j.s = c j.y = c i.s = c i.y = e assert i.s.r.r.txt == "c"
i
c
e
c
x
x
x
x
5
6
2
3
1