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