1
0
Fork 0
advent-of-code/2018/day16/input-part-1

3173 lines
40 KiB
Plaintext
Raw Permalink Normal View History

2019-01-07 14:39:03 -05:00
Before: [3, 0, 1, 3]
15 2 1 3
After: [3, 0, 1, 1]
Before: [1, 3, 2, 0]
11 2 2 0
After: [4, 3, 2, 0]
Before: [0, 3, 3, 1]
14 3 2 0
After: [3, 3, 3, 1]
Before: [2, 3, 1, 3]
9 2 1 1
After: [2, 1, 1, 3]
Before: [1, 2, 3, 0]
0 2 1 2
After: [1, 2, 2, 0]
Before: [3, 2, 1, 3]
8 2 3 2
After: [3, 2, 3, 3]
Before: [1, 0, 1, 3]
15 2 1 2
After: [1, 0, 1, 3]
Before: [0, 0, 1, 1]
15 3 1 1
After: [0, 1, 1, 1]
Before: [1, 3, 2, 3]
9 0 1 0
After: [1, 3, 2, 3]
Before: [1, 0, 0, 1]
15 3 1 1
After: [1, 1, 0, 1]
Before: [0, 2, 2, 0]
4 0 1 3
After: [0, 2, 2, 1]
Before: [0, 0, 3, 1]
5 0 2 0
After: [0, 0, 3, 1]
Before: [0, 1, 0, 2]
14 3 1 0
After: [3, 1, 0, 2]
Before: [0, 2, 2, 0]
5 0 2 3
After: [0, 2, 2, 0]
Before: [1, 1, 2, 3]
10 3 2 0
After: [2, 1, 2, 3]
Before: [1, 2, 3, 2]
13 0 1 1
After: [1, 2, 3, 2]
Before: [0, 3, 2, 0]
1 1 2 1
After: [0, 6, 2, 0]
Before: [1, 2, 2, 3]
1 0 2 1
After: [1, 2, 2, 3]
Before: [3, 1, 2, 2]
13 0 3 2
After: [3, 1, 6, 2]
Before: [3, 3, 2, 1]
14 3 2 3
After: [3, 3, 2, 3]
Before: [0, 3, 1, 0]
5 0 1 0
After: [0, 3, 1, 0]
Before: [1, 0, 2, 3]
12 0 1 0
After: [1, 0, 2, 3]
Before: [3, 0, 2, 2]
3 2 2 0
After: [2, 0, 2, 2]
Before: [0, 1, 1, 3]
6 0 0 1
After: [0, 0, 1, 3]
Before: [0, 0, 2, 2]
6 0 0 2
After: [0, 0, 0, 2]
Before: [2, 3, 1, 3]
9 2 1 0
After: [1, 3, 1, 3]
Before: [3, 0, 1, 1]
15 2 1 1
After: [3, 1, 1, 1]
Before: [1, 2, 1, 2]
8 0 3 1
After: [1, 3, 1, 2]
Before: [3, 2, 3, 2]
13 0 3 2
After: [3, 2, 6, 2]
Before: [0, 0, 0, 2]
6 0 0 1
After: [0, 0, 0, 2]
Before: [1, 2, 3, 3]
1 1 2 3
After: [1, 2, 3, 4]
Before: [3, 1, 2, 2]
10 0 2 3
After: [3, 1, 2, 2]
Before: [0, 2, 3, 3]
5 0 2 3
After: [0, 2, 3, 0]
Before: [1, 0, 3, 0]
10 2 2 2
After: [1, 0, 2, 0]
Before: [1, 0, 3, 3]
12 0 1 1
After: [1, 1, 3, 3]
Before: [0, 1, 3, 2]
6 0 0 1
After: [0, 0, 3, 2]
Before: [2, 1, 2, 2]
2 2 3 0
After: [3, 1, 2, 2]
Before: [1, 2, 1, 0]
4 1 1 0
After: [3, 2, 1, 0]
Before: [3, 1, 0, 3]
7 2 1 0
After: [1, 1, 0, 3]
Before: [0, 2, 0, 2]
6 0 0 3
After: [0, 2, 0, 0]
Before: [0, 0, 1, 3]
5 0 3 1
After: [0, 0, 1, 3]
Before: [1, 3, 2, 0]
10 1 2 2
After: [1, 3, 2, 0]
Before: [1, 0, 3, 3]
3 3 1 2
After: [1, 0, 3, 3]
Before: [0, 1, 1, 3]
6 0 0 2
After: [0, 1, 0, 3]
Before: [2, 0, 3, 1]
0 2 0 2
After: [2, 0, 2, 1]
Before: [1, 1, 0, 2]
7 2 1 0
After: [1, 1, 0, 2]
Before: [2, 1, 3, 3]
0 2 0 1
After: [2, 2, 3, 3]
Before: [0, 2, 2, 1]
6 0 0 0
After: [0, 2, 2, 1]
Before: [1, 0, 1, 0]
15 2 1 1
After: [1, 1, 1, 0]
Before: [2, 3, 0, 0]
4 2 3 0
After: [3, 3, 0, 0]
Before: [3, 1, 1, 2]
13 0 3 3
After: [3, 1, 1, 6]
Before: [2, 3, 2, 1]
11 0 2 1
After: [2, 4, 2, 1]
Before: [0, 0, 2, 1]
4 0 3 1
After: [0, 3, 2, 1]
Before: [2, 3, 1, 2]
13 1 3 3
After: [2, 3, 1, 6]
Before: [1, 3, 3, 2]
9 0 1 1
After: [1, 1, 3, 2]
Before: [2, 0, 3, 2]
13 2 3 0
After: [6, 0, 3, 2]
Before: [0, 0, 2, 0]
3 2 2 2
After: [0, 0, 2, 0]
Before: [2, 2, 3, 3]
0 2 1 3
After: [2, 2, 3, 2]
Before: [1, 0, 3, 2]
8 0 3 0
After: [3, 0, 3, 2]
Before: [0, 2, 3, 2]
6 0 0 1
After: [0, 0, 3, 2]
Before: [0, 0, 2, 0]
6 0 0 0
After: [0, 0, 2, 0]
Before: [0, 2, 3, 1]
0 2 1 3
After: [0, 2, 3, 2]
Before: [1, 2, 1, 2]
4 1 1 0
After: [3, 2, 1, 2]
Before: [2, 1, 1, 2]
2 0 3 0
After: [3, 1, 1, 2]
Before: [0, 2, 1, 3]
6 0 0 2
After: [0, 2, 0, 3]
Before: [1, 0, 0, 1]
15 3 1 2
After: [1, 0, 1, 1]
Before: [2, 3, 3, 0]
10 2 2 1
After: [2, 2, 3, 0]
Before: [0, 1, 3, 1]
10 2 2 3
After: [0, 1, 3, 2]
Before: [0, 0, 0, 2]
6 0 0 2
After: [0, 0, 0, 2]
Before: [1, 2, 2, 1]
8 0 2 2
After: [1, 2, 3, 1]
Before: [2, 3, 3, 3]
0 2 0 0
After: [2, 3, 3, 3]
Before: [0, 3, 1, 2]
9 2 1 2
After: [0, 3, 1, 2]
Before: [0, 1, 2, 3]
5 0 2 1
After: [0, 0, 2, 3]
Before: [0, 3, 0, 3]
6 0 0 0
After: [0, 3, 0, 3]
Before: [0, 2, 2, 1]
13 3 1 2
After: [0, 2, 2, 1]
Before: [1, 3, 1, 3]
3 3 1 0
After: [3, 3, 1, 3]
Before: [3, 3, 2, 3]
10 1 2 2
After: [3, 3, 2, 3]
Before: [2, 2, 0, 3]
4 1 1 0
After: [3, 2, 0, 3]
Before: [1, 1, 2, 3]
10 3 2 2
After: [1, 1, 2, 3]
Before: [0, 2, 2, 1]
11 2 2 3
After: [0, 2, 2, 4]
Before: [0, 1, 0, 2]
4 0 2 1
After: [0, 2, 0, 2]
Before: [3, 1, 3, 0]
10 2 2 1
After: [3, 2, 3, 0]
Before: [3, 3, 1, 1]
9 2 1 3
After: [3, 3, 1, 1]
Before: [1, 3, 0, 3]
3 3 3 3
After: [1, 3, 0, 3]
Before: [3, 0, 2, 1]
8 1 2 2
After: [3, 0, 2, 1]
Before: [1, 0, 1, 3]
3 3 1 2
After: [1, 0, 3, 3]
Before: [3, 2, 3, 2]
1 1 2 1
After: [3, 4, 3, 2]
Before: [1, 0, 0, 1]
12 0 1 3
After: [1, 0, 0, 1]
Before: [3, 0, 2, 3]
1 3 3 2
After: [3, 0, 9, 3]
Before: [3, 2, 3, 2]
13 2 3 3
After: [3, 2, 3, 6]
Before: [0, 0, 3, 3]
1 3 3 1
After: [0, 9, 3, 3]
Before: [0, 2, 1, 3]
1 1 3 3
After: [0, 2, 1, 6]
Before: [3, 1, 2, 3]
10 3 2 3
After: [3, 1, 2, 2]
Before: [1, 3, 2, 0]
9 0 1 1
After: [1, 1, 2, 0]
Before: [1, 0, 3, 1]
12 0 1 3
After: [1, 0, 3, 1]
Before: [0, 2, 2, 3]
11 1 2 1
After: [0, 4, 2, 3]
Before: [2, 0, 3, 0]
10 2 2 1
After: [2, 2, 3, 0]
Before: [2, 1, 1, 2]
8 1 3 3
After: [2, 1, 1, 3]
Before: [0, 0, 0, 0]
6 0 0 3
After: [0, 0, 0, 0]
Before: [0, 0, 1, 0]
6 0 0 3
After: [0, 0, 1, 0]
Before: [0, 1, 1, 0]
4 2 2 0
After: [3, 1, 1, 0]
Before: [1, 0, 2, 1]
12 0 1 0
After: [1, 0, 2, 1]
Before: [2, 3, 1, 3]
3 3 1 1
After: [2, 3, 1, 3]
Before: [1, 0, 0, 3]
3 3 1 0
After: [3, 0, 0, 3]
Before: [0, 3, 3, 3]
4 0 1 0
After: [1, 3, 3, 3]
Before: [1, 3, 2, 0]
3 2 2 3
After: [1, 3, 2, 2]
Before: [3, 1, 0, 2]
14 3 1 0
After: [3, 1, 0, 2]
Before: [0, 2, 3, 3]
0 2 1 1
After: [0, 2, 3, 3]
Before: [3, 2, 3, 2]
10 2 2 3
After: [3, 2, 3, 2]
Before: [1, 1, 2, 1]
8 2 1 3
After: [1, 1, 2, 3]
Before: [0, 3, 2, 3]
10 3 2 2
After: [0, 3, 2, 3]
Before: [0, 3, 1, 0]
6 0 0 2
After: [0, 3, 0, 0]
Before: [3, 0, 1, 1]
15 3 1 0
After: [1, 0, 1, 1]
Before: [1, 2, 3, 3]
0 2 1 1
After: [1, 2, 3, 3]
Before: [0, 0, 3, 1]
10 2 2 0
After: [2, 0, 3, 1]
Before: [0, 1, 3, 1]
6 0 0 1
After: [0, 0, 3, 1]
Before: [0, 2, 0, 1]
6 0 0 1
After: [0, 0, 0, 1]
Before: [1, 0, 2, 1]
15 3 1 2
After: [1, 0, 1, 1]
Before: [1, 2, 0, 3]
13 0 1 2
After: [1, 2, 2, 3]
Before: [1, 0, 2, 0]
12 0 1 2
After: [1, 0, 1, 0]
Before: [3, 3, 0, 2]
13 0 3 0
After: [6, 3, 0, 2]
Before: [1, 2, 2, 1]
11 1 2 1
After: [1, 4, 2, 1]
Before: [0, 3, 3, 0]
5 0 1 1
After: [0, 0, 3, 0]
Before: [1, 1, 2, 2]
14 3 1 0
After: [3, 1, 2, 2]
Before: [0, 2, 2, 2]
11 1 2 3
After: [0, 2, 2, 4]
Before: [2, 1, 3, 3]
1 3 3 1
After: [2, 9, 3, 3]
Before: [0, 2, 3, 0]
2 1 3 3
After: [0, 2, 3, 3]
Before: [1, 2, 0, 2]
4 1 1 1
After: [1, 3, 0, 2]
Before: [1, 0, 0, 1]
12 0 1 0
After: [1, 0, 0, 1]
Before: [1, 1, 0, 0]
7 3 1 2
After: [1, 1, 1, 0]
Before: [2, 1, 0, 0]
7 3 1 1
After: [2, 1, 0, 0]
Before: [2, 3, 0, 3]
3 3 1 0
After: [3, 3, 0, 3]
Before: [2, 0, 2, 1]
14 3 2 3
After: [2, 0, 2, 3]
Before: [2, 3, 2, 3]
11 0 2 2
After: [2, 3, 4, 3]
Before: [2, 0, 2, 1]
11 0 2 3
After: [2, 0, 2, 4]
Before: [3, 3, 3, 2]
13 2 3 0
After: [6, 3, 3, 2]
Before: [2, 2, 2, 1]
3 2 2 2
After: [2, 2, 2, 1]
Before: [0, 1, 2, 3]
10 3 2 3
After: [0, 1, 2, 2]
Before: [0, 3, 2, 3]
5 0 2 1
After: [0, 0, 2, 3]
Before: [1, 0, 0, 2]
12 0 1 3
After: [1, 0, 0, 1]
Before: [2, 1, 0, 1]
7 2 1 2
After: [2, 1, 1, 1]
Before: [2, 0, 2, 1]
15 3 1 3
After: [2, 0, 2, 1]
Before: [3, 2, 2, 1]
11 1 2 1
After: [3, 4, 2, 1]
Before: [0, 1, 1, 2]
14 3 1 0
After: [3, 1, 1, 2]
Before: [2, 2, 1, 2]
2 1 3 1
After: [2, 3, 1, 2]
Before: [1, 1, 2, 0]
1 0 3 1
After: [1, 3, 2, 0]
Before: [0, 0, 2, 2]
8 1 2 3
After: [0, 0, 2, 2]
Before: [1, 0, 3, 0]
12 0 1 3
After: [1, 0, 3, 1]
Before: [3, 0, 1, 2]
15 2 1 1
After: [3, 1, 1, 2]
Before: [0, 3, 1, 3]
6 0 0 1
After: [0, 0, 1, 3]
Before: [0, 1, 2, 0]
5 0 2 1
After: [0, 0, 2, 0]
Before: [0, 0, 3, 0]
6 0 0 2
After: [0, 0, 0, 0]
Before: [1, 1, 2, 0]
7 3 1 2
After: [1, 1, 1, 0]
Before: [0, 2, 2, 2]
11 2 2 0
After: [4, 2, 2, 2]
Before: [0, 2, 1, 3]
3 3 0 0
After: [3, 2, 1, 3]
Before: [1, 2, 3, 1]
0 2 1 3
After: [1, 2, 3, 2]
Before: [2, 1, 0, 2]
7 2 1 3
After: [2, 1, 0, 1]
Before: [3, 0, 1, 2]
13 0 3 0
After: [6, 0, 1, 2]
Before: [2, 2, 3, 2]
0 2 0 3
After: [2, 2, 3, 2]
Before: [0, 2, 1, 3]
5 0 3 1
After: [0, 0, 1, 3]
Before: [2, 1, 2, 0]
8 3 2 0
After: [2, 1, 2, 0]
Before: [2, 2, 0, 1]
9 3 1 2
After: [2, 2, 1, 1]
Before: [1, 1, 1, 0]
1 2 3 1
After: [1, 3, 1, 0]
Before: [2, 0, 2, 0]
5 1 0 3
After: [2, 0, 2, 0]
Before: [0, 2, 1, 2]
6 0 0 1
After: [0, 0, 1, 2]
Before: [0, 1, 1, 2]
6 0 0 3
After: [0, 1, 1, 0]
Before: [3, 0, 3, 3]
10 2 2 0
After: [2, 0, 3, 3]
Before: [0, 3, 2, 2]
1 1 2 2
After: [0, 3, 6, 2]
Before: [3, 3, 2, 0]
10 1 2 3
After: [3, 3, 2, 2]
Before: [2, 3, 1, 3]
8 2 3 2
After: [2, 3, 3, 3]
Before: [1, 0, 0, 1]
12 0 1 1
After: [1, 1, 0, 1]
Before: [1, 0, 0, 2]
12 0 1 0
After: [1, 0, 0, 2]
Before: [1, 3, 1, 2]
13 1 3 0
After: [6, 3, 1, 2]
Before: [3, 1, 0, 2]
7 2 1 2
After: [3, 1, 1, 2]
Before: [3, 0, 1, 1]
5 1 0 2
After: [3, 0, 0, 1]
Before: [3, 1, 2, 0]
11 2 2 2
After: [3, 1, 4, 0]
Before: [3, 3, 3, 2]
0 2 3 2
After: [3, 3, 2, 2]
Before: [1, 3, 3, 3]
10 2 2 1
After: [1, 2, 3, 3]
Before: [0, 0, 1, 0]
15 2 1 1
After: [0, 1, 1, 0]
Before: [3, 2, 1, 1]
9 3 1 3
After: [3, 2, 1, 1]
Before: [0, 3, 1, 0]
9 2 1 2
After: [0, 3, 1, 0]
Before: [0, 1, 3, 3]
10 2 2 3
After: [0, 1, 3, 2]
Before: [1, 2, 1, 0]
2 1 3 3
After: [1, 2, 1, 3]
Before: [0, 1, 3, 2]
14 3 1 0
After: [3, 1, 3, 2]
Before: [3, 1, 2, 0]
1 1 2 1
After: [3, 2, 2, 0]
Before: [1, 0, 0, 0]
12 0 1 3
After: [1, 0, 0, 1]
Before: [0, 1, 2, 1]
1 1 3 1
After: [0, 3, 2, 1]
Before: [3, 2, 2, 1]
11 2 2 3
After: [3, 2, 2, 4]
Before: [3, 0, 2, 0]
8 1 2 1
After: [3, 2, 2, 0]
Before: [1, 0, 1, 3]
15 2 1 0
After: [1, 0, 1, 3]
Before: [0, 2, 2, 2]
8 0 2 2
After: [0, 2, 2, 2]
Before: [3, 0, 2, 1]
11 2 2 2
After: [3, 0, 4, 1]
Before: [3, 2, 3, 1]
14 3 2 2
After: [3, 2, 3, 1]
Before: [0, 2, 1, 1]
6 0 0 1
After: [0, 0, 1, 1]
Before: [3, 2, 0, 1]
9 3 1 2
After: [3, 2, 1, 1]
Before: [2, 0, 3, 1]
15 3 1 3
After: [2, 0, 3, 1]
Before: [0, 1, 0, 3]
6 0 0 3
After: [0, 1, 0, 0]
Before: [1, 0, 2, 3]
1 0 2 1
After: [1, 2, 2, 3]
Before: [1, 3, 3, 2]
0 2 3 2
After: [1, 3, 2, 2]
Before: [0, 0, 1, 3]
6 0 0 3
After: [0, 0, 1, 0]
Before: [3, 3, 2, 0]
11 2 2 0
After: [4, 3, 2, 0]
Before: [0, 0, 0, 3]
4 0 2 2
After: [0, 0, 2, 3]
Before: [0, 3, 2, 2]
11 2 2 0
After: [4, 3, 2, 2]
Before: [2, 3, 1, 3]
1 3 3 0
After: [9, 3, 1, 3]
Before: [2, 0, 3, 3]
0 2 0 2
After: [2, 0, 2, 3]
Before: [2, 3, 0, 2]
4 2 3 2
After: [2, 3, 3, 2]
Before: [0, 2, 3, 3]
5 0 1 2
After: [0, 2, 0, 3]
Before: [1, 0, 3, 1]
10 2 2 2
After: [1, 0, 2, 1]
Before: [2, 0, 0, 3]
1 0 3 3
After: [2, 0, 0, 6]
Before: [1, 3, 3, 0]
9 0 1 1
After: [1, 1, 3, 0]
Before: [0, 3, 1, 2]
6 0 0 3
After: [0, 3, 1, 0]
Before: [0, 0, 2, 0]
11 2 2 2
After: [0, 0, 4, 0]
Before: [2, 1, 3, 2]
13 2 3 0
After: [6, 1, 3, 2]
Before: [1, 0, 3, 2]
12 0 1 2
After: [1, 0, 1, 2]
Before: [3, 1, 3, 2]
13 2 3 3
After: [3, 1, 3, 6]
Before: [0, 3, 2, 0]
4 0 1 3
After: [0, 3, 2, 1]
Before: [3, 3, 2, 2]
10 0 2 2
After: [3, 3, 2, 2]
Before: [0, 2, 2, 0]
8 0 2 1
After: [0, 2, 2, 0]
Before: [0, 0, 0, 3]
5 0 3 2
After: [0, 0, 0, 3]
Before: [2, 2, 3, 1]
0 2 0 2
After: [2, 2, 2, 1]
Before: [1, 0, 2, 1]
14 3 2 3
After: [1, 0, 2, 3]
Before: [1, 0, 2, 2]
12 0 1 0
After: [1, 0, 2, 2]
Before: [3, 0, 3, 0]
10 2 2 3
After: [3, 0, 3, 2]
Before: [0, 1, 0, 1]
7 2 1 0
After: [1, 1, 0, 1]
Before: [0, 1, 0, 0]
7 2 1 3
After: [0, 1, 0, 1]
Before: [1, 1, 0, 3]
1 3 3 1
After: [1, 9, 0, 3]
Before: [3, 0, 1, 0]
15 2 1 1
After: [3, 1, 1, 0]
Before: [0, 3, 0, 3]
5 0 3 0
After: [0, 3, 0, 3]
Before: [3, 1, 0, 1]
7 2 1 3
After: [3, 1, 0, 1]
Before: [0, 3, 3, 1]
5 0 3 2
After: [0, 3, 0, 1]
Before: [1, 1, 2, 1]
14 3 2 3
After: [1, 1, 2, 3]
Before: [1, 2, 2, 0]
11 1 2 1
After: [1, 4, 2, 0]
Before: [2, 2, 1, 3]
1 1 3 2
After: [2, 2, 6, 3]
Before: [0, 2, 1, 0]
6 0 0 0
After: [0, 2, 1, 0]
Before: [0, 0, 3, 3]
6 0 0 3
After: [0, 0, 3, 0]
Before: [0, 0, 3, 1]
14 3 2 0
After: [3, 0, 3, 1]
Before: [0, 0, 2, 1]
6 0 0 2
After: [0, 0, 0, 1]
Before: [1, 0, 2, 1]
14 3 2 2
After: [1, 0, 3, 1]
Before: [0, 2, 2, 1]
11 2 2 0
After: [4, 2, 2, 1]
Before: [3, 0, 3, 3]
10 2 2 1
After: [3, 2, 3, 3]
Before: [2, 0, 1, 0]
2 0 3 0
After: [3, 0, 1, 0]
Before: [3, 3, 2, 3]
3 3 1 0
After: [3, 3, 2, 3]
Before: [1, 3, 2, 1]
14 3 2 2
After: [1, 3, 3, 1]
Before: [3, 0, 3, 2]
0 2 3 1
After: [3, 2, 3, 2]
Before: [0, 0, 0, 1]
15 3 1 2
After: [0, 0, 1, 1]
Before: [1, 1, 3, 1]
14 3 2 0
After: [3, 1, 3, 1]
Before: [0, 2, 3, 2]
5 0 1 1
After: [0, 0, 3, 2]
Before: [3, 1, 3, 3]
1 2 3 3
After: [3, 1, 3, 9]
Before: [2, 0, 1, 1]
1 2 3 2
After: [2, 0, 3, 1]
Before: [1, 0, 2, 3]
10 3 2 2
After: [1, 0, 2, 3]
Before: [0, 2, 1, 2]
4 0 3 2
After: [0, 2, 3, 2]
Before: [0, 3, 2, 0]
3 2 0 0
After: [2, 3, 2, 0]
Before: [3, 2, 2, 2]
11 1 2 3
After: [3, 2, 2, 4]
Before: [1, 0, 1, 2]
15 2 1 3
After: [1, 0, 1, 1]
Before: [2, 1, 1, 2]
14 3 1 0
After: [3, 1, 1, 2]
Before: [1, 3, 2, 3]
11 2 2 3
After: [1, 3, 2, 4]
Before: [0, 2, 2, 1]
3 2 2 3
After: [0, 2, 2, 2]
Before: [1, 0, 2, 3]
12 0 1 1
After: [1, 1, 2, 3]
Before: [1, 3, 0, 3]
8 2 3 1
After: [1, 3, 0, 3]
Before: [0, 2, 2, 3]
10 3 2 2
After: [0, 2, 2, 3]
Before: [0, 1, 3, 2]
5 0 3 1
After: [0, 0, 3, 2]
Before: [3, 1, 1, 2]
8 1 3 1
After: [3, 3, 1, 2]
Before: [2, 3, 1, 3]
1 0 3 2
After: [2, 3, 6, 3]
Before: [2, 0, 3, 1]
14 3 2 0
After: [3, 0, 3, 1]
Before: [1, 2, 2, 1]
13 0 1 0
After: [2, 2, 2, 1]
Before: [1, 2, 3, 3]
10 2 2 2
After: [1, 2, 2, 3]
Before: [3, 1, 0, 0]
7 2 1 3
After: [3, 1, 0, 1]
Before: [2, 3, 2, 2]
13 1 3 0
After: [6, 3, 2, 2]
Before: [0, 1, 3, 3]
10 2 2 2
After: [0, 1, 2, 3]
Before: [2, 1, 2, 2]
14 3 1 0
After: [3, 1, 2, 2]
Before: [2, 3, 3, 2]
0 2 3 3
After: [2, 3, 3, 2]
Before: [2, 3, 0, 1]
4 2 3 1
After: [2, 3, 0, 1]
Before: [0, 1, 2, 0]
4 0 3 1
After: [0, 3, 2, 0]
Before: [0, 1, 2, 0]
6 0 0 2
After: [0, 1, 0, 0]
Before: [2, 1, 0, 2]
2 0 3 3
After: [2, 1, 0, 3]
Before: [0, 3, 3, 0]
4 0 2 1
After: [0, 2, 3, 0]
Before: [0, 1, 3, 3]
3 3 0 0
After: [3, 1, 3, 3]
Before: [3, 1, 1, 0]
7 3 1 0
After: [1, 1, 1, 0]
Before: [1, 3, 1, 1]
9 0 1 1
After: [1, 1, 1, 1]
Before: [0, 2, 0, 1]
9 3 1 2
After: [0, 2, 1, 1]
Before: [0, 0, 2, 3]
11 2 2 3
After: [0, 0, 2, 4]
Before: [1, 2, 2, 1]
1 0 2 1
After: [1, 2, 2, 1]
Before: [0, 2, 2, 2]
11 3 2 2
After: [0, 2, 4, 2]
Before: [0, 1, 1, 0]
7 3 1 3
After: [0, 1, 1, 1]
Before: [2, 3, 2, 0]
11 2 2 3
After: [2, 3, 2, 4]
Before: [2, 0, 2, 0]
2 0 3 1
After: [2, 3, 2, 0]
Before: [0, 3, 3, 3]
6 0 0 0
After: [0, 3, 3, 3]
Before: [1, 1, 3, 1]
8 1 2 1
After: [1, 3, 3, 1]
Before: [2, 3, 0, 3]
8 2 3 1
After: [2, 3, 0, 3]
Before: [2, 2, 3, 2]
0 2 3 2
After: [2, 2, 2, 2]
Before: [1, 2, 1, 1]
13 0 1 1
After: [1, 2, 1, 1]
Before: [2, 3, 2, 2]
2 2 3 1
After: [2, 3, 2, 2]
Before: [0, 1, 2, 0]
3 2 0 2
After: [0, 1, 2, 0]
Before: [1, 3, 0, 3]
9 0 1 0
After: [1, 3, 0, 3]
Before: [1, 1, 0, 3]
7 2 1 1
After: [1, 1, 0, 3]
Before: [1, 0, 2, 1]
12 0 1 1
After: [1, 1, 2, 1]
Before: [0, 0, 2, 0]
8 0 2 1
After: [0, 2, 2, 0]
Before: [0, 2, 1, 0]
5 0 1 3
After: [0, 2, 1, 0]
Before: [1, 2, 3, 0]
8 0 2 0
After: [3, 2, 3, 0]
Before: [1, 0, 2, 2]
12 0 1 2
After: [1, 0, 1, 2]
Before: [2, 3, 2, 0]
2 2 3 1
After: [2, 3, 2, 0]
Before: [1, 3, 3, 2]
13 1 3 1
After: [1, 6, 3, 2]
Before: [2, 0, 2, 1]
15 3 1 1
After: [2, 1, 2, 1]
Before: [0, 3, 1, 3]
9 2 1 2
After: [0, 3, 1, 3]
Before: [3, 3, 1, 0]
4 3 2 1
After: [3, 2, 1, 0]
Before: [2, 1, 0, 2]
7 2 1 2
After: [2, 1, 1, 2]
Before: [0, 2, 2, 3]
4 0 1 2
After: [0, 2, 1, 3]
Before: [2, 0, 2, 1]
5 1 0 0
After: [0, 0, 2, 1]
Before: [2, 0, 3, 0]
0 2 0 1
After: [2, 2, 3, 0]
Before: [1, 3, 2, 3]
9 0 1 2
After: [1, 3, 1, 3]
Before: [3, 1, 1, 3]
3 3 1 2
After: [3, 1, 3, 3]
Before: [0, 1, 0, 2]
14 3 1 2
After: [0, 1, 3, 2]
Before: [3, 0, 1, 2]
15 2 1 0
After: [1, 0, 1, 2]
Before: [2, 2, 2, 3]
10 3 2 0
After: [2, 2, 2, 3]
Before: [1, 2, 0, 1]
13 3 1 0
After: [2, 2, 0, 1]
Before: [0, 3, 0, 3]
6 0 0 2
After: [0, 3, 0, 3]
Before: [0, 2, 2, 1]
14 3 2 3
After: [0, 2, 2, 3]
Before: [2, 1, 0, 3]
7 2 1 3
After: [2, 1, 0, 1]
Before: [0, 1, 0, 3]
7 2 1 0
After: [1, 1, 0, 3]
Before: [3, 0, 2, 3]
1 2 3 1
After: [3, 6, 2, 3]
Before: [0, 2, 3, 2]
5 0 3 3
After: [0, 2, 3, 0]
Before: [1, 3, 3, 2]
13 1 3 0
After: [6, 3, 3, 2]
Before: [1, 1, 1, 3]
1 3 3 2
After: [1, 1, 9, 3]
Before: [3, 2, 2, 0]
4 1 1 0
After: [3, 2, 2, 0]
Before: [1, 1, 3, 2]
0 2 3 1
After: [1, 2, 3, 2]
Before: [1, 0, 2, 0]
12 0 1 1
After: [1, 1, 2, 0]
Before: [0, 0, 2, 1]
14 3 2 2
After: [0, 0, 3, 1]
Before: [3, 1, 3, 0]
4 3 2 1
After: [3, 2, 3, 0]
Before: [2, 0, 0, 3]
1 0 2 0
After: [4, 0, 0, 3]
Before: [1, 2, 3, 0]
13 0 1 1
After: [1, 2, 3, 0]
Before: [0, 1, 3, 0]
7 3 1 2
After: [0, 1, 1, 0]
Before: [0, 1, 2, 0]
2 2 3 0
After: [3, 1, 2, 0]
Before: [1, 0, 3, 2]
0 2 3 3
After: [1, 0, 3, 2]
Before: [1, 3, 2, 3]
1 1 3 2
After: [1, 3, 9, 3]
Before: [1, 0, 2, 3]
12 0 1 3
After: [1, 0, 2, 1]
Before: [3, 2, 2, 2]
2 1 3 3
After: [3, 2, 2, 3]
Before: [0, 1, 0, 1]
7 2 1 3
After: [0, 1, 0, 1]
Before: [3, 0, 2, 3]
10 0 2 0
After: [2, 0, 2, 3]
Before: [0, 3, 3, 3]
5 0 3 1
After: [0, 0, 3, 3]
Before: [2, 1, 3, 1]
0 2 0 2
After: [2, 1, 2, 1]
Before: [2, 1, 2, 1]
3 2 0 2
After: [2, 1, 2, 1]
Before: [1, 2, 0, 0]
2 1 3 3
After: [1, 2, 0, 3]
Before: [3, 0, 0, 1]
15 3 1 0
After: [1, 0, 0, 1]
Before: [2, 2, 3, 0]
10 2 2 2
After: [2, 2, 2, 0]
Before: [1, 1, 3, 0]
8 0 2 3
After: [1, 1, 3, 3]
Before: [2, 1, 2, 2]
14 3 1 2
After: [2, 1, 3, 2]
Before: [3, 1, 2, 2]
11 3 2 3
After: [3, 1, 2, 4]
Before: [1, 1, 3, 0]
10 2 2 3
After: [1, 1, 3, 2]
Before: [1, 2, 0, 1]
9 3 1 0
After: [1, 2, 0, 1]
Before: [1, 3, 3, 2]
13 1 3 2
After: [1, 3, 6, 2]
Before: [3, 3, 3, 2]
13 2 3 3
After: [3, 3, 3, 6]
Before: [2, 1, 0, 2]
7 2 1 1
After: [2, 1, 0, 2]
Before: [3, 2, 3, 1]
0 2 1 2
After: [3, 2, 2, 1]
Before: [0, 0, 1, 1]
5 0 3 2
After: [0, 0, 0, 1]
Before: [0, 1, 1, 0]
5 0 1 1
After: [0, 0, 1, 0]
Before: [3, 1, 0, 1]
7 2 1 0
After: [1, 1, 0, 1]
Before: [1, 1, 1, 3]
8 2 3 3
After: [1, 1, 1, 3]
Before: [1, 0, 2, 1]
12 0 1 2
After: [1, 0, 1, 1]
Before: [2, 2, 1, 0]
2 0 3 3
After: [2, 2, 1, 3]
Before: [3, 0, 2, 2]
3 2 2 2
After: [3, 0, 2, 2]
Before: [0, 2, 0, 0]
2 1 3 3
After: [0, 2, 0, 3]
Before: [2, 2, 2, 1]
14 3 2 1
After: [2, 3, 2, 1]
Before: [0, 1, 2, 3]
11 2 2 1
After: [0, 4, 2, 3]
Before: [3, 2, 0, 0]
4 1 1 1
After: [3, 3, 0, 0]
Before: [1, 1, 3, 3]
8 1 3 1
After: [1, 3, 3, 3]
Before: [1, 0, 3, 2]
8 0 2 3
After: [1, 0, 3, 3]
Before: [3, 1, 2, 3]
11 2 2 0
After: [4, 1, 2, 3]
Before: [3, 1, 2, 1]
10 0 2 1
After: [3, 2, 2, 1]
Before: [3, 1, 2, 1]
3 2 2 0
After: [2, 1, 2, 1]
Before: [0, 1, 0, 0]
6 0 0 2
After: [0, 1, 0, 0]
Before: [1, 0, 1, 2]
8 2 3 0
After: [3, 0, 1, 2]
Before: [3, 0, 3, 2]
13 0 3 1
After: [3, 6, 3, 2]
Before: [1, 2, 2, 1]
11 1 2 3
After: [1, 2, 2, 4]
Before: [0, 2, 0, 3]
6 0 0 3
After: [0, 2, 0, 0]
Before: [1, 0, 3, 3]
12 0 1 2
After: [1, 0, 1, 3]
Before: [0, 1, 2, 2]
6 0 0 3
After: [0, 1, 2, 0]
Before: [2, 2, 0, 0]
2 1 3 3
After: [2, 2, 0, 3]
Before: [0, 1, 3, 2]
6 0 0 0
After: [0, 1, 3, 2]
Before: [3, 0, 3, 1]
15 3 1 1
After: [3, 1, 3, 1]
Before: [0, 0, 2, 1]
14 3 2 3
After: [0, 0, 2, 3]
Before: [0, 3, 0, 1]
6 0 0 3
After: [0, 3, 0, 0]
Before: [1, 3, 1, 1]
9 2 1 1
After: [1, 1, 1, 1]
Before: [1, 0, 1, 0]
12 0 1 3
After: [1, 0, 1, 1]
Before: [3, 0, 1, 1]
1 2 3 3
After: [3, 0, 1, 3]
Before: [3, 3, 3, 1]
14 3 2 0
After: [3, 3, 3, 1]
Before: [2, 2, 1, 1]
9 3 1 3
After: [2, 2, 1, 1]
Before: [1, 1, 3, 2]
14 3 1 2
After: [1, 1, 3, 2]
Before: [1, 0, 2, 2]
1 0 2 3
After: [1, 0, 2, 2]
Before: [1, 2, 3, 3]
4 1 1 1
After: [1, 3, 3, 3]
Before: [2, 2, 3, 1]
9 3 1 0
After: [1, 2, 3, 1]
Before: [2, 2, 3, 0]
0 2 0 0
After: [2, 2, 3, 0]
Before: [0, 1, 3, 1]
10 2 2 1
After: [0, 2, 3, 1]
Before: [3, 1, 2, 3]
8 2 1 1
After: [3, 3, 2, 3]
Before: [1, 0, 0, 3]
12 0 1 0
After: [1, 0, 0, 3]
Before: [1, 0, 1, 0]
12 0 1 1
After: [1, 1, 1, 0]
Before: [2, 2, 2, 2]
2 0 3 1
After: [2, 3, 2, 2]
Before: [2, 1, 3, 0]
7 3 1 3
After: [2, 1, 3, 1]
Before: [3, 2, 2, 0]
11 1 2 2
After: [3, 2, 4, 0]
Before: [1, 0, 1, 3]
3 3 0 2
After: [1, 0, 3, 3]
Before: [3, 3, 3, 1]
10 2 2 0
After: [2, 3, 3, 1]
Before: [2, 0, 1, 1]
15 2 1 0
After: [1, 0, 1, 1]
Before: [2, 0, 2, 2]
11 2 2 3
After: [2, 0, 2, 4]
Before: [0, 0, 1, 1]
15 3 1 0
After: [1, 0, 1, 1]
Before: [3, 2, 3, 0]
2 1 3 3
After: [3, 2, 3, 3]
Before: [2, 1, 1, 2]
1 0 2 3
After: [2, 1, 1, 4]
Before: [3, 2, 3, 1]
10 2 2 1
After: [3, 2, 3, 1]
Before: [2, 2, 3, 2]
13 2 3 0
After: [6, 2, 3, 2]
Before: [1, 3, 2, 1]
14 3 2 0
After: [3, 3, 2, 1]
Before: [1, 0, 0, 3]
8 0 3 3
After: [1, 0, 0, 3]
Before: [3, 1, 1, 2]
14 3 1 2
After: [3, 1, 3, 2]
Before: [2, 3, 0, 3]
1 3 3 3
After: [2, 3, 0, 9]
Before: [0, 3, 1, 3]
3 3 3 3
After: [0, 3, 1, 3]
Before: [0, 2, 0, 1]
9 3 1 0
After: [1, 2, 0, 1]
Before: [1, 2, 2, 1]
1 0 2 3
After: [1, 2, 2, 2]
Before: [2, 0, 1, 0]
15 2 1 3
After: [2, 0, 1, 1]
Before: [0, 1, 2, 3]
10 3 2 2
After: [0, 1, 2, 3]
Before: [1, 1, 3, 2]
14 3 1 0
After: [3, 1, 3, 2]
Before: [0, 0, 1, 3]
15 2 1 0
After: [1, 0, 1, 3]
Before: [0, 1, 0, 1]
5 0 1 0
After: [0, 1, 0, 1]
Before: [3, 0, 3, 2]
13 0 3 3
After: [3, 0, 3, 6]
Before: [2, 3, 3, 1]
14 3 2 1
After: [2, 3, 3, 1]
Before: [3, 0, 3, 1]
15 3 1 0
After: [1, 0, 3, 1]
Before: [0, 2, 2, 3]
5 0 1 1
After: [0, 0, 2, 3]
Before: [0, 3, 1, 0]
4 0 3 0
After: [3, 3, 1, 0]
Before: [1, 0, 2, 3]
12 0 1 2
After: [1, 0, 1, 3]
Before: [3, 0, 1, 1]
15 3 1 3
After: [3, 0, 1, 1]
Before: [0, 3, 3, 3]
5 0 2 2
After: [0, 3, 0, 3]
Before: [2, 0, 0, 3]
4 1 2 3
After: [2, 0, 0, 2]
Before: [1, 3, 1, 0]
9 0 1 3
After: [1, 3, 1, 1]
Before: [0, 0, 1, 2]
15 2 1 0
After: [1, 0, 1, 2]
Before: [1, 0, 0, 3]
8 0 3 0
After: [3, 0, 0, 3]
Before: [0, 2, 3, 2]
10 2 2 0
After: [2, 2, 3, 2]
Before: [0, 1, 0, 2]
5 0 3 0
After: [0, 1, 0, 2]
Before: [0, 0, 3, 0]
5 0 2 0
After: [0, 0, 3, 0]
Before: [3, 2, 2, 2]
13 0 3 0
After: [6, 2, 2, 2]
Before: [3, 0, 2, 1]
4 2 1 1
After: [3, 3, 2, 1]
Before: [1, 3, 3, 1]
9 0 1 2
After: [1, 3, 1, 1]
Before: [1, 0, 3, 3]
3 3 0 2
After: [1, 0, 3, 3]
Before: [0, 1, 0, 2]
14 3 1 1
After: [0, 3, 0, 2]
Before: [0, 0, 2, 3]
4 2 1 3
After: [0, 0, 2, 3]
Before: [1, 2, 2, 3]
13 0 1 3
After: [1, 2, 2, 2]
Before: [1, 1, 2, 0]
8 0 2 1
After: [1, 3, 2, 0]
Before: [0, 0, 2, 2]
6 0 0 1
After: [0, 0, 2, 2]
Before: [2, 2, 2, 3]
3 2 2 3
After: [2, 2, 2, 2]
Before: [3, 0, 2, 2]
13 0 3 2
After: [3, 0, 6, 2]
Before: [0, 2, 0, 2]
5 0 1 3
After: [0, 2, 0, 0]
Before: [2, 0, 0, 3]
3 3 3 3
After: [2, 0, 0, 3]
Before: [1, 3, 2, 1]
10 1 2 0
After: [2, 3, 2, 1]
Before: [0, 1, 3, 2]
0 2 3 0
After: [2, 1, 3, 2]
Before: [2, 0, 1, 3]
1 0 3 1
After: [2, 6, 1, 3]
Before: [0, 3, 1, 2]
6 0 0 2
After: [0, 3, 0, 2]
Before: [3, 1, 3, 0]
10 2 2 2
After: [3, 1, 2, 0]
Before: [3, 1, 3, 2]
14 3 1 1
After: [3, 3, 3, 2]
Before: [0, 1, 3, 2]
0 2 3 3
After: [0, 1, 3, 2]
Before: [0, 1, 2, 1]
11 2 2 3
After: [0, 1, 2, 4]
Before: [0, 2, 1, 0]
4 2 2 0
After: [3, 2, 1, 0]
Before: [1, 1, 3, 1]
14 3 2 1
After: [1, 3, 3, 1]
Before: [3, 3, 3, 3]
1 1 3 3
After: [3, 3, 3, 9]
Before: [2, 3, 1, 1]
9 2 1 0
After: [1, 3, 1, 1]
Before: [2, 1, 3, 2]
2 0 3 3
After: [2, 1, 3, 3]
Before: [0, 1, 0, 2]
8 1 3 3
After: [0, 1, 0, 3]
Before: [2, 3, 3, 2]
13 2 3 2
After: [2, 3, 6, 2]
Before: [2, 3, 1, 2]
9 2 1 2
After: [2, 3, 1, 2]
Before: [3, 2, 2, 0]
2 1 3 2
After: [3, 2, 3, 0]
Before: [3, 2, 1, 1]
13 3 1 0
After: [2, 2, 1, 1]
Before: [0, 0, 1, 3]
15 2 1 1
After: [0, 1, 1, 3]
Before: [1, 3, 2, 1]
9 0 1 0
After: [1, 3, 2, 1]
Before: [0, 0, 1, 2]
5 0 2 0
After: [0, 0, 1, 2]
Before: [0, 1, 3, 1]
6 0 0 3
After: [0, 1, 3, 0]
Before: [3, 1, 3, 0]
7 3 1 2
After: [3, 1, 1, 0]
Before: [0, 3, 2, 1]
1 1 2 1
After: [0, 6, 2, 1]
Before: [0, 2, 1, 3]
3 3 3 3
After: [0, 2, 1, 3]
Before: [0, 0, 3, 3]
5 0 2 2
After: [0, 0, 0, 3]
Before: [0, 2, 2, 0]
3 2 2 3
After: [0, 2, 2, 2]
Before: [2, 0, 1, 0]
15 2 1 2
After: [2, 0, 1, 0]
Before: [3, 2, 2, 3]
3 3 3 0
After: [3, 2, 2, 3]
Before: [1, 0, 3, 0]
12 0 1 2
After: [1, 0, 1, 0]
Before: [0, 1, 2, 0]
7 3 1 1
After: [0, 1, 2, 0]
Before: [2, 0, 3, 1]
0 2 0 1
After: [2, 2, 3, 1]
Before: [3, 3, 2, 2]
11 2 2 2
After: [3, 3, 4, 2]
Before: [0, 0, 2, 3]
6 0 0 0
After: [0, 0, 2, 3]
Before: [0, 3, 0, 2]
6 0 0 2
After: [0, 3, 0, 2]
Before: [2, 1, 0, 2]
2 0 3 2
After: [2, 1, 3, 2]
Before: [0, 3, 1, 0]
5 0 1 2
After: [0, 3, 0, 0]
Before: [3, 1, 1, 1]
1 1 3 2
After: [3, 1, 3, 1]
Before: [2, 0, 3, 1]
0 2 0 3
After: [2, 0, 3, 2]
Before: [1, 0, 1, 1]
15 3 1 3
After: [1, 0, 1, 1]
Before: [1, 0, 2, 1]
12 0 1 3
After: [1, 0, 2, 1]
Before: [3, 2, 2, 3]
11 2 2 1
After: [3, 4, 2, 3]
Before: [1, 3, 0, 0]
9 0 1 1
After: [1, 1, 0, 0]
Before: [2, 1, 2, 0]
7 3 1 0
After: [1, 1, 2, 0]
Before: [0, 3, 0, 3]
3 3 1 1
After: [0, 3, 0, 3]
Before: [0, 1, 1, 3]
8 2 3 2
After: [0, 1, 3, 3]
Before: [2, 1, 0, 3]
7 2 1 1
After: [2, 1, 0, 3]
Before: [2, 2, 3, 1]
0 2 1 3
After: [2, 2, 3, 2]
Before: [1, 0, 1, 1]
12 0 1 1
After: [1, 1, 1, 1]
Before: [0, 3, 1, 0]
9 2 1 3
After: [0, 3, 1, 1]
Before: [1, 0, 3, 0]
12 0 1 0
After: [1, 0, 3, 0]
Before: [0, 0, 3, 2]
4 0 2 1
After: [0, 2, 3, 2]
Before: [0, 0, 1, 1]
15 2 1 2
After: [0, 0, 1, 1]
Before: [2, 2, 2, 2]
2 2 3 0
After: [3, 2, 2, 2]
Before: [0, 0, 1, 1]
15 3 1 3
After: [0, 0, 1, 1]
Before: [1, 0, 3, 3]
3 3 3 1
After: [1, 3, 3, 3]
Before: [2, 0, 2, 2]
2 2 3 3
After: [2, 0, 2, 3]
Before: [0, 1, 0, 1]
7 2 1 1
After: [0, 1, 0, 1]
Before: [0, 2, 3, 1]
10 2 2 3
After: [0, 2, 3, 2]
Before: [1, 0, 1, 2]
12 0 1 2
After: [1, 0, 1, 2]
Before: [3, 1, 2, 0]
1 1 3 3
After: [3, 1, 2, 3]
Before: [0, 3, 1, 0]
9 2 1 0
After: [1, 3, 1, 0]
Before: [2, 0, 1, 2]
15 2 1 3
After: [2, 0, 1, 1]
Before: [2, 3, 1, 0]
9 2 1 1
After: [2, 1, 1, 0]
Before: [1, 0, 0, 0]
12 0 1 1
After: [1, 1, 0, 0]
Before: [2, 2, 3, 3]
3 3 3 2
After: [2, 2, 3, 3]
Before: [3, 3, 1, 1]
1 2 3 2
After: [3, 3, 3, 1]
Before: [3, 3, 2, 2]
13 0 3 0
After: [6, 3, 2, 2]
Before: [0, 1, 1, 0]
4 1 2 2
After: [0, 1, 3, 0]
Before: [1, 3, 2, 0]
2 2 3 3
After: [1, 3, 2, 3]
Before: [0, 3, 1, 1]
9 2 1 1
After: [0, 1, 1, 1]
Before: [0, 2, 3, 1]
5 0 1 0
After: [0, 2, 3, 1]
Before: [0, 2, 2, 2]
5 0 3 3
After: [0, 2, 2, 0]
Before: [0, 3, 3, 3]
10 2 2 2
After: [0, 3, 2, 3]
Before: [1, 3, 1, 3]
3 3 1 3
After: [1, 3, 1, 3]
Before: [3, 3, 3, 2]
0 2 3 1
After: [3, 2, 3, 2]
Before: [3, 3, 0, 1]
4 2 3 0
After: [3, 3, 0, 1]
Before: [0, 0, 0, 3]
6 0 0 3
After: [0, 0, 0, 0]
Before: [3, 0, 2, 1]
14 3 2 3
After: [3, 0, 2, 3]
Before: [1, 0, 3, 2]
13 2 3 2
After: [1, 0, 6, 2]
Before: [0, 1, 2, 0]
7 3 1 2
After: [0, 1, 1, 0]
Before: [3, 3, 2, 2]
11 3 2 1
After: [3, 4, 2, 2]
Before: [2, 2, 2, 3]
1 3 2 3
After: [2, 2, 2, 6]
Before: [2, 0, 2, 2]
11 3 2 1
After: [2, 4, 2, 2]
Before: [0, 2, 3, 2]
0 2 1 1
After: [0, 2, 3, 2]
Before: [1, 0, 2, 0]
12 0 1 3
After: [1, 0, 2, 1]
Before: [3, 3, 1, 2]
13 0 3 3
After: [3, 3, 1, 6]
Before: [3, 2, 3, 1]
9 3 1 2
After: [3, 2, 1, 1]
Before: [2, 2, 2, 0]
11 2 2 3
After: [2, 2, 2, 4]
Before: [1, 0, 1, 1]
4 2 2 1
After: [1, 3, 1, 1]
Before: [2, 2, 2, 1]
14 3 2 2
After: [2, 2, 3, 1]
Before: [1, 1, 2, 2]
11 3 2 0
After: [4, 1, 2, 2]
Before: [2, 2, 3, 2]
0 2 0 2
After: [2, 2, 2, 2]
Before: [1, 1, 0, 1]
1 1 3 0
After: [3, 1, 0, 1]
Before: [2, 3, 1, 0]
2 0 3 3
After: [2, 3, 1, 3]
Before: [1, 3, 3, 1]
9 0 1 1
After: [1, 1, 3, 1]
Before: [3, 3, 2, 2]
10 1 2 1
After: [3, 2, 2, 2]
Before: [0, 2, 3, 0]
0 2 1 2
After: [0, 2, 2, 0]
Before: [0, 3, 3, 1]
6 0 0 0
After: [0, 3, 3, 1]
Before: [3, 2, 2, 2]
2 2 3 0
After: [3, 2, 2, 2]
Before: [1, 0, 0, 2]
12 0 1 1
After: [1, 1, 0, 2]
Before: [1, 0, 0, 2]
12 0 1 2
After: [1, 0, 1, 2]
Before: [0, 2, 1, 2]
5 0 3 1
After: [0, 0, 1, 2]
Before: [0, 0, 3, 3]
5 0 3 2
After: [0, 0, 0, 3]
Before: [0, 1, 1, 0]
1 2 3 0
After: [3, 1, 1, 0]
Before: [0, 1, 1, 2]
5 0 3 3
After: [0, 1, 1, 0]
Before: [3, 3, 2, 0]
10 0 2 0
After: [2, 3, 2, 0]
Before: [1, 0, 0, 1]
12 0 1 2
After: [1, 0, 1, 1]
Before: [1, 3, 1, 1]
9 0 1 3
After: [1, 3, 1, 1]
Before: [1, 0, 2, 1]
14 3 2 1
After: [1, 3, 2, 1]
Before: [0, 0, 1, 1]
5 0 2 3
After: [0, 0, 1, 0]
Before: [2, 3, 2, 3]
3 3 3 1
After: [2, 3, 2, 3]
Before: [1, 2, 2, 0]
2 2 3 3
After: [1, 2, 2, 3]
Before: [3, 3, 1, 0]
9 2 1 1
After: [3, 1, 1, 0]
Before: [1, 0, 3, 3]
12 0 1 0
After: [1, 0, 3, 3]
Before: [3, 0, 3, 0]
10 2 2 2
After: [3, 0, 2, 0]
Before: [2, 2, 3, 2]
0 2 3 0
After: [2, 2, 3, 2]
Before: [2, 0, 0, 2]
2 0 3 2
After: [2, 0, 3, 2]
Before: [2, 1, 2, 3]
11 2 2 2
After: [2, 1, 4, 3]
Before: [3, 3, 2, 2]
2 2 3 1
After: [3, 3, 2, 2]
Before: [0, 0, 2, 1]
11 2 2 2
After: [0, 0, 4, 1]
Before: [0, 3, 3, 1]
14 3 2 1
After: [0, 3, 3, 1]
Before: [3, 2, 0, 2]
13 0 3 2
After: [3, 2, 6, 2]
Before: [2, 2, 2, 0]
4 2 1 0
After: [3, 2, 2, 0]
Before: [3, 0, 1, 1]
15 2 1 3
After: [3, 0, 1, 1]
Before: [2, 1, 3, 2]
0 2 0 1
After: [2, 2, 3, 2]
Before: [1, 3, 1, 0]
9 0 1 0
After: [1, 3, 1, 0]
Before: [1, 1, 1, 0]
4 1 2 3
After: [1, 1, 1, 3]
Before: [1, 1, 2, 0]
7 3 1 3
After: [1, 1, 2, 1]
Before: [2, 3, 1, 3]
9 2 1 3
After: [2, 3, 1, 1]
Before: [3, 3, 1, 0]
9 2 1 3
After: [3, 3, 1, 1]
Before: [2, 3, 2, 3]
3 3 1 3
After: [2, 3, 2, 3]
Before: [3, 1, 2, 2]
8 2 1 2
After: [3, 1, 3, 2]
Before: [0, 0, 1, 0]
15 2 1 2
After: [0, 0, 1, 0]
Before: [1, 0, 2, 2]
4 1 3 1
After: [1, 3, 2, 2]
Before: [0, 3, 2, 1]
5 0 1 2
After: [0, 3, 0, 1]
Before: [1, 3, 0, 3]
9 0 1 3
After: [1, 3, 0, 1]
Before: [1, 2, 3, 2]
1 3 2 0
After: [4, 2, 3, 2]
Before: [1, 1, 0, 0]
4 0 2 0
After: [3, 1, 0, 0]
Before: [1, 0, 1, 0]
4 1 2 1
After: [1, 2, 1, 0]
Before: [1, 3, 3, 2]
10 2 2 0
After: [2, 3, 3, 2]
Before: [3, 2, 3, 2]
2 1 3 2
After: [3, 2, 3, 2]
Before: [1, 2, 1, 1]
9 3 1 3
After: [1, 2, 1, 1]
Before: [0, 1, 2, 2]
14 3 1 0
After: [3, 1, 2, 2]
Before: [3, 3, 0, 2]
13 1 3 0
After: [6, 3, 0, 2]
Before: [3, 0, 2, 0]
1 0 2 3
After: [3, 0, 2, 6]
Before: [0, 3, 3, 2]
13 2 3 1
After: [0, 6, 3, 2]
Before: [1, 0, 3, 1]
12 0 1 0
After: [1, 0, 3, 1]
Before: [0, 0, 0, 1]
4 0 3 2
After: [0, 0, 3, 1]
Before: [2, 0, 1, 1]
15 3 1 3
After: [2, 0, 1, 1]
Before: [3, 0, 2, 1]
15 3 1 2
After: [3, 0, 1, 1]
Before: [3, 3, 2, 3]
1 3 2 3
After: [3, 3, 2, 6]
Before: [2, 1, 1, 3]
8 2 3 2
After: [2, 1, 3, 3]
Before: [0, 0, 1, 3]
15 2 1 2
After: [0, 0, 1, 3]
Before: [3, 1, 3, 1]
10 2 2 2
After: [3, 1, 2, 1]
Before: [2, 3, 1, 0]
9 2 1 2
After: [2, 3, 1, 0]
Before: [0, 0, 2, 2]
6 0 0 3
After: [0, 0, 2, 0]
Before: [0, 0, 2, 0]
8 0 2 0
After: [2, 0, 2, 0]
Before: [0, 0, 2, 1]
3 2 2 1
After: [0, 2, 2, 1]
Before: [3, 2, 2, 0]
2 2 3 0
After: [3, 2, 2, 0]
Before: [3, 2, 3, 2]
0 2 3 3
After: [3, 2, 3, 2]
Before: [2, 0, 2, 3]
11 2 2 3
After: [2, 0, 2, 4]
Before: [1, 2, 2, 2]
11 2 2 3
After: [1, 2, 2, 4]
Before: [0, 1, 0, 1]
8 0 1 2
After: [0, 1, 1, 1]
Before: [1, 0, 1, 2]
15 2 1 2
After: [1, 0, 1, 2]
Before: [1, 2, 1, 1]
9 3 1 2
After: [1, 2, 1, 1]
Before: [3, 1, 3, 0]
7 3 1 1
After: [3, 1, 3, 0]
Before: [0, 1, 1, 3]
8 1 3 0
After: [3, 1, 1, 3]
Before: [2, 2, 3, 0]
0 2 1 0
After: [2, 2, 3, 0]
Before: [2, 0, 0, 3]
5 1 0 3
After: [2, 0, 0, 0]
Before: [2, 0, 2, 2]
2 2 3 0
After: [3, 0, 2, 2]
Before: [0, 2, 3, 3]
10 2 2 0
After: [2, 2, 3, 3]
Before: [3, 0, 1, 2]
15 2 1 3
After: [3, 0, 1, 1]
Before: [3, 1, 2, 0]
2 2 3 1
After: [3, 3, 2, 0]
Before: [0, 1, 3, 2]
4 0 2 1
After: [0, 2, 3, 2]
Before: [1, 0, 0, 3]
12 0 1 3
After: [1, 0, 0, 1]
Before: [2, 2, 3, 3]
0 2 1 0
After: [2, 2, 3, 3]
Before: [0, 1, 1, 1]
5 0 1 3
After: [0, 1, 1, 0]
Before: [1, 0, 1, 2]
15 2 1 0
After: [1, 0, 1, 2]
Before: [2, 1, 3, 0]
10 2 2 2
After: [2, 1, 2, 0]
Before: [0, 2, 3, 2]
1 1 2 3
After: [0, 2, 3, 4]
Before: [1, 1, 0, 1]
7 2 1 0
After: [1, 1, 0, 1]
Before: [0, 3, 1, 0]
6 0 0 0
After: [0, 3, 1, 0]
Before: [3, 1, 0, 0]
7 3 1 3
After: [3, 1, 0, 1]
Before: [1, 0, 1, 3]
12 0 1 0
After: [1, 0, 1, 3]
Before: [1, 0, 1, 1]
12 0 1 2
After: [1, 0, 1, 1]
Before: [0, 3, 3, 3]
1 1 3 0
After: [9, 3, 3, 3]
Before: [3, 0, 3, 2]
5 1 0 0
After: [0, 0, 3, 2]
Before: [1, 2, 1, 1]
13 3 1 2
After: [1, 2, 2, 1]
Before: [1, 3, 0, 3]
9 0 1 1
After: [1, 1, 0, 3]
Before: [0, 3, 2, 3]
8 0 2 1
After: [0, 2, 2, 3]
Before: [2, 1, 0, 1]
7 2 1 0
After: [1, 1, 0, 1]
Before: [0, 0, 3, 2]
6 0 0 2
After: [0, 0, 0, 2]
Before: [0, 3, 0, 2]
4 2 1 0
After: [1, 3, 0, 2]
Before: [0, 1, 2, 1]
5 0 3 3
After: [0, 1, 2, 0]
Before: [2, 3, 1, 2]
9 2 1 0
After: [1, 3, 1, 2]
Before: [0, 3, 1, 2]
9 2 1 3
After: [0, 3, 1, 1]
Before: [0, 2, 1, 2]
4 0 1 2
After: [0, 2, 1, 2]
Before: [1, 0, 2, 2]
12 0 1 1
After: [1, 1, 2, 2]
Before: [3, 3, 1, 2]
9 2 1 3
After: [3, 3, 1, 1]
Before: [2, 2, 0, 2]
2 0 3 2
After: [2, 2, 3, 2]
Before: [3, 2, 2, 0]
1 0 2 2
After: [3, 2, 6, 0]
Before: [0, 3, 2, 0]
2 2 3 2
After: [0, 3, 3, 0]
Before: [1, 2, 3, 2]
0 2 3 0
After: [2, 2, 3, 2]
Before: [0, 1, 2, 3]
3 3 0 2
After: [0, 1, 3, 3]
Before: [0, 3, 1, 2]
6 0 0 1
After: [0, 0, 1, 2]
Before: [1, 2, 2, 0]
2 2 3 1
After: [1, 3, 2, 0]
Before: [1, 3, 1, 0]
9 2 1 3
After: [1, 3, 1, 1]
Before: [2, 1, 0, 0]
4 1 2 0
After: [3, 1, 0, 0]
Before: [0, 1, 3, 2]
8 0 1 2
After: [0, 1, 1, 2]
Before: [0, 2, 3, 2]
1 3 2 2
After: [0, 2, 4, 2]
Before: [0, 1, 0, 0]
7 2 1 1
After: [0, 1, 0, 0]
Before: [0, 2, 3, 1]
0 2 1 2
After: [0, 2, 2, 1]
Before: [3, 3, 2, 2]
11 2 2 0
After: [4, 3, 2, 2]
Before: [3, 0, 0, 3]
1 0 3 3
After: [3, 0, 0, 9]
Before: [1, 1, 0, 3]
7 2 1 0
After: [1, 1, 0, 3]
Before: [3, 1, 0, 2]
7 2 1 0
After: [1, 1, 0, 2]
Before: [1, 0, 2, 0]
2 2 3 0
After: [3, 0, 2, 0]
Before: [2, 1, 0, 0]
7 3 1 2
After: [2, 1, 1, 0]
Before: [2, 2, 1, 2]
1 3 2 3
After: [2, 2, 1, 4]
Before: [2, 0, 3, 0]
0 2 0 0
After: [2, 0, 3, 0]
Before: [3, 0, 3, 2]
0 2 3 3
After: [3, 0, 3, 2]
Before: [0, 1, 2, 2]
11 3 2 0
After: [4, 1, 2, 2]
Before: [1, 1, 2, 0]
7 3 1 0
After: [1, 1, 2, 0]
Before: [0, 1, 2, 0]
2 2 3 2
After: [0, 1, 3, 0]
Before: [2, 0, 1, 1]
1 0 2 3
After: [2, 0, 1, 4]
Before: [0, 1, 3, 1]
5 0 2 2
After: [0, 1, 0, 1]
Before: [0, 2, 2, 0]
2 2 3 3
After: [0, 2, 2, 3]
Before: [1, 3, 0, 3]
9 0 1 2
After: [1, 3, 1, 3]
Before: [2, 0, 3, 3]
10 2 2 1
After: [2, 2, 3, 3]
Before: [2, 2, 3, 1]
0 2 1 1
After: [2, 2, 3, 1]
Before: [0, 0, 1, 2]
6 0 0 2
After: [0, 0, 0, 2]
Before: [0, 0, 2, 3]
10 3 2 2
After: [0, 0, 2, 3]
Before: [3, 2, 2, 1]
3 2 2 3
After: [3, 2, 2, 2]
Before: [0, 0, 0, 2]
1 3 2 1
After: [0, 4, 0, 2]
Before: [1, 0, 3, 3]
12 0 1 3
After: [1, 0, 3, 1]
Before: [2, 1, 2, 2]
11 0 2 1
After: [2, 4, 2, 2]
Before: [1, 3, 2, 3]
10 3 2 1
After: [1, 2, 2, 3]
Before: [0, 0, 1, 2]
5 0 3 3
After: [0, 0, 1, 0]
Before: [0, 0, 2, 0]
11 2 2 3
After: [0, 0, 2, 4]
Before: [1, 1, 2, 0]
11 2 2 0
After: [4, 1, 2, 0]
Before: [3, 1, 1, 3]
3 3 3 2
After: [3, 1, 3, 3]
Before: [1, 3, 0, 2]
13 1 3 2
After: [1, 3, 6, 2]
Before: [1, 1, 0, 0]
1 0 3 0
After: [3, 1, 0, 0]
Before: [1, 0, 1, 1]
12 0 1 3
After: [1, 0, 1, 1]
Before: [1, 0, 3, 2]
12 0 1 3
After: [1, 0, 3, 1]
Before: [0, 0, 3, 3]
10 2 2 0
After: [2, 0, 3, 3]
Before: [0, 2, 3, 3]
0 2 1 3
After: [0, 2, 3, 2]
Before: [2, 2, 1, 1]
9 3 1 0
After: [1, 2, 1, 1]
Before: [1, 3, 3, 2]
10 2 2 1
After: [1, 2, 3, 2]
Before: [1, 3, 1, 3]
3 3 0 3
After: [1, 3, 1, 3]
Before: [0, 0, 2, 3]
6 0 0 2
After: [0, 0, 0, 3]
Before: [1, 1, 1, 0]
7 3 1 2
After: [1, 1, 1, 0]
Before: [1, 1, 0, 1]
7 2 1 3
After: [1, 1, 0, 1]
Before: [3, 3, 0, 0]
4 3 2 0
After: [2, 3, 0, 0]
Before: [2, 1, 1, 1]
4 1 2 3
After: [2, 1, 1, 3]
Before: [3, 0, 2, 3]
4 2 1 3
After: [3, 0, 2, 3]
Before: [1, 0, 2, 0]
4 2 1 2
After: [1, 0, 3, 0]
Before: [1, 0, 1, 2]
12 0 1 1
After: [1, 1, 1, 2]
Before: [0, 1, 0, 0]
5 0 1 0
After: [0, 1, 0, 0]
Before: [1, 1, 2, 0]
7 3 1 1
After: [1, 1, 2, 0]
Before: [0, 2, 1, 0]
2 1 3 0
After: [3, 2, 1, 0]
Before: [2, 1, 2, 0]
2 0 3 1
After: [2, 3, 2, 0]
Before: [0, 3, 2, 2]
10 1 2 3
After: [0, 3, 2, 2]
Before: [1, 0, 0, 0]
12 0 1 0
After: [1, 0, 0, 0]
Before: [2, 1, 0, 2]
14 3 1 0
After: [3, 1, 0, 2]
Before: [3, 2, 2, 1]
9 3 1 2
After: [3, 2, 1, 1]
Before: [1, 0, 1, 2]
15 2 1 1
After: [1, 1, 1, 2]
Before: [2, 0, 1, 1]
15 2 1 1
After: [2, 1, 1, 1]
Before: [3, 0, 3, 3]
3 3 3 0
After: [3, 0, 3, 3]
Before: [1, 1, 1, 0]
1 1 3 1
After: [1, 3, 1, 0]
Before: [2, 2, 0, 1]
9 3 1 1
After: [2, 1, 0, 1]
Before: [1, 3, 1, 2]
9 2 1 3
After: [1, 3, 1, 1]
Before: [0, 3, 1, 1]
6 0 0 2
After: [0, 3, 0, 1]
Before: [3, 1, 3, 1]
8 1 2 2
After: [3, 1, 3, 1]
Before: [1, 2, 2, 1]
4 1 1 1
After: [1, 3, 2, 1]
Before: [2, 3, 3, 0]
0 2 0 0
After: [2, 3, 3, 0]
Before: [0, 2, 1, 1]
9 3 1 1
After: [0, 1, 1, 1]
Before: [0, 3, 3, 0]
5 0 1 2
After: [0, 3, 0, 0]
Before: [0, 3, 1, 0]
9 2 1 1
After: [0, 1, 1, 0]
Before: [3, 2, 3, 2]
2 1 3 3
After: [3, 2, 3, 3]
Before: [1, 1, 2, 2]
11 3 2 3
After: [1, 1, 2, 4]
Before: [0, 3, 3, 3]
5 0 2 0
After: [0, 3, 3, 3]
Before: [1, 0, 2, 2]
11 2 2 1
After: [1, 4, 2, 2]
Before: [3, 2, 3, 1]
14 3 2 0
After: [3, 2, 3, 1]
Before: [0, 3, 2, 0]
6 0 0 0
After: [0, 3, 2, 0]
Before: [1, 1, 1, 3]
3 3 1 2
After: [1, 1, 3, 3]
Before: [3, 1, 3, 2]
0 2 3 3
After: [3, 1, 3, 2]
Before: [2, 1, 2, 2]
2 2 3 3
After: [2, 1, 2, 3]
Before: [0, 3, 0, 3]
6 0 0 3
After: [0, 3, 0, 0]
Before: [0, 2, 2, 3]
6 0 0 2
After: [0, 2, 0, 3]
Before: [0, 1, 3, 3]
6 0 0 2
After: [0, 1, 0, 3]
Before: [1, 1, 2, 2]
8 2 1 2
After: [1, 1, 3, 2]
Before: [2, 2, 1, 1]
1 2 3 2
After: [2, 2, 3, 1]
Before: [2, 0, 1, 2]
15 2 1 2
After: [2, 0, 1, 2]
Before: [2, 1, 2, 3]
1 3 3 2
After: [2, 1, 9, 3]
Before: [0, 1, 0, 0]
7 2 1 2
After: [0, 1, 1, 0]
Before: [2, 1, 0, 3]
8 2 3 0
After: [3, 1, 0, 3]
Before: [0, 3, 2, 1]
14 3 2 0
After: [3, 3, 2, 1]
Before: [2, 0, 1, 2]
15 2 1 0
After: [1, 0, 1, 2]
Before: [1, 2, 2, 1]
13 3 1 3
After: [1, 2, 2, 2]
Before: [1, 0, 1, 0]
12 0 1 0
After: [1, 0, 1, 0]
Before: [2, 2, 3, 0]
0 2 1 3
After: [2, 2, 3, 2]
Before: [0, 0, 1, 1]
15 2 1 3
After: [0, 0, 1, 1]
Before: [0, 3, 0, 3]
3 3 0 0
After: [3, 3, 0, 3]
Before: [2, 2, 2, 1]
11 2 2 2
After: [2, 2, 4, 1]
Before: [2, 1, 2, 0]
2 0 3 0
After: [3, 1, 2, 0]
Before: [1, 2, 2, 0]
13 0 1 0
After: [2, 2, 2, 0]
Before: [1, 0, 3, 0]
12 0 1 1
After: [1, 1, 3, 0]
Before: [3, 1, 0, 3]
5 2 0 3
After: [3, 1, 0, 0]
Before: [1, 2, 1, 0]
1 2 3 0
After: [3, 2, 1, 0]
Before: [0, 1, 3, 2]
13 2 3 0
After: [6, 1, 3, 2]
Before: [1, 0, 1, 2]
12 0 1 0
After: [1, 0, 1, 2]
Before: [0, 0, 1, 1]
1 2 3 3
After: [0, 0, 1, 3]
Before: [1, 3, 0, 2]
9 0 1 2
After: [1, 3, 1, 2]
Before: [2, 3, 2, 2]
11 3 2 0
After: [4, 3, 2, 2]
Before: [2, 2, 3, 1]
10 2 2 0
After: [2, 2, 3, 1]
Before: [3, 0, 3, 2]
10 2 2 3
After: [3, 0, 3, 2]
Before: [2, 1, 2, 2]
11 3 2 2
After: [2, 1, 4, 2]
Before: [0, 3, 3, 1]
10 2 2 1
After: [0, 2, 3, 1]
Before: [0, 0, 2, 1]
15 3 1 3
After: [0, 0, 2, 1]
Before: [1, 2, 3, 2]
13 2 3 1
After: [1, 6, 3, 2]
Before: [2, 3, 2, 1]
14 3 2 2
After: [2, 3, 3, 1]
Before: [1, 0, 1, 3]
12 0 1 2
After: [1, 0, 1, 3]
Before: [0, 2, 2, 3]
8 0 3 0
After: [3, 2, 2, 3]
Before: [0, 1, 1, 2]
14 3 1 3
After: [0, 1, 1, 3]
Before: [1, 3, 3, 2]
9 0 1 2
After: [1, 3, 1, 2]
Before: [2, 2, 2, 1]
11 2 2 1
After: [2, 4, 2, 1]
Before: [1, 3, 3, 3]
9 0 1 0
After: [1, 3, 3, 3]
Before: [3, 3, 2, 1]
1 3 2 0
After: [2, 3, 2, 1]
Before: [0, 1, 3, 1]
14 3 2 3
After: [0, 1, 3, 3]
Before: [2, 0, 3, 3]
0 2 0 0
After: [2, 0, 3, 3]
Before: [3, 2, 3, 2]
13 2 3 0
After: [6, 2, 3, 2]
Before: [2, 3, 2, 1]
11 2 2 2
After: [2, 3, 4, 1]
Before: [3, 0, 0, 2]
5 2 0 2
After: [3, 0, 0, 2]
Before: [1, 1, 1, 3]
3 3 3 1
After: [1, 3, 1, 3]
Before: [2, 1, 2, 0]
3 2 0 0
After: [2, 1, 2, 0]
Before: [0, 3, 1, 3]
6 0 0 0
After: [0, 3, 1, 3]
Before: [2, 1, 0, 0]
2 0 3 3
After: [2, 1, 0, 3]
Before: [0, 1, 0, 3]
5 0 1 3
After: [0, 1, 0, 0]
Before: [3, 0, 2, 1]
15 3 1 0
After: [1, 0, 2, 1]
Before: [2, 2, 2, 2]
2 1 3 0
After: [3, 2, 2, 2]
Before: [2, 1, 0, 2]
14 3 1 3
After: [2, 1, 0, 3]
Before: [0, 0, 2, 1]
11 2 2 3
After: [0, 0, 2, 4]
Before: [2, 3, 1, 2]
9 2 1 3
After: [2, 3, 1, 1]
Before: [0, 3, 1, 1]
6 0 0 3
After: [0, 3, 1, 0]