1 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
41 |
40 |
39 |
38 |
37 |
36 |
35 |
34 |
33 |
32 |
31 |
24 |
|
|
|
|
|
|
|
1 |
7 |
14 |
16 |
9 |
9 |
5 |
12 |
2 |
17 |
15 |
15 |
12 |
8 |
5 |
6 |
17 |
2 |
2 |
15 |
19 |
16 |
11 |
7 |
21 |
19 |
6 |
15 |
21 |
2 |
3 |
8 |
3 |
17 |
1 |
7 |
16 |
14 |
22 |
18 |
8 |
19 |
8 |
8 |
7 |
7 |
7 |
7 |
7 |
6 |
6 |
6 |
6 |
4 |
|
1 |
18 |
14 |
21 |
13 |
21 |
17 |
14 |
10 |
19 |
21 |
19 |
8 |
4 |
7 |
19 |
10 |
1 |
8 |
9 |
15 |
11 |
4 |
18 |
17 |
22 |
8 |
6 |
16 |
21 |
11 |
10 |
21 |
18 |
18 |
13 |
2 |
16 |
8 |
19 |
20 |
3 |
8 |
7 |
7 |
7 |
7 |
7 |
6 |
6 |
6 |
6 |
6 |
4 |
|
1 |
5 |
15 |
5 |
19 |
4 |
14 |
18 |
20 |
11 |
19 |
21 |
7 |
11 |
11 |
4 |
16 |
16 |
9 |
9 |
19 |
11 |
21 |
5 |
8 |
15 |
3 |
15 |
4 |
2 |
3 |
16 |
22 |
15 |
6 |
12 |
12 |
20 |
16 |
15 |
14 |
3 |
7 |
7 |
7 |
7 |
7 |
6 |
6 |
6 |
6 |
6 |
5 |
4 |
|
1 |
7 |
14 |
11 |
14 |
6 |
21 |
18 |
3 |
20 |
17 |
13 |
21 |
15 |
13 |
15 |
20 |
13 |
9 |
21 |
4 |
15 |
16 |
19 |
6 |
15 |
22 |
2 |
3 |
3 |
16 |
3 |
7 |
18 |
11 |
11 |
10 |
13 |
21 |
11 |
9 |
2 |
7 |
7 |
7 |
7 |
6 |
6 |
6 |
6 |
6 |
5 |
5 |
4 |
|
1 |
7 |
20 |
10 |
12 |
8 |
20 |
2 |
21 |
21 |
21 |
14 |
17 |
14 |
17 |
18 |
9 |
20 |
7 |
9 |
3 |
17 |
1 |
21 |
3 |
14 |
4 |
5 |
16 |
16 |
9 |
21 |
5 |
20 |
2 |
3 |
11 |
8 |
20 |
14 |
4 |
4 |
7 |
7 |
7 |
6 |
6 |
6 |
6 |
6 |
5 |
5 |
5 |
4 |
|
|
5 |
19 |
4 |
9 |
6 |
8 |
18 |
4 |
6 |
14 |
5 |
11 |
16 |
14 |
8 |
4 |
18 |
13 |
8 |
14 |
19 |
20 |
5 |
20 |
18 |
18 |
20 |
4 |
14 |
11 |
15 |
7 |
9 |
7 |
2 |
9 |
4 |
13 |
15 |
21 |
1 |
37 |
36 |
35 |
34 |
33 |
32 |
31 |
30 |
29 |
28 |
27 |
20 |
|
|
12 |
11 |
5 |
8 |
7 |
8 |
16 |
12 |
20 |
21 |
4 |
14 |
5 |
8 |
3 |
17 |
10 |
12 |
4 |
15 |
13 |
4 |
2 |
16 |
6 |
4 |
20 |
20 |
21 |
19 |
13 |
11 |
3 |
16 |
12 |
5 |
2 |
6 |
7 |
6 |
18 |
|
|
14 |
4 |
5 |
11 |
18 |
4 |
3 |
18 |
4 |
12 |
20 |
9 |
13 |
3 |
16 |
13 |
5 |
22 |
12 |
4 |
14 |
9 |
19 |
1 |
10 |
18 |
16 |
2 |
4 |
8 |
12 |
4 |
16 |
4 |
2 |
9 |
14 |
11 |
7 |
19 |
6 |
|
|
16 |
17 |
21 |
8 |
14 |
13 |
2 |
13 |
16 |
16 |
11 |
8 |
19 |
22 |
10 |
21 |
14 |
4 |
6 |
17 |
9 |
20 |
19 |
20 |
7 |
17 |
18 |
2 |
12 |
7 |
15 |
5 |
11 |
5 |
7 |
9 |
11 |
18 |
22 |
9 |
11 |
|
|
16 |
7 |
7 |
10 |
22 |
7 |
5 |
16 |
5 |
17 |
6 |
3 |
6 |
10 |
11 |
14 |
13 |
12 |
15 |
4 |
7 |
6 |
9 |
12 |
10 |
15 |
15 |
16 |
9 |
12 |
8 |
13 |
10 |
11 |
1 |
11 |
12 |
15 |
15 |
6 |
10 |
|
|
16 |
3 |
9 |
15 |
14 |
20 |
16 |
18 |
18 |
6 |
7 |
10 |
7 |
6 |
10 |
19 |
4 |
8 |
6 |
4 |
12 |
9 |
19 |
8 |
13 |
20 |
17 |
8 |
17 |
2 |
6 |
14 |
17 |
21 |
8 |
2 |
18 |
21 |
19 |
5 |
16 |
|
n*int(m/n)-(n-1)+ R(m/n) |
|
2 |
18 |
22 |
8 |
15 |
15 |
15 |
17 |
15 |
14 |
2 |
4 |
17 |
18 |
9 |
17 |
6 |
21 |
16 |
2 |
2 |
5 |
17 |
5 |
21 |
12 |
22 |
9 |
12 |
6 |
14 |
19 |
14 |
16 |
17 |
10 |
10 |
16 |
12 |
7 |
4 |
14 |
3 |
|
FIRST_SUM = WORD_LENGTH *
(MAX_WORDS-1) + MOD(SEARCH_LENGTH, WORD_LENGTH) + 1 |
2 |
21 |
15 |
19 |
8 |
3 |
2 |
11 |
2 |
19 |
19 |
19 |
17 |
7 |
8 |
7 |
11 |
8 |
19 |
21 |
8 |
20 |
12 |
15 |
22 |
9 |
4 |
13 |
20 |
5 |
16 |
17 |
17 |
8 |
21 |
7 |
3 |
12 |
14 |
2 |
17 |
3 |
3 |
|
FIRST_SUM +
FIRST_SUM-(WORD_LENGTH-1) |
|
2 |
8 |
13 |
5 |
12 |
19 |
20 |
16 |
5 |
12 |
3 |
4 |
6 |
14 |
17 |
2 |
2 |
13 |
16 |
4 |
9 |
9 |
9 |
1 |
19 |
17 |
17 |
20 |
9 |
3 |
7 |
11 |
4 |
13 |
5 |
12 |
5 |
6 |
13 |
1 |
16 |
13 |
3 |
|
FULL_SUM=MAX_SKIP*FIRST_SUM -
(MAX_SKIP-1)*(WORD_LENGTH-1) |
|
2 |
19 |
4 |
15 |
3 |
21 |
7 |
18 |
17 |
6 |
2 |
17 |
22 |
15 |
2 |
11 |
19 |
4 |
1 |
7 |
12 |
6 |
7 |
13 |
16 |
17 |
12 |
14 |
4 |
6 |
13 |
5 |
17 |
17 |
5 |
11 |
2 |
20 |
19 |
13 |
2 |
6 |
3 |
|
2 |
15 |
6 |
11 |
22 |
15 |
1 |
7 |
11 |
11 |
2 |
8 |
9 |
9 |
2 |
16 |
6 |
2 |
10 |
13 |
20 |
21 |
17 |
22 |
4 |
19 |
6 |
16 |
3 |
17 |
7 |
11 |
7 |
22 |
3 |
1 |
3 |
16 |
13 |
13 |
13 |
7 |
3 |
28 |
|
Search_length= |
31 |
24 |
|
2 |
9 |
7 |
14 |
9 |
15 |
16 |
4 |
4 |
15 |
18 |
7 |
7 |
14 |
11 |
11 |
4 |
12 |
7 |
4 |
8 |
10 |
9 |
10 |
2 |
15 |
5 |
9 |
1 |
20 |
6 |
8 |
16 |
15 |
6 |
7 |
19 |
18 |
8 |
5 |
1 |
16 |
3 |
|
Word_length= |
5 |
5 |
|
2 |
7 |
9 |
20 |
19 |
21 |
9 |
20 |
9 |
9 |
11 |
20 |
14 |
9 |
6 |
10 |
12 |
8 |
22 |
21 |
5 |
20 |
13 |
8 |
5 |
18 |
2 |
21 |
16 |
5 |
12 |
22 |
22 |
18 |
17 |
11 |
19 |
19 |
11 |
22 |
2 |
2 |
3 |
|
Max_words= |
6 |
4 |
|
2 |
12 |
7 |
10 |
13 |
19 |
5 |
12 |
3 |
4 |
4 |
6 |
12 |
20 |
10 |
17 |
7 |
3 |
9 |
21 |
14 |
17 |
21 |
16 |
6 |
19 |
2 |
6 |
20 |
9 |
10 |
16 |
5 |
4 |
9 |
15 |
13 |
1 |
5 |
5 |
19 |
12 |
3 |
|
Max_skip= |
7 |
6 |
|
2 |
5 |
1 |
15 |
16 |
7 |
8 |
20 |
4 |
13 |
13 |
8 |
13 |
13 |
10 |
19 |
11 |
12 |
3 |
8 |
12 |
10 |
22 |
6 |
20 |
16 |
4 |
16 |
10 |
16 |
18 |
2 |
20 |
12 |
4 |
6 |
11 |
14 |
14 |
12 |
7 |
2 |
2 |
|
First_sum= |
27 |
20 |
|
2 |
11 |
18 |
7 |
9 |
21 |
16 |
20 |
9 |
17 |
11 |
11 |
17 |
20 |
12 |
9 |
14 |
12 |
16 |
2 |
9 |
13 |
7 |
14 |
5 |
16 |
10 |
22 |
4 |
1 |
12 |
6 |
9 |
22 |
3 |
19 |
10 |
21 |
1 |
13 |
15 |
6 |
2 |
|
Full_sum= |
165 |
100 |
|
|
20 |
14 |
7 |
10 |
13 |
15 |
15 |
5 |
13 |
2 |
8 |
19 |
2 |
17 |
6 |
17 |
12 |
5 |
6 |
19 |
16 |
15 |
10 |
18 |
14 |
4 |
13 |
19 |
1 |
12 |
8 |
12 |
14 |
15 |
12 |
9 |
|
Bidirectional_sum= |
330 |
200 |
|
3 |
4 |
9 |
9 |
13 |
14 |
22 |
6 |
12 |
8 |
15 |
9 |
20 |
17 |
5 |
6 |
11 |
6 |
8 |
12 |
10 |
7 |
21 |
5 |
16 |
13 |
22 |
13 |
10 |
13 |
3 |
15 |
1 |
14 |
18 |
17 |
12 |
|
2 |
|
3 |
20 |
11 |
4 |
11 |
6 |
15 |
22 |
2 |
3 |
6 |
2 |
22 |
20 |
19 |
2 |
11 |
8 |
8 |
20 |
18 |
5 |
1 |
3 |
7 |
13 |
5 |
18 |
6 |
3 |
6 |
9 |
19 |
9 |
10 |
10 |
14 |
|
2 |
|
3 |
11 |
8 |
16 |
21 |
1 |
8 |
17 |
4 |
16 |
5 |
19 |
22 |
17 |
13 |
13 |
15 |
18 |
19 |
12 |
21 |
6 |
17 |
6 |
20 |
11 |
6 |
3 |
10 |
12 |
5 |
16 |
9 |
8 |
2 |
10 |
21 |
|
2 |
|
3 |
7 |
6 |
11 |
1 |
2 |
12 |
16 |
7 |
13 |
17 |
10 |
18 |
7 |
9 |
16 |
11 |
5 |
22 |
17 |
20 |
17 |
17 |
14 |
7 |
10 |
7 |
11 |
19 |
16 |
3 |
7 |
2 |
21 |
12 |
10 |
8 |
|
2 |
|
3 |
2 |
7 |
11 |
12 |
14 |
7 |
8 |
17 |
2 |
22 |
17 |
20 |
6 |
4 |
7 |
7 |
18 |
3 |
11 |
11 |
7 |
1 |
16 |
5 |
7 |
10 |
7 |
8 |
3 |
17 |
20 |
10 |
16 |
17 |
22 |
12 |
|
2 |
|
3 |
16 |
18 |
6 |
16 |
10 |
14 |
6 |
13 |
12 |
7 |
18 |
8 |
18 |
14 |
3 |
22 |
5 |
8 |
16 |
13 |
16 |
21 |
11 |
16 |
12 |
4 |
2 |
3 |
6 |
8 |
2 |
20 |
4 |
14 |
7 |
16 |
|
2 |
|
3 |
4 |
11 |
5 |
17 |
3 |
10 |
4 |
1 |
20 |
9 |
5 |
6 |
15 |
10 |
13 |
20 |
11 |
8 |
20 |
5 |
1 |
17 |
12 |
8 |
21 |
4 |
14 |
8 |
17 |
12 |
19 |
16 |
2 |
19 |
20 |
9 |
|
2 |
|
3 |
12 |
6 |
6 |
10 |
22 |
17 |
17 |
8 |
4 |
20 |
17 |
10 |
10 |
4 |
8 |
1 |
18 |
17 |
10 |
13 |
11 |
4 |
20 |
6 |
17 |
14 |
7 |
7 |
19 |
18 |
19 |
16 |
11 |
17 |
15 |
18 |
|
2 |
24 |
|
3 |
8 |
15 |
12 |
8 |
11 |
10 |
15 |
18 |
21 |
18 |
8 |
19 |
2 |
4 |
10 |
2 |
12 |
10 |
11 |
9 |
16 |
3 |
6 |
14 |
16 |
5 |
21 |
17 |
14 |
11 |
14 |
3 |
2 |
8 |
21 |
14 |
|
2 |
|
3 |
21 |
3 |
2 |
20 |
4 |
13 |
4 |
4 |
15 |
9 |
18 |
14 |
16 |
19 |
19 |
4 |
8 |
13 |
13 |
18 |
7 |
15 |
5 |
5 |
16 |
7 |
18 |
10 |
8 |
6 |
15 |
17 |
9 |
1 |
9 |
5 |
|
1 |
|
3 |
14 |
17 |
6 |
10 |
15 |
2 |
2 |
10 |
11 |
19 |
18 |
3 |
4 |
8 |
18 |
12 |
12 |
21 |
22 |
22 |
11 |
1 |
8 |
22 |
13 |
5 |
4 |
15 |
13 |
10 |
6 |
5 |
4 |
11 |
17 |
4 |
|
1 |
|
3 |
2 |
16 |
12 |
20 |
14 |
19 |
20 |
16 |
11 |
12 |
13 |
13 |
21 |
14 |
9 |
18 |
14 |
13 |
3 |
12 |
5 |
15 |
2 |
7 |
10 |
5 |
16 |
4 |
9 |
18 |
14 |
4 |
13 |
12 |
5 |
2 |
|
1 |
|
3 |
15 |
9 |
7 |
4 |
21 |
9 |
19 |
11 |
1 |
12 |
20 |
12 |
7 |
5 |
22 |
10 |
15 |
19 |
9 |
7 |
4 |
6 |
21 |
2 |
18 |
4 |
13 |
15 |
20 |
14 |
14 |
21 |
19 |
21 |
4 |
16 |
|
1 |
|
3 |
4 |
16 |
18 |
2 |
4 |
15 |
15 |
8 |
15 |
16 |
9 |
3 |
8 |
4 |
17 |
19 |
19 |
5 |
18 |
18 |
6 |
21 |
19 |
7 |
21 |
15 |
14 |
16 |
20 |
3 |
11 |
20 |
6 |
16 |
5 |
4 |
|
1 |
|
3 |
5 |
7 |
11 |
13 |
8 |
18 |
3 |
8 |
19 |
18 |
17 |
18 |
2 |
15 |
2 |
6 |
21 |
7 |
21 |
19 |
16 |
16 |
11 |
15 |
5 |
4 |
6 |
16 |
14 |
10 |
20 |
5 |
9 |
17 |
4 |
8 |
|
1 |
|
4 |
16 |
3 |
15 |
7 |
4 |
19 |
8 |
2 |
10 |
13 |
18 |
10 |
16 |
17 |
3 |
7 |
20 |
4 |
13 |
17 |
11 |
5 |
19 |
13 |
5 |
13 |
2 |
9 |
16 |
13 |
20 |
3 |
19 |
3 |
9 |
18 |
|
1 |
|
4 |
18 |
15 |
14 |
11 |
4 |
4 |
4 |
8 |
17 |
13 |
13 |
15 |
19 |
4 |
1 |
5 |
14 |
8 |
13 |
17 |
14 |
14 |
15 |
22 |
19 |
8 |
9 |
11 |
21 |
11 |
18 |
5 |
8 |
7 |
6 |
4 |
|
1 |
|
4 |
13 |
11 |
9 |
6 |
1 |
13 |
17 |
16 |
1 |
10 |
18 |
11 |
18 |
14 |
15 |
10 |
4 |
19 |
18 |
7 |
13 |
21 |
20 |
13 |
10 |
15 |
9 |
1 |
22 |
4 |
20 |
4 |
2 |
3 |
19 |
17 |
|
1 |
|
4 |
1 |
15 |
12 |
10 |
10 |
17 |
4 |
10 |
15 |
8 |
10 |
13 |
9 |
14 |
15 |
10 |
7 |
19 |
3 |
5 |
21 |
3 |
17 |
13 |
12 |
1 |
22 |
16 |
1 |
15 |
3 |
18 |
7 |
13 |
8 |
19 |
|
1 |
|
4 |
11 |
18 |
9 |
14 |
18 |
19 |
21 |
3 |
2 |
14 |
7 |
17 |
6 |
5 |
19 |
6 |
18 |
10 |
4 |
19 |
14 |
12 |
5 |
21 |
16 |
6 |
10 |
9 |
5 |
6 |
12 |
15 |
3 |
21 |
16 |
6 |
|
1 |
|
4 |
21 |
17 |
15 |
6 |
19 |
4 |
5 |
22 |
2 |
6 |
3 |
11 |
9 |
10 |
16 |
22 |
6 |
14 |
13 |
13 |
16 |
11 |
17 |
6 |
13 |
18 |
17 |
14 |
14 |
16 |
21 |
11 |
10 |
2 |
3 |
5 |
|
1 |
|
4 |
4 |
3 |
18 |
18 |
8 |
13 |
20 |
3 |
14 |
9 |
17 |
11 |
12 |
5 |
21 |
18 |
2 |
6 |
10 |
15 |
20 |
3 |
3 |
13 |
9 |
5 |
20 |
6 |
6 |
5 |
19 |
11 |
2 |
6 |
15 |
3 |
|
1 |
|
4 |
16 |
18 |
3 |
2 |
9 |
11 |
12 |
12 |
11 |
9 |
8 |
2 |
21 |
10 |
13 |
1 |
11 |
20 |
10 |
17 |
9 |
5 |
4 |
21 |
11 |
9 |
5 |
21 |
15 |
13 |
6 |
1 |
1 |
7 |
20 |
5 |
|
1 |
20 |
|
4 |
22 |
6 |
3 |
10 |
15 |
20 |
5 |
4 |
5 |
6 |
17 |
17 |
6 |
2 |
6 |
16 |
8 |
21 |
16 |
9 |
8 |
5 |
13 |
3 |
6 |
11 |
20 |
13 |
19 |
16 |
15 |
8 |
17 |
6 |
4 |
19 |
|
1 |
|
4 |
1 |
5 |
4 |
7 |
14 |
11 |
8 |
16 |
9 |
4 |
8 |
13 |
16 |
22 |
17 |
13 |
10 |
12 |
11 |
18 |
17 |
3 |
9 |
4 |
21 |
18 |
14 |
17 |
18 |
21 |
6 |
21 |
11 |
4 |
19 |
22 |
|
1 |
|
4 |
3 |
17 |
6 |
13 |
13 |
21 |
12 |
9 |
15 |
13 |
7 |
17 |
9 |
10 |
16 |
3 |
5 |
20 |
21 |
8 |
13 |
22 |
6 |
4 |
15 |
17 |
10 |
8 |
21 |
14 |
13 |
5 |
2 |
1 |
17 |
9 |
|
1 |
|
4 |
6 |
13 |
9 |
22 |
6 |
6 |
10 |
12 |
9 |
19 |
5 |
6 |
8 |
16 |
1 |
11 |
21 |
5 |
4 |
11 |
21 |
10 |
20 |
12 |
20 |
22 |
5 |
18 |
17 |
17 |
18 |
9 |
13 |
8 |
14 |
7 |
|
1 |
|
224 |
|
4 |
12 |
5 |
7 |
20 |
10 |
15 |
21 |
7 |
19 |
21 |
4 |
4 |
19 |
18 |
4 |
13 |
8 |
9 |
19 |
11 |
12 |
10 |
2 |
20 |
21 |
12 |
19 |
4 |
14 |
13 |
18 |
6 |
16 |
21 |
19 |
6 |
|
1 |
|
0 |
|
4 |
1 |
2 |
21 |
14 |
8 |
9 |
14 |
11 |
7 |
18 |
8 |
7 |
19 |
17 |
15 |
9 |
14 |
16 |
12 |
13 |
6 |
13 |
19 |
2 |
20 |
2 |
8 |
14 |
6 |
7 |
2 |
13 |
12 |
3 |
7 |
5 |
|
1 |
|
4 |
11 |
11 |
19 |
6 |
13 |
6 |
20 |
17 |
13 |
9 |
11 |
2 |
20 |
6 |
16 |
18 |
11 |
17 |
16 |
8 |
5 |
4 |
19 |
16 |
1 |
22 |
3 |
15 |
13 |
19 |
10 |
17 |
8 |
12 |
15 |
12 |
|
1 |
|
4 |
13 |
4 |
18 |
10 |
18 |
13 |
13 |
17 |
3 |
5 |
13 |
20 |
15 |
3 |
12 |
14 |
4 |
7 |
9 |
12 |
13 |
4 |
4 |
9 |
19 |
22 |
14 |
6 |
9 |
14 |
4 |
20 |
7 |
5 |
12 |
4 |
|
1 |
|
4 |
8 |
9 |
12 |
2 |
12 |
15 |
4 |
22 |
14 |
7 |
14 |
14 |
16 |
10 |
11 |
10 |
13 |
3 |
11 |
4 |
7 |
20 |
19 |
18 |
20 |
16 |
6 |
9 |
9 |
11 |
14 |
15 |
7 |
19 |
7 |
9 |
|
1 |
|
4 |
5 |
14 |
5 |
8 |
14 |
9 |
21 |
7 |
9 |
4 |
6 |
21 |
11 |
2 |
14 |
5 |
8 |
17 |
16 |
18 |
16 |
19 |
18 |
17 |
19 |
12 |
3 |
4 |
13 |
13 |
4 |
7 |
22 |
6 |
15 |
8 |
|
1 |
|
4 |
21 |
16 |
19 |
22 |
11 |
4 |
6 |
4 |
10 |
20 |
7 |
22 |
21 |
18 |
9 |
14 |
18 |
3 |
13 |
18 |
10 |
14 |
9 |
13 |
14 |
21 |
11 |
14 |
8 |
11 |
20 |
19 |
18 |
3 |
3 |
19 |
|
1 |
|
4 |
2 |
8 |
13 |
3 |
9 |
14 |
22 |
13 |
11 |
18 |
12 |
22 |
15 |
4 |
18 |
6 |
11 |
15 |
4 |
10 |
9 |
4 |
16 |
4 |
1 |
20 |
13 |
18 |
19 |
5 |
13 |
12 |
2 |
3 |
15 |
22 |
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|