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
2
2
2
2
2
3
2
1
1
1
2
2
1
2
1
2
1
1
2
2
1
3
2
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
1
1
1
1
1
1
1
1
1
1
2
3
3
4
1
1
1
2
1
7
5
11
8
6
4
5
10
4
5
11
7
10
8
6
11
1
1
3
2
2
2
6
6
3
1
7
11
8
11
6
12
7
5
8
8
9
1
1
10
1
1
13
11
14
11
18
8
8
16
18
24
20
3
15
1
7
16
18
1
1
1
24
16
1
19
18
1
6
22
10
25
9
18
14
1
1
8
1
2
3
10
12
13
25
24
11
1
17
1
21
22
1
25
17
8
1
16
14
1
11
8
23
16
9
15
13
22
16
25
1
5
1
13
9
11
8
1
1
24
24
23
1
24
12
18
1
1
9
25
1
4
14
23
2
21
1
1
19
1
1
19
1
1
1
17
15
11
13
1
12
13
23
1
11
14
1
1
1
19
14
19
1
1
1
25
1
1
1
21
18
1
4
22
5
3
8
11
24
17
1
2
23
9
16
16
1
24
12
6
13
3
1
1
19
1
11
1
1
1
25
7
18
5
7
20
5
7
1
1
25
6
13
11
18
16
20
21
25
21
23
18
1
16
24
10
19
15
12
18
19
1
12
9
13
1
20
25
21
21
7
5
10
23
11
25
18
1
23
1
19
9
10
18
18
11
8
16
10
16
19
12
13
1
20
17
19
18
18
24
11
12
23
4
1
14
1
24
12
9
14
18
1
12
10
22
1
1
1
1
23
13
24
20
20
24
12
21
23
18
8
16
23
24
12
16
5
24
8
13
24
17
11
2
7
24
1
1
12
1
1
19
1
21
14
23
22
19
16
18
18
23
1
1
1
10
19
8
1
21
23
20
12
25
9
14
1
1
1
4
25
25
16
1
1
18
13
25
18
1
18
10
2
15
1
1
14
19
21
16
10
4
19
15
1
25
21
6
24
1
1
1
10
23
18
13
1
1
14
1
24
8
23
1
7
8
12
13
1
1
11
12
22
14
18
18
18
13
16
4
1
8
1
1
24
15
1
22
13
1
23
10
17
1
1
1
14
1
1
7
1
5
1
21
10
11
18
10
11
1
1
2
21
1
14
24
23
11
1
21
1
1
14
23
1
1
2
25
1
1
23
13
25
11
18
18
24
11
3
19
10
16
1
1
6
1
1
8
14
11
1
19
1
1
1
1
11
24
20
1
18
14
13
13
1
15
20
18
1
18
20
1
11
10
1
24
15
8
16
1
8
21
3
23
11
21
24
19
20
16
17
20
1
3
1
1
2
1
2
1
1
1
10
23
7
12
23
10
10
1
10
10
7
16
19
10
14
22
18
11
5
12
11
10
15
10
9
16
12
7
10
10
18
7
10
8
14
16
8
22
15
11
12
17
1
1
1
1
1
1
1
4
7
5
5
7
4
3
7
5
7
7
6
4
5
3
7
7
7
5
3
7
4
4
5
3
6
5
6
4
5
3
3
5
5
3
7
6
6
6
6
6
6
6
3
8
6
6
6
6
6
9
10
6
3
4
4
8
9
4
9
8
16
7
13
7
3
11
9
7
3
9
6
7
16
7
10
18
16
14
3
24
1
19
11
1
8
8
13
11
16
1
10
7
7
7
7
13
11
15
11
24
7
15
5
9
2
8
25
22
8
9
10
9
12
1
7
13
10
3
15
13
13
12
9
19
9
3
16
8
9
22
13
1
22
1
12
13
2
9
1
11
7
15
14
10
1
13
1
1
1
13
11
16
11
24
1
17
12
17
10
25
5
1
16
10
17
5
8
11
2
23
14
8
8
9
1
1
1
1
16
8
1
1
8
10
1
1
9
11
1
11
12
1
14
1
16
8
14
11
13
1
2
1
7
17
19
1
17
6
8
12
1
13
8
15
21
9
15
13
7
1
12
15
10
7
1
1
9
2
8
1
1
1
1
7
7
7
1
8
9
10
1
15
7
4
13
24
10
7
7
13
10
8
11
13
13
23
9
8
7
14
8
9
1
1
1
8
20
19
10
12
1
1
1
5
6
1
13
1
1
1
1
1
1
1
1
1
22
1
1
10
13
16
1
7
9
8
8
1
13
16
12
1
12
4
7
1
1
7
8
6
1
1
1
1
9
1
1
6
1
14
8
12
21
4
9
11
2
7
16
10
17
16
25
11
10
17
16
8
12
10
13
1
1
1
1
1
1
8
19
1
17
12
11
8
15
13
14
10
16
1
24
15
1
13
13
8
7
15
15
20
9
6
9
8
20
13
6
1
14
16
1
8
1
16
13
19
1
1
8
10
8
1
1
1
8
1
11
14
13
1
18
7
15
8
10
8
10
16
20
24
21
1
24
10
16
20
14
14
25
13
11
16
12
8
8
24
19
1
13
1
8
13
1
1
13
14
17
23
14
10
15
1
17
16
12
11
12
10
7
19
21
10
2
1
14
16
1
22
9
7
16
19
1
1
16
13
10
9
7
13
16
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
1
1
1
2
3
3
2
3
3
1
1
1
2
2
2
2
2
1
1
2
1
3
2
8
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
3
3
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
3
1
1
1
11
1
1
3
3
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
1
2
2
2
1
2
2
1
6
1
1
1
1
1
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
1
1
1
1
1
1
1
1
2
3
2
2
1
1
1
1
1
2
1
5
2
1
2
2
4
5
4
2
1
1
1
1
1
1
1
1
1
1
3
1
1
1
1
1
1
1
10
1
8
11
9
14
11
9
22
10
20
16
1
7
12
18
8
10
11
11
10
1
25
12
9
8
13
14
10
9
1
10
10
12
4
1
8
9
14
11
1
16
10
7
10
9
9
11
7
9
10
5
8
5
10
9
11
11
10
10
8
10
10
12
8
9
11
10
9
10
11
1
9
10
10
10
14
1
9
1
22
1
11
1
1
14
13
22
25
1
1
10
12
10
12
12
16
16
14
9
11
14
10
1
11
11
12
11
14
12
10
6
6
6
6
6
6
12
10
14
11
7
1
1
1
1
1
10
6
12
9
1
10
11
1
1
10
3
1
12
1
11
9
11
16
1
5
9
1
1
6
1
8
1
1
1
9
1
2
9
11
1
12
1
1
9
7
1
1
1
10
7
1
1
10
9
12
1
8
1
1
9
10
1
1
1
1
1
8
10
1
11
1
9
3
12
1
1
10
1
10
1
1
5
11
10
24
11
10
1
20
10
20
23
1
5
16
1
11
13
8
7
1
8
8
5
10
9
1
11
1
11
11
9
7
1
11
8
1
5
10
9
6
1
5
11
11
1
10
1
9
11
9
10
1
10
19
11
11
1
11
10
11
8
19
19
22
5
22
8
11
8
9
19
6
6
6
9
1
10
12
5
11
9
6
19
9
10
9
13
10
8
7
8
7
16
8
10
4
4
4
4
11
13
1
6
10
11
9
1
1
1
1
12
1
1
1
1
11
11
18
10
22
9
1
1
24
11
5
10
13
25
16
11
10
12
12
9
10
9
9
9
1
1
9
1
10
1
1
1
1
1
1
1
1
12
1
1
1
1
1
1
1
1
10
1
8
3
9
15
20
3
9
6
5
10
9
12
12
1
11
16
11
21
1
20
11
8
1
11
10
9
10
20
15
11
11
1
10
18
20
1
1
1
1
1
11
11
11
1
1
1
11
11
11
11
11
11
1
4
4
11
15
12
1
10
10
10
10
10
1
1
1
1
1
1
1
2
1
2
2
3
2
2
2
1
1
1
1
1
1
1
7
3
2
2
1
3
1
3
2
1
3
1
1
2
3
3
1
2
1
1
3
2
2
2
1
1
1
16
5
1
1
1
1
1
1
1
1
1
2
2
1
3
3
3
3
3
2
3
2
3
3
3
3
3
3
3
2
3
3
3
3
3
2
3
3
2
3
2
2
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
3
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
2
1
1
1
1
1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
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
6
4
22
4
3
9
4
6
2
10
19
12
24
14
20
12
21
2
2
16
8
19
23
9
24
14
7
14
25
3
7
13
11
22
25
13
19
22
8
11
3
7
21
22
24
9
13
24
17
6
6
18
15
22
25
17
5
8
16
19
12
17
23
22
14
19
13
8
22
18
5
24
13
18
20
21
19
21
22
14
10
25
14
6
23
11
14
13
23
16
20
22
24
12
22
22
14
8
22
21
21
14
15
23
17
16
25
2
23
16
5
12
15
14
2
25
19
6
18
12
18
18
15
20
12
6
9
24
21
12
6
19
19
9
1
24
17
2
19
3
3
5
19
13
21
9
21
11
4
21
5
19
7
10
9
2
8
5
15
17
2
17
20
14
7
10
10
17
13
17
20
7
16
14
7
14
5
24
17
5
20
11
22
21
16
19
7
22
22
23
7
14
18
8
19
12
11
12
18
14
25
19
16
12
7
12
24
6
21
4
20
7
23
19
12
18
22
18
15
18
19
16
15
13
7
19
11
4
16
19
17
11
12
12
21
6
21
21
10
3
19
11
21
6
21
6
21
7
15
14
20
3
19
3
20
10
16
20
19
10
25
21
21
12
19
9
24
19
8
19
17
18
10
2
1
2
1
2
25
3
1
1
1
1
8
12
11
7
8
3
3
8
10
10
14
6
3
4
10
7
9
8
3
1
2
1
1
1
1
1
1
1
1
2
1
1
1
3
1
2
1
1
2
1
3
3
1
1
1
1
1
3
1
1
1
3
1
1
1
1
1
1
1
1
1
3
1
1
1
1
1
1
1
1
4
1
1
3
1
1
1
1
3
2
1
4
1
1
1
1
2
2
1
2
1
1
3
4
1
1
1
1
1
1
1
1
3
1
1
1
2
3
1
1
1
1
1
1
2
1
2
3
1
1
2
3
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
2
2
1
1
1
1
1
1
2
1
1
1
3
2
1
1
1
1
1
1
1
1
1
1
2
2
1
1
1
1
1
1
2
1
1
1
1
1
1
3
3
1
1
1
1
1
1
1
1
1
1
1
2
1
3
2
1
1
1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
2
2
2
1
1
1
1
1
1
1
1
1
3
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
1
2
1
1
1
2
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
2
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
4
2
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
22
21
23
22
22
24
20
25
23
22
21
24
20
25
20
22
23
25
23
25
15
20
24
20
22
23
25
23
25
15
20
24
19
18
21
1
20
20
21
21
17
17
25
25
20
20
25
25
23
23
25
25
24
24
25
25
25
25
18
18
18
18
23
23
21
21
25
25
23
23
19
24
24
22
22
23
23
19
19
25
25
15
15
24
24
19
19
18
18
23
23
19
19
23
23
25
25
21
21
22
22
21
21
25
25
24
24
17
17
16
16
25
25
25
25
18
18
22
22
16
16
20
20
21
21
23
23
16
16
12
12
17
17
20
20
25
25
25
25
19
19
17
17
25
25
18
18
21
21
22
22
20
20
22
22
25
25
25
25
23
23
23
23
25
25
21
21
21
21
23
23
20
20
24
24
18
18
19
19
21
21
18
18
18
18
25
25
15
15
25
25
24
24
15
15
25
25
15
15
25
25
19
19
23
23
22
22
25
25
21
21
20
20
17
17
24
24
25
25
24
24
14
14
20
20
16
16
20
20
5
5
19
19
19
19
18
18
12
12
23
23
22
22
24
24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
1
1
1
3
1
1
2
1
1
2
1
5
5
6
5
6
5
5
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
6
5
5
5
6
3
1
7
2
4
5
5
1
3
3
3
3
3
2
2
2
2
2
2
3
3
3
3
3
3
3
3
2
2
4
3
4
1
1
1
1
1
1
3
3
3
1
1
4
4
4
2
1
1
1
1
1
1
1
1
2
1
2
1
1
1
4
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
3
2
1
2
1
1
1
3
1
3
1
4
6
6
3
1
1
4
4
4
4
4
4
4
1
1
1
1
1
1
1
1
1
1
1
14
6
1
1
1
1
1
1
1
1
1
2
2
2
2
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
3
1
3
1
1
1
2
1
2
1
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
2
3
2
3
3
3
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
3
3
2
3
3
2
2
2
1
1
1
1
1
1
1
1
1
1
12
12
11
10
12
11
12
11
10
8
17
11
8
10
12
10
8
10
12
12
9
12
10
12
11
10
11
11
12
11
8
12
9
12
15
14
10
11
11
8
10
10
7
9
13
12
9
13
13
12
8
10
11
14
10
16
10
9
12
13
10
12
11
14
12
12
13
12
13
11
10
10
14
12
11
13
11
14
12
10
10
8
10
22
12
15
16
16
16
16
18
22
12
18
22
15
12
14
16
11
9
13
12
20
13
12
9
9
14
9
12
11
9
16
8
14
14
15
14
7
8
10
14
12
19
19
19
23
17
17
12
12
13
10
14
16
5
11
7
9
6
9
9
21
23
17
14
15
15
20
17
14
14
16
17
12
12
12
19
10
19
16
22
22
17
17
14
14
8
18
22
19
19
20
20
15
23
20
9
19
19
14
13
12
12
12
24
24
20
8
14
14
13
17
14
14
14
14
21
22
16
8
9
12
13
10
7
13
13
16
19
18
23
12
17
16
14
21
11
13
15
12
14
12
11
16
14
17
22
23
14
16
15
14
21
21
20
21
20
21
21
21
15
23
16
16
20
17
14
14
14
17
1
1
19
14
2
18
13
6
13
15
9
12
19
8
12
11
12
12
12
8
17
11
8
10
12
8
10
12
12
12
9
12
11
12
11
10
10
11
11
8
12
9
12
15
14
10
11
7
9
12
9
13
14
14
7
13
9
10
12
10
12
11
12
12
13
11
10
14
12
11
11
14
12
10
8
22
16
12
14
15
15
16
16
21
23
12
22
16
17
7
13
16
14
15
16
14
12
12
14
7
11
14
24
13
8
13
23
2
13
12
12
11
12
10
16
9
15
12
12
11
10
10
14
15
10
21
18
23
18
10
22
10
14
13
23
12
8
12
9
16
10
12
10
12
15
10
11
16
2
18
2
7
1
14
22
10
21
22
20
21
20
21
21
21
21
21
14
8
20
20
21
21
1
1
1
1
1
2
1
3
1
1
1
1
1
21
21
21
1
13
23
14
11
22
15
13
13
19
20
1
17
4
7
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
3
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
2
17
1
5
9
8
2
1
1
1
1
5
4
4
1
1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