content
stringlengths 1
1.04M
| input_ids
sequencelengths 1
774k
| ratio_char_token
float64 0.38
22.9
| token_count
int64 1
774k
|
---|---|---|---|
macroCommand = MacroCommand()
macroCommand() | [
198,
20285,
305,
21575,
796,
42755,
21575,
3419,
198,
20285,
305,
21575,
3419
] | 3.461538 | 13 |
import struct
import os
BUILD_DIR = os.environ.get('BUILD_DIR', 'build')
if __name__ == '__main__':
f = open(os.path.join(BUILD_DIR, 'test_io.bin'), 'wb')
f.write(struct.pack('6I',0,1,2,0,1,2))
f.close()
f = open(os.path.join(BUILD_DIR, 'test_io_false.bin'), 'wb')
f.write(struct.pack('5I',0,1,1,2,0))
f.close()
| [
11748,
2878,
198,
11748,
28686,
198,
198,
19499,
26761,
62,
34720,
796,
28686,
13,
268,
2268,
13,
1136,
10786,
19499,
26761,
62,
34720,
3256,
705,
11249,
11537,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
277,
796,
1280,
7,
418,
13,
6978,
13,
22179,
7,
19499,
26761,
62,
34720,
11,
705,
9288,
62,
952,
13,
8800,
33809,
705,
39346,
11537,
198,
220,
220,
220,
277,
13,
13564,
7,
7249,
13,
8002,
10786,
21,
40,
3256,
15,
11,
16,
11,
17,
11,
15,
11,
16,
11,
17,
4008,
198,
220,
220,
220,
277,
13,
19836,
3419,
198,
220,
220,
220,
277,
796,
1280,
7,
418,
13,
6978,
13,
22179,
7,
19499,
26761,
62,
34720,
11,
705,
9288,
62,
952,
62,
9562,
13,
8800,
33809,
705,
39346,
11537,
198,
220,
220,
220,
277,
13,
13564,
7,
7249,
13,
8002,
10786,
20,
40,
3256,
15,
11,
16,
11,
16,
11,
17,
11,
15,
4008,
198,
220,
220,
220,
277,
13,
19836,
3419,
628
] | 2.017857 | 168 |
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 18})
pol_thres=0.7
xlsx_filename='/home/ashindin/owncloud/0002_see_incl/Data_1_5.83.xlsx'
table=pd.read_excel(xlsx_filename, index_col=None, header=None)
Ex, Ey, Ez, h, X, T, n2, labs =[],[],[],[],[],[],[],[]
for i in range(9):
Ex.append(table[0+i*9][1::].values.astype(float))
Ey.append(table[1+i*9][1::].values.astype(float))
Ez.append(table[2+i*9][1::].values.astype(float))
h.append(table[3+i*9][1::].values.astype(float))
X.append(table[4+i*9][1::].values.astype(float))
T.append(table[5+i*9][1::].values.astype(float))
n2.append(table[6+i*9][1::].values.astype(float))
labs.append(table[7+i*9][1])
fig=plt.figure(figsize=(9,6))
ax=plt.axes()
colors=['r','g','b','c','m', 'y', 'orange', 'brown', 'lime']
labels=[r'$\alpha=-28^\circ$',r'$\alpha=-21^\circ$',r'$\alpha=-14^\circ$',r'$\alpha=-7^\circ$',r'$\alpha=0^\circ$',
r'$\alpha=7^\circ$', r'$\alpha=14^\circ$', r'$\alpha=21^\circ$', r'$\alpha=28^\circ$']
ind=0
for i in [0,2,3,4,5,7,6,8,1]:
plt.plot(X[i],h[i],color=colors[ind],label='')
plt.plot(X[i][np.where(Ez[i]>pol_thres)[0]],h[i][np.where(Ez[i]>pol_thres)[0]],color=colors[ind],label=labels[ind],lw=4)
ind+=1
plt.legend(loc=3)
plt.title("5830 kHz")
plt.xlabel('X, km')
plt.ylabel('h, km')
ax.set_xticks([-300,-200,-100,0,100,200,300])
ax.set_ylim(80,230)
ann1 = ax.annotate('', xy=(11, 80), xycoords='data',
xytext=(11, 90), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann2 = ax.annotate('', xy=(82, 80), xycoords='data',
xytext=(82, 90), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann3 = ax.annotate('', xy=(113, 80), xycoords='data',
xytext=(113, 90), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann4 = ax.annotate('A', Color='k', xy=(7, 90), xycoords='data',
xytext=(7-3, 92), textcoords='data')
ann5 = ax.annotate('B', Color='k', xy=(78, 90), xycoords='data',
xytext=(78-3, 92), textcoords='data')
ann4 = ax.annotate('C', Color='k', xy=(109, 90), xycoords='data',
xytext=(109-3, 92), textcoords='data')
r=40
x0=50; y0=220
dx=-r*np.cos(75.822*np.pi/180); dy=-r*np.sin(75.822*np.pi/180)
# ~ print(dx,dy)
ann_mag = ax.annotate('', xy=(x0+dx, y0+dy), xycoords='data',
xytext=(x0, y0), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann_B = ax.annotate('B', Color='k', xy=(30, 200), xycoords='data',
xytext=(27,200), textcoords='data',fontsize=16,fontweight='bold')
ax.plot([-300,300],[223,223], "k--",lw=2)
ann_ns = ax.annotate('', xy=(150, 120), xycoords='data',
xytext=(300, 120), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann_N = ax.annotate('N', Color='k', xy=(125, 120), xycoords='data',
xytext=(132,118), textcoords='data',fontsize=16)
ann_S = ax.annotate('S', Color='k', xy=(304, 120), xycoords='data',
xytext=(305,118), textcoords='data',fontsize=16)
plt.savefig('figure1a_5830.pdf',dpi=600)
plt.savefig('figure1a_5830.png')
plt.close()
xlsx_filename='/home/ashindin/owncloud/0002_see_incl/sData_1_5.73.xlsx'
table=pd.read_excel(xlsx_filename, index_col=None, header=None)
Ex, Ey, Ez, h, X, T, n2, labs =[],[],[],[],[],[],[],[]
for i in range(9):
Ex.append(table[0+i*9][1::].values.astype(float))
Ey.append(table[1+i*9][1::].values.astype(float))
Ez.append(table[2+i*9][1::].values.astype(float))
h.append(table[3+i*9][1::].values.astype(float))
X.append(table[4+i*9][1::].values.astype(float))
T.append(table[5+i*9][1::].values.astype(float))
n2.append(table[6+i*9][1::].values.astype(float))
labs.append(table[7+i*9][1])
fig=plt.figure(figsize=(9,6))
ax=plt.axes()
colors=['r','g','b','c','m', 'y', 'orange', 'brown', 'lime']
labels=[r'$\alpha=-28^\circ$',r'$\alpha=-21^\circ$',r'$\alpha=-14^\circ$',r'$\alpha=-7^\circ$',r'$\alpha=0^\circ$',
r'$\alpha=7^\circ$', r'$\alpha=14^\circ$', r'$\alpha=21^\circ$', r'$\alpha=28^\circ$']
ind=0
for i in [0,1, 2,3,4,5,6,7,8]:
plt.plot(X[i],h[i],color=colors[ind],label='')
plt.plot(X[i][np.where(Ez[i]>pol_thres)[0]],h[i][np.where(Ez[i]>pol_thres)[0]],color=colors[ind],label=labels[ind],lw=4)
ind+=1
plt.legend(loc=3)
plt.title("5730 kHz")
plt.xlabel('X, km')
plt.ylabel('h, km')
ax.set_xticks([-300,-200,-100,0,100,200,300])
ax.set_ylim(80,230)
ann1 = ax.annotate('', xy=(11, 80), xycoords='data',
xytext=(11, 90), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann2 = ax.annotate('', xy=(82, 80), xycoords='data',
xytext=(82, 90), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann3 = ax.annotate('', xy=(113, 80), xycoords='data',
xytext=(113, 90), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann4 = ax.annotate('A', Color='k', xy=(7, 90), xycoords='data',
xytext=(7-3, 92), textcoords='data')
ann5 = ax.annotate('B', Color='k', xy=(78, 90), xycoords='data',
xytext=(78-3, 92), textcoords='data')
ann4 = ax.annotate('C', Color='k', xy=(109, 90), xycoords='data',
xytext=(109-3, 92), textcoords='data')
r=40
x0=50; y0=220
dx=-r*np.cos(75.822*np.pi/180); dy=-r*np.sin(75.822*np.pi/180)
# ~ print(dx,dy)
ann_mag = ax.annotate('', xy=(x0+dx, y0+dy), xycoords='data',
xytext=(x0, y0), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann_B = ax.annotate('B', Color='k', xy=(30, 200), xycoords='data',
xytext=(27,200), textcoords='data',fontsize=16,fontweight='bold')
ax.plot([-300,300],[223,223], "k--",lw=2)
ann_ns = ax.annotate('', xy=(150, 120), xycoords='data',
xytext=(300, 120), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann_N = ax.annotate('N', Color='k', xy=(125, 120), xycoords='data',
xytext=(132,118), textcoords='data',fontsize=16)
ann_S = ax.annotate('S', Color='k', xy=(304, 120), xycoords='data',
xytext=(305,118), textcoords='data',fontsize=16)
plt.savefig('figure1a_5730.pdf',dpi=600)
plt.savefig('figure1a_5730.png')
plt.close()
xlsx_filename='/home/ashindin/owncloud/0002_see_incl/sData_1_5.93.xlsx'
table=pd.read_excel(xlsx_filename, index_col=None, header=None)
Ex, Ey, Ez, h, X, T, n2, labs =[],[],[],[],[],[],[],[]
for i in range(9):
Ex.append(table[0+i*9][1::].values.astype(float))
Ey.append(table[1+i*9][1::].values.astype(float))
Ez.append(table[2+i*9][1::].values.astype(float))
h.append(table[3+i*9][1::].values.astype(float))
X.append(table[4+i*9][1::].values.astype(float))
T.append(table[5+i*9][1::].values.astype(float))
n2.append(table[6+i*9][1::].values.astype(float))
labs.append(table[7+i*9][1])
fig=plt.figure(figsize=(9,6))
ax=plt.axes()
colors=['r','g','b','c','m', 'y', 'orange', 'brown', 'lime']
labels=[r'$\alpha=-28^\circ$',r'$\alpha=-21^\circ$',r'$\alpha=-14^\circ$',r'$\alpha=-7^\circ$',r'$\alpha=0^\circ$',
r'$\alpha=7^\circ$', r'$\alpha=14^\circ$', r'$\alpha=21^\circ$', r'$\alpha=28^\circ$']
ind=0
for i in [0,1, 2,3,4,5,6,7,8]:
plt.plot(X[i],h[i],color=colors[ind],label='')
plt.plot(X[i][np.where(Ez[i]>pol_thres)[0]],h[i][np.where(Ez[i]>pol_thres)[0]],color=colors[ind],label=labels[ind],lw=4)
ind+=1
plt.legend(loc=3)
plt.title("5930 kHz")
plt.xlabel('X, km')
plt.ylabel('h, km')
ax.set_xticks([-300,-200,-100,0,100,200,300])
ax.set_ylim(80,230)
ann1 = ax.annotate('', xy=(11, 80), xycoords='data',
xytext=(11, 90), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann2 = ax.annotate('', xy=(82, 80), xycoords='data',
xytext=(82, 90), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann3 = ax.annotate('', xy=(113, 80), xycoords='data',
xytext=(113, 90), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann4 = ax.annotate('A', Color='k', xy=(7, 90), xycoords='data',
xytext=(7-3, 92), textcoords='data')
ann5 = ax.annotate('B', Color='k', xy=(78, 90), xycoords='data',
xytext=(78-3, 92), textcoords='data')
ann4 = ax.annotate('C', Color='k', xy=(109, 90), xycoords='data',
xytext=(109-3, 92), textcoords='data')
r=40
x0=50; y0=220
dx=-r*np.cos(75.822*np.pi/180); dy=-r*np.sin(75.822*np.pi/180)
# ~ print(dx,dy)
ann_mag = ax.annotate('', xy=(x0+dx, y0+dy), xycoords='data',
xytext=(x0, y0), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann_B = ax.annotate('B', Color='k', xy=(30, 200), xycoords='data',
xytext=(27,200), textcoords='data',fontsize=16,fontweight='bold')
ax.plot([-300,300],[223,223], "k--",lw=2)
ann_ns = ax.annotate('', xy=(150, 120), xycoords='data',
xytext=(300, 120), textcoords='data',
arrowprops=dict(arrowstyle="->",
ec="k",lw=2))
ann_N = ax.annotate('N', Color='k', xy=(125, 120), xycoords='data',
xytext=(132,118), textcoords='data',fontsize=16)
ann_S = ax.annotate('S', Color='k', xy=(304, 120), xycoords='data',
xytext=(305,118), textcoords='data',fontsize=16)
plt.savefig('figure1a_5930.pdf',dpi=600)
plt.savefig('figure1a_5930.png')
plt.close() | [
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
198,
489,
83,
13,
6015,
10044,
4105,
13,
19119,
15090,
6,
10331,
13,
7857,
10354,
1248,
30072,
198,
198,
16104,
62,
400,
411,
28,
15,
13,
22,
198,
198,
87,
7278,
87,
62,
34345,
11639,
14,
11195,
14,
1077,
521,
259,
14,
593,
17721,
14,
34215,
62,
3826,
62,
259,
565,
14,
6601,
62,
16,
62,
20,
13,
5999,
13,
87,
7278,
87,
6,
198,
11487,
28,
30094,
13,
961,
62,
1069,
5276,
7,
87,
7278,
87,
62,
34345,
11,
6376,
62,
4033,
28,
14202,
11,
13639,
28,
14202,
8,
220,
198,
3109,
11,
21566,
11,
21034,
11,
289,
11,
1395,
11,
309,
11,
299,
17,
11,
27887,
796,
58,
38430,
38430,
38430,
38430,
38430,
38430,
4357,
21737,
198,
1640,
1312,
287,
2837,
7,
24,
2599,
198,
220,
220,
220,
1475,
13,
33295,
7,
11487,
58,
15,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
21566,
13,
33295,
7,
11487,
58,
16,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
21034,
13,
33295,
7,
11487,
58,
17,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
289,
13,
33295,
7,
11487,
58,
18,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
1395,
13,
33295,
7,
11487,
58,
19,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
309,
13,
33295,
7,
11487,
58,
20,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
299,
17,
13,
33295,
7,
11487,
58,
21,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
27887,
13,
33295,
7,
11487,
58,
22,
10,
72,
9,
24,
7131,
16,
12962,
198,
198,
5647,
28,
489,
83,
13,
26875,
7,
5647,
7857,
16193,
24,
11,
21,
4008,
198,
897,
28,
489,
83,
13,
897,
274,
3419,
198,
4033,
669,
28,
17816,
81,
41707,
70,
41707,
65,
41707,
66,
41707,
76,
3256,
705,
88,
3256,
705,
43745,
3256,
705,
33282,
3256,
705,
27299,
20520,
198,
23912,
1424,
41888,
81,
6,
3,
59,
26591,
10779,
2078,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
10779,
2481,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
10779,
1415,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
10779,
22,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
28,
15,
61,
59,
21170,
3,
3256,
220,
198,
81,
6,
3,
59,
26591,
28,
22,
61,
59,
21170,
3,
3256,
374,
6,
3,
59,
26591,
28,
1415,
61,
59,
21170,
3,
3256,
374,
6,
3,
59,
26591,
28,
2481,
61,
59,
21170,
3,
3256,
374,
6,
3,
59,
26591,
28,
2078,
61,
59,
21170,
3,
20520,
198,
521,
28,
15,
198,
1640,
1312,
287,
685,
15,
11,
17,
11,
18,
11,
19,
11,
20,
11,
22,
11,
21,
11,
23,
11,
16,
5974,
198,
220,
220,
220,
458,
83,
13,
29487,
7,
55,
58,
72,
4357,
71,
58,
72,
4357,
8043,
28,
4033,
669,
58,
521,
4357,
18242,
28,
7061,
8,
198,
220,
220,
220,
458,
83,
13,
29487,
7,
55,
58,
72,
7131,
37659,
13,
3003,
7,
36,
89,
58,
72,
60,
29,
16104,
62,
400,
411,
38381,
15,
60,
4357,
71,
58,
72,
7131,
37659,
13,
3003,
7,
36,
89,
58,
72,
60,
29,
16104,
62,
400,
411,
38381,
15,
60,
4357,
8043,
28,
4033,
669,
58,
521,
4357,
18242,
28,
23912,
1424,
58,
521,
4357,
75,
86,
28,
19,
8,
198,
220,
220,
220,
773,
47932,
16,
198,
489,
83,
13,
1455,
437,
7,
17946,
28,
18,
8,
198,
489,
83,
13,
7839,
7203,
3365,
1270,
37597,
4943,
198,
489,
83,
13,
87,
18242,
10786,
55,
11,
10571,
11537,
198,
489,
83,
13,
2645,
9608,
10786,
71,
11,
10571,
11537,
198,
897,
13,
2617,
62,
742,
3378,
26933,
12,
6200,
12095,
2167,
12095,
3064,
11,
15,
11,
3064,
11,
2167,
11,
6200,
12962,
198,
897,
13,
2617,
62,
88,
2475,
7,
1795,
11,
19214,
8,
198,
198,
1236,
16,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
1157,
11,
4019,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
1157,
11,
4101,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
1236,
17,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
6469,
11,
4019,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
6469,
11,
4101,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
1236,
18,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
16616,
11,
4019,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
16616,
11,
4101,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
198,
1236,
19,
796,
7877,
13,
34574,
378,
10786,
32,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
22,
11,
4101,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
22,
12,
18,
11,
10190,
828,
2420,
1073,
3669,
11639,
7890,
11537,
198,
198,
1236,
20,
796,
7877,
13,
34574,
378,
10786,
33,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
3695,
11,
4101,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
3695,
12,
18,
11,
10190,
828,
2420,
1073,
3669,
11639,
7890,
11537,
198,
198,
1236,
19,
796,
7877,
13,
34574,
378,
10786,
34,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
14454,
11,
4101,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
14454,
12,
18,
11,
10190,
828,
2420,
1073,
3669,
11639,
7890,
11537,
198,
198,
81,
28,
1821,
198,
87,
15,
28,
1120,
26,
331,
15,
28,
17572,
198,
34350,
10779,
81,
9,
37659,
13,
6966,
7,
2425,
13,
23,
1828,
9,
37659,
13,
14415,
14,
15259,
1776,
20268,
10779,
81,
9,
37659,
13,
31369,
7,
2425,
13,
23,
1828,
9,
37659,
13,
14415,
14,
15259,
8,
198,
2,
5299,
3601,
7,
34350,
11,
9892,
8,
198,
198,
1236,
62,
19726,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
87,
15,
10,
34350,
11,
331,
15,
10,
9892,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
87,
15,
11,
331,
15,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
198,
1236,
62,
33,
796,
7877,
13,
34574,
378,
10786,
33,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
1270,
11,
939,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
1983,
11,
2167,
828,
2420,
1073,
3669,
11639,
7890,
3256,
10331,
7857,
28,
1433,
11,
10331,
6551,
11639,
36575,
11537,
220,
220,
220,
220,
198,
897,
13,
29487,
26933,
12,
6200,
11,
6200,
38430,
22047,
11,
22047,
4357,
366,
74,
438,
1600,
75,
86,
28,
17,
8,
628,
198,
1236,
62,
5907,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
8628,
11,
7982,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
6200,
11,
7982,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
1236,
62,
45,
796,
7877,
13,
34574,
378,
10786,
45,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
11623,
11,
7982,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
19924,
11,
16817,
828,
2420,
1073,
3669,
11639,
7890,
3256,
10331,
7857,
28,
1433,
8,
220,
220,
220,
220,
198,
1236,
62,
50,
796,
7877,
13,
34574,
378,
10786,
50,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
21288,
11,
7982,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
22515,
11,
16817,
828,
2420,
1073,
3669,
11639,
7890,
3256,
10331,
7857,
28,
1433,
8,
198,
198,
489,
83,
13,
21928,
5647,
10786,
26875,
16,
64,
62,
3365,
1270,
13,
12315,
3256,
67,
14415,
28,
8054,
8,
198,
489,
83,
13,
21928,
5647,
10786,
26875,
16,
64,
62,
3365,
1270,
13,
11134,
11537,
198,
489,
83,
13,
19836,
3419,
198,
198,
87,
7278,
87,
62,
34345,
11639,
14,
11195,
14,
1077,
521,
259,
14,
593,
17721,
14,
34215,
62,
3826,
62,
259,
565,
14,
82,
6601,
62,
16,
62,
20,
13,
4790,
13,
87,
7278,
87,
6,
198,
11487,
28,
30094,
13,
961,
62,
1069,
5276,
7,
87,
7278,
87,
62,
34345,
11,
6376,
62,
4033,
28,
14202,
11,
13639,
28,
14202,
8,
220,
198,
3109,
11,
21566,
11,
21034,
11,
289,
11,
1395,
11,
309,
11,
299,
17,
11,
27887,
796,
58,
38430,
38430,
38430,
38430,
38430,
38430,
4357,
21737,
198,
1640,
1312,
287,
2837,
7,
24,
2599,
198,
220,
220,
220,
1475,
13,
33295,
7,
11487,
58,
15,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
21566,
13,
33295,
7,
11487,
58,
16,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
21034,
13,
33295,
7,
11487,
58,
17,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
289,
13,
33295,
7,
11487,
58,
18,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
1395,
13,
33295,
7,
11487,
58,
19,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
309,
13,
33295,
7,
11487,
58,
20,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
299,
17,
13,
33295,
7,
11487,
58,
21,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
27887,
13,
33295,
7,
11487,
58,
22,
10,
72,
9,
24,
7131,
16,
12962,
198,
198,
5647,
28,
489,
83,
13,
26875,
7,
5647,
7857,
16193,
24,
11,
21,
4008,
198,
897,
28,
489,
83,
13,
897,
274,
3419,
198,
4033,
669,
28,
17816,
81,
41707,
70,
41707,
65,
41707,
66,
41707,
76,
3256,
705,
88,
3256,
705,
43745,
3256,
705,
33282,
3256,
705,
27299,
20520,
198,
23912,
1424,
41888,
81,
6,
3,
59,
26591,
10779,
2078,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
10779,
2481,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
10779,
1415,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
10779,
22,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
28,
15,
61,
59,
21170,
3,
3256,
220,
198,
81,
6,
3,
59,
26591,
28,
22,
61,
59,
21170,
3,
3256,
374,
6,
3,
59,
26591,
28,
1415,
61,
59,
21170,
3,
3256,
374,
6,
3,
59,
26591,
28,
2481,
61,
59,
21170,
3,
3256,
374,
6,
3,
59,
26591,
28,
2078,
61,
59,
21170,
3,
20520,
198,
521,
28,
15,
198,
1640,
1312,
287,
685,
15,
11,
16,
11,
362,
11,
18,
11,
19,
11,
20,
11,
21,
11,
22,
11,
23,
5974,
198,
220,
220,
220,
458,
83,
13,
29487,
7,
55,
58,
72,
4357,
71,
58,
72,
4357,
8043,
28,
4033,
669,
58,
521,
4357,
18242,
28,
7061,
8,
198,
220,
220,
220,
458,
83,
13,
29487,
7,
55,
58,
72,
7131,
37659,
13,
3003,
7,
36,
89,
58,
72,
60,
29,
16104,
62,
400,
411,
38381,
15,
60,
4357,
71,
58,
72,
7131,
37659,
13,
3003,
7,
36,
89,
58,
72,
60,
29,
16104,
62,
400,
411,
38381,
15,
60,
4357,
8043,
28,
4033,
669,
58,
521,
4357,
18242,
28,
23912,
1424,
58,
521,
4357,
75,
86,
28,
19,
8,
198,
220,
220,
220,
773,
47932,
16,
198,
489,
83,
13,
1455,
437,
7,
17946,
28,
18,
8,
198,
489,
83,
13,
7839,
7203,
3553,
1270,
37597,
4943,
198,
489,
83,
13,
87,
18242,
10786,
55,
11,
10571,
11537,
198,
489,
83,
13,
2645,
9608,
10786,
71,
11,
10571,
11537,
198,
897,
13,
2617,
62,
742,
3378,
26933,
12,
6200,
12095,
2167,
12095,
3064,
11,
15,
11,
3064,
11,
2167,
11,
6200,
12962,
198,
897,
13,
2617,
62,
88,
2475,
7,
1795,
11,
19214,
8,
198,
198,
1236,
16,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
1157,
11,
4019,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
1157,
11,
4101,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
1236,
17,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
6469,
11,
4019,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
6469,
11,
4101,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
1236,
18,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
16616,
11,
4019,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
16616,
11,
4101,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
198,
1236,
19,
796,
7877,
13,
34574,
378,
10786,
32,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
22,
11,
4101,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
22,
12,
18,
11,
10190,
828,
2420,
1073,
3669,
11639,
7890,
11537,
198,
198,
1236,
20,
796,
7877,
13,
34574,
378,
10786,
33,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
3695,
11,
4101,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
3695,
12,
18,
11,
10190,
828,
2420,
1073,
3669,
11639,
7890,
11537,
198,
198,
1236,
19,
796,
7877,
13,
34574,
378,
10786,
34,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
14454,
11,
4101,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
14454,
12,
18,
11,
10190,
828,
2420,
1073,
3669,
11639,
7890,
11537,
198,
198,
81,
28,
1821,
198,
87,
15,
28,
1120,
26,
331,
15,
28,
17572,
198,
34350,
10779,
81,
9,
37659,
13,
6966,
7,
2425,
13,
23,
1828,
9,
37659,
13,
14415,
14,
15259,
1776,
20268,
10779,
81,
9,
37659,
13,
31369,
7,
2425,
13,
23,
1828,
9,
37659,
13,
14415,
14,
15259,
8,
198,
2,
5299,
3601,
7,
34350,
11,
9892,
8,
198,
198,
1236,
62,
19726,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
87,
15,
10,
34350,
11,
331,
15,
10,
9892,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
87,
15,
11,
331,
15,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
198,
1236,
62,
33,
796,
7877,
13,
34574,
378,
10786,
33,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
1270,
11,
939,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
1983,
11,
2167,
828,
2420,
1073,
3669,
11639,
7890,
3256,
10331,
7857,
28,
1433,
11,
10331,
6551,
11639,
36575,
11537,
220,
220,
220,
220,
198,
897,
13,
29487,
26933,
12,
6200,
11,
6200,
38430,
22047,
11,
22047,
4357,
366,
74,
438,
1600,
75,
86,
28,
17,
8,
628,
198,
1236,
62,
5907,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
8628,
11,
7982,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
6200,
11,
7982,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
1236,
62,
45,
796,
7877,
13,
34574,
378,
10786,
45,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
11623,
11,
7982,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
19924,
11,
16817,
828,
2420,
1073,
3669,
11639,
7890,
3256,
10331,
7857,
28,
1433,
8,
220,
220,
220,
220,
198,
1236,
62,
50,
796,
7877,
13,
34574,
378,
10786,
50,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
21288,
11,
7982,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
22515,
11,
16817,
828,
2420,
1073,
3669,
11639,
7890,
3256,
10331,
7857,
28,
1433,
8,
198,
198,
489,
83,
13,
21928,
5647,
10786,
26875,
16,
64,
62,
3553,
1270,
13,
12315,
3256,
67,
14415,
28,
8054,
8,
198,
489,
83,
13,
21928,
5647,
10786,
26875,
16,
64,
62,
3553,
1270,
13,
11134,
11537,
198,
489,
83,
13,
19836,
3419,
198,
198,
87,
7278,
87,
62,
34345,
11639,
14,
11195,
14,
1077,
521,
259,
14,
593,
17721,
14,
34215,
62,
3826,
62,
259,
565,
14,
82,
6601,
62,
16,
62,
20,
13,
6052,
13,
87,
7278,
87,
6,
198,
11487,
28,
30094,
13,
961,
62,
1069,
5276,
7,
87,
7278,
87,
62,
34345,
11,
6376,
62,
4033,
28,
14202,
11,
13639,
28,
14202,
8,
220,
198,
3109,
11,
21566,
11,
21034,
11,
289,
11,
1395,
11,
309,
11,
299,
17,
11,
27887,
796,
58,
38430,
38430,
38430,
38430,
38430,
38430,
4357,
21737,
198,
1640,
1312,
287,
2837,
7,
24,
2599,
198,
220,
220,
220,
1475,
13,
33295,
7,
11487,
58,
15,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
21566,
13,
33295,
7,
11487,
58,
16,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
21034,
13,
33295,
7,
11487,
58,
17,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
289,
13,
33295,
7,
11487,
58,
18,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
1395,
13,
33295,
7,
11487,
58,
19,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
309,
13,
33295,
7,
11487,
58,
20,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
299,
17,
13,
33295,
7,
11487,
58,
21,
10,
72,
9,
24,
7131,
16,
3712,
4083,
27160,
13,
459,
2981,
7,
22468,
4008,
198,
220,
220,
220,
27887,
13,
33295,
7,
11487,
58,
22,
10,
72,
9,
24,
7131,
16,
12962,
198,
198,
5647,
28,
489,
83,
13,
26875,
7,
5647,
7857,
16193,
24,
11,
21,
4008,
198,
897,
28,
489,
83,
13,
897,
274,
3419,
198,
4033,
669,
28,
17816,
81,
41707,
70,
41707,
65,
41707,
66,
41707,
76,
3256,
705,
88,
3256,
705,
43745,
3256,
705,
33282,
3256,
705,
27299,
20520,
198,
23912,
1424,
41888,
81,
6,
3,
59,
26591,
10779,
2078,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
10779,
2481,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
10779,
1415,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
10779,
22,
61,
59,
21170,
3,
3256,
81,
6,
3,
59,
26591,
28,
15,
61,
59,
21170,
3,
3256,
220,
198,
81,
6,
3,
59,
26591,
28,
22,
61,
59,
21170,
3,
3256,
374,
6,
3,
59,
26591,
28,
1415,
61,
59,
21170,
3,
3256,
374,
6,
3,
59,
26591,
28,
2481,
61,
59,
21170,
3,
3256,
374,
6,
3,
59,
26591,
28,
2078,
61,
59,
21170,
3,
20520,
198,
521,
28,
15,
198,
1640,
1312,
287,
685,
15,
11,
16,
11,
362,
11,
18,
11,
19,
11,
20,
11,
21,
11,
22,
11,
23,
5974,
198,
220,
220,
220,
458,
83,
13,
29487,
7,
55,
58,
72,
4357,
71,
58,
72,
4357,
8043,
28,
4033,
669,
58,
521,
4357,
18242,
28,
7061,
8,
198,
220,
220,
220,
458,
83,
13,
29487,
7,
55,
58,
72,
7131,
37659,
13,
3003,
7,
36,
89,
58,
72,
60,
29,
16104,
62,
400,
411,
38381,
15,
60,
4357,
71,
58,
72,
7131,
37659,
13,
3003,
7,
36,
89,
58,
72,
60,
29,
16104,
62,
400,
411,
38381,
15,
60,
4357,
8043,
28,
4033,
669,
58,
521,
4357,
18242,
28,
23912,
1424,
58,
521,
4357,
75,
86,
28,
19,
8,
198,
220,
220,
220,
773,
47932,
16,
198,
489,
83,
13,
1455,
437,
7,
17946,
28,
18,
8,
198,
489,
83,
13,
7839,
7203,
3270,
1270,
37597,
4943,
198,
489,
83,
13,
87,
18242,
10786,
55,
11,
10571,
11537,
198,
489,
83,
13,
2645,
9608,
10786,
71,
11,
10571,
11537,
198,
897,
13,
2617,
62,
742,
3378,
26933,
12,
6200,
12095,
2167,
12095,
3064,
11,
15,
11,
3064,
11,
2167,
11,
6200,
12962,
198,
897,
13,
2617,
62,
88,
2475,
7,
1795,
11,
19214,
8,
198,
198,
1236,
16,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
1157,
11,
4019,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
1157,
11,
4101,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
1236,
17,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
6469,
11,
4019,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
6469,
11,
4101,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
1236,
18,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
16616,
11,
4019,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
16616,
11,
4101,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
198,
1236,
19,
796,
7877,
13,
34574,
378,
10786,
32,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
22,
11,
4101,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
22,
12,
18,
11,
10190,
828,
2420,
1073,
3669,
11639,
7890,
11537,
198,
198,
1236,
20,
796,
7877,
13,
34574,
378,
10786,
33,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
3695,
11,
4101,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
3695,
12,
18,
11,
10190,
828,
2420,
1073,
3669,
11639,
7890,
11537,
198,
198,
1236,
19,
796,
7877,
13,
34574,
378,
10786,
34,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
14454,
11,
4101,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
14454,
12,
18,
11,
10190,
828,
2420,
1073,
3669,
11639,
7890,
11537,
198,
198,
81,
28,
1821,
198,
87,
15,
28,
1120,
26,
331,
15,
28,
17572,
198,
34350,
10779,
81,
9,
37659,
13,
6966,
7,
2425,
13,
23,
1828,
9,
37659,
13,
14415,
14,
15259,
1776,
20268,
10779,
81,
9,
37659,
13,
31369,
7,
2425,
13,
23,
1828,
9,
37659,
13,
14415,
14,
15259,
8,
198,
2,
5299,
3601,
7,
34350,
11,
9892,
8,
198,
198,
1236,
62,
19726,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
87,
15,
10,
34350,
11,
331,
15,
10,
9892,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
87,
15,
11,
331,
15,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
198,
1236,
62,
33,
796,
7877,
13,
34574,
378,
10786,
33,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
1270,
11,
939,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
1983,
11,
2167,
828,
2420,
1073,
3669,
11639,
7890,
3256,
10331,
7857,
28,
1433,
11,
10331,
6551,
11639,
36575,
11537,
220,
220,
220,
220,
198,
897,
13,
29487,
26933,
12,
6200,
11,
6200,
38430,
22047,
11,
22047,
4357,
366,
74,
438,
1600,
75,
86,
28,
17,
8,
628,
198,
1236,
62,
5907,
796,
7877,
13,
34574,
378,
10786,
3256,
2124,
88,
16193,
8628,
11,
7982,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
6200,
11,
7982,
828,
2420,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15452,
1676,
862,
28,
11600,
7,
6018,
7635,
2625,
3784,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9940,
2625,
74,
1600,
75,
86,
28,
17,
4008,
198,
1236,
62,
45,
796,
7877,
13,
34574,
378,
10786,
45,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
11623,
11,
7982,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
19924,
11,
16817,
828,
2420,
1073,
3669,
11639,
7890,
3256,
10331,
7857,
28,
1433,
8,
220,
220,
220,
220,
198,
1236,
62,
50,
796,
7877,
13,
34574,
378,
10786,
50,
3256,
5315,
11639,
74,
3256,
2124,
88,
16193,
21288,
11,
7982,
828,
2124,
88,
1073,
3669,
11639,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
88,
5239,
16193,
22515,
11,
16817,
828,
2420,
1073,
3669,
11639,
7890,
3256,
10331,
7857,
28,
1433,
8,
198,
198,
489,
83,
13,
21928,
5647,
10786,
26875,
16,
64,
62,
3270,
1270,
13,
12315,
3256,
67,
14415,
28,
8054,
8,
198,
489,
83,
13,
21928,
5647,
10786,
26875,
16,
64,
62,
3270,
1270,
13,
11134,
11537,
198,
489,
83,
13,
19836,
3419
] | 1.849954 | 5,405 |
from __future__ import unicode_literals
import argparse
import csv
import json
import re
import os
import unicodedata
import itertools
import concurrent.futures
# import editdistance
import pandas as pd
try:
import pylcs
except:
print("Could not import pylcs; falling back to py_common_subseq")
import py_common_subseq
from lib import utils
DEBUG = False
# class LevSimilarity(Similarity):
# def __init__(self, threshold=0.0):
# self.threshold = threshold
# def get_similarity(self, name1, name2):
# total = float(len(name1) + len(name2))
# max_val = max(len(name1), len(name2))
# return float((max_val - editdistance.eval(name1, name2))*2) / total
# def is_within_threshold(self,result, threshold=None):
# if threshold is None:
# threshold = self.threshold
# return result >= threshold
# def get_start_compare(self):
# return -1.0
# def is_exact_match(self, name1, name2):
# return self.get_similarity(name1, name2) > 0.995
# def is_closer(self, previous_result, current_result):
# return previous_result < current_result
if __name__ == '__main__':
args = parse_args()
main(args)
# main(r'E:\git\movie-analytics-112\processed_scripts\17-again.json', r'E:\git\movie-analytics-112\full_celeb_film_info.csv',os.path.join(os.getcwd(), 'mapped_scripts'))
| [
6738,
11593,
37443,
834,
1330,
28000,
1098,
62,
17201,
874,
198,
11748,
1822,
29572,
198,
11748,
269,
21370,
198,
11748,
33918,
198,
11748,
302,
198,
11748,
28686,
198,
11748,
28000,
9043,
1045,
198,
11748,
340,
861,
10141,
198,
11748,
24580,
13,
69,
315,
942,
628,
198,
2,
1330,
4370,
30246,
198,
11748,
19798,
292,
355,
279,
67,
198,
28311,
25,
198,
220,
220,
220,
1330,
279,
2645,
6359,
198,
16341,
25,
198,
220,
220,
220,
3601,
7203,
23722,
407,
1330,
279,
2645,
6359,
26,
7463,
736,
284,
12972,
62,
11321,
62,
7266,
41068,
4943,
198,
220,
220,
220,
1330,
12972,
62,
11321,
62,
7266,
41068,
198,
198,
6738,
9195,
1330,
3384,
4487,
198,
198,
30531,
796,
10352,
198,
198,
2,
1398,
16042,
18925,
414,
7,
18925,
414,
2599,
198,
198,
2,
220,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
11387,
28,
15,
13,
15,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
400,
10126,
796,
11387,
198,
198,
2,
220,
220,
220,
220,
825,
651,
62,
38610,
414,
7,
944,
11,
1438,
16,
11,
1438,
17,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2472,
796,
12178,
7,
11925,
7,
3672,
16,
8,
1343,
18896,
7,
3672,
17,
4008,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
2100,
796,
3509,
7,
11925,
7,
3672,
16,
828,
18896,
7,
3672,
17,
4008,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
12178,
19510,
9806,
62,
2100,
532,
4370,
30246,
13,
18206,
7,
3672,
16,
11,
1438,
17,
4008,
9,
17,
8,
1220,
2472,
198,
198,
2,
220,
220,
220,
220,
825,
318,
62,
33479,
62,
400,
10126,
7,
944,
11,
20274,
11,
11387,
28,
14202,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
611,
11387,
318,
6045,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11387,
796,
2116,
13,
400,
10126,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
18189,
11387,
198,
198,
2,
220,
220,
220,
220,
825,
651,
62,
9688,
62,
5589,
533,
7,
944,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
532,
16,
13,
15,
198,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
825,
318,
62,
1069,
529,
62,
15699,
7,
944,
11,
1438,
16,
11,
1438,
17,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
1136,
62,
38610,
414,
7,
3672,
16,
11,
1438,
17,
8,
1875,
657,
13,
33438,
198,
198,
2,
220,
220,
220,
220,
825,
318,
62,
565,
13416,
7,
944,
11,
2180,
62,
20274,
11,
1459,
62,
20274,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2180,
62,
20274,
1279,
1459,
62,
20274,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
26498,
796,
21136,
62,
22046,
3419,
198,
220,
220,
220,
1388,
7,
22046,
8,
198,
220,
220,
220,
1303,
1388,
7,
81,
6,
36,
7479,
18300,
59,
41364,
12,
38200,
14094,
12,
14686,
59,
14681,
276,
62,
46521,
59,
1558,
12,
17776,
13,
17752,
3256,
374,
6,
36,
7479,
18300,
59,
41364,
12,
38200,
14094,
12,
14686,
59,
12853,
62,
49840,
65,
62,
26240,
62,
10951,
13,
40664,
3256,
418,
13,
6978,
13,
22179,
7,
418,
13,
1136,
66,
16993,
22784,
705,
76,
6320,
62,
46521,
6,
4008,
198
] | 2.439024 | 574 |
from manim import *
from tests.test_graphical_units.testing.frames_comparison import frames_comparison
__module_test__ = "functions"
@frames_comparison
| [
6738,
582,
320,
1330,
1635,
198,
6738,
5254,
13,
9288,
62,
34960,
605,
62,
41667,
13,
33407,
13,
37805,
62,
785,
1845,
1653,
1330,
13431,
62,
785,
1845,
1653,
198,
198,
834,
21412,
62,
9288,
834,
796,
366,
12543,
2733,
1,
628,
198,
31,
37805,
62,
785,
1845,
1653,
198
] | 3.1 | 50 |
import os
from pathlib import Path
from contextlib import AsyncExitStack
from tempfile import TemporaryDirectory
from glob import glob
import pydicom
from pytest import mark
from ...store.local_dir import LocalDir
from ..conftest import dicom_dir, dicom_files
@mark.asyncio
@mark.asyncio
| [
11748,
28686,
198,
6738,
3108,
8019,
1330,
10644,
198,
6738,
4732,
8019,
1330,
1081,
13361,
30337,
25896,
198,
6738,
20218,
7753,
1330,
46042,
43055,
198,
6738,
15095,
1330,
15095,
198,
198,
11748,
279,
5173,
291,
296,
198,
198,
6738,
12972,
9288,
1330,
1317,
198,
198,
6738,
2644,
8095,
13,
12001,
62,
15908,
1330,
10714,
35277,
198,
198,
6738,
11485,
1102,
701,
395,
1330,
288,
291,
296,
62,
15908,
11,
288,
291,
296,
62,
16624,
628,
198,
31,
4102,
13,
292,
13361,
952,
628,
198,
31,
4102,
13,
292,
13361,
952,
198
] | 3.252747 | 91 |
'''Utility functions for the Feature Selection Notebook'''
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.model_selection import StratifiedKFold
from sklearn.metrics import accuracy_score, f1_score
import lightgbm as lgbm
def plot_ANOVA(imp_f_classif, save=True):
'''
Plot the ANOVA feature importance graph,
If save is set to true, the image is saved
in Plots/FeatureSelection/ANOVA.png
Input:
imp_f_classif: ANOVA importance dataframe
Output:
The plot of feature importance based on ANOVA
'''
fig, axes = plt.subplots(figsize=(35,10))
axes.set_title("ANOVA F-statistics",fontsize=30)
plt.bar(range(imp_f_classif.shape[0]), imp_f_classif.F_score, align="center")
plt.xticks(range(imp_f_classif.shape[0]), imp_f_classif['Features'], rotation='vertical', fontsize=30)
plt.yticks(fontsize=30)
plt.xlim([-1, imp_f_classif.shape[0]])
plt.grid(True)
plt.ylabel('F(λ)', fontsize=30)
plt.xlabel('Feature', fontsize=30)
if save:
plt.savefig(f'plots/feature_selection/ANOVA.png', dpi=fig.dpi, bbox_inches='tight')
return plt.show()
def generate_SFFSinfo(X, y, l, cv=5, balance_method=None):
'''
This function will generate additional info for the
SFFS. In particular, it will collect F1-macro averaged
score and the mean accuracy for each feature subset.
Input:
X: the features
y: the targets
l: list of selected features
cv: number of cross validation folds
balance_method: (optional) oversampling method chosen
Output:
A dataframe containing the collected metrics
'''
info_di = {}
cv_info = np.zeros((cv, 2))
skf = StratifiedKFold(n_splits=cv, shuffle=True, random_state=42)
#Each feature selected by SFFS
for i, features in enumerate(l, start=1):
X_step = X[features].values
#Cross validation for each step
for j, (train_idx, valid_idx) in enumerate(skf.split(X_step, y)):
X_train, y_train = X_step[train_idx], y[train_idx]
X_valid, y_valid = X_step[valid_idx], y[valid_idx]
#Resample if required
if balance_method:
X_train, y_train = balance_method.fit_resample(X_train, y_train)
model = lgbm.LGBMClassifier()
model.fit(X_train, y_train)
y_pred = model.predict(X_valid)
cv_info[j, 0] = accuracy_score(y_valid, y_pred)
cv_info[j, 1] = f1_score(y_valid, y_pred, average='macro')
info_di[i] = {
'feature_names' : features,
'mean_acc' : np.mean(cv_info[:, 0]),
'std_acc' : np.std(cv_info[:, 0]),
'mean_f1' : np.mean(cv_info[:, 1]),
'std_f1' : np.std(cv_info[:, 1]),
}
return pd.DataFrame.from_dict(info_di).T
def plot_SFFS(scores, save=True):
'''
This function plot the results of SFFS.
If save is set to true, the image is saved
in Plots/FeatureSelection/SFFS.png
Input:
scores: the dataframe with SFFS results
Output:
The plot of SFFS results
'''
fig = plt.figure(figsize=(8, 6))
plt.errorbar(scores.index, scores['mean_acc'],
yerr=scores['std_acc'], label='Accuracy', linewidth=2)
plt.errorbar(scores.index, scores['mean_f1'],
yerr=scores['std_f1'], label='F1_score', linewidth=2)
plt.legend(loc='upper left')
plt.ylabel('Metric value')
plt.xlabel('Features used')
plt.grid(True)
if save:
plt.savefig(f'Plots/FeatureSelection/SFFS.png',
dpi=fig.dpi, bbox_inches='tight')
return plt.show()
| [
7061,
6,
18274,
879,
5499,
329,
262,
27018,
29538,
5740,
2070,
7061,
6,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
198,
6738,
1341,
35720,
13,
19849,
62,
49283,
1330,
29186,
1431,
42,
37,
727,
198,
6738,
1341,
35720,
13,
4164,
10466,
1330,
9922,
62,
26675,
11,
277,
16,
62,
26675,
198,
198,
11748,
1657,
70,
20475,
355,
300,
70,
20475,
198,
198,
4299,
7110,
62,
1565,
41576,
7,
11011,
62,
69,
62,
4871,
361,
11,
3613,
28,
17821,
2599,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
28114,
262,
3537,
41576,
3895,
6817,
4823,
11,
198,
220,
220,
220,
1002,
3613,
318,
900,
284,
2081,
11,
262,
2939,
318,
7448,
198,
220,
220,
220,
287,
1345,
1747,
14,
38816,
4653,
1564,
14,
1565,
41576,
13,
11134,
198,
220,
220,
220,
220,
198,
220,
220,
220,
23412,
25,
198,
220,
220,
220,
220,
220,
220,
220,
848,
62,
69,
62,
4871,
361,
25,
3537,
41576,
6817,
1366,
14535,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
25235,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
7110,
286,
3895,
6817,
1912,
319,
3537,
41576,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2336,
11,
34197,
796,
458,
83,
13,
7266,
489,
1747,
7,
5647,
7857,
16193,
2327,
11,
940,
4008,
220,
220,
198,
220,
220,
220,
34197,
13,
2617,
62,
7839,
7203,
1565,
41576,
376,
12,
14269,
3969,
1600,
10331,
7857,
28,
1270,
8,
198,
220,
220,
220,
458,
83,
13,
5657,
7,
9521,
7,
11011,
62,
69,
62,
4871,
361,
13,
43358,
58,
15,
46570,
848,
62,
69,
62,
4871,
361,
13,
37,
62,
26675,
11,
10548,
2625,
16159,
4943,
198,
220,
220,
220,
458,
83,
13,
742,
3378,
7,
9521,
7,
11011,
62,
69,
62,
4871,
361,
13,
43358,
58,
15,
46570,
848,
62,
69,
62,
4871,
361,
17816,
23595,
6,
4357,
13179,
11639,
1851,
605,
3256,
10369,
7857,
28,
1270,
8,
198,
220,
220,
220,
458,
83,
13,
20760,
3378,
7,
10331,
7857,
28,
1270,
8,
198,
220,
220,
220,
458,
83,
13,
87,
2475,
26933,
12,
16,
11,
848,
62,
69,
62,
4871,
361,
13,
43358,
58,
15,
11907,
8,
198,
220,
220,
220,
458,
83,
13,
25928,
7,
17821,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
458,
83,
13,
2645,
9608,
10786,
37,
7,
39377,
8,
3256,
10369,
7857,
28,
1270,
8,
198,
220,
220,
220,
458,
83,
13,
87,
18242,
10786,
38816,
3256,
10369,
7857,
28,
1270,
8,
198,
220,
220,
220,
611,
3613,
25,
198,
220,
220,
220,
220,
220,
220,
220,
458,
83,
13,
21928,
5647,
7,
69,
6,
489,
1747,
14,
30053,
62,
49283,
14,
1565,
41576,
13,
11134,
3256,
288,
14415,
28,
5647,
13,
67,
14415,
11,
275,
3524,
62,
45457,
11639,
33464,
11537,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
458,
83,
13,
12860,
3419,
198,
198,
4299,
7716,
62,
50,
5777,
50,
10951,
7,
55,
11,
331,
11,
300,
11,
269,
85,
28,
20,
11,
5236,
62,
24396,
28,
14202,
2599,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
770,
2163,
481,
7716,
3224,
7508,
329,
262,
198,
220,
220,
220,
311,
5777,
50,
13,
554,
1948,
11,
340,
481,
2824,
376,
16,
12,
20285,
305,
16449,
198,
220,
220,
220,
4776,
290,
262,
1612,
9922,
329,
1123,
3895,
24637,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
23412,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
25,
262,
3033,
198,
220,
220,
220,
220,
220,
220,
220,
331,
25,
262,
6670,
198,
220,
220,
220,
220,
220,
220,
220,
300,
25,
1351,
286,
6163,
3033,
198,
220,
220,
220,
220,
220,
220,
220,
269,
85,
25,
1271,
286,
3272,
21201,
38744,
198,
220,
220,
220,
220,
220,
220,
220,
5236,
62,
24396,
25,
357,
25968,
8,
10753,
321,
11347,
2446,
7147,
198,
220,
220,
220,
220,
198,
220,
220,
220,
25235,
25,
198,
220,
220,
220,
220,
220,
220,
220,
317,
1366,
14535,
7268,
262,
7723,
20731,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
7508,
62,
10989,
796,
23884,
198,
220,
220,
220,
220,
198,
220,
220,
220,
269,
85,
62,
10951,
796,
45941,
13,
9107,
418,
19510,
33967,
11,
362,
4008,
198,
220,
220,
220,
1341,
69,
796,
29186,
1431,
42,
37,
727,
7,
77,
62,
22018,
896,
28,
33967,
11,
36273,
28,
17821,
11,
4738,
62,
5219,
28,
3682,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10871,
3895,
6163,
416,
311,
5777,
50,
198,
220,
220,
220,
329,
1312,
11,
3033,
287,
27056,
378,
7,
75,
11,
923,
28,
16,
2599,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
62,
9662,
796,
1395,
58,
40890,
4083,
27160,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
21544,
21201,
329,
1123,
2239,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
11,
357,
27432,
62,
312,
87,
11,
4938,
62,
312,
87,
8,
287,
27056,
378,
7,
8135,
69,
13,
35312,
7,
55,
62,
9662,
11,
331,
8,
2599,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1395,
62,
27432,
11,
331,
62,
27432,
796,
1395,
62,
9662,
58,
27432,
62,
312,
87,
4357,
331,
58,
27432,
62,
312,
87,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1395,
62,
12102,
11,
331,
62,
12102,
796,
1395,
62,
9662,
58,
12102,
62,
312,
87,
4357,
331,
58,
12102,
62,
312,
87,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4965,
1403,
611,
2672,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5236,
62,
24396,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1395,
62,
27432,
11,
331,
62,
27432,
796,
5236,
62,
24396,
13,
11147,
62,
411,
1403,
7,
55,
62,
27432,
11,
331,
62,
27432,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
796,
300,
70,
20475,
13,
43,
4579,
44,
9487,
7483,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
13,
11147,
7,
55,
62,
27432,
11,
331,
62,
27432,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
62,
28764,
796,
2746,
13,
79,
17407,
7,
55,
62,
12102,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
85,
62,
10951,
58,
73,
11,
657,
60,
796,
9922,
62,
26675,
7,
88,
62,
12102,
11,
331,
62,
28764,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
85,
62,
10951,
58,
73,
11,
352,
60,
796,
277,
16,
62,
26675,
7,
88,
62,
12102,
11,
331,
62,
28764,
11,
2811,
11639,
20285,
305,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
7508,
62,
10989,
58,
72,
60,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30053,
62,
14933,
6,
220,
1058,
3033,
11,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
32604,
62,
4134,
6,
1058,
45941,
13,
32604,
7,
33967,
62,
10951,
58,
45299,
657,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
19282,
62,
4134,
6,
220,
1058,
45941,
13,
19282,
7,
33967,
62,
10951,
58,
45299,
657,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
32604,
62,
69,
16,
6,
220,
1058,
45941,
13,
32604,
7,
33967,
62,
10951,
58,
45299,
352,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
19282,
62,
69,
16,
6,
220,
220,
1058,
45941,
13,
19282,
7,
33967,
62,
10951,
58,
45299,
352,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
220,
279,
67,
13,
6601,
19778,
13,
6738,
62,
11600,
7,
10951,
62,
10989,
737,
51,
198,
198,
4299,
7110,
62,
50,
5777,
50,
7,
1416,
2850,
11,
3613,
28,
17821,
2599,
198,
220,
220,
220,
220,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
770,
2163,
7110,
262,
2482,
286,
311,
5777,
50,
13,
198,
220,
220,
220,
1002,
3613,
318,
900,
284,
2081,
11,
262,
2939,
318,
7448,
198,
220,
220,
220,
287,
1345,
1747,
14,
38816,
4653,
1564,
14,
50,
5777,
50,
13,
11134,
198,
220,
220,
220,
220,
198,
220,
220,
220,
23412,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8198,
25,
262,
1366,
14535,
351,
311,
5777,
50,
2482,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
25235,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
7110,
286,
311,
5777,
50,
2482,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2336,
796,
458,
83,
13,
26875,
7,
5647,
7857,
16193,
23,
11,
718,
4008,
198,
220,
220,
220,
458,
83,
13,
18224,
5657,
7,
1416,
2850,
13,
9630,
11,
8198,
17816,
32604,
62,
4134,
6,
4357,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
8056,
28,
1416,
2850,
17816,
19282,
62,
4134,
6,
4357,
6167,
11639,
17320,
23843,
3256,
9493,
413,
5649,
28,
17,
8,
198,
220,
220,
220,
458,
83,
13,
18224,
5657,
7,
1416,
2850,
13,
9630,
11,
8198,
17816,
32604,
62,
69,
16,
6,
4357,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
8056,
28,
1416,
2850,
17816,
19282,
62,
69,
16,
6,
4357,
6167,
11639,
37,
16,
62,
26675,
3256,
9493,
413,
5649,
28,
17,
8,
628,
220,
220,
220,
458,
83,
13,
1455,
437,
7,
17946,
11639,
45828,
1364,
11537,
198,
220,
220,
220,
458,
83,
13,
2645,
9608,
10786,
9171,
1173,
1988,
11537,
198,
220,
220,
220,
458,
83,
13,
87,
18242,
10786,
23595,
973,
11537,
198,
220,
220,
220,
220,
198,
220,
220,
220,
458,
83,
13,
25928,
7,
17821,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
3613,
25,
198,
220,
220,
220,
220,
220,
220,
220,
458,
83,
13,
21928,
5647,
7,
69,
6,
3646,
1747,
14,
38816,
4653,
1564,
14,
50,
5777,
50,
13,
11134,
3256,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
14415,
28,
5647,
13,
67,
14415,
11,
275,
3524,
62,
45457,
11639,
33464,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
458,
83,
13,
12860,
3419,
198
] | 2.092795 | 1,832 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2018-09-21 12:47
from __future__ import unicode_literals
from django.db import migrations
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2,
2980,
515,
416,
37770,
352,
13,
1157,
13,
1314,
319,
2864,
12,
2931,
12,
2481,
1105,
25,
2857,
198,
6738,
11593,
37443,
834,
1330,
28000,
1098,
62,
17201,
874,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
628
] | 2.709091 | 55 |
from flask import Flask, redirect
from flask_wtf.csrf import CSRFProtect
from addon import db, login_manager, ma
from config import app_config
app = create_app('development')
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0')
| [
6738,
42903,
1330,
46947,
11,
18941,
198,
6738,
42903,
62,
86,
27110,
13,
6359,
41871,
1330,
9429,
32754,
41426,
198,
198,
6738,
48557,
1330,
20613,
11,
17594,
62,
37153,
11,
17266,
198,
6738,
4566,
1330,
598,
62,
11250,
628,
198,
198,
1324,
796,
2251,
62,
1324,
10786,
31267,
11537,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
598,
13,
5143,
7,
24442,
28,
17821,
11,
2583,
11639,
15,
13,
15,
13,
15,
13,
15,
11537,
198
] | 2.952381 | 84 |
# This code is part of Qiskit.
#
# (C) Copyright IBM 2020.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative works of this code must retain this
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.
# pylint: disable=invalid-name
"""Tests for operator_models.py"""
import numpy as np
from scipy.linalg import expm
from qiskit import QiskitError
from qiskit.quantum_info.operators import Operator
from qiskit_dynamics.models import GeneratorModel
from qiskit_dynamics.models.generator_models import CallableGenerator
from qiskit_dynamics.signals import Signal
from qiskit_dynamics.dispatch import Array
from ..common import QiskitDynamicsTestCase, TestJaxBase
class TestGeneratorModel(QiskitDynamicsTestCase):
"""Tests for GeneratorModel."""
def test_frame_operator_errors(self):
"""Check different modes of error raising for frame setting."""
# 1d array
try:
self.basic_model.frame = Array([1.0, 1.0])
except QiskitError as e:
self.assertTrue("anti-Hermitian" in str(e))
# 2d array
try:
self.basic_model.frame = Array([[1.0, 0.0], [0.0, 1.0]])
except QiskitError as e:
self.assertTrue("anti-Hermitian" in str(e))
# Operator
try:
self.basic_model.frame = self.Z
except QiskitError as e:
self.assertTrue("anti-Hermitian" in str(e))
def test_diag_frame_operator_basic_model(self):
"""Test setting a diagonal frame operator for the internally
set up basic model.
"""
self._basic_frame_evaluate_test(Array([1j, -1j]), 1.123)
self._basic_frame_evaluate_test(Array([1j, -1j]), np.pi)
def test_non_diag_frame_operator_basic_model(self):
"""Test setting a non-diagonal frame operator for the internally
set up basic model.
"""
self._basic_frame_evaluate_test(-1j * (self.Y + self.Z), 1.123)
self._basic_frame_evaluate_test(-1j * (self.Y - self.Z), np.pi)
def _basic_frame_evaluate_test(self, frame_operator, t):
"""Routine for testing setting of valid frame operators using the
basic_model.
"""
self.basic_model.frame = frame_operator
# convert to 2d array
if isinstance(frame_operator, Operator):
frame_operator = Array(frame_operator.data)
if isinstance(frame_operator, Array) and frame_operator.ndim == 1:
frame_operator = np.diag(frame_operator)
value = self.basic_model.evaluate(t)
i2pi = -1j * 2 * np.pi
U = expm(-np.array(frame_operator) * t)
# drive coefficient
d_coeff = self.r * np.cos(2 * np.pi * self.w * t)
# manually evaluate frame
expected = (
i2pi * self.w * U @ self.Z.data @ U.conj().transpose() / 2
+ d_coeff * i2pi * U @ self.X.data @ U.conj().transpose() / 2
- frame_operator
)
self.assertAllClose(value, expected)
def test_evaluate_no_frame_basic_model(self):
"""Test evaluation without a frame in the basic model."""
t = 3.21412
value = self.basic_model.evaluate(t)
i2pi = -1j * 2 * np.pi
d_coeff = self.r * np.cos(2 * np.pi * self.w * t)
expected = i2pi * self.w * self.Z.data / 2 + i2pi * d_coeff * self.X.data / 2
self.assertAllClose(value, expected)
def test_evaluate_in_frame_basis_basic_model(self):
"""Test evaluation in frame basis in the basic_model."""
frame_op = -1j * (self.X + 0.2 * self.Y + 0.1 * self.Z).data
# enter the frame given by the -1j * X
self.basic_model.frame = frame_op
# get the frame basis that is used in model
_, U = np.linalg.eigh(1j * frame_op)
t = 3.21412
value = self.basic_model.evaluate(t, in_frame_basis=True)
# compose the frame basis transformation with the exponential
# frame rotation (this will be multiplied on the right)
U = expm(np.array(frame_op) * t) @ U
Uadj = U.conj().transpose()
i2pi = -1j * 2 * np.pi
d_coeff = self.r * np.cos(2 * np.pi * self.w * t)
expected = (
Uadj
@ (i2pi * self.w * self.Z.data / 2 + i2pi * d_coeff * self.X.data / 2 - frame_op)
@ U
)
self.assertAllClose(value, expected)
def test_evaluate_pseudorandom(self):
"""Test evaluate with pseudorandom inputs."""
rng = np.random.default_rng(30493)
num_terms = 3
dim = 5
b = 1.0 # bound on size of random terms
rand_op = rng.uniform(low=-b, high=b, size=(dim, dim)) + 1j * rng.uniform(
low=-b, high=b, size=(dim, dim)
)
frame_op = Array(rand_op - rand_op.conj().transpose())
randoperators = rng.uniform(low=-b, high=b, size=(num_terms, dim, dim)) + 1j * rng.uniform(
low=-b, high=b, size=(num_terms, dim, dim)
)
rand_coeffs = Array(
rng.uniform(low=-b, high=b, size=(num_terms))
+ 1j * rng.uniform(low=-b, high=b, size=(num_terms))
)
rand_carriers = Array(rng.uniform(low=-b, high=b, size=(num_terms)))
rand_phases = Array(rng.uniform(low=-b, high=b, size=(num_terms)))
self._test_evaluate(frame_op, randoperators, rand_coeffs, rand_carriers, rand_phases)
rng = np.random.default_rng(94818)
num_terms = 5
dim = 10
b = 1.0 # bound on size of random terms
rand_op = rng.uniform(low=-b, high=b, size=(dim, dim)) + 1j * rng.uniform(
low=-b, high=b, size=(dim, dim)
)
frame_op = Array(rand_op - rand_op.conj().transpose())
randoperators = Array(
rng.uniform(low=-b, high=b, size=(num_terms, dim, dim))
+ 1j * rng.uniform(low=-b, high=b, size=(num_terms, dim, dim))
)
rand_coeffs = Array(
rng.uniform(low=-b, high=b, size=(num_terms))
+ 1j * rng.uniform(low=-b, high=b, size=(num_terms))
)
rand_carriers = Array(rng.uniform(low=-b, high=b, size=(num_terms)))
rand_phases = Array(rng.uniform(low=-b, high=b, size=(num_terms)))
self._test_evaluate(frame_op, randoperators, rand_coeffs, rand_carriers, rand_phases)
def test_lmult_rmult_no_frame_basic_model(self):
"""Test evaluation with no frame in the basic model."""
y0 = np.array([[1.0, 2.0], [0.0, 4.0]])
t = 3.21412
i2pi = -1j * 2 * np.pi
d_coeff = self.r * np.cos(2 * np.pi * self.w * t)
model_expected = i2pi * self.w * self.Z.data / 2 + i2pi * d_coeff * self.X.data / 2
self.assertAllClose(self.basic_model.lmult(t, y0), model_expected @ y0)
self.assertAllClose(self.basic_model.rmult(t, y0), y0 @ model_expected)
def test_signal_setting(self):
"""Test updating the signals."""
signals = [Signal(lambda t: 2 * t, 1.0), Signal(lambda t: t ** 2, 2.0)]
self.basic_model.signals = signals
t = 0.1
value = self.basic_model.evaluate(t)
i2pi = -1j * 2 * np.pi
Z_coeff = (2 * t) * np.cos(2 * np.pi * 1 * t)
X_coeff = self.r * (t ** 2) * np.cos(2 * np.pi * 2 * t)
expected = i2pi * Z_coeff * self.Z.data / 2 + i2pi * X_coeff * self.X.data / 2
self.assertAllClose(value, expected)
def test_signal_setting_None(self):
"""Test setting signals to None"""
self.basic_model.signals = None
self.assertTrue(self.basic_model.signals is None)
def test_signal_setting_incorrect_length(self):
"""Test error being raised if signals is the wrong length."""
try:
self.basic_model.signals = [1.0]
except QiskitError as e:
self.assertTrue("same length" in str(e))
def test_drift(self):
"""Test drift evaluation."""
self.assertAllClose(self.basic_model.drift, -1j * 2 * np.pi * self.w * self.Z.data / 2)
def test_drift_error_in_frame(self):
"""Test raising of error if drift is requested in a frame."""
self.basic_model.frame = self.basic_model.drift
try:
self.basic_model.drift
except QiskitError as e:
self.assertTrue("ill-defined" in str(e))
def test_cutoff_freq(self):
"""Test evaluation with a cutoff frequency."""
# enter frame of drift
self.basic_model.frame = self.basic_model.drift
# set cutoff freq to 2 * drive freq (standard RWA)
self.basic_model.cutoff_freq = 2 * self.w
# result should just be the X term halved
eval_rwa = self.basic_model.evaluate(2.0)
expected = -1j * 2 * np.pi * (self.r / 2) * self.X.data / 2
self.assertAllClose(eval_rwa, expected)
self.basic_model.signals = [self.w, Signal(drive_func, self.w)]
# result should now contain both X and Y terms halved
t = 2.1231 * np.pi
dRe = np.real(drive_func(t))
dIm = np.imag(drive_func(t))
eval_rwa = self.basic_model.evaluate(t)
expected = (
-1j * 2 * np.pi * (self.r / 2) * dRe * self.X.data / 2
+ -1j * 2 * np.pi * (self.r / 2) * dIm * self.Y.data / 2
)
self.assertAllClose(eval_rwa, expected)
def assertAllClose(self, A, B, rtol=1e-8, atol=1e-8):
"""Call np.allclose and assert true."""
self.assertTrue(np.allclose(A, B, rtol=rtol, atol=atol))
class TestGeneratorModelJax(TestGeneratorModel, TestJaxBase):
"""Jax version of TestGeneratorModel tests.
Note: This class has no body but contains tests due to inheritance.
"""
class TestCallableGenerator(QiskitDynamicsTestCase):
"""Tests for CallableGenerator."""
def test_diag_frame_operator_basic_model(self):
"""Test setting a diagonal frame operator for the internally
set up basic model.
"""
self._basic_frame_evaluate_test(Array([1j, -1j]), 1.123)
self._basic_frame_evaluate_test(Array([1j, -1j]), np.pi)
def test_non_diag_frame_operator_basic_model(self):
"""Test setting a non-diagonal frame operator for the internally
set up basic model.
"""
self._basic_frame_evaluate_test(-1j * (self.Y + self.Z), 1.123)
self._basic_frame_evaluate_test(-1j * (self.Y - self.Z), np.pi)
def _basic_frame_evaluate_test(self, frame_operator, t):
"""Routine for testing setting of valid frame operators using the
basic_model.
"""
self.basic_model.frame = frame_operator
# convert to 2d array
if isinstance(frame_operator, Operator):
frame_operator = Array(frame_operator.data)
if isinstance(frame_operator, Array) and frame_operator.ndim == 1:
frame_operator = np.diag(frame_operator)
value = self.basic_model.evaluate(t)
i2pi = -1j * 2 * np.pi
U = expm(-np.array(frame_operator) * t)
# drive coefficient
d_coeff = self.r * np.cos(2 * np.pi * self.w * t)
# manually evaluate frame
expected = (
i2pi * self.w * U @ self.Z.data @ U.conj().transpose() / 2
+ d_coeff * i2pi * U @ self.X.data @ U.conj().transpose() / 2
- frame_operator
)
self.assertAllClose(value, expected)
class TestCallableGeneratorJax(TestCallableGenerator, TestJaxBase):
"""Jax version of TestCallableGenerator tests.
Note: This class has no body but contains tests due to inheritance.
"""
| [
2,
770,
2438,
318,
636,
286,
1195,
1984,
270,
13,
198,
2,
198,
2,
357,
34,
8,
15069,
19764,
12131,
13,
198,
2,
198,
2,
770,
2438,
318,
11971,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
13,
921,
743,
198,
2,
7330,
257,
4866,
286,
428,
5964,
287,
262,
38559,
24290,
13,
14116,
2393,
287,
262,
6808,
8619,
198,
2,
286,
428,
2723,
5509,
393,
379,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
13,
198,
2,
198,
2,
4377,
19008,
393,
27255,
2499,
286,
428,
2438,
1276,
12377,
428,
198,
2,
6634,
4003,
11,
290,
9518,
3696,
761,
284,
3283,
257,
4003,
12739,
198,
2,
326,
484,
423,
587,
14294,
422,
262,
47324,
13,
198,
2,
279,
2645,
600,
25,
15560,
28,
259,
12102,
12,
3672,
198,
198,
37811,
51,
3558,
329,
10088,
62,
27530,
13,
9078,
37811,
198,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
629,
541,
88,
13,
75,
1292,
70,
1330,
1033,
76,
198,
6738,
10662,
1984,
270,
1330,
1195,
1984,
270,
12331,
198,
6738,
10662,
1984,
270,
13,
40972,
388,
62,
10951,
13,
3575,
2024,
1330,
35946,
198,
6738,
10662,
1984,
270,
62,
67,
4989,
873,
13,
27530,
1330,
35986,
17633,
198,
6738,
10662,
1984,
270,
62,
67,
4989,
873,
13,
27530,
13,
8612,
1352,
62,
27530,
1330,
4889,
540,
8645,
1352,
198,
6738,
10662,
1984,
270,
62,
67,
4989,
873,
13,
12683,
874,
1330,
26484,
198,
6738,
10662,
1984,
270,
62,
67,
4989,
873,
13,
6381,
17147,
1330,
15690,
198,
6738,
11485,
11321,
1330,
1195,
1984,
270,
35,
4989,
873,
14402,
20448,
11,
6208,
41,
897,
14881,
628,
198,
4871,
6208,
8645,
1352,
17633,
7,
48,
1984,
270,
35,
4989,
873,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
51,
3558,
329,
35986,
17633,
526,
15931,
628,
220,
220,
220,
825,
1332,
62,
14535,
62,
46616,
62,
48277,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
9787,
1180,
12881,
286,
4049,
8620,
329,
5739,
4634,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
352,
67,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
14535,
796,
15690,
26933,
16,
13,
15,
11,
352,
13,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
1195,
1984,
270,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7203,
17096,
12,
9360,
2781,
666,
1,
287,
965,
7,
68,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
362,
67,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
14535,
796,
15690,
26933,
58,
16,
13,
15,
11,
657,
13,
15,
4357,
685,
15,
13,
15,
11,
352,
13,
15,
11907,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
1195,
1984,
270,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7203,
17096,
12,
9360,
2781,
666,
1,
287,
965,
7,
68,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
35946,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
14535,
796,
2116,
13,
57,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
1195,
1984,
270,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7203,
17096,
12,
9360,
2781,
666,
1,
287,
965,
7,
68,
4008,
628,
220,
220,
220,
825,
1332,
62,
10989,
363,
62,
14535,
62,
46616,
62,
35487,
62,
19849,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
4634,
257,
40039,
5739,
10088,
329,
262,
20947,
198,
220,
220,
220,
220,
220,
220,
220,
900,
510,
4096,
2746,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35487,
62,
14535,
62,
49786,
62,
9288,
7,
19182,
26933,
16,
73,
11,
532,
16,
73,
46570,
352,
13,
10163,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35487,
62,
14535,
62,
49786,
62,
9288,
7,
19182,
26933,
16,
73,
11,
532,
16,
73,
46570,
45941,
13,
14415,
8,
628,
220,
220,
220,
825,
1332,
62,
13159,
62,
10989,
363,
62,
14535,
62,
46616,
62,
35487,
62,
19849,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
4634,
257,
1729,
12,
10989,
27923,
5739,
10088,
329,
262,
20947,
198,
220,
220,
220,
220,
220,
220,
220,
900,
510,
4096,
2746,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35487,
62,
14535,
62,
49786,
62,
9288,
32590,
16,
73,
1635,
357,
944,
13,
56,
1343,
2116,
13,
57,
828,
352,
13,
10163,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35487,
62,
14535,
62,
49786,
62,
9288,
32590,
16,
73,
1635,
357,
944,
13,
56,
532,
2116,
13,
57,
828,
45941,
13,
14415,
8,
628,
220,
220,
220,
825,
4808,
35487,
62,
14535,
62,
49786,
62,
9288,
7,
944,
11,
5739,
62,
46616,
11,
256,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
49,
28399,
329,
4856,
4634,
286,
4938,
5739,
12879,
1262,
262,
198,
220,
220,
220,
220,
220,
220,
220,
4096,
62,
19849,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
14535,
796,
5739,
62,
46616,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
10385,
284,
362,
67,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
14535,
62,
46616,
11,
35946,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5739,
62,
46616,
796,
15690,
7,
14535,
62,
46616,
13,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
14535,
62,
46616,
11,
15690,
8,
290,
5739,
62,
46616,
13,
358,
320,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5739,
62,
46616,
796,
45941,
13,
10989,
363,
7,
14535,
62,
46616,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
2116,
13,
35487,
62,
19849,
13,
49786,
7,
83,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
14415,
796,
532,
16,
73,
1635,
362,
1635,
45941,
13,
14415,
628,
220,
220,
220,
220,
220,
220,
220,
471,
796,
1033,
76,
32590,
37659,
13,
18747,
7,
14535,
62,
46616,
8,
1635,
256,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3708,
35381,
198,
220,
220,
220,
220,
220,
220,
220,
288,
62,
1073,
14822,
796,
2116,
13,
81,
1635,
45941,
13,
6966,
7,
17,
1635,
45941,
13,
14415,
1635,
2116,
13,
86,
1635,
256,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
14500,
13446,
5739,
198,
220,
220,
220,
220,
220,
220,
220,
2938,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
14415,
1635,
2116,
13,
86,
1635,
471,
2488,
2116,
13,
57,
13,
7890,
2488,
471,
13,
1102,
73,
22446,
7645,
3455,
3419,
1220,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
288,
62,
1073,
14822,
1635,
1312,
17,
14415,
1635,
471,
2488,
2116,
13,
55,
13,
7890,
2488,
471,
13,
1102,
73,
22446,
7645,
3455,
3419,
1220,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
5739,
62,
46616,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3237,
26125,
7,
8367,
11,
2938,
8,
628,
220,
220,
220,
825,
1332,
62,
49786,
62,
3919,
62,
14535,
62,
35487,
62,
19849,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
12660,
1231,
257,
5739,
287,
262,
4096,
2746,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
256,
796,
513,
13,
22291,
1065,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
2116,
13,
35487,
62,
19849,
13,
49786,
7,
83,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
14415,
796,
532,
16,
73,
1635,
362,
1635,
45941,
13,
14415,
198,
220,
220,
220,
220,
220,
220,
220,
288,
62,
1073,
14822,
796,
2116,
13,
81,
1635,
45941,
13,
6966,
7,
17,
1635,
45941,
13,
14415,
1635,
2116,
13,
86,
1635,
256,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2938,
796,
1312,
17,
14415,
1635,
2116,
13,
86,
1635,
2116,
13,
57,
13,
7890,
1220,
362,
1343,
1312,
17,
14415,
1635,
288,
62,
1073,
14822,
1635,
2116,
13,
55,
13,
7890,
1220,
362,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3237,
26125,
7,
8367,
11,
2938,
8,
628,
220,
220,
220,
825,
1332,
62,
49786,
62,
259,
62,
14535,
62,
12093,
271,
62,
35487,
62,
19849,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
12660,
287,
5739,
4308,
287,
262,
4096,
62,
19849,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
5739,
62,
404,
796,
532,
16,
73,
1635,
357,
944,
13,
55,
1343,
657,
13,
17,
1635,
2116,
13,
56,
1343,
657,
13,
16,
1635,
2116,
13,
57,
737,
7890,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3802,
262,
5739,
1813,
416,
262,
532,
16,
73,
1635,
1395,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
14535,
796,
5739,
62,
404,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
651,
262,
5739,
4308,
326,
318,
973,
287,
2746,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
471,
796,
45941,
13,
75,
1292,
70,
13,
68,
394,
7,
16,
73,
1635,
5739,
62,
404,
8,
628,
220,
220,
220,
220,
220,
220,
220,
256,
796,
513,
13,
22291,
1065,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
2116,
13,
35487,
62,
19849,
13,
49786,
7,
83,
11,
287,
62,
14535,
62,
12093,
271,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
36664,
262,
5739,
4308,
13389,
351,
262,
39682,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5739,
13179,
357,
5661,
481,
307,
33096,
319,
262,
826,
8,
198,
220,
220,
220,
220,
220,
220,
220,
471,
796,
1033,
76,
7,
37659,
13,
18747,
7,
14535,
62,
404,
8,
1635,
256,
8,
2488,
471,
198,
220,
220,
220,
220,
220,
220,
220,
471,
41255,
796,
471,
13,
1102,
73,
22446,
7645,
3455,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
14415,
796,
532,
16,
73,
1635,
362,
1635,
45941,
13,
14415,
198,
220,
220,
220,
220,
220,
220,
220,
288,
62,
1073,
14822,
796,
2116,
13,
81,
1635,
45941,
13,
6966,
7,
17,
1635,
45941,
13,
14415,
1635,
2116,
13,
86,
1635,
256,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2938,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
471,
41255,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
357,
72,
17,
14415,
1635,
2116,
13,
86,
1635,
2116,
13,
57,
13,
7890,
1220,
362,
1343,
1312,
17,
14415,
1635,
288,
62,
1073,
14822,
1635,
2116,
13,
55,
13,
7890,
1220,
362,
532,
5739,
62,
404,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
471,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3237,
26125,
7,
8367,
11,
2938,
8,
628,
220,
220,
220,
825,
1332,
62,
49786,
62,
7752,
463,
273,
3749,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
13446,
351,
25038,
273,
3749,
17311,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
374,
782,
796,
45941,
13,
25120,
13,
12286,
62,
81,
782,
7,
1270,
43134,
8,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
38707,
796,
513,
198,
220,
220,
220,
220,
220,
220,
220,
5391,
796,
642,
198,
220,
220,
220,
220,
220,
220,
220,
275,
796,
352,
13,
15,
220,
1303,
5421,
319,
2546,
286,
4738,
2846,
198,
220,
220,
220,
220,
220,
220,
220,
43720,
62,
404,
796,
374,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
27740,
11,
5391,
4008,
1343,
352,
73,
1635,
374,
782,
13,
403,
6933,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1877,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
27740,
11,
5391,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
5739,
62,
404,
796,
15690,
7,
25192,
62,
404,
532,
43720,
62,
404,
13,
1102,
73,
22446,
7645,
3455,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
43720,
3575,
2024,
796,
374,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
11,
5391,
11,
5391,
4008,
1343,
352,
73,
1635,
374,
782,
13,
403,
6933,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1877,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
11,
5391,
11,
5391,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
43720,
62,
1073,
14822,
82,
796,
15690,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
352,
73,
1635,
374,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
43720,
62,
7718,
8910,
796,
15690,
7,
81,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
43720,
62,
746,
1386,
796,
15690,
7,
81,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
22305,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
9288,
62,
49786,
7,
14535,
62,
404,
11,
43720,
3575,
2024,
11,
43720,
62,
1073,
14822,
82,
11,
43720,
62,
7718,
8910,
11,
43720,
62,
746,
1386,
8,
628,
220,
220,
220,
220,
220,
220,
220,
374,
782,
796,
45941,
13,
25120,
13,
12286,
62,
81,
782,
7,
24,
2780,
1507,
8,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
38707,
796,
642,
198,
220,
220,
220,
220,
220,
220,
220,
5391,
796,
838,
198,
220,
220,
220,
220,
220,
220,
220,
275,
796,
352,
13,
15,
220,
1303,
5421,
319,
2546,
286,
4738,
2846,
198,
220,
220,
220,
220,
220,
220,
220,
43720,
62,
404,
796,
374,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
27740,
11,
5391,
4008,
1343,
352,
73,
1635,
374,
782,
13,
403,
6933,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1877,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
27740,
11,
5391,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
5739,
62,
404,
796,
15690,
7,
25192,
62,
404,
532,
43720,
62,
404,
13,
1102,
73,
22446,
7645,
3455,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
43720,
3575,
2024,
796,
15690,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
11,
5391,
11,
5391,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
352,
73,
1635,
374,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
11,
5391,
11,
5391,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
43720,
62,
1073,
14822,
82,
796,
15690,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
352,
73,
1635,
374,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
43720,
62,
7718,
8910,
796,
15690,
7,
81,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
43720,
62,
746,
1386,
796,
15690,
7,
81,
782,
13,
403,
6933,
7,
9319,
10779,
65,
11,
1029,
28,
65,
11,
2546,
16193,
22510,
62,
38707,
22305,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
9288,
62,
49786,
7,
14535,
62,
404,
11,
43720,
3575,
2024,
11,
43720,
62,
1073,
14822,
82,
11,
43720,
62,
7718,
8910,
11,
43720,
62,
746,
1386,
8,
628,
220,
220,
220,
825,
1332,
62,
75,
16680,
62,
81,
16680,
62,
3919,
62,
14535,
62,
35487,
62,
19849,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
12660,
351,
645,
5739,
287,
262,
4096,
2746,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
331,
15,
796,
45941,
13,
18747,
26933,
58,
16,
13,
15,
11,
362,
13,
15,
4357,
685,
15,
13,
15,
11,
604,
13,
15,
11907,
8,
198,
220,
220,
220,
220,
220,
220,
220,
256,
796,
513,
13,
22291,
1065,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
14415,
796,
532,
16,
73,
1635,
362,
1635,
45941,
13,
14415,
198,
220,
220,
220,
220,
220,
220,
220,
288,
62,
1073,
14822,
796,
2116,
13,
81,
1635,
45941,
13,
6966,
7,
17,
1635,
45941,
13,
14415,
1635,
2116,
13,
86,
1635,
256,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
40319,
796,
1312,
17,
14415,
1635,
2116,
13,
86,
1635,
2116,
13,
57,
13,
7890,
1220,
362,
1343,
1312,
17,
14415,
1635,
288,
62,
1073,
14822,
1635,
2116,
13,
55,
13,
7890,
1220,
362,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3237,
26125,
7,
944,
13,
35487,
62,
19849,
13,
75,
16680,
7,
83,
11,
331,
15,
828,
2746,
62,
40319,
2488,
331,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3237,
26125,
7,
944,
13,
35487,
62,
19849,
13,
81,
16680,
7,
83,
11,
331,
15,
828,
331,
15,
2488,
2746,
62,
40319,
8,
628,
220,
220,
220,
825,
1332,
62,
12683,
282,
62,
33990,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
19698,
262,
10425,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
10425,
796,
685,
11712,
282,
7,
50033,
256,
25,
362,
1635,
256,
11,
352,
13,
15,
828,
26484,
7,
50033,
256,
25,
256,
12429,
362,
11,
362,
13,
15,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
12683,
874,
796,
10425,
628,
220,
220,
220,
220,
220,
220,
220,
256,
796,
657,
13,
16,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
2116,
13,
35487,
62,
19849,
13,
49786,
7,
83,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
14415,
796,
532,
16,
73,
1635,
362,
1635,
45941,
13,
14415,
198,
220,
220,
220,
220,
220,
220,
220,
1168,
62,
1073,
14822,
796,
357,
17,
1635,
256,
8,
1635,
45941,
13,
6966,
7,
17,
1635,
45941,
13,
14415,
1635,
352,
1635,
256,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
62,
1073,
14822,
796,
2116,
13,
81,
1635,
357,
83,
12429,
362,
8,
1635,
45941,
13,
6966,
7,
17,
1635,
45941,
13,
14415,
1635,
362,
1635,
256,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2938,
796,
1312,
17,
14415,
1635,
1168,
62,
1073,
14822,
1635,
2116,
13,
57,
13,
7890,
1220,
362,
1343,
1312,
17,
14415,
1635,
1395,
62,
1073,
14822,
1635,
2116,
13,
55,
13,
7890,
1220,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3237,
26125,
7,
8367,
11,
2938,
8,
628,
220,
220,
220,
825,
1332,
62,
12683,
282,
62,
33990,
62,
14202,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
4634,
10425,
284,
6045,
37811,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
12683,
874,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7,
944,
13,
35487,
62,
19849,
13,
12683,
874,
318,
6045,
8,
628,
220,
220,
220,
825,
1332,
62,
12683,
282,
62,
33990,
62,
1939,
47315,
62,
13664,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
4049,
852,
4376,
611,
10425,
318,
262,
2642,
4129,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
12683,
874,
796,
685,
16,
13,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
1195,
1984,
270,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7203,
31642,
4129,
1,
287,
965,
7,
68,
4008,
628,
220,
220,
220,
825,
1332,
62,
7109,
2135,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
24260,
12660,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3237,
26125,
7,
944,
13,
35487,
62,
19849,
13,
7109,
2135,
11,
532,
16,
73,
1635,
362,
1635,
45941,
13,
14415,
1635,
2116,
13,
86,
1635,
2116,
13,
57,
13,
7890,
1220,
362,
8,
628,
220,
220,
220,
825,
1332,
62,
7109,
2135,
62,
18224,
62,
259,
62,
14535,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
8620,
286,
4049,
611,
24260,
318,
9167,
287,
257,
5739,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
14535,
796,
2116,
13,
35487,
62,
19849,
13,
7109,
2135,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
7109,
2135,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
1195,
1984,
270,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7203,
359,
12,
23211,
1,
287,
965,
7,
68,
4008,
628,
220,
220,
220,
825,
1332,
62,
8968,
2364,
62,
19503,
80,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
12660,
351,
257,
45616,
8373,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3802,
5739,
286,
24260,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
14535,
796,
2116,
13,
35487,
62,
19849,
13,
7109,
2135,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
900,
45616,
2030,
80,
284,
362,
1635,
3708,
2030,
80,
357,
20307,
371,
15543,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
8968,
2364,
62,
19503,
80,
796,
362,
1635,
2116,
13,
86,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1255,
815,
655,
307,
262,
1395,
3381,
10284,
1079,
198,
220,
220,
220,
220,
220,
220,
220,
5418,
62,
81,
10247,
796,
2116,
13,
35487,
62,
19849,
13,
49786,
7,
17,
13,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2938,
796,
532,
16,
73,
1635,
362,
1635,
45941,
13,
14415,
1635,
357,
944,
13,
81,
1220,
362,
8,
1635,
2116,
13,
55,
13,
7890,
1220,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3237,
26125,
7,
18206,
62,
81,
10247,
11,
2938,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
12683,
874,
796,
685,
944,
13,
86,
11,
26484,
7,
19472,
62,
20786,
11,
2116,
13,
86,
15437,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1255,
815,
783,
3994,
1111,
1395,
290,
575,
2846,
10284,
1079,
198,
220,
220,
220,
220,
220,
220,
220,
256,
796,
362,
13,
1065,
3132,
1635,
45941,
13,
14415,
198,
220,
220,
220,
220,
220,
220,
220,
288,
3041,
796,
45941,
13,
5305,
7,
19472,
62,
20786,
7,
83,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
288,
3546,
796,
45941,
13,
48466,
7,
19472,
62,
20786,
7,
83,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
5418,
62,
81,
10247,
796,
2116,
13,
35487,
62,
19849,
13,
49786,
7,
83,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2938,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
16,
73,
1635,
362,
1635,
45941,
13,
14415,
1635,
357,
944,
13,
81,
1220,
362,
8,
1635,
288,
3041,
1635,
2116,
13,
55,
13,
7890,
1220,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
532,
16,
73,
1635,
362,
1635,
45941,
13,
14415,
1635,
357,
944,
13,
81,
1220,
362,
8,
1635,
288,
3546,
1635,
2116,
13,
56,
13,
7890,
1220,
362,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3237,
26125,
7,
18206,
62,
81,
10247,
11,
2938,
8,
628,
220,
220,
220,
825,
6818,
3237,
26125,
7,
944,
11,
317,
11,
347,
11,
374,
83,
349,
28,
16,
68,
12,
23,
11,
379,
349,
28,
16,
68,
12,
23,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14134,
45941,
13,
439,
19836,
290,
6818,
2081,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7,
37659,
13,
439,
19836,
7,
32,
11,
347,
11,
374,
83,
349,
28,
17034,
349,
11,
379,
349,
28,
265,
349,
4008,
628,
198,
4871,
6208,
8645,
1352,
17633,
41,
897,
7,
14402,
8645,
1352,
17633,
11,
6208,
41,
897,
14881,
2599,
198,
220,
220,
220,
37227,
41,
897,
2196,
286,
6208,
8645,
1352,
17633,
5254,
13,
628,
220,
220,
220,
5740,
25,
770,
1398,
468,
645,
1767,
475,
4909,
5254,
2233,
284,
24155,
13,
198,
220,
220,
220,
37227,
628,
198,
4871,
6208,
14134,
540,
8645,
1352,
7,
48,
1984,
270,
35,
4989,
873,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
51,
3558,
329,
4889,
540,
8645,
1352,
526,
15931,
628,
220,
220,
220,
825,
1332,
62,
10989,
363,
62,
14535,
62,
46616,
62,
35487,
62,
19849,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
4634,
257,
40039,
5739,
10088,
329,
262,
20947,
198,
220,
220,
220,
220,
220,
220,
220,
900,
510,
4096,
2746,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35487,
62,
14535,
62,
49786,
62,
9288,
7,
19182,
26933,
16,
73,
11,
532,
16,
73,
46570,
352,
13,
10163,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35487,
62,
14535,
62,
49786,
62,
9288,
7,
19182,
26933,
16,
73,
11,
532,
16,
73,
46570,
45941,
13,
14415,
8,
628,
220,
220,
220,
825,
1332,
62,
13159,
62,
10989,
363,
62,
14535,
62,
46616,
62,
35487,
62,
19849,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
4634,
257,
1729,
12,
10989,
27923,
5739,
10088,
329,
262,
20947,
198,
220,
220,
220,
220,
220,
220,
220,
900,
510,
4096,
2746,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35487,
62,
14535,
62,
49786,
62,
9288,
32590,
16,
73,
1635,
357,
944,
13,
56,
1343,
2116,
13,
57,
828,
352,
13,
10163,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
35487,
62,
14535,
62,
49786,
62,
9288,
32590,
16,
73,
1635,
357,
944,
13,
56,
532,
2116,
13,
57,
828,
45941,
13,
14415,
8,
628,
220,
220,
220,
825,
4808,
35487,
62,
14535,
62,
49786,
62,
9288,
7,
944,
11,
5739,
62,
46616,
11,
256,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
49,
28399,
329,
4856,
4634,
286,
4938,
5739,
12879,
1262,
262,
198,
220,
220,
220,
220,
220,
220,
220,
4096,
62,
19849,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35487,
62,
19849,
13,
14535,
796,
5739,
62,
46616,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
10385,
284,
362,
67,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
14535,
62,
46616,
11,
35946,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5739,
62,
46616,
796,
15690,
7,
14535,
62,
46616,
13,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
14535,
62,
46616,
11,
15690,
8,
290,
5739,
62,
46616,
13,
358,
320,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5739,
62,
46616,
796,
45941,
13,
10989,
363,
7,
14535,
62,
46616,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
2116,
13,
35487,
62,
19849,
13,
49786,
7,
83,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
14415,
796,
532,
16,
73,
1635,
362,
1635,
45941,
13,
14415,
628,
220,
220,
220,
220,
220,
220,
220,
471,
796,
1033,
76,
32590,
37659,
13,
18747,
7,
14535,
62,
46616,
8,
1635,
256,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3708,
35381,
198,
220,
220,
220,
220,
220,
220,
220,
288,
62,
1073,
14822,
796,
2116,
13,
81,
1635,
45941,
13,
6966,
7,
17,
1635,
45941,
13,
14415,
1635,
2116,
13,
86,
1635,
256,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
14500,
13446,
5739,
198,
220,
220,
220,
220,
220,
220,
220,
2938,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
14415,
1635,
2116,
13,
86,
1635,
471,
2488,
2116,
13,
57,
13,
7890,
2488,
471,
13,
1102,
73,
22446,
7645,
3455,
3419,
1220,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
288,
62,
1073,
14822,
1635,
1312,
17,
14415,
1635,
471,
2488,
2116,
13,
55,
13,
7890,
2488,
471,
13,
1102,
73,
22446,
7645,
3455,
3419,
1220,
362,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
5739,
62,
46616,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3237,
26125,
7,
8367,
11,
2938,
8,
628,
198,
4871,
6208,
14134,
540,
8645,
1352,
41,
897,
7,
14402,
14134,
540,
8645,
1352,
11,
6208,
41,
897,
14881,
2599,
198,
220,
220,
220,
37227,
41,
897,
2196,
286,
6208,
14134,
540,
8645,
1352,
5254,
13,
628,
220,
220,
220,
5740,
25,
770,
1398,
468,
645,
1767,
475,
4909,
5254,
2233,
284,
24155,
13,
198,
220,
220,
220,
37227,
198
] | 2.237031 | 5,282 |
#!/usr/bin/env python
"""
Script to download historical data from CCXT.
Use as:
# Download data for CCXT for trading universe `v03` from 2019-01-01 to now:
> download_historical_data.py \
--dst_dir 'test' \
--universe 'v03' \
--start_datetime '2019-01-01'
Import as:
import im_v2.ccxt.data.extract.download_historical_data as imvcdedhda
"""
import argparse
import logging
import os
import time
import pandas as pd
import helpers.hdbg as hdbg
import helpers.hio as hio
import helpers.hparser as hparser
import im_v2.ccxt.data.extract.exchange_class as imvcdeexcl
import im_v2.ccxt.universe.universe as imvccunun
_LOG = logging.getLogger(__name__)
if __name__ == "__main__":
_main(_parse())
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
37811,
198,
7391,
284,
4321,
6754,
1366,
422,
12624,
25010,
13,
198,
198,
11041,
355,
25,
198,
198,
2,
10472,
1366,
329,
12624,
25010,
329,
7313,
6881,
4600,
85,
3070,
63,
422,
13130,
12,
486,
12,
486,
284,
783,
25,
198,
29,
4321,
62,
10034,
12409,
62,
7890,
13,
9078,
3467,
198,
220,
220,
220,
220,
1377,
67,
301,
62,
15908,
705,
9288,
6,
3467,
198,
220,
220,
220,
220,
1377,
403,
3997,
705,
85,
3070,
6,
3467,
198,
220,
220,
220,
220,
1377,
9688,
62,
19608,
8079,
705,
23344,
12,
486,
12,
486,
6,
198,
198,
20939,
355,
25,
198,
198,
11748,
545,
62,
85,
17,
13,
535,
742,
13,
7890,
13,
2302,
974,
13,
15002,
62,
10034,
12409,
62,
7890,
355,
545,
28435,
9395,
71,
6814,
198,
37811,
198,
198,
11748,
1822,
29572,
198,
11748,
18931,
198,
11748,
28686,
198,
11748,
640,
198,
198,
11748,
19798,
292,
355,
279,
67,
198,
198,
11748,
49385,
13,
71,
9945,
70,
355,
289,
9945,
70,
198,
11748,
49385,
13,
71,
952,
355,
289,
952,
198,
11748,
49385,
13,
24831,
28198,
355,
27673,
28198,
198,
11748,
545,
62,
85,
17,
13,
535,
742,
13,
7890,
13,
2302,
974,
13,
1069,
3803,
62,
4871,
355,
545,
28435,
2934,
1069,
565,
198,
11748,
545,
62,
85,
17,
13,
535,
742,
13,
403,
3997,
13,
403,
3997,
355,
545,
85,
535,
403,
403,
198,
198,
62,
25294,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
4808,
12417,
28264,
29572,
28955,
198
] | 2.618182 | 275 |
import pytest
from time import sleep
from selenium import webdriver
@pytest.fixture
| [
11748,
12972,
9288,
198,
6738,
640,
1330,
3993,
198,
6738,
384,
11925,
1505,
1330,
3992,
26230,
198,
198,
31,
9078,
9288,
13,
69,
9602,
198
] | 3.4 | 25 |
#!/usr/bin/env python
"""
Filename: handler.py
Author: Keith Gladstone
Description:
This file is the heart of the program
It handles all vehicle allocation and repositioning
Contains trip_buffer, trip_location_hash_table, etc.
"""
import csv
import sys
from collections import deque
from math import floor
from vehicle import Vehicle
import trip_ops
import generic_ops
import pixel_ops
import demand_learning
def local_demand_predictor(current_p, day, time_block, beliefs, local_demand_degree):
'''Determines optimal cardinal direction to move vehicle.'''
current_x, current_y = current_p
directional_demand = [0, 0, 0, 0] # right, up, left, down
target_pixel = [(current_x + 1, current_y),
(current_x, current_y + 1),
(current_x - 1, current_y),
(current_x, current_y - 1)]
superpixel = pixel_ops.get_superpixel_degree_n(current_p, local_demand_degree)
for city_pixel, pixel_demand in beliefs.iteritems():
if city_pixel in superpixel:
(pixel_x, pixel_y) = city_pixel
demand_value = pixel_demand[generic_ops.get_day_code(day)][time_block][0]
if pixel_x > current_x:
directional_demand[0] += demand_value
if pixel_y > current_y:
directional_demand[1] += demand_value
if pixel_x < current_x:
directional_demand[2] += demand_value
if pixel_y < current_y:
directional_demand[3] += demand_value
return target_pixel[max((v, i) for i, v in enumerate(directional_demand))[1]]
def handle_empty_repositioning(vehicles_log, time, beliefs, local_demand_degree):
'''Moves vehicle using LEVRS.'''
time_block = generic_ops.get_time_block_from_time(time)
day_of_week = generic_ops.get_day_of_week_from_time(time)
empty_vehicles = list()
for vehicle_id in vehicles_log:
vehicle = vehicles_log[vehicle_id]
last_pinged_time = vehicle.time_of_last_ping
if last_pinged_time < time:
empty_vehicles.append(vehicle)
if len(empty_vehicles) == 0:
return vehicles_log
for empty_vehicle in empty_vehicles:
current_loc = empty_vehicle.most_recently_pinged_location
incremental_reposition = local_demand_predictor(\
current_loc, day_of_week, time_block, beliefs, local_demand_degree)
vehicles_log[empty_vehicle.vehicle_id] = \
empty_vehicle.empty_reposition(time, incremental_reposition)
return vehicles_log
def initial_vehicle_log(trip_log, fleet_size):
'''Create the initial vehicles_log.'''
list_trip_log = generic_ops.list_from_dict(trip_log)
first_n_trips = list_trip_log[:fleet_size]
vehicles_log = dict()
vehicle_id = 0
for trip_id, trip in first_n_trips:
cumulative_person_miles = trip_ops.get_person_miles_of_joined_trip(trip_log, trip_id)
cumulative_vehicle_miles = trip_ops.get_vehicle_miles_of_joined_trip(trip_log, trip_id)
vehicle = Vehicle(\
vehicle_id,
[trip.trip_id],
0,
trip.dropoff_pixel,
trip.dropoff_time,
cumulative_person_miles,
cumulative_vehicle_miles\
)
vehicles_log[vehicle_id] = vehicle
vehicle_id += 1
return vehicles_log
def find_best_common_origin_seq(trip_list, max_circuity, max_stops):
'''Given a list of trips, find the best rideshared route.'''
path = pixel_ops.hamilton_of_trip_list(trip_list)[1]
distinct_stops = dict()
origin_pixel = path[0][0]
prev_destination = origin_pixel
circuity_distance = 0
# Check if every trip in path meets the max circuity constraint and max stops constraint
# If constraints are met then this should NOT return None
for pair in path[1:]:
destination_pixel = pair[0]
distinct_stops[destination_pixel] = True
if len(distinct_stops) > max_stops:
return None
direct_manhattan_distance = pixel_ops.manhattan_distance(origin_pixel, destination_pixel)
circuity_distance += pixel_ops.manhattan_distance(prev_destination, destination_pixel)
prev_destination = destination_pixel
if direct_manhattan_distance != 0:
ratio = 1.0 * circuity_distance / direct_manhattan_distance
if ratio > max_circuity:
return None
return path[1:]
def predispatched_trips(trip_log, trip_location_hash_table, pickup_pixel):
'''Get the predispatched trips from a certain pickup_pixel.'''
trip = list(trip_location_hash_table[pickup_pixel])[-1][1]
return trip_ops.get_all_joined_trips(trip_log, trip.trip_id)
def optimal_route(trip, trip_log, trip_location_hash_table,
pickup_pixel, constraints):
'''Get the optimal route of rideshared trips'''
optimal_preorder = predispatched_trips( \
trip_log, trip_location_hash_table, pickup_pixel)
optimal_preorder += [trip]
optimal_order = find_best_common_origin_seq(optimal_preorder,
constraints['max_circuity'],
constraints['max_stops'])
return optimal_order
def sync_joined_trips(trip_log, trip_id, dispatch_time):
'''Sync the data for rideshared trips.'''
trip = trip_ops.get_trip(trip_log, trip_id)
vehicle_id = trip.vehicle_id
joined_trip_id = trip.joined_trip_id
pickup_location = trip.pickup_pixel
trip.pickup_time = dispatch_time
time_elapsed = pixel_ops.time_of_travel(pickup_location, trip.dropoff_pixel)
trip.dropoff_time = dispatch_time + time_elapsed
# For each subsequent trip, update the time elapsed to reach destination
# Update the vehicle id
while True:
joined_trip = trip_ops.get_trip(trip_log, joined_trip_id)
time_elapsed += pixel_ops.time_of_travel(trip.dropoff_pixel, joined_trip.dropoff_pixel)
joined_trip = joined_trip.set_actual_t(dispatch_time, dispatch_time + time_elapsed)
joined_trip = joined_trip.set_vehicle(vehicle_id)
trip_id = joined_trip_id
joined_trip_id = joined_trip.joined_trip_id
if joined_trip_id == trip_id:
break
return trip_log
def send_vehicle_for_this_request(trip_log, trip_id, vehicle_info, vehicles_log, constraints):
'''Assign vehicle to trip request.'''
departure_delay = constraints['departure_delay']
assert(vehicle_info is not None), "Vehicle Info is None"
vehicle_id = vehicle_info['vehicle_id']
time_delay = vehicle_info['time_delay']
# Update vehicle ID
trip = trip_ops.get_trip(trip_log, trip_id)
trip.vehicle_id = vehicle_id
# Update trip's time delay
trip = trip.increase_time_delay(max(time_delay, departure_delay))
# Update trip log
trip_log[trip_id] = trip
# Update vehicle log accordingly
vehicles_log[vehicle_id].add_trip_to_schedule(trip) # this causes absurd scale
return trip_log, vehicles_log
def get_vehicles_latest_trips(vehicles_log):
'''Get the latest scheduled location and time of all vehicles.'''
vehicle_locations = dict()
for vehicle in vehicles_log.values():
vehicle_locations[vehicle.vehicle_id] = \
(vehicle.most_recently_pinged_location, vehicle.time_of_last_ping)
return vehicle_locations
def vehicle_min_arrival_time(trip_log, trip_id, vehicles_log):
'''Get the vehicle that will arrive soonest for trip_id.'''
vehicles_latest_trips = get_vehicles_latest_trips(vehicles_log)
trip = trip_ops.get_trip(trip_log, trip_id)
request_time = trip.pickup_request_time
# Get the vehicle that can arrive soonest (with travel estimate)
closest_vehicle_info = None
min_time = sys.maxint
for vehicle_id, (pre_repositioned_location, pre_repositioned_time) \
in vehicles_latest_trips.items():
travel_time = pixel_ops.time_of_travel(pre_repositioned_location, trip.pickup_pixel)
# Vehicle is already there, use it
if travel_time == 0.0:
return (vehicle_id, pre_repositioned_location, 0.0)
time_vehicle_would_arrive = \
max(pre_repositioned_time, request_time) + travel_time
if time_vehicle_would_arrive < min_time:
min_time = time_vehicle_would_arrive
time_delay = time_vehicle_would_arrive - request_time
assert(time_delay >= 0), \
"""
Time Delay is negative: %s
Trip: %s
Pre Repositioned Time: %s
Pre Repositioned Location: %s
Request Time: %s
Travel Time: %s
Time Vehicle Would Arrive Here: %s
""" % (str(time_delay),
str(trip.__dict__),
str(pre_repositioned_time),
str(pre_repositioned_location),
str(request_time),
str(travel_time),
str(time_vehicle_would_arrive))
closest_vehicle_info = {"vehicle_id" : vehicle_id,
"pre_repositioned_location" : pre_repositioned_location,
"time_delay" : time_delay}
assert(min_time != sys.maxint), "Closest Vehicle not selected"
return closest_vehicle_info
def get_vehicle_for_this_trip(trip_log, trip_id, vehicles_log):
'''Get the vehicle to be assigned for this trip.'''
vehicle = vehicle_min_arrival_time(trip_log, trip_id, vehicles_log)
return vehicle
def do_request_new_vehicle(trip_log, trip_id, vehicles_log,
constraints, trip_buffer, trip_location_hash_table):
'''Request a new vehicle for this trip, handle info'''
# Helper variables
trip = trip_ops.get_trip(trip_log, trip_id)
pickup_pixel, dropoff_pixel = (trip.pickup_pixel, trip.dropoff_pixel)
# Need to a request a new vehicle for this trip
# (1) Identify which vehicle is needed
# (2) Update data structures to link this trip request to that vehicle and "send vehicle"
vehicle_for_this_trip = get_vehicle_for_this_trip(trip_log, trip_id, vehicles_log)
trip_log, vehicles_log = send_vehicle_for_this_request(trip_log, trip_id,
vehicle_for_this_trip,
vehicles_log, constraints)
# We want to put this trip, therefore, in the trip fulfillment queue and location dict
trip_buffer = generic_ops.deque_put_in_place(trip_buffer, (trip, trip.pickup_time))
trip_location_hash_table[pickup_pixel].append((dropoff_pixel, trip))
return trip_log, vehicles_log
def is_this_vehicles_latest_loc(trip_log, vehicles_log,
trip_location_hash_table, pickup_pixel):
'''Is the vehicle's latest scheduled trip the latest trip scheduled at this pickup pixel?'''
if len(trip_location_hash_table[pickup_pixel]) == 0:
return False
the_trip_scheduled_from_this_origin = trip_location_hash_table[pickup_pixel][-1]
trip = the_trip_scheduled_from_this_origin[1]
last_common_origin_trip = trip_ops.get_last_joined_trip(trip_log, trip.trip_id)
vehicle_id = last_common_origin_trip.vehicle_id
the_latest_trip_scheduled_with_this_vehicle = vehicles_log[vehicle_id].latest_trip
return str(the_latest_trip_scheduled_with_this_vehicle) == str(trip.trip_id)
def get_joined_trip_occupants(trip_legs):
'''Get the number of total occupants for all trip legs of a rideshared trip'''
total = 0
for trip_leg in trip_legs:
total += trip_leg.occupancy
return total
def common_origin_validation(trip_location_hash_table, trip_log,
vehicles_log, new_trip_request, constraints):
'''Run the common origin validation process'''
vehicle_size = constraints['vehicle_size']
request_new_vehicle = True
optimal_order = None
pickup_pixel = new_trip_request.pickup_pixel
there_exists_undispatched_vehicle_from_this_origin = \
len(trip_location_hash_table[pickup_pixel]) > 0
# If there exists a vehicle from this origin
if there_exists_undispatched_vehicle_from_this_origin:
# This is the Greedy Common Origin Trip Sender
# If the vehicle's latest undispatched trip is not from this origin,
# then request a new vehicle
if not is_this_vehicles_latest_loc(trip_log,
vehicles_log,
trip_location_hash_table,
pickup_pixel):
request_new_vehicle = True
else:
# Get pickup time of the trip
first_leg_of_trip_here = list(trip_location_hash_table[pickup_pixel])[0][1]
if new_trip_request.pickup_request_time > first_leg_of_trip_here.pickup_time:
request_new_vehicle = True
else:
# SUBJECT TO vehicle_size CONSTRAINT
current_joined_trip = [that_trip[1] \
for that_trip \
in list(trip_location_hash_table[pickup_pixel])]
current_vehicle_occupancy = get_joined_trip_occupants(current_joined_trip)
vehicle_would_exceed_capacity = \
current_vehicle_occupancy + new_trip_request.occupancy > vehicle_size
if vehicle_would_exceed_capacity:
request_new_vehicle = True
else:
# SUBJECT TO MAX CIRCUITY AND MAX STOPS CONSTRAINTS
optimal_order = optimal_route(new_trip_request,
trip_log,
trip_location_hash_table,
pickup_pixel,
constraints)
request_new_vehicle = optimal_order is None
return request_new_vehicle, optimal_order
def resequence_joined_trip_ids(trip_log, ordered_joined_trips):
'''Resync joined trip ids'''
for i in range(0, len(ordered_joined_trips) - 1):
trip = ordered_joined_trips[i]
trip.joined_trip_id = ordered_joined_trips[i + 1].trip_id
last_trip = ordered_joined_trips[-1]
last_trip.joined_trip_id = last_trip.trip_id
return trip_log
def greedy_common_origin_scheduler(trip_log, vehicles_log, trip_location_hash_table,
trip_buffer, new_trip_request, optimal_order):
'''Run Greedy Common Origin Strategy heuristic'''
pickup_pixel = new_trip_request.pickup_pixel
optimal_order_CO_destinations = [trip[1] for trip in optimal_order]
new_first_trip_of_route = optimal_order_CO_destinations[0]
scheduled_trip_from_this_origin = list(trip_location_hash_table[pickup_pixel])[-1][1]
pickup_time = scheduled_trip_from_this_origin.pickup_time
vehicle_id = scheduled_trip_from_this_origin.vehicle_id
trip_log = resequence_joined_trip_ids(trip_log, optimal_order_CO_destinations)
vehicles_log[vehicle_id] = \
vehicles_log[vehicle_id].replace_last_trip(new_first_trip_of_route)
new_trip_request.set_vehicle(vehicle_id)
sync_joined_trips(trip_log, new_first_trip_of_route.trip_id, pickup_time)
generic_ops.deque_replace(trip_buffer,
(scheduled_trip_from_this_origin, pickup_time),
(new_first_trip_of_route, pickup_time))
trip_location_hash_table[pickup_pixel].popleft()
trip_location_hash_table[pickup_pixel].append((optimal_order[0][0], new_first_trip_of_route))
return trip_log, vehicles_log, trip_location_hash_table
def process_request(trip_log, trip, vehicles_log,
constraints, trip_location_hash_table, trip_buffer):
'''Run the general process for a single trip request'''
greedy = constraints['greedy_common_origin']
request_new_vehicle = True # default true, but turn false if vehicle is available
# Helper variables
new_trip_request = trip
pickup_pixel = new_trip_request.pickup_pixel
# If the origin point has NOT been accounted for yet then set it up as
# an empty deque of destination points
if pickup_pixel not in trip_location_hash_table.keys():
trip_location_hash_table[pickup_pixel] = deque()
# Determine whether to request new vehicle or not
request_new_vehicle, optimal_order = common_origin_validation(\
trip_location_hash_table, trip_log, vehicles_log, new_trip_request, constraints)
# HACK: to make sure that pickup_request time is not after pickup time
if optimal_order is not None:
pickup_pixel = new_trip_request.pickup_pixel
new_first_trip_of_route = optimal_order[0][1]
scheduled_trip_from_this_origin = list(trip_location_hash_table[pickup_pixel])[-1][1]
pickup_time = scheduled_trip_from_this_origin.pickup_time
if new_first_trip_of_route.pickup_request_time > pickup_time:
request_new_vehicle = True
# Request a vehicle from the fleet
if request_new_vehicle:
trip_log, vehicles_log = \
do_request_new_vehicle(trip_log,
trip.trip_id,
vehicles_log,
constraints,
trip_buffer,
trip_location_hash_table)
# Enter RIDESHARE process
# Greedy Heuristic
else:
if greedy:
trip_log, vehicles_log, trip_location_hash_table = \
greedy_common_origin_scheduler(trip_log,
vehicles_log,
trip_location_hash_table,
trip_buffer,
new_trip_request,
optimal_order)
return trip_log, vehicles_log
def handle_requests_at_this_time(trip_log, vehicles_log,
requests, constraints,
trip_location_hash_table, trip_buffer, beliefs):
'''Run the processes for all requests in this batch'''
list_of_trip_requests_now = requests
for trip in list_of_trip_requests_now:
trip_log[trip.trip_id] = trip
trip_log, vehicles_log = process_request(trip_log,
trip,
vehicles_log,
constraints,
trip_location_hash_table,
trip_buffer)
if int(constraints['freq_levrs']) != 0:
betas = {'initial' : constraints['initial_beta'], 'obs' : constraints['beta_obs']}
beliefs = demand_learning.update_belief_model(trip, beliefs, betas)
return trip_log, vehicles_log, beliefs
def clear_trips_for_dispatch(trip_log, dispatch_time, vehicles_log,
trip_location_hash_table,
trip_buffer, dict_writer):
'''Send dispatched files to output, remove from data structures'''
if len(trip_buffer) < 1:
return trip_location_hash_table, trip_buffer
while len(trip_buffer) > 0:
next_to_dispatch_trip, next_to_dispatch_pickup_time = trip_buffer[0]
if floor(next_to_dispatch_pickup_time) <= floor(dispatch_time):
pickup_pixel = next_to_dispatch_trip.pickup_pixel
vehicle_id = next_to_dispatch_trip.vehicle_id
vehicles_log[vehicle_id].cumulative_person_miles += \
trip_ops.get_person_miles_of_joined_trip(trip_log, next_to_dispatch_trip.trip_id)
vehicles_log[vehicle_id].cumulative_vehicle_miles += \
trip_ops.get_vehicle_miles_of_joined_trip(trip_log, next_to_dispatch_trip.trip_id)
all_joined_trips = trip_ops.get_all_joined_trips(trip_log,
next_to_dispatch_trip.trip_id)
for that_trip in all_joined_trips:
assert(that_trip.valid()), "Trip being written is invalid" # this needs to be true
dict_writer.writerow(that_trip.__dict__)
del trip_log[that_trip.trip_id]
trip_buffer.popleft()
trip_location_hash_table[pickup_pixel].popleft()
else:
break
return
def receive_requests_now(reader, time, rollover_request):
'''Listen for requests at this time from the stream'''
if rollover_request is None:
requests_now = list()
else:
requests_now = [rollover_request]
while True:
try:
next_line = reader.next()
trip = trip_ops.process_cleaned_trip(next_line)
if trip.pickup_request_time > time:
return requests_now, trip
else:
requests_now.append(trip)
except StopIteration:
return None, None
def handle_all_trip_requests(constraints):
'''Main function'''
fleet_size = constraints['fleet_size']
beliefs = constraints['beliefs']
local_demand_degree = constraints['local_demand_degree']
freq_levrs = int(constraints['freq_levrs'])
cleaned_filepath = generic_ops.cleaned_fp(constraints['raw'])
result_filepath = generic_ops.results_fp(constraints['raw'], constraints['index'])
#-------------------------------------------------------- START READER OPS
inputfile = open(cleaned_filepath, 'rb')
reader = csv.DictReader(inputfile)
initial_trip_log = trip_ops.read_n_cleaned_trips(reader, fleet_size)
#-------------------------------------------------------- END READER OPS
#-------------------------------------------------------- START WRITER OPS
open(result_filepath, 'w').close() # reset the output file
outputfile = open(result_filepath, 'wa')
keys = initial_trip_log.values()[0].__dict__.keys()
dict_writer = csv.DictWriter(outputfile, keys)
dict_writer.writeheader()
for trip in initial_trip_log.values():
dict_writer.writerow(trip.__dict__)
#-------------------------------------------------------- END WRITER OPS
# trip_location_hash_table is a data structure that is a dict of trip origin points,
# each origin point contains a list of trips scheduled to leave from that point,
# represented solely by the trip that is the first-stop of that trip
# trip_buffer is a double-queue data structure that enqueues requests as they come in
# and dequeues them when they are dispatched.
# trip_log is a dict that is synced with the trip_buffer,
# contains more detailed info about trips
trip_location_hash_table = dict()
trip_buffer = deque()
# Transform Trip Log to Be Index By Vehicle ID
vehicles_log = initial_vehicle_log(initial_trip_log, fleet_size)
# Get time of last initial pickup request
start_time = initial_trip_log.values()[-1].pickup_request_time
# Clear this variable to save memory
initial_trip_log = None
trip_log = dict()
time = start_time
rollover_request = None
while True:
requests, rollover_request = receive_requests_now(reader, time, rollover_request)
# There are no incoming trip requests or trips left to dispatch. End Loop
if requests is None and len(trip_buffer) == 0:
break
# There are trip requests this turn. Process them.
if requests is not None and len(requests) >= 0:
trip_log, vehicles_log, beliefs = \
handle_requests_at_this_time(trip_log,
vehicles_log,
requests,
constraints,
trip_location_hash_table,
trip_buffer,
beliefs)
counter = 0
for pickup_pixel in trip_location_hash_table:
counter += len(trip_location_hash_table[pickup_pixel])
# Clear trips ready for dispatch at this time
clear_trips_for_dispatch(trip_log,
vehicles_log,
constraints,
trip_location_hash_table,
trip_buffer,
dict_writer)
# LEVRS Handling
if freq_levrs != 0 and time % freq_levrs == 0:
vehicles_log = \
handle_empty_repositioning(vehicles_log, time, beliefs, local_demand_degree)
time += 1 # next iteration of time
outputfile.close()
assert(len(trip_log) == 0), "There were %s undispatched trips." % (str(len(trip_log)))
return vehicles_log
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
37811,
198,
220,
220,
220,
7066,
12453,
25,
21360,
13,
9078,
198,
220,
220,
220,
6434,
25,
14926,
28442,
6440,
628,
220,
220,
220,
12489,
25,
198,
220,
220,
220,
770,
2393,
318,
262,
2612,
286,
262,
1430,
198,
220,
220,
220,
632,
17105,
477,
4038,
20157,
290,
1128,
3507,
278,
198,
220,
220,
220,
49850,
5296,
62,
22252,
11,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
3503,
13,
198,
37811,
198,
11748,
269,
21370,
198,
11748,
25064,
198,
6738,
17268,
1330,
390,
4188,
198,
6738,
10688,
1330,
4314,
198,
198,
6738,
4038,
1330,
21501,
198,
11748,
5296,
62,
2840,
198,
11748,
14276,
62,
2840,
198,
11748,
17465,
62,
2840,
198,
11748,
3512,
62,
40684,
198,
198,
4299,
1957,
62,
28550,
62,
79,
17407,
273,
7,
14421,
62,
79,
11,
1110,
11,
640,
62,
9967,
11,
9056,
11,
1957,
62,
28550,
62,
16863,
2599,
198,
220,
220,
220,
705,
7061,
35,
13221,
274,
16586,
38691,
4571,
284,
1445,
4038,
2637,
7061,
198,
220,
220,
220,
1459,
62,
87,
11,
1459,
62,
88,
796,
1459,
62,
79,
198,
220,
220,
220,
47424,
62,
28550,
796,
685,
15,
11,
657,
11,
657,
11,
657,
60,
1303,
826,
11,
510,
11,
1364,
11,
866,
198,
220,
220,
220,
2496,
62,
32515,
796,
47527,
14421,
62,
87,
1343,
352,
11,
1459,
62,
88,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
14421,
62,
87,
11,
1459,
62,
88,
1343,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
14421,
62,
87,
532,
352,
11,
1459,
62,
88,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
14421,
62,
87,
11,
1459,
62,
88,
532,
352,
15437,
198,
220,
220,
220,
2208,
32515,
796,
17465,
62,
2840,
13,
1136,
62,
16668,
32515,
62,
16863,
62,
77,
7,
14421,
62,
79,
11,
1957,
62,
28550,
62,
16863,
8,
628,
220,
220,
220,
329,
1748,
62,
32515,
11,
17465,
62,
28550,
287,
9056,
13,
2676,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1748,
62,
32515,
287,
2208,
32515,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
32515,
62,
87,
11,
17465,
62,
88,
8,
796,
1748,
62,
32515,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3512,
62,
8367,
796,
17465,
62,
28550,
58,
41357,
62,
2840,
13,
1136,
62,
820,
62,
8189,
7,
820,
8,
7131,
2435,
62,
9967,
7131,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
17465,
62,
87,
1875,
1459,
62,
87,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47424,
62,
28550,
58,
15,
60,
15853,
3512,
62,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
17465,
62,
88,
1875,
1459,
62,
88,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47424,
62,
28550,
58,
16,
60,
15853,
3512,
62,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
17465,
62,
87,
1279,
1459,
62,
87,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47424,
62,
28550,
58,
17,
60,
15853,
3512,
62,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
17465,
62,
88,
1279,
1459,
62,
88,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47424,
62,
28550,
58,
18,
60,
15853,
3512,
62,
8367,
198,
220,
220,
220,
1441,
2496,
62,
32515,
58,
9806,
19510,
85,
11,
1312,
8,
329,
1312,
11,
410,
287,
27056,
378,
7,
37295,
282,
62,
28550,
4008,
58,
16,
11907,
198,
198,
4299,
5412,
62,
28920,
62,
260,
9150,
278,
7,
33892,
2983,
62,
6404,
11,
640,
11,
9056,
11,
1957,
62,
28550,
62,
16863,
2599,
198,
220,
220,
220,
705,
7061,
44,
5241,
4038,
1262,
12509,
53,
6998,
2637,
7061,
198,
220,
220,
220,
640,
62,
9967,
796,
14276,
62,
2840,
13,
1136,
62,
2435,
62,
9967,
62,
6738,
62,
2435,
7,
2435,
8,
198,
220,
220,
220,
1110,
62,
1659,
62,
10464,
796,
14276,
62,
2840,
13,
1136,
62,
820,
62,
1659,
62,
10464,
62,
6738,
62,
2435,
7,
2435,
8,
628,
220,
220,
220,
6565,
62,
33892,
2983,
796,
1351,
3419,
198,
220,
220,
220,
329,
4038,
62,
312,
287,
5672,
62,
6404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4038,
796,
5672,
62,
6404,
58,
33892,
1548,
62,
312,
60,
198,
220,
220,
220,
220,
220,
220,
220,
938,
62,
13886,
276,
62,
2435,
796,
4038,
13,
2435,
62,
1659,
62,
12957,
62,
13886,
198,
220,
220,
220,
220,
220,
220,
220,
611,
938,
62,
13886,
276,
62,
2435,
1279,
640,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6565,
62,
33892,
2983,
13,
33295,
7,
33892,
1548,
8,
198,
220,
220,
220,
611,
18896,
7,
28920,
62,
33892,
2983,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
5672,
62,
6404,
198,
220,
220,
220,
329,
6565,
62,
33892,
1548,
287,
6565,
62,
33892,
2983,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
17946,
796,
6565,
62,
33892,
1548,
13,
1712,
62,
49921,
306,
62,
13886,
276,
62,
24886,
198,
220,
220,
220,
220,
220,
220,
220,
29497,
62,
260,
9150,
796,
1957,
62,
28550,
62,
79,
17407,
273,
38016,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
17946,
11,
1110,
62,
1659,
62,
10464,
11,
640,
62,
9967,
11,
9056,
11,
1957,
62,
28550,
62,
16863,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
58,
28920,
62,
33892,
1548,
13,
33892,
1548,
62,
312,
60,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6565,
62,
33892,
1548,
13,
28920,
62,
260,
9150,
7,
2435,
11,
29497,
62,
260,
9150,
8,
198,
220,
220,
220,
1441,
5672,
62,
6404,
198,
198,
4299,
4238,
62,
33892,
1548,
62,
6404,
7,
39813,
62,
6404,
11,
11026,
62,
7857,
2599,
198,
220,
220,
220,
705,
7061,
16447,
262,
4238,
5672,
62,
6404,
2637,
7061,
198,
220,
220,
220,
1351,
62,
39813,
62,
6404,
796,
14276,
62,
2840,
13,
4868,
62,
6738,
62,
11600,
7,
39813,
62,
6404,
8,
198,
220,
220,
220,
717,
62,
77,
62,
28461,
862,
796,
1351,
62,
39813,
62,
6404,
58,
25,
33559,
62,
7857,
60,
198,
220,
220,
220,
5672,
62,
6404,
796,
8633,
3419,
198,
220,
220,
220,
4038,
62,
312,
796,
657,
198,
220,
220,
220,
329,
5296,
62,
312,
11,
5296,
287,
717,
62,
77,
62,
28461,
862,
25,
198,
220,
220,
220,
220,
220,
220,
220,
23818,
62,
6259,
62,
76,
2915,
796,
5296,
62,
2840,
13,
1136,
62,
6259,
62,
76,
2915,
62,
1659,
62,
46416,
62,
39813,
7,
39813,
62,
6404,
11,
5296,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
23818,
62,
33892,
1548,
62,
76,
2915,
796,
5296,
62,
2840,
13,
1136,
62,
33892,
1548,
62,
76,
2915,
62,
1659,
62,
46416,
62,
39813,
7,
39813,
62,
6404,
11,
5296,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4038,
796,
21501,
38016,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4038,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
39813,
13,
39813,
62,
312,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
13,
14781,
2364,
62,
32515,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
13,
14781,
2364,
62,
2435,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23818,
62,
6259,
62,
76,
2915,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23818,
62,
33892,
1548,
62,
76,
2915,
59,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
58,
33892,
1548,
62,
312,
60,
796,
4038,
198,
220,
220,
220,
220,
220,
220,
220,
4038,
62,
312,
15853,
352,
198,
220,
220,
220,
1441,
5672,
62,
6404,
198,
198,
4299,
1064,
62,
13466,
62,
11321,
62,
47103,
62,
41068,
7,
39813,
62,
4868,
11,
3509,
62,
21170,
14834,
11,
3509,
62,
301,
2840,
2599,
198,
220,
220,
220,
705,
7061,
15056,
257,
1351,
286,
13229,
11,
1064,
262,
1266,
17445,
71,
1144,
6339,
2637,
7061,
198,
220,
220,
220,
3108,
796,
17465,
62,
2840,
13,
2763,
9044,
62,
1659,
62,
39813,
62,
4868,
7,
39813,
62,
4868,
38381,
16,
60,
198,
220,
220,
220,
7310,
62,
301,
2840,
796,
8633,
3419,
628,
220,
220,
220,
8159,
62,
32515,
796,
3108,
58,
15,
7131,
15,
60,
198,
220,
220,
220,
8654,
62,
16520,
1883,
796,
8159,
62,
32515,
198,
220,
220,
220,
2498,
14834,
62,
30246,
796,
657,
198,
220,
220,
220,
1303,
6822,
611,
790,
5296,
287,
3108,
11185,
262,
3509,
2498,
14834,
32315,
290,
3509,
9911,
32315,
198,
220,
220,
220,
1303,
1002,
17778,
389,
1138,
788,
428,
815,
5626,
1441,
6045,
198,
220,
220,
220,
329,
5166,
287,
3108,
58,
16,
25,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
10965,
62,
32515,
796,
5166,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
7310,
62,
301,
2840,
58,
16520,
1883,
62,
32515,
60,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
17080,
4612,
62,
301,
2840,
8,
1875,
3509,
62,
301,
2840,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1277,
62,
805,
12904,
62,
30246,
796,
17465,
62,
2840,
13,
805,
12904,
62,
30246,
7,
47103,
62,
32515,
11,
10965,
62,
32515,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2498,
14834,
62,
30246,
15853,
17465,
62,
2840,
13,
805,
12904,
62,
30246,
7,
47050,
62,
16520,
1883,
11,
10965,
62,
32515,
8,
198,
220,
220,
220,
220,
220,
220,
220,
8654,
62,
16520,
1883,
796,
10965,
62,
32515,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1277,
62,
805,
12904,
62,
30246,
14512,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8064,
796,
352,
13,
15,
1635,
2498,
14834,
62,
30246,
1220,
1277,
62,
805,
12904,
62,
30246,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
8064,
1875,
3509,
62,
21170,
14834,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
1441,
3108,
58,
16,
47715,
198,
198,
4299,
46276,
8071,
1740,
62,
28461,
862,
7,
39813,
62,
6404,
11,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
19422,
62,
32515,
2599,
198,
220,
220,
220,
705,
7061,
3855,
262,
46276,
8071,
1740,
13229,
422,
257,
1728,
19422,
62,
32515,
2637,
7061,
198,
220,
220,
220,
5296,
796,
1351,
7,
39813,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
12962,
58,
12,
16,
7131,
16,
60,
198,
220,
220,
220,
1441,
5296,
62,
2840,
13,
1136,
62,
439,
62,
46416,
62,
28461,
862,
7,
39813,
62,
6404,
11,
5296,
13,
39813,
62,
312,
8,
198,
198,
4299,
16586,
62,
38629,
7,
39813,
11,
5296,
62,
6404,
11,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19422,
62,
32515,
11,
17778,
2599,
198,
220,
220,
220,
705,
7061,
3855,
262,
16586,
6339,
286,
17445,
71,
1144,
13229,
7061,
6,
198,
220,
220,
220,
16586,
62,
3866,
2875,
796,
46276,
8071,
1740,
62,
28461,
862,
7,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
6404,
11,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
19422,
62,
32515,
8,
198,
220,
220,
220,
16586,
62,
3866,
2875,
15853,
685,
39813,
60,
198,
220,
220,
220,
16586,
62,
2875,
796,
1064,
62,
13466,
62,
11321,
62,
47103,
62,
41068,
7,
8738,
4402,
62,
3866,
2875,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17778,
17816,
9806,
62,
21170,
14834,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17778,
17816,
9806,
62,
301,
2840,
6,
12962,
198,
220,
220,
220,
1441,
16586,
62,
2875,
198,
198,
4299,
17510,
62,
46416,
62,
28461,
862,
7,
39813,
62,
6404,
11,
5296,
62,
312,
11,
27965,
62,
2435,
2599,
198,
220,
220,
220,
705,
7061,
28985,
262,
1366,
329,
17445,
71,
1144,
13229,
2637,
7061,
198,
220,
220,
220,
5296,
796,
5296,
62,
2840,
13,
1136,
62,
39813,
7,
39813,
62,
6404,
11,
5296,
62,
312,
8,
198,
220,
220,
220,
4038,
62,
312,
796,
5296,
13,
33892,
1548,
62,
312,
198,
220,
220,
220,
5399,
62,
39813,
62,
312,
796,
5296,
13,
46416,
62,
39813,
62,
312,
198,
220,
220,
220,
19422,
62,
24886,
796,
5296,
13,
27729,
929,
62,
32515,
628,
220,
220,
220,
5296,
13,
27729,
929,
62,
2435,
796,
27965,
62,
2435,
628,
220,
220,
220,
640,
62,
417,
28361,
796,
17465,
62,
2840,
13,
2435,
62,
1659,
62,
35927,
7,
27729,
929,
62,
24886,
11,
5296,
13,
14781,
2364,
62,
32515,
8,
198,
220,
220,
220,
5296,
13,
14781,
2364,
62,
2435,
796,
27965,
62,
2435,
1343,
640,
62,
417,
28361,
628,
220,
220,
220,
1303,
1114,
1123,
8840,
5296,
11,
4296,
262,
640,
42118,
284,
3151,
10965,
198,
220,
220,
220,
1303,
10133,
262,
4038,
4686,
198,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5399,
62,
39813,
796,
5296,
62,
2840,
13,
1136,
62,
39813,
7,
39813,
62,
6404,
11,
5399,
62,
39813,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
640,
62,
417,
28361,
15853,
17465,
62,
2840,
13,
2435,
62,
1659,
62,
35927,
7,
39813,
13,
14781,
2364,
62,
32515,
11,
5399,
62,
39813,
13,
14781,
2364,
62,
32515,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5399,
62,
39813,
796,
5399,
62,
39813,
13,
2617,
62,
50039,
62,
83,
7,
6381,
17147,
62,
2435,
11,
27965,
62,
2435,
1343,
640,
62,
417,
28361,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5399,
62,
39813,
796,
5399,
62,
39813,
13,
2617,
62,
33892,
1548,
7,
33892,
1548,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
312,
796,
5399,
62,
39813,
62,
312,
198,
220,
220,
220,
220,
220,
220,
220,
5399,
62,
39813,
62,
312,
796,
5399,
62,
39813,
13,
46416,
62,
39813,
62,
312,
628,
220,
220,
220,
220,
220,
220,
220,
611,
5399,
62,
39813,
62,
312,
6624,
5296,
62,
312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
220,
220,
220,
1441,
5296,
62,
6404,
198,
198,
4299,
3758,
62,
33892,
1548,
62,
1640,
62,
5661,
62,
25927,
7,
39813,
62,
6404,
11,
5296,
62,
312,
11,
4038,
62,
10951,
11,
5672,
62,
6404,
11,
17778,
2599,
198,
220,
220,
220,
705,
7061,
8021,
570,
4038,
284,
5296,
2581,
2637,
7061,
198,
220,
220,
220,
12928,
62,
40850,
796,
17778,
17816,
10378,
433,
495,
62,
40850,
20520,
198,
220,
220,
220,
6818,
7,
33892,
1548,
62,
10951,
318,
407,
6045,
828,
366,
37870,
1548,
14151,
318,
6045,
1,
628,
220,
220,
220,
4038,
62,
312,
796,
4038,
62,
10951,
17816,
33892,
1548,
62,
312,
20520,
198,
220,
220,
220,
640,
62,
40850,
796,
4038,
62,
10951,
17816,
2435,
62,
40850,
20520,
628,
220,
220,
220,
1303,
10133,
4038,
4522,
198,
220,
220,
220,
5296,
796,
5296,
62,
2840,
13,
1136,
62,
39813,
7,
39813,
62,
6404,
11,
5296,
62,
312,
8,
198,
220,
220,
220,
5296,
13,
33892,
1548,
62,
312,
796,
4038,
62,
312,
628,
220,
220,
220,
1303,
10133,
5296,
338,
640,
5711,
198,
220,
220,
220,
5296,
796,
5296,
13,
24988,
589,
62,
2435,
62,
40850,
7,
9806,
7,
2435,
62,
40850,
11,
12928,
62,
40850,
4008,
628,
220,
220,
220,
1303,
10133,
5296,
2604,
198,
220,
220,
220,
5296,
62,
6404,
58,
39813,
62,
312,
60,
796,
5296,
628,
220,
220,
220,
1303,
10133,
4038,
2604,
16062,
198,
220,
220,
220,
5672,
62,
6404,
58,
33892,
1548,
62,
312,
4083,
2860,
62,
39813,
62,
1462,
62,
15952,
5950,
7,
39813,
8,
220,
1303,
428,
5640,
12986,
5046,
628,
220,
220,
220,
1441,
5296,
62,
6404,
11,
5672,
62,
6404,
198,
198,
4299,
651,
62,
33892,
2983,
62,
42861,
62,
28461,
862,
7,
33892,
2983,
62,
6404,
2599,
198,
220,
220,
220,
705,
7061,
3855,
262,
3452,
7530,
4067,
290,
640,
286,
477,
5672,
2637,
7061,
198,
220,
220,
220,
4038,
62,
17946,
602,
796,
8633,
3419,
198,
220,
220,
220,
329,
4038,
287,
5672,
62,
6404,
13,
27160,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
4038,
62,
17946,
602,
58,
33892,
1548,
13,
33892,
1548,
62,
312,
60,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
33892,
1548,
13,
1712,
62,
49921,
306,
62,
13886,
276,
62,
24886,
11,
4038,
13,
2435,
62,
1659,
62,
12957,
62,
13886,
8,
198,
220,
220,
220,
1441,
4038,
62,
17946,
602,
198,
198,
4299,
4038,
62,
1084,
62,
283,
43171,
62,
2435,
7,
39813,
62,
6404,
11,
5296,
62,
312,
11,
5672,
62,
6404,
2599,
198,
220,
220,
220,
705,
7061,
3855,
262,
4038,
326,
481,
9240,
2582,
395,
329,
5296,
62,
312,
2637,
7061,
198,
220,
220,
220,
5672,
62,
42861,
62,
28461,
862,
796,
651,
62,
33892,
2983,
62,
42861,
62,
28461,
862,
7,
33892,
2983,
62,
6404,
8,
198,
220,
220,
220,
5296,
796,
5296,
62,
2840,
13,
1136,
62,
39813,
7,
39813,
62,
6404,
11,
5296,
62,
312,
8,
198,
220,
220,
220,
2581,
62,
2435,
796,
5296,
13,
27729,
929,
62,
25927,
62,
2435,
628,
220,
220,
220,
1303,
3497,
262,
4038,
326,
460,
9240,
2582,
395,
357,
4480,
3067,
8636,
8,
198,
220,
220,
220,
11706,
62,
33892,
1548,
62,
10951,
796,
6045,
198,
220,
220,
220,
949,
62,
2435,
796,
25064,
13,
9806,
600,
198,
220,
220,
220,
329,
4038,
62,
312,
11,
357,
3866,
62,
260,
9150,
276,
62,
24886,
11,
662,
62,
260,
9150,
276,
62,
2435,
8,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
287,
5672,
62,
42861,
62,
28461,
862,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
3067,
62,
2435,
796,
17465,
62,
2840,
13,
2435,
62,
1659,
62,
35927,
7,
3866,
62,
260,
9150,
276,
62,
24886,
11,
5296,
13,
27729,
929,
62,
32515,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
21501,
318,
1541,
612,
11,
779,
340,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3067,
62,
2435,
6624,
657,
13,
15,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
33892,
1548,
62,
312,
11,
662,
62,
260,
9150,
276,
62,
24886,
11,
657,
13,
15,
8,
628,
220,
220,
220,
220,
220,
220,
220,
640,
62,
33892,
1548,
62,
19188,
62,
283,
11590,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
7,
3866,
62,
260,
9150,
276,
62,
2435,
11,
2581,
62,
2435,
8,
1343,
3067,
62,
2435,
198,
220,
220,
220,
220,
220,
220,
220,
611,
640,
62,
33892,
1548,
62,
19188,
62,
283,
11590,
1279,
949,
62,
2435,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
949,
62,
2435,
796,
640,
62,
33892,
1548,
62,
19188,
62,
283,
11590,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
62,
40850,
796,
640,
62,
33892,
1548,
62,
19188,
62,
283,
11590,
532,
2581,
62,
2435,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
7,
2435,
62,
40850,
18189,
657,
828,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3862,
42698,
318,
4633,
25,
4064,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18383,
25,
4064,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3771,
1432,
3507,
276,
3862,
25,
4064,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3771,
1432,
3507,
276,
13397,
25,
4064,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19390,
3862,
25,
4064,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13524,
3862,
25,
4064,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3862,
21501,
10928,
943,
11590,
3423,
25,
4064,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
4064,
357,
2536,
7,
2435,
62,
40850,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
965,
7,
39813,
13,
834,
11600,
834,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
965,
7,
3866,
62,
260,
9150,
276,
62,
2435,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
965,
7,
3866,
62,
260,
9150,
276,
62,
24886,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
965,
7,
25927,
62,
2435,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
965,
7,
35927,
62,
2435,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
965,
7,
2435,
62,
33892,
1548,
62,
19188,
62,
283,
11590,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11706,
62,
33892,
1548,
62,
10951,
796,
19779,
33892,
1548,
62,
312,
1,
1058,
4038,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
3866,
62,
260,
9150,
276,
62,
24886,
1,
1058,
662,
62,
260,
9150,
276,
62,
24886,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2435,
62,
40850,
1,
1058,
640,
62,
40850,
92,
198,
220,
220,
220,
6818,
7,
1084,
62,
2435,
14512,
25064,
13,
9806,
600,
828,
366,
2601,
418,
395,
21501,
407,
6163,
1,
198,
220,
220,
220,
1441,
11706,
62,
33892,
1548,
62,
10951,
198,
198,
4299,
651,
62,
33892,
1548,
62,
1640,
62,
5661,
62,
39813,
7,
39813,
62,
6404,
11,
5296,
62,
312,
11,
5672,
62,
6404,
2599,
198,
220,
220,
220,
705,
7061,
3855,
262,
4038,
284,
307,
8686,
329,
428,
5296,
2637,
7061,
198,
220,
220,
220,
4038,
796,
4038,
62,
1084,
62,
283,
43171,
62,
2435,
7,
39813,
62,
6404,
11,
5296,
62,
312,
11,
5672,
62,
6404,
8,
198,
220,
220,
220,
1441,
4038,
198,
198,
4299,
466,
62,
25927,
62,
3605,
62,
33892,
1548,
7,
39813,
62,
6404,
11,
5296,
62,
312,
11,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17778,
11,
5296,
62,
22252,
11,
5296,
62,
24886,
62,
17831,
62,
11487,
2599,
198,
220,
220,
220,
705,
7061,
18453,
257,
649,
4038,
329,
428,
5296,
11,
5412,
7508,
7061,
6,
198,
220,
220,
220,
1303,
5053,
525,
9633,
198,
220,
220,
220,
5296,
796,
5296,
62,
2840,
13,
1136,
62,
39813,
7,
39813,
62,
6404,
11,
5296,
62,
312,
8,
198,
220,
220,
220,
19422,
62,
32515,
11,
4268,
2364,
62,
32515,
796,
357,
39813,
13,
27729,
929,
62,
32515,
11,
5296,
13,
14781,
2364,
62,
32515,
8,
628,
220,
220,
220,
1303,
10664,
284,
257,
2581,
257,
649,
4038,
329,
428,
5296,
198,
220,
220,
220,
1303,
220,
220,
357,
16,
8,
11440,
1958,
543,
4038,
318,
2622,
198,
220,
220,
220,
1303,
220,
220,
357,
17,
8,
10133,
1366,
8573,
284,
2792,
428,
5296,
2581,
284,
326,
4038,
290,
366,
21280,
4038,
1,
198,
220,
220,
220,
4038,
62,
1640,
62,
5661,
62,
39813,
796,
651,
62,
33892,
1548,
62,
1640,
62,
5661,
62,
39813,
7,
39813,
62,
6404,
11,
5296,
62,
312,
11,
5672,
62,
6404,
8,
198,
220,
220,
220,
5296,
62,
6404,
11,
5672,
62,
6404,
796,
3758,
62,
33892,
1548,
62,
1640,
62,
5661,
62,
25927,
7,
39813,
62,
6404,
11,
5296,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4038,
62,
1640,
62,
5661,
62,
39813,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
11,
17778,
8,
628,
220,
220,
220,
1303,
775,
765,
284,
1234,
428,
5296,
11,
4361,
11,
287,
262,
5296,
32402,
16834,
290,
4067,
8633,
198,
220,
220,
220,
5296,
62,
22252,
796,
14276,
62,
2840,
13,
2934,
4188,
62,
1996,
62,
259,
62,
5372,
7,
39813,
62,
22252,
11,
357,
39813,
11,
5296,
13,
27729,
929,
62,
2435,
4008,
198,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
4083,
33295,
19510,
14781,
2364,
62,
32515,
11,
5296,
4008,
628,
220,
220,
220,
1441,
5296,
62,
6404,
11,
5672,
62,
6404,
198,
198,
4299,
318,
62,
5661,
62,
33892,
2983,
62,
42861,
62,
17946,
7,
39813,
62,
6404,
11,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
19422,
62,
32515,
2599,
198,
220,
220,
220,
705,
7061,
3792,
262,
4038,
338,
3452,
7530,
5296,
262,
3452,
5296,
7530,
379,
428,
19422,
17465,
30,
7061,
6,
198,
220,
220,
220,
611,
18896,
7,
39813,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
12962,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
198,
220,
220,
220,
262,
62,
39813,
62,
1416,
704,
6309,
62,
6738,
62,
5661,
62,
47103,
796,
5296,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
7131,
12,
16,
60,
198,
220,
220,
220,
5296,
796,
262,
62,
39813,
62,
1416,
704,
6309,
62,
6738,
62,
5661,
62,
47103,
58,
16,
60,
198,
220,
220,
220,
938,
62,
11321,
62,
47103,
62,
39813,
796,
5296,
62,
2840,
13,
1136,
62,
12957,
62,
46416,
62,
39813,
7,
39813,
62,
6404,
11,
5296,
13,
39813,
62,
312,
8,
198,
220,
220,
220,
4038,
62,
312,
796,
938,
62,
11321,
62,
47103,
62,
39813,
13,
33892,
1548,
62,
312,
198,
220,
220,
220,
262,
62,
42861,
62,
39813,
62,
1416,
704,
6309,
62,
4480,
62,
5661,
62,
33892,
1548,
796,
5672,
62,
6404,
58,
33892,
1548,
62,
312,
4083,
42861,
62,
39813,
198,
220,
220,
220,
1441,
965,
7,
1169,
62,
42861,
62,
39813,
62,
1416,
704,
6309,
62,
4480,
62,
5661,
62,
33892,
1548,
8,
6624,
965,
7,
39813,
13,
39813,
62,
312,
8,
198,
198,
4299,
651,
62,
46416,
62,
39813,
62,
19596,
1187,
7,
39813,
62,
1455,
82,
2599,
198,
220,
220,
220,
705,
7061,
3855,
262,
1271,
286,
2472,
35242,
329,
477,
5296,
7405,
286,
257,
17445,
71,
1144,
5296,
7061,
6,
198,
220,
220,
220,
2472,
796,
657,
198,
220,
220,
220,
329,
5296,
62,
1455,
287,
5296,
62,
1455,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2472,
15853,
5296,
62,
1455,
13,
19596,
3883,
198,
220,
220,
220,
1441,
2472,
198,
198,
4299,
2219,
62,
47103,
62,
12102,
341,
7,
39813,
62,
24886,
62,
17831,
62,
11487,
11,
5296,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
11,
649,
62,
39813,
62,
25927,
11,
17778,
2599,
198,
220,
220,
220,
705,
7061,
10987,
262,
2219,
8159,
21201,
1429,
7061,
6,
198,
220,
220,
220,
4038,
62,
7857,
796,
17778,
17816,
33892,
1548,
62,
7857,
20520,
198,
220,
220,
220,
2581,
62,
3605,
62,
33892,
1548,
796,
6407,
198,
220,
220,
220,
16586,
62,
2875,
796,
6045,
628,
220,
220,
220,
19422,
62,
32515,
796,
649,
62,
39813,
62,
25927,
13,
27729,
929,
62,
32515,
628,
220,
220,
220,
612,
62,
1069,
1023,
62,
917,
271,
8071,
1740,
62,
33892,
1548,
62,
6738,
62,
5661,
62,
47103,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
18896,
7,
39813,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
12962,
1875,
657,
628,
220,
220,
220,
1303,
1002,
612,
7160,
257,
4038,
422,
428,
8159,
198,
220,
220,
220,
611,
612,
62,
1069,
1023,
62,
917,
271,
8071,
1740,
62,
33892,
1548,
62,
6738,
62,
5661,
62,
47103,
25,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
318,
262,
11955,
4716,
8070,
19349,
18383,
311,
2194,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
262,
4038,
338,
3452,
24149,
8071,
1740,
5296,
318,
407,
422,
428,
8159,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
788,
2581,
257,
649,
4038,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
318,
62,
5661,
62,
33892,
2983,
62,
42861,
62,
17946,
7,
39813,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19422,
62,
32515,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
3605,
62,
33892,
1548,
796,
6407,
628,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
19422,
640,
286,
262,
5296,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
717,
62,
1455,
62,
1659,
62,
39813,
62,
1456,
796,
1351,
7,
39813,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
12962,
58,
15,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
649,
62,
39813,
62,
25927,
13,
27729,
929,
62,
25927,
62,
2435,
1875,
717,
62,
1455,
62,
1659,
62,
39813,
62,
1456,
13,
27729,
929,
62,
2435,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
3605,
62,
33892,
1548,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
28932,
23680,
5390,
4038,
62,
7857,
7102,
2257,
3861,
12394,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
46416,
62,
39813,
796,
685,
5562,
62,
39813,
58,
16,
60,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
326,
62,
39813,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
1351,
7,
39813,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
12962,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
33892,
1548,
62,
19596,
3883,
796,
651,
62,
46416,
62,
39813,
62,
19596,
1187,
7,
14421,
62,
46416,
62,
39813,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4038,
62,
19188,
62,
1069,
2707,
62,
42404,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
33892,
1548,
62,
19596,
3883,
1343,
649,
62,
39813,
62,
25927,
13,
19596,
3883,
1875,
4038,
62,
7857,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4038,
62,
19188,
62,
1069,
2707,
62,
42404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
3605,
62,
33892,
1548,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
28932,
23680,
5390,
25882,
327,
4663,
43633,
9050,
5357,
25882,
3563,
30737,
7102,
2257,
3861,
1268,
4694,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16586,
62,
2875,
796,
16586,
62,
38629,
7,
3605,
62,
39813,
62,
25927,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19422,
62,
32515,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17778,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
3605,
62,
33892,
1548,
796,
16586,
62,
2875,
318,
6045,
628,
220,
220,
220,
1441,
2581,
62,
3605,
62,
33892,
1548,
11,
16586,
62,
2875,
198,
198,
4299,
1599,
421,
594,
62,
46416,
62,
39813,
62,
2340,
7,
39813,
62,
6404,
11,
6149,
62,
46416,
62,
28461,
862,
2599,
198,
220,
220,
220,
705,
7061,
4965,
13361,
5399,
5296,
220,
2340,
7061,
6,
198,
220,
220,
220,
329,
1312,
287,
2837,
7,
15,
11,
18896,
7,
24071,
62,
46416,
62,
28461,
862,
8,
532,
352,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
5296,
796,
6149,
62,
46416,
62,
28461,
862,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
5296,
13,
46416,
62,
39813,
62,
312,
796,
6149,
62,
46416,
62,
28461,
862,
58,
72,
1343,
352,
4083,
39813,
62,
312,
198,
220,
220,
220,
938,
62,
39813,
796,
6149,
62,
46416,
62,
28461,
862,
58,
12,
16,
60,
198,
220,
220,
220,
938,
62,
39813,
13,
46416,
62,
39813,
62,
312,
796,
938,
62,
39813,
13,
39813,
62,
312,
198,
220,
220,
220,
1441,
5296,
62,
6404,
198,
198,
4299,
31828,
62,
11321,
62,
47103,
62,
1416,
704,
18173,
7,
39813,
62,
6404,
11,
5672,
62,
6404,
11,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
22252,
11,
649,
62,
39813,
62,
25927,
11,
16586,
62,
2875,
2599,
198,
220,
220,
220,
705,
7061,
10987,
11955,
4716,
8070,
19349,
20561,
339,
27915,
7061,
6,
198,
220,
220,
220,
19422,
62,
32515,
796,
649,
62,
39813,
62,
25927,
13,
27729,
929,
62,
32515,
198,
220,
220,
220,
16586,
62,
2875,
62,
8220,
62,
16520,
7352,
796,
685,
39813,
58,
16,
60,
329,
5296,
287,
16586,
62,
2875,
60,
198,
220,
220,
220,
649,
62,
11085,
62,
39813,
62,
1659,
62,
38629,
796,
16586,
62,
2875,
62,
8220,
62,
16520,
7352,
58,
15,
60,
198,
220,
220,
220,
7530,
62,
39813,
62,
6738,
62,
5661,
62,
47103,
796,
1351,
7,
39813,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
12962,
58,
12,
16,
7131,
16,
60,
198,
220,
220,
220,
19422,
62,
2435,
796,
7530,
62,
39813,
62,
6738,
62,
5661,
62,
47103,
13,
27729,
929,
62,
2435,
198,
220,
220,
220,
4038,
62,
312,
796,
7530,
62,
39813,
62,
6738,
62,
5661,
62,
47103,
13,
33892,
1548,
62,
312,
628,
220,
220,
220,
5296,
62,
6404,
796,
1599,
421,
594,
62,
46416,
62,
39813,
62,
2340,
7,
39813,
62,
6404,
11,
16586,
62,
2875,
62,
8220,
62,
16520,
7352,
8,
628,
220,
220,
220,
5672,
62,
6404,
58,
33892,
1548,
62,
312,
60,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
58,
33892,
1548,
62,
312,
4083,
33491,
62,
12957,
62,
39813,
7,
3605,
62,
11085,
62,
39813,
62,
1659,
62,
38629,
8,
198,
220,
220,
220,
649,
62,
39813,
62,
25927,
13,
2617,
62,
33892,
1548,
7,
33892,
1548,
62,
312,
8,
628,
220,
220,
220,
17510,
62,
46416,
62,
28461,
862,
7,
39813,
62,
6404,
11,
649,
62,
11085,
62,
39813,
62,
1659,
62,
38629,
13,
39813,
62,
312,
11,
19422,
62,
2435,
8,
198,
220,
220,
220,
14276,
62,
2840,
13,
2934,
4188,
62,
33491,
7,
39813,
62,
22252,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
1416,
704,
6309,
62,
39813,
62,
6738,
62,
5661,
62,
47103,
11,
19422,
62,
2435,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
3605,
62,
11085,
62,
39813,
62,
1659,
62,
38629,
11,
19422,
62,
2435,
4008,
198,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
4083,
79,
643,
701,
3419,
198,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
4083,
33295,
19510,
8738,
4402,
62,
2875,
58,
15,
7131,
15,
4357,
649,
62,
11085,
62,
39813,
62,
1659,
62,
38629,
4008,
198,
220,
220,
220,
1441,
5296,
62,
6404,
11,
5672,
62,
6404,
11,
5296,
62,
24886,
62,
17831,
62,
11487,
198,
198,
4299,
1429,
62,
25927,
7,
39813,
62,
6404,
11,
5296,
11,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17778,
11,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
5296,
62,
22252,
2599,
198,
220,
220,
220,
705,
7061,
10987,
262,
2276,
1429,
329,
257,
2060,
5296,
2581,
7061,
6,
198,
220,
220,
220,
31828,
796,
17778,
17816,
16694,
4716,
62,
11321,
62,
47103,
20520,
198,
220,
220,
220,
2581,
62,
3605,
62,
33892,
1548,
796,
6407,
1303,
4277,
2081,
11,
475,
1210,
3991,
611,
4038,
318,
1695,
628,
220,
220,
220,
1303,
5053,
525,
9633,
198,
220,
220,
220,
649,
62,
39813,
62,
25927,
796,
5296,
198,
220,
220,
220,
19422,
62,
32515,
796,
649,
62,
39813,
62,
25927,
13,
27729,
929,
62,
32515,
628,
220,
220,
220,
1303,
1002,
262,
8159,
966,
468,
5626,
587,
17830,
329,
1865,
788,
900,
340,
510,
355,
198,
220,
220,
220,
1303,
281,
6565,
390,
4188,
286,
10965,
2173,
198,
220,
220,
220,
611,
19422,
62,
32515,
407,
287,
5296,
62,
24886,
62,
17831,
62,
11487,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
60,
796,
390,
4188,
3419,
628,
220,
220,
220,
1303,
45559,
3810,
1771,
284,
2581,
649,
4038,
393,
407,
198,
220,
220,
220,
2581,
62,
3605,
62,
33892,
1548,
11,
16586,
62,
2875,
796,
2219,
62,
47103,
62,
12102,
341,
38016,
198,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
5296,
62,
6404,
11,
5672,
62,
6404,
11,
649,
62,
39813,
62,
25927,
11,
17778,
8,
628,
220,
220,
220,
1303,
367,
8120,
25,
284,
787,
1654,
326,
19422,
62,
25927,
640,
318,
407,
706,
19422,
640,
198,
220,
220,
220,
611,
16586,
62,
2875,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
19422,
62,
32515,
796,
649,
62,
39813,
62,
25927,
13,
27729,
929,
62,
32515,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
11085,
62,
39813,
62,
1659,
62,
38629,
796,
16586,
62,
2875,
58,
15,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
7530,
62,
39813,
62,
6738,
62,
5661,
62,
47103,
796,
1351,
7,
39813,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
12962,
58,
12,
16,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
19422,
62,
2435,
796,
7530,
62,
39813,
62,
6738,
62,
5661,
62,
47103,
13,
27729,
929,
62,
2435,
198,
220,
220,
220,
220,
220,
220,
220,
611,
649,
62,
11085,
62,
39813,
62,
1659,
62,
38629,
13,
27729,
929,
62,
25927,
62,
2435,
1875,
19422,
62,
2435,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
3605,
62,
33892,
1548,
796,
6407,
628,
220,
220,
220,
1303,
19390,
257,
4038,
422,
262,
11026,
198,
220,
220,
220,
611,
2581,
62,
3605,
62,
33892,
1548,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
6404,
11,
5672,
62,
6404,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
466,
62,
25927,
62,
3605,
62,
33892,
1548,
7,
39813,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
13,
39813,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17778,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
22252,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
8,
628,
220,
220,
220,
1303,
6062,
371,
42538,
39,
12203,
1429,
198,
220,
220,
220,
1303,
11955,
4716,
679,
27915,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
31828,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
6404,
11,
5672,
62,
6404,
11,
5296,
62,
24886,
62,
17831,
62,
11487,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31828,
62,
11321,
62,
47103,
62,
1416,
704,
18173,
7,
39813,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
22252,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
39813,
62,
25927,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16586,
62,
2875,
8,
198,
220,
220,
220,
1441,
5296,
62,
6404,
11,
5672,
62,
6404,
198,
198,
4299,
5412,
62,
8897,
3558,
62,
265,
62,
5661,
62,
2435,
7,
39813,
62,
6404,
11,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7007,
11,
17778,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
5296,
62,
22252,
11,
9056,
2599,
198,
220,
220,
220,
705,
7061,
10987,
262,
7767,
329,
477,
7007,
287,
428,
15458,
7061,
6,
198,
220,
220,
220,
1351,
62,
1659,
62,
39813,
62,
8897,
3558,
62,
2197,
796,
7007,
198,
220,
220,
220,
329,
5296,
287,
1351,
62,
1659,
62,
39813,
62,
8897,
3558,
62,
2197,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
6404,
58,
39813,
13,
39813,
62,
312,
60,
796,
5296,
198,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
6404,
11,
5672,
62,
6404,
796,
1429,
62,
25927,
7,
39813,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17778,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
22252,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
493,
7,
1102,
2536,
6003,
17816,
19503,
80,
62,
2768,
3808,
6,
12962,
14512,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
731,
292,
796,
1391,
6,
36733,
6,
1058,
17778,
17816,
36733,
62,
31361,
6,
4357,
705,
8158,
6,
1058,
17778,
17816,
31361,
62,
8158,
20520,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9056,
796,
3512,
62,
40684,
13,
19119,
62,
6667,
2086,
62,
19849,
7,
39813,
11,
9056,
11,
731,
292,
8,
628,
220,
220,
220,
1441,
5296,
62,
6404,
11,
5672,
62,
6404,
11,
9056,
198,
198,
4299,
1598,
62,
28461,
862,
62,
1640,
62,
6381,
17147,
7,
39813,
62,
6404,
11,
27965,
62,
2435,
11,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
22252,
11,
8633,
62,
16002,
2599,
198,
220,
220,
220,
705,
7061,
25206,
26562,
3696,
284,
5072,
11,
4781,
422,
1366,
8573,
7061,
6,
198,
220,
220,
220,
611,
18896,
7,
39813,
62,
22252,
8,
1279,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
5296,
62,
22252,
628,
220,
220,
220,
981,
18896,
7,
39813,
62,
22252,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
1462,
62,
6381,
17147,
62,
39813,
11,
1306,
62,
1462,
62,
6381,
17147,
62,
27729,
929,
62,
2435,
796,
5296,
62,
22252,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4314,
7,
19545,
62,
1462,
62,
6381,
17147,
62,
27729,
929,
62,
2435,
8,
19841,
4314,
7,
6381,
17147,
62,
2435,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19422,
62,
32515,
796,
1306,
62,
1462,
62,
6381,
17147,
62,
39813,
13,
27729,
929,
62,
32515,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4038,
62,
312,
796,
1306,
62,
1462,
62,
6381,
17147,
62,
39813,
13,
33892,
1548,
62,
312,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
58,
33892,
1548,
62,
312,
4083,
36340,
13628,
62,
6259,
62,
76,
2915,
15853,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
2840,
13,
1136,
62,
6259,
62,
76,
2915,
62,
1659,
62,
46416,
62,
39813,
7,
39813,
62,
6404,
11,
1306,
62,
1462,
62,
6381,
17147,
62,
39813,
13,
39813,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
58,
33892,
1548,
62,
312,
4083,
36340,
13628,
62,
33892,
1548,
62,
76,
2915,
15853,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
2840,
13,
1136,
62,
33892,
1548,
62,
76,
2915,
62,
1659,
62,
46416,
62,
39813,
7,
39813,
62,
6404,
11,
1306,
62,
1462,
62,
6381,
17147,
62,
39813,
13,
39813,
62,
312,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
477,
62,
46416,
62,
28461,
862,
796,
5296,
62,
2840,
13,
1136,
62,
439,
62,
46416,
62,
28461,
862,
7,
39813,
62,
6404,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
1462,
62,
6381,
17147,
62,
39813,
13,
39813,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
326,
62,
39813,
287,
477,
62,
46416,
62,
28461,
862,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
7,
5562,
62,
39813,
13,
12102,
3419,
828,
366,
51,
5528,
852,
3194,
318,
12515,
1,
1303,
428,
2476,
284,
307,
2081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
62,
16002,
13,
16002,
322,
7,
5562,
62,
39813,
13,
834,
11600,
834,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1619,
5296,
62,
6404,
58,
5562,
62,
39813,
13,
39813,
62,
312,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
22252,
13,
79,
643,
701,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
4083,
79,
643,
701,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
220,
220,
220,
1441,
198,
198,
4299,
3328,
62,
8897,
3558,
62,
2197,
7,
46862,
11,
640,
11,
4836,
2502,
62,
25927,
2599,
198,
220,
220,
220,
705,
7061,
23061,
329,
7007,
379,
428,
640,
422,
262,
4269,
7061,
6,
198,
220,
220,
220,
611,
4836,
2502,
62,
25927,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7007,
62,
2197,
796,
1351,
3419,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7007,
62,
2197,
796,
685,
2487,
2502,
62,
25927,
60,
198,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
1370,
796,
9173,
13,
19545,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
796,
5296,
62,
2840,
13,
14681,
62,
2375,
22739,
62,
39813,
7,
19545,
62,
1370,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5296,
13,
27729,
929,
62,
25927,
62,
2435,
1875,
640,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
7007,
62,
2197,
11,
5296,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7007,
62,
2197,
13,
33295,
7,
39813,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
13707,
29993,
341,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
11,
6045,
198,
198,
4299,
5412,
62,
439,
62,
39813,
62,
8897,
3558,
7,
1102,
2536,
6003,
2599,
198,
220,
220,
220,
705,
7061,
13383,
2163,
7061,
6,
198,
220,
220,
220,
11026,
62,
7857,
796,
17778,
17816,
33559,
62,
7857,
20520,
198,
220,
220,
220,
9056,
796,
17778,
17816,
6667,
2086,
82,
20520,
198,
220,
220,
220,
1957,
62,
28550,
62,
16863,
796,
17778,
17816,
12001,
62,
28550,
62,
16863,
20520,
198,
220,
220,
220,
2030,
80,
62,
2768,
3808,
796,
493,
7,
1102,
2536,
6003,
17816,
19503,
80,
62,
2768,
3808,
6,
12962,
628,
220,
220,
220,
20750,
62,
7753,
6978,
796,
14276,
62,
2840,
13,
2375,
22739,
62,
46428,
7,
1102,
2536,
6003,
17816,
1831,
6,
12962,
198,
220,
220,
220,
1255,
62,
7753,
6978,
796,
14276,
62,
2840,
13,
43420,
62,
46428,
7,
1102,
2536,
6003,
17816,
1831,
6,
4357,
17778,
17816,
9630,
6,
12962,
628,
220,
220,
220,
1303,
43801,
33303,
20832,
1137,
40490,
198,
220,
220,
220,
5128,
7753,
796,
1280,
7,
2375,
22739,
62,
7753,
6978,
11,
705,
26145,
11537,
198,
220,
220,
220,
9173,
796,
269,
21370,
13,
35,
713,
33634,
7,
15414,
7753,
8,
198,
220,
220,
220,
4238,
62,
39813,
62,
6404,
796,
5296,
62,
2840,
13,
961,
62,
77,
62,
2375,
22739,
62,
28461,
862,
7,
46862,
11,
11026,
62,
7857,
8,
198,
220,
220,
220,
1303,
43801,
23578,
20832,
1137,
40490,
628,
198,
220,
220,
220,
1303,
43801,
33303,
11342,
2043,
1137,
40490,
198,
220,
220,
220,
1280,
7,
20274,
62,
7753,
6978,
11,
705,
86,
27691,
19836,
3419,
1303,
13259,
262,
5072,
2393,
198,
220,
220,
220,
5072,
7753,
796,
1280,
7,
20274,
62,
7753,
6978,
11,
705,
10247,
11537,
198,
220,
220,
220,
8251,
796,
4238,
62,
39813,
62,
6404,
13,
27160,
3419,
58,
15,
4083,
834,
11600,
834,
13,
13083,
3419,
198,
220,
220,
220,
8633,
62,
16002,
796,
269,
21370,
13,
35,
713,
34379,
7,
22915,
7753,
11,
8251,
8,
198,
220,
220,
220,
8633,
62,
16002,
13,
13564,
25677,
3419,
198,
220,
220,
220,
329,
5296,
287,
4238,
62,
39813,
62,
6404,
13,
27160,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
8633,
62,
16002,
13,
16002,
322,
7,
39813,
13,
834,
11600,
834,
8,
198,
220,
220,
220,
1303,
43801,
23578,
11342,
2043,
1137,
40490,
628,
220,
220,
220,
1303,
5296,
62,
24886,
62,
17831,
62,
11487,
318,
257,
1366,
4645,
326,
318,
257,
8633,
286,
5296,
8159,
2173,
11,
198,
220,
220,
220,
1303,
1123,
8159,
966,
4909,
257,
1351,
286,
13229,
7530,
284,
2666,
422,
326,
966,
11,
198,
220,
220,
220,
1303,
7997,
9944,
416,
262,
5296,
326,
318,
262,
717,
12,
11338,
286,
326,
5296,
628,
220,
220,
220,
1303,
5296,
62,
22252,
318,
257,
4274,
12,
36560,
1366,
4645,
326,
551,
4188,
947,
7007,
355,
484,
1282,
287,
198,
220,
220,
220,
1303,
220,
220,
290,
390,
4188,
947,
606,
618,
484,
389,
26562,
13,
628,
220,
220,
220,
1303,
5296,
62,
6404,
318,
257,
8633,
326,
318,
6171,
771,
351,
262,
5296,
62,
22252,
11,
198,
220,
220,
220,
1303,
4909,
517,
6496,
7508,
546,
13229,
628,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
796,
8633,
3419,
198,
220,
220,
220,
5296,
62,
22252,
796,
390,
4188,
3419,
628,
220,
220,
220,
1303,
26981,
18383,
5972,
284,
1355,
12901,
2750,
21501,
4522,
198,
220,
220,
220,
5672,
62,
6404,
796,
4238,
62,
33892,
1548,
62,
6404,
7,
36733,
62,
39813,
62,
6404,
11,
11026,
62,
7857,
8,
198,
220,
220,
220,
1303,
3497,
640,
286,
938,
4238,
19422,
2581,
198,
220,
220,
220,
923,
62,
2435,
796,
4238,
62,
39813,
62,
6404,
13,
27160,
3419,
58,
12,
16,
4083,
27729,
929,
62,
25927,
62,
2435,
628,
220,
220,
220,
1303,
11459,
428,
7885,
284,
3613,
4088,
198,
220,
220,
220,
4238,
62,
39813,
62,
6404,
796,
6045,
628,
220,
220,
220,
5296,
62,
6404,
796,
8633,
3419,
198,
220,
220,
220,
640,
796,
923,
62,
2435,
198,
220,
220,
220,
4836,
2502,
62,
25927,
796,
6045,
198,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7007,
11,
4836,
2502,
62,
25927,
796,
3328,
62,
8897,
3558,
62,
2197,
7,
46862,
11,
640,
11,
4836,
2502,
62,
25927,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1318,
389,
645,
15619,
5296,
7007,
393,
13229,
1364,
284,
27965,
13,
5268,
26304,
198,
220,
220,
220,
220,
220,
220,
220,
611,
7007,
318,
6045,
290,
18896,
7,
39813,
62,
22252,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1318,
389,
5296,
7007,
428,
1210,
13,
10854,
606,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
7007,
318,
407,
6045,
290,
18896,
7,
8897,
3558,
8,
18189,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
6404,
11,
5672,
62,
6404,
11,
9056,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5412,
62,
8897,
3558,
62,
265,
62,
5661,
62,
2435,
7,
39813,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7007,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17778,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
22252,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9056,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3753,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
329,
19422,
62,
32515,
287,
5296,
62,
24886,
62,
17831,
62,
11487,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3753,
15853,
18896,
7,
39813,
62,
24886,
62,
17831,
62,
11487,
58,
27729,
929,
62,
32515,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
11459,
13229,
3492,
329,
27965,
379,
428,
640,
198,
220,
220,
220,
220,
220,
220,
220,
1598,
62,
28461,
862,
62,
1640,
62,
6381,
17147,
7,
39813,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17778,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
24886,
62,
17831,
62,
11487,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5296,
62,
22252,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
62,
16002,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
12509,
53,
6998,
49500,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2030,
80,
62,
2768,
3808,
14512,
657,
290,
640,
4064,
2030,
80,
62,
2768,
3808,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5672,
62,
6404,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5412,
62,
28920,
62,
260,
9150,
278,
7,
33892,
2983,
62,
6404,
11,
640,
11,
9056,
11,
1957,
62,
28550,
62,
16863,
8,
628,
220,
220,
220,
220,
220,
220,
220,
640,
15853,
352,
1303,
1306,
24415,
286,
640,
628,
220,
220,
220,
5072,
7753,
13,
19836,
3419,
628,
220,
220,
220,
6818,
7,
11925,
7,
39813,
62,
6404,
8,
6624,
657,
828,
366,
1858,
547,
4064,
82,
24149,
8071,
1740,
13229,
526,
4064,
357,
2536,
7,
11925,
7,
39813,
62,
6404,
22305,
628,
220,
220,
220,
1441,
5672,
62,
6404,
198
] | 2.228387 | 11,301 |
from django import forms
from .models import BillingAddress
from django_countries.fields import CountryField
from django_countries.widgets import CountrySelectWidget
PAYMENT_METHOD = (
('S', 'stripe'),
('P', 'paypal')
) | [
6738,
42625,
14208,
1330,
5107,
198,
6738,
764,
27530,
1330,
3941,
278,
20231,
198,
6738,
42625,
14208,
62,
9127,
1678,
13,
25747,
1330,
12946,
15878,
198,
6738,
42625,
14208,
62,
9127,
1678,
13,
28029,
11407,
1330,
12946,
17563,
38300,
628,
198,
4537,
56,
10979,
62,
49273,
796,
357,
198,
220,
220,
220,
19203,
50,
3256,
705,
33565,
431,
33809,
198,
220,
220,
220,
19203,
47,
3256,
705,
15577,
18596,
11537,
198,
8
] | 3.180556 | 72 |
import sys
from celery.__main__ import main as celerymain
from sea.cli import jobm
@jobm.job("async_task", proxy=True, help="invoke celery cmds for async tasks")
@jobm.job("bus", proxy=True, help="invoke celery cmds for bus")
| [
11748,
25064,
198,
198,
6738,
18725,
1924,
13,
834,
12417,
834,
1330,
1388,
355,
18725,
1924,
12417,
198,
198,
6738,
5417,
13,
44506,
1330,
1693,
76,
628,
198,
198,
31,
21858,
76,
13,
21858,
7203,
292,
13361,
62,
35943,
1600,
15741,
28,
17821,
11,
1037,
2625,
37669,
18725,
1924,
23991,
82,
329,
30351,
8861,
4943,
628,
198,
31,
21858,
76,
13,
21858,
7203,
10885,
1600,
15741,
28,
17821,
11,
1037,
2625,
37669,
18725,
1924,
23991,
82,
329,
1323,
4943,
198
] | 2.9125 | 80 |
#!/usr/bin/env python
#
# Public Domain 2014-present MongoDB, Inc.
# Public Domain 2008-2014 WiredTiger, Inc.
#
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
#
# In jurisdictions that recognize copyright laws, the author or authors
# of this software dedicate any and all copyright interest in the
# software to the public domain. We make this dedication for the benefit
# of the public at large and to the detriment of our heirs and
# successors. We intend this dedication to be an overt act of
# relinquishment in perpetuity of all present and future rights to this
# software under copyright law.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
from contextlib import contextmanager
import wiredtiger, wttest
from test_verbose01 import test_verbose_base
import json
# test_verbose03.py
# Tests that when enabling JSON-encoded messages through the event handler interface, valid JSON
# is produced. Valid messages are those that can be successfully parsed as JSON (meeting the JSON
# standard) and subscribe to an expected schema (i.e. meet expected fields and types).
if __name__ == '__main__':
wttest.run()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
198,
2,
5094,
20021,
1946,
12,
25579,
42591,
11012,
11,
3457,
13,
198,
2,
5094,
20021,
3648,
12,
4967,
39721,
51,
8254,
11,
3457,
13,
198,
2,
198,
2,
770,
318,
1479,
290,
555,
12685,
26584,
3788,
2716,
656,
262,
1171,
7386,
13,
198,
2,
198,
2,
17462,
318,
1479,
284,
4866,
11,
13096,
11,
7715,
11,
779,
11,
17632,
11,
3677,
11,
393,
198,
2,
14983,
428,
3788,
11,
2035,
287,
2723,
2438,
1296,
393,
355,
257,
14102,
198,
2,
13934,
11,
329,
597,
4007,
11,
5068,
393,
1729,
12,
36313,
11,
290,
416,
597,
198,
2,
1724,
13,
198,
2,
198,
2,
554,
25281,
326,
7564,
6634,
3657,
11,
262,
1772,
393,
7035,
198,
2,
286,
428,
3788,
39383,
597,
290,
477,
6634,
1393,
287,
262,
198,
2,
3788,
284,
262,
1171,
7386,
13,
775,
787,
428,
22445,
329,
262,
4414,
198,
2,
286,
262,
1171,
379,
1588,
290,
284,
262,
42959,
286,
674,
40862,
290,
198,
2,
41491,
13,
775,
14765,
428,
22445,
284,
307,
281,
9929,
719,
286,
198,
2,
36610,
17862,
287,
8939,
14834,
286,
477,
1944,
290,
2003,
2489,
284,
428,
198,
2,
3788,
739,
6634,
1099,
13,
198,
2,
198,
2,
3336,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
509,
12115,
11,
198,
2,
7788,
32761,
6375,
8959,
49094,
11,
47783,
2751,
21728,
5626,
40880,
5390,
3336,
34764,
11015,
3963,
198,
2,
34482,
3398,
1565,
5603,
25382,
11,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
5357,
44521,
1268,
10913,
2751,
12529,
13,
198,
2,
3268,
8005,
49261,
50163,
3336,
37195,
20673,
9348,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
198,
2,
25401,
43031,
25382,
11,
7655,
2767,
16879,
3268,
3537,
40282,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
198,
2,
5923,
1797,
2751,
16034,
11,
16289,
3963,
6375,
3268,
7102,
45,
24565,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
198,
2,
25401,
5550,
1847,
20754,
3268,
3336,
47466,
13,
198,
2,
198,
198,
6738,
4732,
8019,
1330,
4732,
37153,
198,
11748,
28217,
83,
8254,
11,
266,
926,
395,
198,
6738,
1332,
62,
19011,
577,
486,
1330,
1332,
62,
19011,
577,
62,
8692,
198,
11748,
33918,
198,
198,
2,
1332,
62,
19011,
577,
3070,
13,
9078,
198,
2,
30307,
326,
618,
15882,
19449,
12,
12685,
9043,
6218,
832,
262,
1785,
21360,
7071,
11,
4938,
19449,
198,
2,
318,
4635,
13,
48951,
6218,
389,
883,
326,
460,
307,
7675,
44267,
355,
19449,
357,
1326,
13629,
262,
19449,
198,
2,
3210,
8,
290,
12383,
284,
281,
2938,
32815,
357,
72,
13,
68,
13,
1826,
2938,
7032,
290,
3858,
737,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
266,
926,
395,
13,
5143,
3419,
198
] | 3.756356 | 472 |
# petition test dummy data
petition = {
"office": 1,
"contested_by": 2,
"body": "some string",
"evidence": ['https://image.url']
}
invalid_petition_data = {
"office": "Not integer",
"body": 2,
"evidence": "Not a list of url"
}
| [
2,
8853,
1332,
31548,
1366,
198,
198,
6449,
653,
796,
1391,
198,
220,
220,
220,
366,
31810,
1298,
352,
11,
198,
220,
220,
220,
366,
3642,
7287,
62,
1525,
1298,
362,
11,
198,
220,
220,
220,
366,
2618,
1298,
366,
11246,
4731,
1600,
198,
220,
220,
220,
366,
46817,
1298,
37250,
5450,
1378,
9060,
13,
6371,
20520,
198,
92,
198,
198,
259,
12102,
62,
6449,
653,
62,
7890,
796,
1391,
198,
220,
220,
220,
366,
31810,
1298,
366,
3673,
18253,
1600,
198,
220,
220,
220,
366,
2618,
1298,
362,
11,
198,
220,
220,
220,
366,
46817,
1298,
366,
3673,
257,
1351,
286,
19016,
1,
198,
92,
198
] | 2.401869 | 107 |
import pandas as pd
from requests import Response
def transform_uppercase(data_set: Response) -> pd.DataFrame:
"""
Transform a lowercase dataframe to uppercase.
Args:
data (pd.DataFrame): A raw dataframe
Returns:
pd.DataFrame: An uppercase dataframe
"""
json_data = data_set.json()
pokemons = json_data.get("results")
data = pd.json_normalize(pokemons)
return data.applymap(lambda x: x.upper())
| [
11748,
19798,
292,
355,
279,
67,
198,
6738,
7007,
1330,
18261,
628,
198,
4299,
6121,
62,
7211,
2798,
589,
7,
7890,
62,
2617,
25,
18261,
8,
4613,
279,
67,
13,
6601,
19778,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26981,
257,
2793,
7442,
1366,
14535,
284,
334,
39921,
589,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
357,
30094,
13,
6601,
19778,
2599,
317,
8246,
1366,
14535,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
279,
67,
13,
6601,
19778,
25,
1052,
334,
39921,
589,
1366,
14535,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
33918,
62,
7890,
796,
1366,
62,
2617,
13,
17752,
3419,
198,
220,
220,
220,
22620,
11567,
796,
33918,
62,
7890,
13,
1136,
7203,
43420,
4943,
198,
220,
220,
220,
1366,
796,
279,
67,
13,
17752,
62,
11265,
1096,
7,
35924,
11567,
8,
198,
220,
220,
220,
1441,
1366,
13,
39014,
8899,
7,
50033,
2124,
25,
2124,
13,
45828,
28955,
198
] | 2.591954 | 174 |
frase = 'O rato roeu a roupa do rei de roma'
tamanho = len(frase)
contador = 0
nova_string = ''
print(frase)
while True:
input_do_usuario = input('Qual letra voce deseja colocar maiuscula: ')
if input_do_usuario not in frase:
print('Escolha uma letra que esteja no texto')
else:
break
while contador < tamanho:
letra = frase[contador]
if letra == input_do_usuario:
nova_string += input_do_usuario.upper()
else:
nova_string += letra
contador += 1
print(nova_string) | [
8310,
589,
796,
705,
46,
4227,
78,
686,
12496,
257,
13805,
8957,
466,
302,
72,
390,
374,
6086,
6,
198,
83,
10546,
8873,
796,
18896,
7,
8310,
589,
8,
198,
3642,
7079,
796,
657,
198,
38438,
62,
8841,
796,
10148,
198,
198,
4798,
7,
8310,
589,
8,
628,
198,
4514,
6407,
25,
198,
220,
220,
220,
5128,
62,
4598,
62,
385,
84,
4982,
796,
5128,
10786,
46181,
1309,
430,
7608,
344,
748,
68,
6592,
951,
420,
283,
285,
1872,
385,
3129,
64,
25,
705,
8,
198,
220,
220,
220,
611,
5128,
62,
4598,
62,
385,
84,
4982,
407,
287,
1216,
589,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
47051,
349,
3099,
334,
2611,
1309,
430,
8358,
43577,
6592,
645,
2420,
78,
11537,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
198,
4514,
542,
7079,
1279,
256,
10546,
8873,
25,
198,
220,
220,
220,
1309,
430,
796,
1216,
589,
58,
3642,
7079,
60,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
1309,
430,
6624,
5128,
62,
4598,
62,
385,
84,
4982,
25,
198,
220,
220,
220,
220,
220,
220,
220,
645,
6862,
62,
8841,
15853,
5128,
62,
4598,
62,
385,
84,
4982,
13,
45828,
3419,
198,
220,
220,
220,
2073,
25,
220,
198,
220,
220,
220,
220,
220,
220,
220,
645,
6862,
62,
8841,
15853,
1309,
430,
198,
220,
220,
220,
542,
7079,
15853,
352,
198,
198,
4798,
7,
38438,
62,
8841,
8
] | 2.174797 | 246 |
from abc import ABCMeta, abstractmethod
from colorama import init, Fore, Style
RST = Style.RESET_ALL
init() | [
6738,
450,
66,
1330,
9738,
48526,
11,
12531,
24396,
198,
6738,
3124,
1689,
1330,
2315,
11,
4558,
11,
17738,
198,
49,
2257,
796,
17738,
13,
19535,
2767,
62,
7036,
198,
15003,
3419
] | 3.34375 | 32 |
#!/usr/bin/env python
#
# path.py - Utility functions for working with file/directory paths.
#
# Author: Paul McCarthy <[email protected]>
#
"""This module contains a few utility functions for working with file system
paths.
.. autosummary::
:nosignatures:
deepest
shallowest
allFiles
hasExt
addExt
removeExt
getExt
splitExt
getFileGroup
removeDuplicates
uniquePrefix
commonBase
wslpath
winpath
"""
import os.path as op
import os
import glob
import operator
import re
from fsl.utils.platform import platform
class PathError(Exception):
"""``Exception`` class raised by the functions defined in this module
when something goes wrong.
"""
pass
def deepest(path, suffixes):
"""Finds the deepest directory which ends with one of the given
sequence of suffixes, or returns ``None`` if no directories end
with any of the suffixes.
"""
path = path.strip()
if path == op.sep or path == '':
return None
path = path.rstrip(op.sep)
if any([path.endswith(s) for s in suffixes]):
return path
return deepest(op.dirname(path), suffixes)
def shallowest(path, suffixes):
"""Finds the shallowest directory which ends with one of the given
sequence of suffixes, or returns ``None`` if no directories end
with any of the suffixes.
"""
path = path.strip()
# We've reached the root of the file system
if path == op.sep or path == '' or op.splitdrive(path)[1] == '':
return None
path = path.rstrip(op.sep)
parent = shallowest(op.dirname(path), suffixes)
if parent is not None:
return parent
if any([path.endswith(s) for s in suffixes]):
return path
return None
def allFiles(root):
"""Return a list containing all files which exist underneath the specified
``root`` directory.
"""
files = []
for dirpath, _, filenames in os.walk(root):
filenames = [op.join(dirpath, f) for f in filenames]
files.extend(filenames)
return files
def hasExt(path, allowedExts):
"""Convenience function which returns ``True`` if the given ``path``
ends with any of the given ``allowedExts``, ``False`` otherwise.
"""
return any([path.endswith(e) for e in allowedExts])
def addExt(prefix,
allowedExts=None,
mustExist=True,
defaultExt=None,
fileGroups=None,
unambiguous=True):
"""Adds a file extension to the given file ``prefix``.
If ``mustExist`` is False, and the file does not already have a
supported extension, the default extension is appended and the new
file name returned. If the prefix already has a supported extension,
it is returned unchanged.
If ``mustExist`` is ``True`` (the default), the function checks to see
if any files exist that have the given prefix, and a supported file
extension. A :exc:`PathError` is raised if:
- No files exist with the given prefix and a supported extension.
- ``fileGroups is None`` and ``unambiguous is True``, and more than
one file exists with the given prefix, and a supported extension.
Otherwise the full file name is returned.
:arg prefix: The file name prefix to modify.
:arg allowedExts: List of allowed file extensions.
:arg mustExist: Whether the file must exist or not.
:arg defaultExt: Default file extension to use.
:arg fileGroups: Recognised file groups - see :func:`getFileGroup`.
:arg unambiguous: If ``True`` (the default), and more than one file
exists with the specified ``prefix``, a
:exc:`PathError` is raised. Otherwise, a list
containing *all* matching files is returned.
"""
if allowedExts is None: allowedExts = []
if fileGroups is None: fileGroups = {}
if defaultExt is not None and defaultExt not in allowedExts:
allowedExts.append(defaultExt)
if not mustExist:
# the provided file name already
# ends with a supported extension
if hasExt(prefix, allowedExts):
return prefix
if defaultExt is not None: return prefix + defaultExt
else: return prefix
# If no allowed extensions were
# provided, or the provided prefix
# already ends with a supported
# extension, check to see that it
# exists.
if len(allowedExts) == 0 or hasExt(prefix, allowedExts):
allPaths = [prefix]
# Otherwise, make a bunch of file names, one per
# supported extension, and test to see if exactly
# one of them exists.
else:
allPaths = [prefix + ext for ext in allowedExts]
allPaths = [p for p in allPaths if op.isfile(p)]
nexists = len(allPaths)
# Could not find any supported file
# with the specified prefix
if nexists == 0:
raise PathError('Could not find a supported file '
'with prefix "{}"'.format(prefix))
# If ambiguity is ok, return
# all matching paths
elif not unambiguous:
return allPaths
# Ambiguity is not ok! More than
# one supported file with the
# specified prefix.
elif nexists > 1:
# Remove non-existent paths from the
# extended list, get all their
# suffixes, and see if they match
# any file groups.
suffixes = [getExt(p, allowedExts) for p in allPaths]
groupMatches = [sorted(suffixes) == sorted(g) for g in fileGroups]
# Is there a match for a file suffix group?
# If not, multiple files with the specified
# prefix exist, and there is no way to
# resolve the ambiguity.
if sum(groupMatches) != 1:
raise PathError('More than one file with '
'prefix "{}"'.format(prefix))
# Otherwise, we return a path
# to the file which matches the
# first suffix in the group.
groupIdx = groupMatches.index(True)
allPaths = [prefix + fileGroups[groupIdx][0]]
# Return the full file name of the
# supported file that was found
return allPaths[0]
def removeExt(filename, allowedExts=None, firstDot=False):
"""Returns the base name of the given file name. See :func:`splitExt`. """
return splitExt(filename, allowedExts, firstDot)[0]
def getExt(filename, allowedExts=None, firstDot=False):
"""Returns the extension of the given file name. See :func:`splitExt`. """
return splitExt(filename, allowedExts, firstDot)[1]
def splitExt(filename, allowedExts=None, firstDot=False):
"""Returns the base name and the extension from the given file name.
If ``allowedExts`` is ``None`` and ``firstDot`` is ``False``, this
function is equivalent to using::
os.path.splitext(filename)
If ``allowedExts`` is ``None`` and ``firstDot`` is ``True``, the file
name is split on the first period that is found, rather than the last
period. For example::
splitExt('image.nii.gz') # -> ('image.nii', '.gz')
splitExt('image.nii.gz', firstDot=True) # -> ('image', '.nii.gz')
If ``allowedExts`` is provided, ``firstDot`` is ignored. In this case, if
the file does not end with an allowed extension, a tuple containing
``(filename, '')`` is returned.
:arg filename: The file name to split.
:arg allowedExts: Allowed/recognised file extensions.
:arg firstDot: Split the file name on the first period, rather than the
last period. Ignored if ``allowedExts`` is specified.
"""
# If allowedExts is not specified
# we split on a period character
if allowedExts is None:
# split on last period - equivalent
# to op.splitext
if not firstDot:
return op.splitext(filename)
# split on first period
else:
idx = filename.find('.')
if idx == -1:
return filename, ''
else:
return filename[:idx], filename[idx:]
# Otherwise, try and find a suffix match
extMatches = [filename.endswith(ext) for ext in allowedExts]
# No match, assume there is no extension
if not any(extMatches):
return filename, ''
# Otherwise split the filename
# into its base and its extension
extIdx = extMatches.index(True)
extLen = len(allowedExts[extIdx])
return filename[:-extLen], filename[-extLen:]
def getFileGroup(path,
allowedExts=None,
fileGroups=None,
fullPaths=True,
unambiguous=False):
"""If the given ``path`` is part of a ``fileGroup``, returns a list
containing the paths to all other files in the group (including the
``path`` itself).
If the ``path`` does not appear to be part of a file group, or appears to
be part of an incomplete file group, a list containing only the ``path``
is returned.
If the ``path`` does not exist, or appears to be part of more than one
file group, a :exc:`PathError` is raised.
File groups can be used to specify a collection of file suffixes which
should always exist alongside each other. This can be used to resolve
ambiguity when multiple files exist with the same ``prefix`` and supported
extensions (e.g. ``file.hdr`` and ``file.img``). The file groups are
specified as a list of sequences, for example::
[('.img', '.hdr'),
('.img.gz', '.hdr.gz')]
If you specify ``fileGroups=[('.img', '.hdr')]`` and ``prefix='file'``, and
both ``file.img`` and ``file.hdr`` exist, the :func:`addExt` function would
return ``file.img`` (i.e. the file which matches the first extension in
the group).
Similarly, if you call the :func:`.imcp.imcp` or :func:`.imcp.immv`
functions with the above parameters, both ``file.img`` and ``file.hdr``
will be moved.
.. note:: The primary use-case of file groups is to resolve ambiguity with
respect to NIFTI and ANALYSE75 image pairs. By specifying
``fileGroups=[('.img', '.hdr'), ('.img.gz', '.hdr.gz')]``, the
:func:`addExt`, :func:`.imcp.immv` and :func:`.imcp.imcp`
functions are able to figure out what you mean when you specify
``file``, and both ``file.hdr`` and ``file.img`` (or
``file.hdr.gz`` and ``file.img.gz``) exist.
:arg path: Path to the file. Must contain the file extension.
:arg allowedExts: Allowed/recognised file extensions.
:arg fileGroups: Recognised file groups.
:arg fullPaths: If ``True`` (the default), full file paths (relative to
the ``path``) are returned. Otherwise, only the file
extensions in the group are returned.
:arg unambiguous: Defaults to ``False``. If ``True``, and the path
is not unambiguously part of one group, or part of
no groups, a :exc:`PathError` is raised.
Otherwise, the path is returned.
"""
path = addExt(path, allowedExts, mustExist=True, fileGroups=fileGroups)
base, ext = splitExt(path, allowedExts)
if fileGroups is None:
if fullPaths: return [path]
else: return [ext]
matchedGroups = []
matchedGroupFiles = []
fullMatches = 0
partialMatches = 0
for group in fileGroups:
if ext != '' and ext not in group:
continue
groupFiles = [base + s for s in group]
exist = [op.exists(f) for f in groupFiles]
if any(exist):
partialMatches += 1
if all(exist):
fullMatches += 1
matchedGroups .append(group)
matchedGroupFiles.append(groupFiles)
# Path is not part of any group
if partialMatches == 0:
if fullPaths: return [path]
else: return [ext]
# If the given path is part of more
# than one existing file group, we
# can't resolve this ambiguity.
if fullMatches > 1:
raise PathError('Path is part of multiple '
'file groups: {}'.format(path))
# If the unambiguous flag is not set,
# we don't care about partial matches
if not unambiguous:
partialMatches = 0
# The path is unambiguously part of a
# complete file group - resolve it to
# the first element of the group
if fullMatches == 1 and partialMatches <= 1:
if fullPaths: return matchedGroupFiles[0]
else: return matchedGroups[ 0]
# The path appears to be part of
# an incomplete group - this is
# potentially ambiguous, so give
# up (but see the partialMatches
# clobber above).
elif partialMatches > 0:
raise PathError('Path is part of an incomplete '
'file group: {}'.format(path))
else:
if fullPaths: return [path]
else: return [ext]
def removeDuplicates(paths, allowedExts=None, fileGroups=None):
"""Reduces the list of ``paths`` down to those which are unique with
respect to the specified ``fileGroups``.
For example, if you have a directory containing::
001.hdr
001.img
002.hdr
002.img
003.hdr
003.img
And you call ``removeDuplicates`` like so::
paths = ['001.img', '001.hdr',
'002.img', '002.hdr',
'003.img', '003.hdr']
allowedExts = ['.img', '.hdr']
fileGroups = [('.img', '.hdr')]
removeDuplicates(paths, allowedExts, fileGroups)
The returned list will be::
['001.img', '002.img', '003.img']
If you provide ``allowedExts``, you may specify incomplete ``paths`` (i.e.
without extensions), as long as there are no path ambiguities.
A :exc:`PathError` will be raised if any of the ``paths`` do not exist,
or if there are any ambiguities with respect to incomplete paths.
:arg paths: List of paths to reduce.
:arg allowedExts: Allowed/recognised file extensions.
:arg fileGroups: Recognised file groups - see :func:`getFileGroup`.
"""
unique = []
for path in paths:
groupFiles = getFileGroup(path, allowedExts, fileGroups)
if not any([p in unique for p in groupFiles]):
unique.append(groupFiles[0])
return unique
def uniquePrefix(path):
"""Return the longest prefix for the given file name which unambiguously
identifies it, relative to the other files in the same directory.
Raises a :exc:`PathError` if a unique prefix could not be found (which
will never happen if the path is valid).
"""
dirname, filename = op.split(path)
idx = 0
prefix = op.join(dirname, filename[0])
hits = glob.glob('{}*'.format(prefix))
while True:
# Found a unique prefix
if len(hits) == 1:
break
# Should never happen if path is valid
elif len(hits) == 0 or idx >= len(filename) - 1:
raise PathError('No unique prefix for {}'.format(filename))
# Not unique - continue looping
else:
idx += 1
prefix = prefix + filename[idx]
hits = [h for h in hits if h.startswith(prefix)]
return prefix
def commonBase(paths):
"""Identifies the deepest common base directory shared by all files
in ``paths``.
Raises a :exc:`PathError` if the paths have no common base. This will
never happen for absolute paths (as the base will be e.g. ``'/'``).
"""
depths = [len(p.split(op.sep)) for p in paths]
base = max(zip(depths, paths), key=operator.itemgetter(0))[1]
last = base
while True:
base = op.split(base)[0]
if base == last or len(base) == 0:
break
last = base
if all([p.startswith(base) for p in paths]):
return base
raise PathError('No common base')
def wslpath(winpath):
"""
Convert Windows path (or a command line argument containing a Windows path)
to the equivalent WSL path (e.g. ``c:\\Users`` -> ``/mnt/c/Users``). Also supports
paths in the form ``\\wsl$\\(distro)\\users\\...``
:param winpath: Command line argument which may (or may not) contain a Windows path. It is assumed to be
either of the form <windows path> or --<arg>=<windows path>. Note that we don't need to
handle --arg <windows path> or -a <windows path> since in these cases the argument
and the path will be parsed as separate entities.
:return: If ``winpath`` matches a Windows path, the converted argument (including the --<arg>= portion).
Otherwise returns ``winpath`` unchanged.
"""
match = re.match(r"^(--[\w-]+=)?\\\\wsl\$[\\\/][^\\^\/]+(.*)$", winpath)
if match:
arg, path = match.group(1, 2)
if arg is None:
arg = ""
return arg + path.replace("\\", "/")
match = re.match(r"^(--[\w-]+=)?([a-zA-z]):(.+)$", winpath)
if match:
arg, drive, path = match.group(1, 2, 3)
if arg is None:
arg = ""
return arg + "/mnt/" + drive.lower() + path.replace("\\", "/")
return winpath
def winpath(wslpath):
"""
Convert a WSL-local filepath (for example ``/usr/local/fsl/``) into a path that can be used from
Windows.
If ``self.fslwsl`` is ``False``, simply returns ``wslpath`` unmodified
Otherwise, uses ``FSLDIR`` to deduce the WSL distro in use for FSL.
This requires WSL2 which supports the ``\\wsl$\`` network path.
wslpath is assumed to be an absolute path.
"""
if not platform.fslwsl:
return wslpath
else:
match = re.match(r"^\\\\wsl\$\\([^\\]+).*$", platform.fsldir)
if match:
distro = match.group(1)
else:
distro = None
if not distro:
raise RuntimeError("Could not identify WSL installation from FSLDIR (%s)" % platform.fsldir)
return "\\\\wsl$\\" + distro + wslpath.replace("/", "\\")
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
198,
2,
3108,
13,
9078,
532,
34030,
5499,
329,
1762,
351,
2393,
14,
34945,
13532,
13,
198,
2,
198,
2,
6434,
25,
3362,
18751,
1279,
79,
30406,
76,
535,
18270,
31,
14816,
13,
785,
29,
198,
2,
198,
37811,
1212,
8265,
4909,
257,
1178,
10361,
5499,
329,
1762,
351,
2393,
1080,
198,
6978,
82,
13,
628,
198,
492,
44619,
388,
6874,
3712,
198,
220,
220,
1058,
39369,
570,
6691,
25,
628,
220,
220,
25420,
198,
220,
220,
19337,
395,
198,
220,
220,
477,
25876,
198,
220,
220,
468,
11627,
198,
220,
220,
751,
11627,
198,
220,
220,
4781,
11627,
198,
220,
220,
651,
11627,
198,
220,
220,
6626,
11627,
198,
220,
220,
651,
8979,
13247,
198,
220,
220,
4781,
35660,
489,
16856,
198,
220,
220,
3748,
36698,
844,
198,
220,
220,
2219,
14881,
198,
220,
220,
266,
6649,
6978,
198,
220,
220,
1592,
6978,
198,
37811,
628,
198,
11748,
28686,
13,
6978,
355,
1034,
198,
11748,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
198,
11748,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15095,
198,
11748,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10088,
198,
11748,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
302,
198,
198,
6738,
277,
6649,
13,
26791,
13,
24254,
1330,
3859,
628,
198,
4871,
10644,
12331,
7,
16922,
2599,
198,
220,
220,
220,
37227,
15506,
16922,
15506,
1398,
4376,
416,
262,
5499,
5447,
287,
428,
8265,
198,
220,
220,
220,
618,
1223,
2925,
2642,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1208,
628,
198,
4299,
25420,
7,
6978,
11,
35488,
274,
2599,
198,
220,
220,
220,
37227,
16742,
82,
262,
25420,
8619,
543,
5645,
351,
530,
286,
262,
1813,
198,
220,
220,
220,
8379,
286,
35488,
274,
11,
393,
5860,
7559,
14202,
15506,
611,
645,
29196,
886,
198,
220,
220,
220,
351,
597,
286,
262,
35488,
274,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3108,
796,
3108,
13,
36311,
3419,
628,
220,
220,
220,
611,
3108,
6624,
1034,
13,
325,
79,
393,
3108,
6624,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
3108,
796,
3108,
13,
81,
36311,
7,
404,
13,
325,
79,
8,
628,
220,
220,
220,
611,
597,
26933,
6978,
13,
437,
2032,
342,
7,
82,
8,
329,
264,
287,
35488,
274,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3108,
628,
220,
220,
220,
1441,
25420,
7,
404,
13,
15908,
3672,
7,
6978,
828,
35488,
274,
8,
628,
198,
4299,
19337,
395,
7,
6978,
11,
35488,
274,
2599,
198,
220,
220,
220,
37227,
16742,
82,
262,
19337,
395,
8619,
543,
5645,
351,
530,
286,
262,
1813,
198,
220,
220,
220,
8379,
286,
35488,
274,
11,
393,
5860,
7559,
14202,
15506,
611,
645,
29196,
886,
198,
220,
220,
220,
351,
597,
286,
262,
35488,
274,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3108,
796,
3108,
13,
36311,
3419,
628,
220,
220,
220,
1303,
775,
1053,
4251,
262,
6808,
286,
262,
2393,
1080,
198,
220,
220,
220,
611,
3108,
6624,
1034,
13,
325,
79,
393,
3108,
6624,
10148,
393,
1034,
13,
35312,
19472,
7,
6978,
38381,
16,
60,
6624,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
3108,
220,
220,
796,
3108,
13,
81,
36311,
7,
404,
13,
325,
79,
8,
198,
220,
220,
220,
2560,
796,
19337,
395,
7,
404,
13,
15908,
3672,
7,
6978,
828,
35488,
274,
8,
628,
220,
220,
220,
611,
2560,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2560,
628,
220,
220,
220,
611,
597,
26933,
6978,
13,
437,
2032,
342,
7,
82,
8,
329,
264,
287,
35488,
274,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3108,
628,
220,
220,
220,
1441,
6045,
628,
198,
4299,
477,
25876,
7,
15763,
2599,
198,
220,
220,
220,
37227,
13615,
257,
1351,
7268,
477,
3696,
543,
2152,
14638,
262,
7368,
198,
220,
220,
220,
7559,
15763,
15506,
8619,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3696,
796,
17635,
628,
220,
220,
220,
329,
26672,
6978,
11,
4808,
11,
1226,
268,
1047,
287,
28686,
13,
11152,
7,
15763,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1226,
268,
1047,
796,
685,
404,
13,
22179,
7,
15908,
6978,
11,
277,
8,
329,
277,
287,
1226,
268,
1047,
60,
198,
220,
220,
220,
220,
220,
220,
220,
3696,
13,
2302,
437,
7,
10379,
268,
1047,
8,
628,
220,
220,
220,
1441,
3696,
628,
198,
4299,
468,
11627,
7,
6978,
11,
3142,
11627,
82,
2599,
198,
220,
220,
220,
37227,
3103,
574,
1240,
2163,
543,
5860,
7559,
17821,
15506,
611,
262,
1813,
7559,
6978,
15506,
198,
220,
220,
220,
5645,
351,
597,
286,
262,
1813,
7559,
40845,
11627,
82,
15506,
11,
7559,
25101,
15506,
4306,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
597,
26933,
6978,
13,
437,
2032,
342,
7,
68,
8,
329,
304,
287,
3142,
11627,
82,
12962,
628,
198,
4299,
751,
11627,
7,
40290,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3142,
11627,
82,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1276,
3109,
396,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4277,
11627,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
38,
14459,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42053,
29709,
28,
17821,
2599,
198,
220,
220,
220,
37227,
46245,
257,
2393,
7552,
284,
262,
1813,
2393,
7559,
40290,
15506,
13,
628,
220,
220,
220,
1002,
7559,
27238,
3109,
396,
15506,
318,
10352,
11,
290,
262,
2393,
857,
407,
1541,
423,
257,
198,
220,
220,
220,
4855,
7552,
11,
262,
4277,
7552,
318,
598,
1631,
290,
262,
649,
198,
220,
220,
220,
2393,
1438,
4504,
13,
1002,
262,
21231,
1541,
468,
257,
4855,
7552,
11,
198,
220,
220,
220,
340,
318,
4504,
21588,
13,
628,
220,
220,
220,
1002,
7559,
27238,
3109,
396,
15506,
318,
7559,
17821,
15506,
357,
1169,
4277,
828,
262,
2163,
8794,
284,
766,
198,
220,
220,
220,
611,
597,
3696,
2152,
326,
423,
262,
1813,
21231,
11,
290,
257,
4855,
2393,
198,
220,
220,
220,
7552,
13,
220,
317,
1058,
41194,
25,
63,
15235,
12331,
63,
318,
4376,
611,
25,
628,
220,
220,
220,
220,
220,
220,
532,
1400,
3696,
2152,
351,
262,
1813,
21231,
290,
257,
4855,
7552,
13,
628,
220,
220,
220,
220,
220,
220,
532,
7559,
7753,
38,
14459,
318,
6045,
15506,
290,
7559,
403,
4131,
29709,
318,
6407,
15506,
11,
290,
517,
621,
198,
220,
220,
220,
220,
220,
220,
220,
220,
530,
2393,
7160,
351,
262,
1813,
21231,
11,
290,
257,
4855,
7552,
13,
628,
220,
220,
220,
15323,
262,
1336,
2393,
1438,
318,
4504,
13,
628,
220,
220,
220,
1058,
853,
21231,
25,
220,
220,
220,
220,
220,
383,
2393,
1438,
21231,
284,
13096,
13,
628,
220,
220,
220,
1058,
853,
3142,
11627,
82,
25,
7343,
286,
3142,
2393,
18366,
13,
628,
220,
220,
220,
1058,
853,
1276,
3109,
396,
25,
220,
220,
10127,
262,
2393,
1276,
2152,
393,
407,
13,
628,
220,
220,
220,
1058,
853,
4277,
11627,
25,
220,
15161,
2393,
7552,
284,
779,
13,
628,
220,
220,
220,
1058,
853,
2393,
38,
14459,
25,
220,
31517,
1417,
2393,
2628,
532,
766,
1058,
20786,
25,
63,
1136,
8979,
13247,
44646,
628,
220,
220,
220,
1058,
853,
42053,
29709,
25,
1002,
7559,
17821,
15506,
357,
1169,
4277,
828,
290,
517,
621,
530,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7160,
351,
262,
7368,
7559,
40290,
15506,
11,
257,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
41194,
25,
63,
15235,
12331,
63,
318,
4376,
13,
15323,
11,
257,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7268,
1635,
439,
9,
12336,
3696,
318,
4504,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
611,
3142,
11627,
82,
318,
6045,
25,
3142,
11627,
82,
796,
17635,
198,
220,
220,
220,
611,
2393,
38,
14459,
220,
318,
6045,
25,
2393,
38,
14459,
220,
796,
23884,
628,
220,
220,
220,
611,
4277,
11627,
318,
407,
6045,
290,
4277,
11627,
407,
287,
3142,
11627,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3142,
11627,
82,
13,
33295,
7,
12286,
11627,
8,
628,
220,
220,
220,
611,
407,
1276,
3109,
396,
25,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
2810,
2393,
1438,
1541,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5645,
351,
257,
4855,
7552,
198,
220,
220,
220,
220,
220,
220,
220,
611,
468,
11627,
7,
40290,
11,
3142,
11627,
82,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
21231,
628,
220,
220,
220,
220,
220,
220,
220,
611,
4277,
11627,
318,
407,
6045,
25,
1441,
21231,
1343,
4277,
11627,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
21231,
628,
220,
220,
220,
1303,
1002,
645,
3142,
18366,
547,
198,
220,
220,
220,
1303,
2810,
11,
393,
262,
2810,
21231,
198,
220,
220,
220,
1303,
1541,
5645,
351,
257,
4855,
198,
220,
220,
220,
1303,
7552,
11,
2198,
284,
766,
326,
340,
198,
220,
220,
220,
1303,
7160,
13,
198,
220,
220,
220,
611,
18896,
7,
40845,
11627,
82,
8,
6624,
657,
393,
468,
11627,
7,
40290,
11,
3142,
11627,
82,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
477,
15235,
82,
796,
685,
40290,
60,
628,
220,
220,
220,
1303,
15323,
11,
787,
257,
7684,
286,
2393,
3891,
11,
530,
583,
198,
220,
220,
220,
1303,
4855,
7552,
11,
290,
1332,
284,
766,
611,
3446,
198,
220,
220,
220,
1303,
530,
286,
606,
7160,
13,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
477,
15235,
82,
796,
685,
40290,
1343,
1070,
329,
1070,
287,
3142,
11627,
82,
60,
628,
220,
220,
220,
477,
15235,
82,
796,
685,
79,
329,
279,
287,
477,
15235,
82,
611,
1034,
13,
4468,
576,
7,
79,
15437,
198,
220,
220,
220,
497,
87,
1023,
220,
796,
18896,
7,
439,
15235,
82,
8,
628,
220,
220,
220,
1303,
10347,
407,
1064,
597,
4855,
2393,
198,
220,
220,
220,
1303,
351,
262,
7368,
21231,
198,
220,
220,
220,
611,
497,
87,
1023,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
10644,
12331,
10786,
23722,
407,
1064,
257,
4855,
2393,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4480,
21231,
45144,
36786,
4458,
18982,
7,
40290,
4008,
628,
220,
220,
220,
1303,
1002,
33985,
318,
12876,
11,
1441,
198,
220,
220,
220,
1303,
477,
12336,
13532,
198,
220,
220,
220,
1288,
361,
407,
42053,
29709,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
477,
15235,
82,
628,
220,
220,
220,
1303,
12457,
328,
14834,
318,
407,
12876,
0,
3125,
621,
198,
220,
220,
220,
1303,
530,
4855,
2393,
351,
262,
198,
220,
220,
220,
1303,
7368,
21231,
13,
198,
220,
220,
220,
1288,
361,
497,
87,
1023,
1875,
352,
25,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
17220,
1729,
12,
32786,
13532,
422,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
7083,
1351,
11,
651,
477,
511,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
35488,
274,
11,
290,
766,
611,
484,
2872,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
597,
2393,
2628,
13,
198,
220,
220,
220,
220,
220,
220,
220,
35488,
274,
220,
220,
220,
220,
796,
685,
1136,
11627,
7,
79,
11,
3142,
11627,
82,
8,
329,
279,
287,
477,
15235,
82,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1448,
19044,
2052,
796,
685,
82,
9741,
7,
37333,
844,
274,
8,
6624,
23243,
7,
70,
8,
329,
308,
287,
2393,
38,
14459,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1148,
612,
257,
2872,
329,
257,
2393,
35488,
1448,
30,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
407,
11,
3294,
3696,
351,
262,
7368,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
21231,
2152,
11,
290,
612,
318,
645,
835,
284,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10568,
262,
33985,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2160,
7,
8094,
19044,
2052,
8,
14512,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
10644,
12331,
10786,
5167,
621,
530,
2393,
351,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
40290,
45144,
36786,
4458,
18982,
7,
40290,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
15323,
11,
356,
1441,
257,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
284,
262,
2393,
543,
7466,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
717,
35488,
287,
262,
1448,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1448,
7390,
87,
796,
1448,
19044,
2052,
13,
9630,
7,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
477,
15235,
82,
796,
685,
40290,
1343,
2393,
38,
14459,
58,
8094,
7390,
87,
7131,
15,
11907,
628,
220,
220,
220,
1303,
8229,
262,
1336,
2393,
1438,
286,
262,
198,
220,
220,
220,
1303,
4855,
2393,
326,
373,
1043,
198,
220,
220,
220,
1441,
477,
15235,
82,
58,
15,
60,
628,
198,
4299,
4781,
11627,
7,
34345,
11,
3142,
11627,
82,
28,
14202,
11,
717,
35,
313,
28,
25101,
2599,
198,
220,
220,
220,
37227,
35561,
262,
2779,
1438,
286,
262,
1813,
2393,
1438,
13,
220,
4091,
1058,
20786,
25,
63,
35312,
11627,
44646,
37227,
628,
220,
220,
220,
1441,
6626,
11627,
7,
34345,
11,
3142,
11627,
82,
11,
717,
35,
313,
38381,
15,
60,
628,
198,
4299,
651,
11627,
7,
34345,
11,
3142,
11627,
82,
28,
14202,
11,
717,
35,
313,
28,
25101,
2599,
198,
220,
220,
220,
37227,
35561,
262,
7552,
286,
262,
1813,
2393,
1438,
13,
220,
4091,
1058,
20786,
25,
63,
35312,
11627,
44646,
37227,
628,
220,
220,
220,
1441,
6626,
11627,
7,
34345,
11,
3142,
11627,
82,
11,
717,
35,
313,
38381,
16,
60,
628,
198,
4299,
6626,
11627,
7,
34345,
11,
3142,
11627,
82,
28,
14202,
11,
717,
35,
313,
28,
25101,
2599,
198,
220,
220,
220,
37227,
35561,
262,
2779,
1438,
290,
262,
7552,
422,
262,
1813,
2393,
1438,
13,
628,
220,
220,
220,
1002,
7559,
40845,
11627,
82,
15506,
318,
7559,
14202,
15506,
290,
7559,
11085,
35,
313,
15506,
318,
7559,
25101,
15506,
11,
428,
198,
220,
220,
220,
2163,
318,
7548,
284,
1262,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
6978,
13,
22018,
578,
742,
7,
34345,
8,
628,
220,
220,
220,
1002,
7559,
40845,
11627,
82,
15506,
318,
7559,
14202,
15506,
290,
7559,
11085,
35,
313,
15506,
318,
7559,
17821,
15506,
11,
262,
2393,
198,
220,
220,
220,
1438,
318,
6626,
319,
262,
717,
2278,
326,
318,
1043,
11,
2138,
621,
262,
938,
198,
220,
220,
220,
2278,
13,
1114,
1672,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
6626,
11627,
10786,
9060,
13,
77,
4178,
13,
34586,
11537,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4613,
19203,
9060,
13,
77,
4178,
3256,
45302,
34586,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
6626,
11627,
10786,
9060,
13,
77,
4178,
13,
34586,
3256,
717,
35,
313,
28,
17821,
8,
1303,
4613,
19203,
9060,
3256,
45302,
77,
4178,
13,
34586,
11537,
628,
220,
220,
220,
1002,
7559,
40845,
11627,
82,
15506,
318,
2810,
11,
7559,
11085,
35,
313,
15506,
318,
9514,
13,
554,
428,
1339,
11,
611,
198,
220,
220,
220,
262,
2393,
857,
407,
886,
351,
281,
3142,
7552,
11,
257,
46545,
7268,
198,
220,
220,
220,
11592,
34345,
11,
10148,
8,
15506,
318,
4504,
13,
628,
220,
220,
220,
1058,
853,
29472,
25,
220,
220,
220,
383,
2393,
1438,
284,
6626,
13,
628,
220,
220,
220,
1058,
853,
3142,
11627,
82,
25,
1439,
6972,
14,
26243,
1417,
2393,
18366,
13,
628,
220,
220,
220,
1058,
853,
717,
35,
313,
25,
220,
220,
220,
27758,
262,
2393,
1438,
319,
262,
717,
2278,
11,
2138,
621,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
938,
2278,
13,
16583,
1850,
611,
7559,
40845,
11627,
82,
15506,
318,
7368,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
1002,
3142,
11627,
82,
318,
407,
7368,
198,
220,
220,
220,
1303,
356,
6626,
319,
257,
2278,
2095,
198,
220,
220,
220,
611,
3142,
11627,
82,
318,
6045,
25,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
6626,
319,
938,
2278,
532,
7548,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
284,
1034,
13,
22018,
578,
742,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
717,
35,
313,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1034,
13,
22018,
578,
742,
7,
34345,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
6626,
319,
717,
2278,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
796,
29472,
13,
19796,
10786,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4686,
87,
6624,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
29472,
11,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
29472,
58,
25,
312,
87,
4357,
29472,
58,
312,
87,
47715,
628,
220,
220,
220,
1303,
15323,
11,
1949,
290,
1064,
257,
35488,
2872,
198,
220,
220,
220,
1070,
19044,
2052,
796,
685,
34345,
13,
437,
2032,
342,
7,
2302,
8,
329,
1070,
287,
3142,
11627,
82,
60,
628,
220,
220,
220,
1303,
1400,
2872,
11,
7048,
612,
318,
645,
7552,
198,
220,
220,
220,
611,
407,
597,
7,
2302,
19044,
2052,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
29472,
11,
10148,
628,
220,
220,
220,
1303,
15323,
6626,
262,
29472,
198,
220,
220,
220,
1303,
656,
663,
2779,
290,
663,
7552,
198,
220,
220,
220,
1070,
7390,
87,
796,
1070,
19044,
2052,
13,
9630,
7,
17821,
8,
198,
220,
220,
220,
1070,
30659,
796,
18896,
7,
40845,
11627,
82,
58,
2302,
7390,
87,
12962,
628,
220,
220,
220,
1441,
29472,
58,
21912,
2302,
30659,
4357,
29472,
58,
12,
2302,
30659,
47715,
628,
198,
4299,
651,
8979,
13247,
7,
6978,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3142,
11627,
82,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
38,
14459,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1336,
15235,
82,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42053,
29709,
28,
25101,
2599,
198,
220,
220,
220,
37227,
1532,
262,
1813,
7559,
6978,
15506,
318,
636,
286,
257,
7559,
7753,
13247,
15506,
11,
5860,
257,
1351,
198,
220,
220,
220,
7268,
262,
13532,
284,
477,
584,
3696,
287,
262,
1448,
357,
8201,
262,
198,
220,
220,
220,
7559,
6978,
15506,
2346,
737,
628,
220,
220,
220,
1002,
262,
7559,
6978,
15506,
857,
407,
1656,
284,
307,
636,
286,
257,
2393,
1448,
11,
393,
3568,
284,
198,
220,
220,
220,
307,
636,
286,
281,
17503,
2393,
1448,
11,
257,
1351,
7268,
691,
262,
7559,
6978,
15506,
198,
220,
220,
220,
318,
4504,
13,
628,
220,
220,
220,
1002,
262,
7559,
6978,
15506,
857,
407,
2152,
11,
393,
3568,
284,
307,
636,
286,
517,
621,
530,
198,
220,
220,
220,
2393,
1448,
11,
257,
1058,
41194,
25,
63,
15235,
12331,
63,
318,
4376,
13,
628,
220,
220,
220,
9220,
2628,
460,
307,
973,
284,
11986,
257,
4947,
286,
2393,
35488,
274,
543,
198,
220,
220,
220,
815,
1464,
2152,
7848,
1123,
584,
13,
770,
460,
307,
973,
284,
10568,
198,
220,
220,
220,
33985,
618,
3294,
3696,
2152,
351,
262,
976,
7559,
40290,
15506,
290,
4855,
198,
220,
220,
220,
18366,
357,
68,
13,
70,
13,
7559,
7753,
13,
71,
7109,
15506,
290,
7559,
7753,
13,
9600,
15506,
737,
383,
2393,
2628,
389,
198,
220,
220,
220,
7368,
355,
257,
1351,
286,
16311,
11,
329,
1672,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
47527,
4458,
9600,
3256,
220,
220,
220,
45302,
71,
7109,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
357,
4458,
9600,
13,
34586,
3256,
45302,
71,
7109,
13,
34586,
11537,
60,
628,
220,
220,
220,
1002,
345,
11986,
7559,
7753,
38,
14459,
41888,
7,
4458,
9600,
3256,
45302,
71,
7109,
11537,
60,
15506,
290,
7559,
40290,
11639,
7753,
6,
15506,
11,
290,
198,
220,
220,
220,
1111,
7559,
7753,
13,
9600,
15506,
290,
7559,
7753,
13,
71,
7109,
15506,
2152,
11,
262,
1058,
20786,
25,
63,
2860,
11627,
63,
2163,
561,
198,
220,
220,
220,
1441,
7559,
7753,
13,
9600,
15506,
357,
72,
13,
68,
13,
262,
2393,
543,
7466,
262,
717,
7552,
287,
198,
220,
220,
220,
262,
1448,
737,
628,
220,
220,
220,
15298,
11,
611,
345,
869,
262,
1058,
20786,
25,
44646,
320,
13155,
13,
320,
13155,
63,
393,
1058,
20786,
25,
44646,
320,
13155,
13,
8608,
85,
63,
198,
220,
220,
220,
5499,
351,
262,
2029,
10007,
11,
1111,
7559,
7753,
13,
9600,
15506,
290,
7559,
7753,
13,
71,
7109,
15506,
198,
220,
220,
220,
481,
307,
3888,
13,
628,
220,
220,
220,
11485,
3465,
3712,
383,
4165,
779,
12,
7442,
286,
2393,
2628,
318,
284,
10568,
33985,
351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2461,
284,
399,
5064,
25621,
290,
3537,
1847,
56,
5188,
2425,
2939,
14729,
13,
2750,
31577,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
7753,
38,
14459,
41888,
7,
4458,
9600,
3256,
45302,
71,
7109,
33809,
357,
4458,
9600,
13,
34586,
3256,
45302,
71,
7109,
13,
34586,
11537,
60,
15506,
11,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
20786,
25,
63,
2860,
11627,
47671,
1058,
20786,
25,
44646,
320,
13155,
13,
8608,
85,
63,
290,
1058,
20786,
25,
44646,
320,
13155,
13,
320,
13155,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5499,
389,
1498,
284,
3785,
503,
644,
345,
1612,
618,
345,
11986,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
7753,
15506,
11,
290,
1111,
7559,
7753,
13,
71,
7109,
15506,
290,
7559,
7753,
13,
9600,
15506,
357,
273,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
7753,
13,
71,
7109,
13,
34586,
15506,
290,
7559,
7753,
13,
9600,
13,
34586,
15506,
8,
2152,
13,
628,
220,
220,
220,
1058,
853,
3108,
25,
220,
220,
220,
220,
220,
220,
220,
10644,
284,
262,
2393,
13,
12039,
3994,
262,
2393,
7552,
13,
628,
220,
220,
220,
1058,
853,
3142,
11627,
82,
25,
1439,
6972,
14,
26243,
1417,
2393,
18366,
13,
628,
220,
220,
220,
1058,
853,
2393,
38,
14459,
25,
220,
31517,
1417,
2393,
2628,
13,
628,
220,
220,
220,
1058,
853,
1336,
15235,
82,
25,
220,
220,
1002,
7559,
17821,
15506,
357,
1169,
4277,
828,
1336,
2393,
13532,
357,
43762,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
7559,
6978,
15506,
8,
389,
4504,
13,
15323,
11,
691,
262,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18366,
287,
262,
1448,
389,
4504,
13,
628,
220,
220,
220,
1058,
853,
42053,
29709,
25,
2896,
13185,
284,
7559,
25101,
15506,
13,
1002,
7559,
17821,
15506,
11,
290,
262,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
407,
42053,
328,
24987,
636,
286,
530,
1448,
11,
393,
636,
286,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
645,
2628,
11,
257,
1058,
41194,
25,
63,
15235,
12331,
63,
318,
4376,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15323,
11,
262,
3108,
318,
4504,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3108,
796,
751,
11627,
7,
6978,
11,
3142,
11627,
82,
11,
1276,
3109,
396,
28,
17821,
11,
2393,
38,
14459,
28,
7753,
38,
14459,
8,
198,
220,
220,
220,
2779,
11,
1070,
796,
6626,
11627,
7,
6978,
11,
3142,
11627,
82,
8,
628,
220,
220,
220,
611,
2393,
38,
14459,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1336,
15235,
82,
25,
1441,
685,
6978,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
2302,
60,
628,
220,
220,
220,
14451,
38,
14459,
220,
220,
220,
220,
796,
17635,
198,
220,
220,
220,
14451,
13247,
25876,
796,
17635,
198,
220,
220,
220,
1336,
19044,
2052,
220,
220,
220,
220,
220,
220,
796,
657,
198,
220,
220,
220,
13027,
19044,
2052,
220,
220,
220,
796,
657,
628,
220,
220,
220,
329,
1448,
287,
2393,
38,
14459,
25,
628,
220,
220,
220,
220,
220,
220,
220,
611,
1070,
14512,
10148,
290,
1070,
407,
287,
1448,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
1448,
25876,
796,
685,
8692,
1343,
264,
329,
264,
287,
1448,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2152,
220,
220,
220,
220,
220,
796,
685,
404,
13,
1069,
1023,
7,
69,
8,
329,
277,
287,
1448,
25876,
60,
628,
220,
220,
220,
220,
220,
220,
220,
611,
597,
7,
38476,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13027,
19044,
2052,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
611,
477,
7,
38476,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1336,
19044,
2052,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14451,
38,
14459,
220,
220,
220,
764,
33295,
7,
8094,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14451,
13247,
25876,
13,
33295,
7,
8094,
25876,
8,
628,
220,
220,
220,
1303,
10644,
318,
407,
636,
286,
597,
1448,
198,
220,
220,
220,
611,
13027,
19044,
2052,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1336,
15235,
82,
25,
1441,
685,
6978,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
2302,
60,
628,
220,
220,
220,
1303,
1002,
262,
1813,
3108,
318,
636,
286,
517,
198,
220,
220,
220,
1303,
621,
530,
4683,
2393,
1448,
11,
356,
198,
220,
220,
220,
1303,
460,
470,
10568,
428,
33985,
13,
198,
220,
220,
220,
611,
1336,
19044,
2052,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
10644,
12331,
10786,
15235,
318,
636,
286,
3294,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7753,
2628,
25,
23884,
4458,
18982,
7,
6978,
4008,
628,
220,
220,
220,
1303,
1002,
262,
42053,
29709,
6056,
318,
407,
900,
11,
198,
220,
220,
220,
1303,
356,
836,
470,
1337,
546,
13027,
7466,
198,
220,
220,
220,
611,
407,
42053,
29709,
25,
198,
220,
220,
220,
220,
220,
220,
220,
13027,
19044,
2052,
796,
657,
628,
220,
220,
220,
1303,
383,
3108,
318,
42053,
328,
24987,
636,
286,
257,
198,
220,
220,
220,
1303,
1844,
2393,
1448,
532,
10568,
340,
284,
198,
220,
220,
220,
1303,
262,
717,
5002,
286,
262,
1448,
198,
220,
220,
220,
611,
1336,
19044,
2052,
6624,
352,
290,
13027,
19044,
2052,
19841,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1336,
15235,
82,
25,
1441,
14451,
13247,
25876,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
14451,
38,
14459,
58,
220,
220,
220,
657,
60,
628,
220,
220,
220,
1303,
383,
3108,
3568,
284,
307,
636,
286,
198,
220,
220,
220,
1303,
281,
17503,
1448,
532,
428,
318,
198,
220,
220,
220,
1303,
6196,
27102,
11,
523,
1577,
198,
220,
220,
220,
1303,
510,
357,
4360,
766,
262,
13027,
19044,
2052,
198,
220,
220,
220,
1303,
537,
672,
527,
2029,
737,
198,
220,
220,
220,
1288,
361,
13027,
19044,
2052,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
10644,
12331,
10786,
15235,
318,
636,
286,
281,
17503,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7753,
1448,
25,
23884,
4458,
18982,
7,
6978,
4008,
628,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1336,
15235,
82,
25,
1441,
685,
6978,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
2302,
60,
628,
198,
4299,
4781,
35660,
489,
16856,
7,
6978,
82,
11,
3142,
11627,
82,
28,
14202,
11,
2393,
38,
14459,
28,
14202,
2599,
198,
220,
220,
220,
37227,
7738,
26873,
262,
1351,
286,
7559,
6978,
82,
15506,
866,
284,
883,
543,
389,
3748,
351,
198,
220,
220,
220,
2461,
284,
262,
7368,
7559,
7753,
38,
14459,
15506,
13,
628,
220,
220,
220,
1114,
1672,
11,
611,
345,
423,
257,
8619,
7268,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
3571,
16,
13,
71,
7109,
198,
220,
220,
220,
220,
220,
220,
220,
3571,
16,
13,
9600,
198,
220,
220,
220,
220,
220,
220,
220,
3571,
17,
13,
71,
7109,
198,
220,
220,
220,
220,
220,
220,
220,
3571,
17,
13,
9600,
198,
220,
220,
220,
220,
220,
220,
220,
3571,
18,
13,
71,
7109,
198,
220,
220,
220,
220,
220,
220,
220,
3571,
18,
13,
9600,
628,
220,
220,
220,
843,
345,
869,
7559,
28956,
35660,
489,
16856,
15506,
588,
523,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
13532,
220,
220,
220,
220,
220,
220,
796,
37250,
8298,
13,
9600,
3256,
705,
8298,
13,
71,
7109,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
21601,
13,
9600,
3256,
705,
21601,
13,
71,
7109,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11245,
13,
9600,
3256,
705,
11245,
13,
71,
7109,
20520,
628,
220,
220,
220,
220,
220,
220,
220,
220,
3142,
11627,
82,
796,
685,
4458,
9600,
3256,
220,
45302,
71,
7109,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
38,
14459,
220,
796,
47527,
4458,
9600,
3256,
45302,
71,
7109,
11537,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
4781,
35660,
489,
16856,
7,
6978,
82,
11,
3142,
11627,
82,
11,
2393,
38,
14459,
8,
628,
220,
220,
220,
383,
4504,
1351,
481,
307,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
37250,
8298,
13,
9600,
3256,
705,
21601,
13,
9600,
3256,
705,
11245,
13,
9600,
20520,
628,
220,
220,
220,
1002,
345,
2148,
7559,
40845,
11627,
82,
15506,
11,
345,
743,
11986,
17503,
7559,
6978,
82,
15506,
357,
72,
13,
68,
13,
198,
220,
220,
220,
1231,
18366,
828,
355,
890,
355,
612,
389,
645,
3108,
18203,
84,
871,
13,
628,
220,
220,
220,
317,
1058,
41194,
25,
63,
15235,
12331,
63,
481,
307,
4376,
611,
597,
286,
262,
7559,
6978,
82,
15506,
466,
407,
2152,
11,
198,
220,
220,
220,
393,
611,
612,
389,
597,
18203,
84,
871,
351,
2461,
284,
17503,
13532,
13,
628,
220,
220,
220,
1058,
853,
13532,
25,
220,
220,
220,
220,
220,
220,
7343,
286,
13532,
284,
4646,
13,
628,
220,
220,
220,
1058,
853,
3142,
11627,
82,
25,
1439,
6972,
14,
26243,
1417,
2393,
18366,
13,
628,
220,
220,
220,
1058,
853,
2393,
38,
14459,
25,
220,
31517,
1417,
2393,
2628,
532,
766,
1058,
20786,
25,
63,
1136,
8979,
13247,
44646,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3748,
796,
17635,
628,
220,
220,
220,
329,
3108,
287,
13532,
25,
628,
220,
220,
220,
220,
220,
220,
220,
1448,
25876,
796,
651,
8979,
13247,
7,
6978,
11,
3142,
11627,
82,
11,
2393,
38,
14459,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
597,
26933,
79,
287,
3748,
329,
279,
287,
1448,
25876,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3748,
13,
33295,
7,
8094,
25876,
58,
15,
12962,
628,
220,
220,
220,
1441,
3748,
628,
198,
4299,
3748,
36698,
844,
7,
6978,
2599,
198,
220,
220,
220,
37227,
13615,
262,
14069,
21231,
329,
262,
1813,
2393,
1438,
543,
42053,
328,
24987,
198,
220,
220,
220,
21079,
340,
11,
3585,
284,
262,
584,
3696,
287,
262,
976,
8619,
13,
628,
220,
220,
220,
7567,
2696,
257,
1058,
41194,
25,
63,
15235,
12331,
63,
611,
257,
3748,
21231,
714,
407,
307,
1043,
357,
4758,
198,
220,
220,
220,
481,
1239,
1645,
611,
262,
3108,
318,
4938,
737,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
26672,
3672,
11,
29472,
796,
1034,
13,
35312,
7,
6978,
8,
628,
220,
220,
220,
4686,
87,
220,
220,
220,
796,
657,
198,
220,
220,
220,
21231,
796,
1034,
13,
22179,
7,
15908,
3672,
11,
29472,
58,
15,
12962,
198,
220,
220,
220,
7127,
220,
220,
796,
15095,
13,
4743,
672,
10786,
90,
92,
9,
4458,
18982,
7,
40290,
4008,
628,
220,
220,
220,
981,
6407,
25,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
4062,
257,
3748,
21231,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
71,
896,
8,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
10358,
1239,
1645,
611,
3108,
318,
4938,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
18896,
7,
71,
896,
8,
6624,
657,
393,
4686,
87,
18189,
18896,
7,
34345,
8,
532,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
10644,
12331,
10786,
2949,
3748,
21231,
329,
23884,
4458,
18982,
7,
34345,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1892,
3748,
532,
2555,
9052,
278,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
220,
220,
220,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21231,
220,
796,
21231,
1343,
29472,
58,
312,
87,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7127,
220,
220,
220,
796,
685,
71,
329,
289,
287,
7127,
611,
289,
13,
9688,
2032,
342,
7,
40290,
15437,
628,
220,
220,
220,
1441,
21231,
628,
198,
4299,
2219,
14881,
7,
6978,
82,
2599,
198,
220,
220,
220,
37227,
33234,
6945,
262,
25420,
2219,
2779,
8619,
4888,
416,
477,
3696,
198,
220,
220,
220,
287,
7559,
6978,
82,
15506,
13,
628,
220,
220,
220,
7567,
2696,
257,
1058,
41194,
25,
63,
15235,
12331,
63,
611,
262,
13532,
423,
645,
2219,
2779,
13,
770,
481,
198,
220,
220,
220,
1239,
1645,
329,
4112,
13532,
357,
292,
262,
2779,
481,
307,
304,
13,
70,
13,
7559,
26488,
6,
15506,
737,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
21593,
796,
685,
11925,
7,
79,
13,
35312,
7,
404,
13,
325,
79,
4008,
329,
279,
287,
13532,
60,
198,
220,
220,
220,
2779,
220,
220,
796,
3509,
7,
13344,
7,
10378,
9998,
11,
13532,
828,
1994,
28,
46616,
13,
9186,
1136,
353,
7,
15,
4008,
58,
16,
60,
198,
220,
220,
220,
938,
220,
220,
796,
2779,
628,
220,
220,
220,
981,
6407,
25,
628,
220,
220,
220,
220,
220,
220,
220,
2779,
796,
1034,
13,
35312,
7,
8692,
38381,
15,
60,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2779,
6624,
938,
393,
18896,
7,
8692,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
220,
220,
220,
220,
220,
220,
220,
938,
796,
2779,
628,
220,
220,
220,
220,
220,
220,
220,
611,
477,
26933,
79,
13,
9688,
2032,
342,
7,
8692,
8,
329,
279,
287,
13532,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2779,
628,
220,
220,
220,
5298,
10644,
12331,
10786,
2949,
2219,
2779,
11537,
628,
198,
4299,
266,
6649,
6978,
7,
5404,
6978,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
38240,
3964,
3108,
357,
273,
257,
3141,
1627,
4578,
7268,
257,
3964,
3108,
8,
198,
220,
220,
220,
284,
262,
7548,
370,
8634,
3108,
357,
68,
13,
70,
13,
7559,
66,
25,
6852,
14490,
15506,
4613,
7559,
14,
76,
429,
14,
66,
14,
14490,
15506,
737,
4418,
6971,
198,
220,
220,
220,
13532,
287,
262,
1296,
7559,
6852,
86,
6649,
3,
6852,
7,
17080,
305,
8,
6852,
18417,
6852,
986,
15506,
628,
220,
220,
220,
1058,
17143,
1592,
6978,
25,
9455,
1627,
4578,
543,
743,
357,
273,
743,
407,
8,
3994,
257,
3964,
3108,
13,
632,
318,
9672,
284,
307,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2035,
286,
262,
1296,
1279,
28457,
3108,
29,
393,
1377,
27,
853,
29,
28,
27,
28457,
3108,
28401,
5740,
326,
356,
836,
470,
761,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5412,
1377,
853,
1279,
28457,
3108,
29,
393,
532,
64,
1279,
28457,
3108,
29,
1201,
287,
777,
2663,
262,
4578,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
262,
3108,
481,
307,
44267,
355,
4553,
12066,
13,
198,
220,
220,
220,
1058,
7783,
25,
1002,
7559,
5404,
6978,
15506,
7466,
257,
3964,
3108,
11,
262,
11513,
4578,
357,
8201,
262,
1377,
27,
853,
29,
28,
6903,
737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15323,
5860,
7559,
5404,
6978,
15506,
21588,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2872,
796,
302,
13,
15699,
7,
81,
1,
61,
7,
438,
58,
59,
86,
12,
60,
47932,
19427,
13426,
86,
6649,
59,
3,
58,
6852,
11139,
7131,
61,
6852,
61,
11139,
60,
33747,
15885,
8,
3,
1600,
1592,
6978,
8,
198,
220,
220,
220,
611,
2872,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1822,
11,
3108,
796,
2872,
13,
8094,
7,
16,
11,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1822,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1822,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1822,
1343,
3108,
13,
33491,
7203,
6852,
1600,
12813,
4943,
628,
220,
220,
220,
2872,
796,
302,
13,
15699,
7,
81,
1,
61,
7,
438,
58,
59,
86,
12,
60,
47932,
19427,
26933,
64,
12,
89,
32,
12,
89,
60,
2599,
7,
13,
28988,
3,
1600,
1592,
6978,
8,
198,
220,
220,
220,
611,
2872,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1822,
11,
3708,
11,
3108,
796,
2872,
13,
8094,
7,
16,
11,
362,
11,
513,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1822,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1822,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1822,
1343,
12813,
76,
429,
30487,
1343,
3708,
13,
21037,
3419,
1343,
3108,
13,
33491,
7203,
6852,
1600,
12813,
4943,
628,
220,
220,
220,
1441,
1592,
6978,
628,
198,
4299,
1592,
6978,
7,
86,
6649,
6978,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
38240,
257,
370,
8634,
12,
12001,
2393,
6978,
357,
1640,
1672,
7559,
14,
14629,
14,
12001,
14,
69,
6649,
14,
15506,
8,
656,
257,
3108,
326,
460,
307,
973,
422,
198,
220,
220,
220,
3964,
13,
628,
220,
220,
220,
1002,
7559,
944,
13,
69,
6649,
86,
6649,
15506,
318,
7559,
25101,
15506,
11,
2391,
5860,
7559,
86,
6649,
6978,
15506,
555,
41771,
198,
220,
220,
220,
15323,
11,
3544,
7559,
37,
8634,
34720,
15506,
284,
4648,
7234,
262,
370,
8634,
1233,
305,
287,
779,
329,
376,
8634,
13,
198,
220,
220,
220,
770,
4433,
370,
8634,
17,
543,
6971,
262,
7559,
6852,
86,
6649,
3,
59,
15506,
3127,
3108,
13,
198,
220,
220,
220,
266,
6649,
6978,
318,
9672,
284,
307,
281,
4112,
3108,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
407,
3859,
13,
69,
6649,
86,
6649,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
266,
6649,
6978,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2872,
796,
302,
13,
15699,
7,
81,
1,
61,
13426,
86,
6649,
59,
3,
6852,
26933,
61,
6852,
48688,
737,
9,
3,
1600,
3859,
13,
9501,
335,
343,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2872,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1233,
305,
796,
2872,
13,
8094,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1233,
305,
796,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
1233,
305,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
43160,
12331,
7203,
23722,
407,
5911,
370,
8634,
9988,
422,
376,
8634,
34720,
37633,
82,
16725,
4064,
3859,
13,
9501,
335,
343,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
366,
13426,
86,
6649,
3,
6852,
1,
1343,
1233,
305,
1343,
266,
6649,
6978,
13,
33491,
7203,
14,
1600,
366,
6852,
4943,
198
] | 2.53218 | 7,225 |
"""Data I/O: Import and export data to other useable formats."""
import csv
from pathlib import Path
from model import Job
def import_csv(filename, base_dir=Path("data/")):
"""Converts CSV files with the relevant data (see columns below) to
a list of Jobs.
"""
datafile = base_dir / filename
with open(datafile, "r", newline="", encoding="utf-8-sig") as csvfile:
reader = csv.DictReader(csvfile)
return [
Job(
line["part number"],
int(line["quantity"]),
float(line["cycle"]),
int(line["cavities"]),
float(line["due date"]),
line["mold"],
line["material"],
[int(num) for num in line["machines"].split(",")],
float(line["setup"]),
float(line["teardown"])
) for i, line in enumerate(reader, start=2)
]
def export_csv(schedule, fitness, time_elapsed, filename, base_dir=Path("results/")):
"""Exports a generated schedule to CSV in a format where each machine
has its jobs listed with start and end dates in order of operation.
Each machine separated by a blank line.
"""
outfile = base_dir / filename
with open(outfile, "w") as csvfile:
fieldnames = ["part number", "due date", "material", "start", "end"]
writer = csv.DictWriter(csvfile, fieldnames=fieldnames)
writer.writeheader()
for machine in schedule:
writer.writerow({"part number": f"Machine {machine.number}"})
for assignment in machine.queue:
writer.writerow({
"part number": assignment.job.number,
"due date": assignment.job.due_date,
"material": assignment.job.material,
"start": assignment.start,
"end": assignment.end,
})
writer.writerow({})
writer.writerow({})
writer.writerow({
"part number": "Total fitness:",
"due date": fitness
})
writer.writerow({
"part number": "Time elapsed:",
"due date": time_elapsed
}) | [
37811,
6601,
314,
14,
46,
25,
17267,
290,
10784,
1366,
284,
584,
779,
540,
17519,
526,
15931,
198,
11748,
269,
21370,
198,
6738,
3108,
8019,
1330,
10644,
198,
198,
6738,
2746,
1330,
15768,
628,
198,
4299,
1330,
62,
40664,
7,
34345,
11,
2779,
62,
15908,
28,
15235,
7203,
7890,
14,
4943,
2599,
198,
220,
220,
220,
37227,
3103,
24040,
44189,
3696,
351,
262,
5981,
1366,
357,
3826,
15180,
2174,
8,
284,
198,
220,
220,
220,
257,
1351,
286,
19161,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1366,
7753,
796,
2779,
62,
15908,
1220,
29472,
198,
220,
220,
220,
351,
1280,
7,
7890,
7753,
11,
366,
81,
1600,
649,
1370,
2625,
1600,
21004,
2625,
40477,
12,
23,
12,
82,
328,
4943,
355,
269,
21370,
7753,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9173,
796,
269,
21370,
13,
35,
713,
33634,
7,
40664,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15768,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
14692,
3911,
1271,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
493,
7,
1370,
14692,
40972,
414,
8973,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12178,
7,
1370,
14692,
13696,
8973,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
493,
7,
1370,
14692,
66,
615,
871,
8973,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12178,
7,
1370,
14692,
23301,
3128,
8973,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
14692,
76,
727,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
14692,
33665,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
600,
7,
22510,
8,
329,
997,
287,
1627,
14692,
76,
620,
1127,
1,
4083,
35312,
7,
2430,
8,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12178,
7,
1370,
14692,
40406,
8973,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12178,
7,
1370,
14692,
660,
446,
593,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
329,
1312,
11,
1627,
287,
27056,
378,
7,
46862,
11,
923,
28,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
628,
198,
4299,
10784,
62,
40664,
7,
15952,
5950,
11,
13547,
11,
640,
62,
417,
28361,
11,
29472,
11,
2779,
62,
15908,
28,
15235,
7203,
43420,
14,
4943,
2599,
198,
220,
220,
220,
37227,
3109,
3742,
257,
7560,
7269,
284,
44189,
287,
257,
5794,
810,
1123,
4572,
198,
220,
220,
220,
468,
663,
3946,
5610,
351,
923,
290,
886,
9667,
287,
1502,
286,
4905,
13,
198,
220,
220,
220,
5501,
4572,
11266,
416,
257,
9178,
1627,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
503,
7753,
796,
2779,
62,
15908,
1220,
29472,
198,
220,
220,
220,
351,
1280,
7,
448,
7753,
11,
366,
86,
4943,
355,
269,
21370,
7753,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2214,
14933,
796,
14631,
3911,
1271,
1600,
366,
23301,
3128,
1600,
366,
33665,
1600,
366,
9688,
1600,
366,
437,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
6260,
796,
269,
21370,
13,
35,
713,
34379,
7,
40664,
7753,
11,
2214,
14933,
28,
3245,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6260,
13,
13564,
25677,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
329,
4572,
287,
7269,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6260,
13,
16002,
322,
7,
4895,
3911,
1271,
1298,
277,
1,
37573,
1391,
30243,
13,
17618,
92,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
16237,
287,
4572,
13,
36560,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6260,
13,
16002,
322,
15090,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
3911,
1271,
1298,
16237,
13,
21858,
13,
17618,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
23301,
3128,
1298,
16237,
13,
21858,
13,
23301,
62,
4475,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
33665,
1298,
16237,
13,
21858,
13,
33665,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
9688,
1298,
16237,
13,
9688,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
437,
1298,
16237,
13,
437,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32092,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6260,
13,
16002,
322,
15090,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
6260,
13,
16002,
322,
15090,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
6260,
13,
16002,
322,
15090,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
3911,
1271,
1298,
366,
14957,
13547,
25,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
23301,
3128,
1298,
13547,
198,
220,
220,
220,
220,
220,
220,
220,
32092,
198,
220,
220,
220,
220,
220,
220,
220,
6260,
13,
16002,
322,
15090,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
3911,
1271,
1298,
366,
7575,
42118,
25,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
23301,
3128,
1298,
640,
62,
417,
28361,
198,
220,
220,
220,
220,
220,
220,
220,
32092
] | 2.154369 | 1,030 |
from turing import turing_machine_from_file
from turing import tape_from_file
from turing import Tape
main()
| [
6738,
256,
870,
1330,
256,
870,
62,
30243,
62,
6738,
62,
7753,
198,
6738,
256,
870,
1330,
9154,
62,
6738,
62,
7753,
198,
6738,
256,
870,
1330,
40849,
628,
198,
198,
12417,
3419,
198
] | 3.294118 | 34 |
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import unittest
from absl.testing import absltest
from absl.testing import parameterized
import jax
import jax.numpy as jnp
from jax import ad_checkpoint
from jax import core
from jax import lax
from jax import linear_util as lu
from jax.experimental import maps
from jax.experimental import pjit
from jax.config import config
from jax._src import test_util as jtu
import numpy as np
config.parse_flags_with_absl()
effect_p = core.Primitive('effect')
effect_p.multiple_results = True
@effect_p.def_effectful_abstract_eval
if __name__ == '__main__':
absltest.main(testLoader=jtu.JaxTestLoader())
| [
2,
15069,
33160,
3012,
11419,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
3740,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
11748,
555,
715,
395,
198,
198,
6738,
2352,
75,
13,
33407,
1330,
2352,
2528,
395,
198,
6738,
2352,
75,
13,
33407,
1330,
11507,
1143,
198,
11748,
474,
897,
198,
11748,
474,
897,
13,
77,
32152,
355,
474,
37659,
198,
6738,
474,
897,
1330,
512,
62,
9122,
4122,
198,
6738,
474,
897,
1330,
4755,
198,
6738,
474,
897,
1330,
36919,
198,
6738,
474,
897,
1330,
14174,
62,
22602,
355,
300,
84,
198,
6738,
474,
897,
13,
23100,
9134,
1330,
8739,
198,
6738,
474,
897,
13,
23100,
9134,
1330,
279,
45051,
198,
6738,
474,
897,
13,
11250,
1330,
4566,
198,
6738,
474,
897,
13557,
10677,
1330,
1332,
62,
22602,
355,
474,
28047,
198,
11748,
299,
32152,
355,
45941,
198,
198,
11250,
13,
29572,
62,
33152,
62,
4480,
62,
397,
6649,
3419,
198,
198,
10760,
62,
79,
796,
4755,
13,
23828,
1800,
10786,
10760,
11537,
198,
10760,
62,
79,
13,
48101,
62,
43420,
796,
6407,
198,
198,
31,
10760,
62,
79,
13,
4299,
62,
10760,
913,
62,
397,
8709,
62,
18206,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
2352,
2528,
395,
13,
12417,
7,
9288,
17401,
28,
73,
28047,
13,
41,
897,
14402,
17401,
28955,
198
] | 3.381089 | 349 |
#!/usr/bin/python3
#
# Midi routing layer between jack and jamulus
# For Behringer X-Touch Mini MIDI controller
#
# Layer A: control 8 jamulus channels 0-7 (slider controls ALSA master level)
# Layer B: Control 8 jamulus channels 8-15 (slider controls ALSA capture level)
#
# Rotary encoder has 2 states (push to toggle between states)
# 1. fader (led ring display "fan" pattern, init full volume)
# 2. pan (led ring displays "pan" pattern, init center)
# Top button: "Mute"
# Bottom button: "Solo"
#
# X-Touch mini does not send layer change message.
# this script cannot detect a layer change until an event happens on new layer.
# So it is required to push a button or move an encoder after layer change,
# in order to refresh the encoder led ring state.
#
# Converts momentary pushbuttons and encoder push switches (which send midi note events)
# to toggle pushbuttons (by remembering state),
# and sends LED on/off messages back to midi controller to show state.
# Converts the note events from controller buttons into control events for jamulus.
#
# requires package python3-mididings from jambox-project repo,
# also requires package python-alsaaudio
# sudo apt install python3-mididings python3-alsaaudio
from mididings import *
from mididings.event import *
import alsaaudio
import time
import jack
import sys
import re
master = alsaaudio.Mixer('Master')
capture = alsaaudio.Mixer('Capture')
currentLayer = 0
jamulusChannel = 11
jamulusOutPort = 'out_2'
controllerChannel = 11
controllerGlobalChannel = 1
controllerOutPort = 'out_1'
ledRingSingle = 0
ledRingPan = 1
ledRingFan = 2
ledRingSpread = 3
ledRingTrim = 4
#
# configure mididings with 1 input & 2 output ports:
# - in from midi controller
# - out to midi controller, for setting LEDs etc.
# - out to Jamulus, with processed output (i.e. turn momentary switches into toggles)
#
# use buffered jack backend to minimize impact on audio
#
# automatically connect MIDI ports on startup.
# This script is lanuched in backgound before Jamulus is started
# Need to wait a few seconds before connecting to Jamulus
time.sleep(3)
# Jack has multiple mechanisms for sending alsa MIDI ports to Jack MIDI ports.
# All name the jack ports differently, and we want to work with them all.
# Mididings can use a regexp to look for a matching jack MIDI port
#
target_alias = '^.*X-TOUCH.MINI.*' # regexp allowed
client=jack.Client('mididings')
config(
backend='jack',
client_name='mididings',
in_ports = [
('in', target_alias ),
],
out_ports = [
(controllerOutPort, target_alias ),
(jamulusOutPort, 'Jamulus:input midi')
],
start_delay = 1
)
# there are 48 "buttons" on x-touch mini, on 2 layers (A & B)
# 8 x encoder push switches Layer A: 0-7 Layer B: 24-31
# 8 pushbuttons row 1 Layer A: 8-15 Layer B: 32-39
# 8 pushbuttons row 2 Layer A: 16-23 Layer B: 40-47
# x 2 layers
#
# save a toggle state for each one whether we intend to use it or not
# encoders: 0=fader (ledRing=fan) 1=pan (ledRing=pan)
# pushbuttons: 0=off (led off) 1=on (led on)
#
buttonState = [0] * 48
# Encoders will serve as both fader and pan,
# Encoder push switch will toggle state.
# LED setting of encoder will serve as visual feedback of current encoder state.
# For each encoder, save latest value so it can be restored on state change.
#
# There are 3 values for each encoder:
# encoderState (0=fader, 1=pan)
# faderValue
# panValue
encoderState = [0] * 19 # initialize to "fader" state
faderValue = [127] * 19 # initialize to full volume
panValue = [64] * 19 # initialize to pan center
#
# noteTable is a list of tuples, indexed by the note number 0-47
# the tuples contain:
# ( note, layer, jamulusControlNumber, encoderControlNumber )
#
# note: note number that will toggle state
# layer: 0=Layer A, 1=Layer B
# jamulusControlNumber: Control number to send to Jamulus (for mute & solo buttons)
# encoderControlNumber: Control number in xtouch-mini to send restored encoder value
#
noteTable = [
(0, 0, None, 1), # Layer A encoder push switches
(1, 0, None, 2),
(2, 0, None, 3),
(3, 0, None, 4),
(4, 0, None, 5),
(5, 0, None, 6),
(6, 0, None, 7),
(7, 0, None, 8),
(8, 0, 19, None), # Layer A pushbuttons row 1 (mute 1-8)
(9, 0, 20, None),
(10, 0, 21, None),
(11, 0, 22, None),
(12, 0, 23, None),
(13, 0, 24, None),
(14, 0, 25, None),
(15, 0, 26, None),
(16, 0, 35, None), # Layer A pushbuttons row 2 (solo 1-8)
(17, 0, 36, None),
(18, 0, 37, None),
(19, 0, 38, None),
(20, 0, 39, None),
(21, 0, 40, None),
(22, 0, 41, None),
(23, 0, 42, None),
(24, 1, None, 11), # Layer B encoder push switches
(25, 1, None, 12),
(26, 1, None, 13),
(27, 1, None, 14),
(28, 1, None, 15),
(29, 1, None, 16),
(30, 1, None, 17),
(31, 1, None, 18),
(32, 1, 27, None), # Layer B pushbuttons row 1 (mute 9-16)
(33, 1, 28, None),
(34, 1, 29, None),
(35, 1, 30, None),
(36, 1, 31, None),
(37, 1, 32, None),
(38, 1, 33, None),
(39, 1, 34, None),
(40, 1, 43, None), # Layer B pushbuttons row 2 (solo 9-16)
(41, 1, 44, None),
(42, 1, 45, None),
(43, 1, 46, None),
(44, 1, 47, None),
(45, 1, 48, None),
(46, 1, 49, None),
(47, 1, 50, None)
]
# There are 18 controls on x-touch mini
# 8 encoders Layer A: 1-8 Layer B: 11-18
# 1 slider Layer A: 9 Layer B: 10
# x 2 layers
#
# controlTable is a list of tuples, indexed by the control number 0-18
# the tuples contain:
# (encoderControlNumber, layer, ledRing, controlOutFader, controlOutPan )
#
# encoderControlNumber: Control number in xtouch-mini to receive, also to send restored encoder value
# layer: 0=Layer A, 1=Layer B
# ledRing: Control number to send to xtouch-mini to set led Ring behavior (fan for fader, pan for pan)
# controlOutFader: Control number to send to Jamulus for fader when in fader state
# controlOutPan: Control number to send to Jamulus for pan when in pan state
#
controlTable = [
(0, None, None, None, None), # contol number 0 not used
(1, 0, 1, 1, 51), # layer A encoders 1-8
(2, 0, 2, 2, 52),
(3, 0, 3, 3, 53),
(4, 0, 4, 4, 54),
(5, 0, 5, 5, 55),
(6, 0, 6, 6, 56),
(7, 0, 7, 7, 57),
(8, 0, 8, 8, 58),
(9, 0, None, None, None), # Layer A slider
(10, 1, None, None, None), # Layer B slider
(11, 1, 1, 9, 59), # layer B encoders 9-16
(12, 1, 2, 10, 60),
(13, 1, 3, 11, 61),
(14, 1, 4, 12, 62),
(15, 1, 5, 13, 63),
(16, 1, 6, 14, 64),
(17, 1, 7, 15, 65),
(18, 1, 8, 16, 66)
]
#
# Convert the momentary on/off buttons to toggle events when the button press occurs
# Need to use NOTEOFF events, because X-touch mini
# does not allow setting LED while button is down
#
# Process control value changes.
# Update the stored value, and send to jamulus channel based on the encoder state (fader or pan).
# Sliders are used as alsa controls for Master & Capture, not sent to Jamulus
# X-Touch Mini sends events on midi channel 11.
# use jamulus --ctrlmidich string: "11;f1*16;m19*16;s35*16;p51*16"
# send channel 11 controls 1-18 to Jamulus on port 2 to use for faders (layer A, controls 1-8) and pan (layer b, controls 11-18)
#
# send controls 9 & 10 to alsa for Master and Capture levels
#
# for NOTEOFF events from pushbutton, toggle the button state
# and send back to x-touch mini on port1 to set LED state (convert to a NOTEON event to turn on LED)
# Also send to Jamulus on port 2 as a control event to set mute and solo buttons.
# Use controls above 18 to avoid conflict with physical controls
#
xtouchmini_patch16 = [
ChannelFilter(11) >> [
# Process control changes
CtrlFilter(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18) % Process(controlChange),
# Process button presses on NOTEOFF event
(KeyFilter(0,48) & Filter(NOTEOFF)) % Process(noteOff)
]
]
jamulus_midi = SceneGroup('jamulus_midi', [
Scene('xtouchmini', xtouchmini_patch16, [
[
# Scene initialization events go here
# set to standard mode (not Mackie Control)
Ctrl(controllerOutPort, controllerGlobalChannel, 127, 0),
# set to Layer A
Program(controllerOutPort, controllerGlobalChannel, 1),
# initialize controller encoder values and LED ring states
Process(controllerInit,0)
]
])
])
run(
# control=control,
# pre=preScene,
scenes={
1: jamulus_midi
}
)
| [
2,
48443,
14629,
14,
8800,
14,
29412,
18,
198,
2,
198,
2,
7215,
72,
28166,
7679,
1022,
14509,
290,
16853,
23515,
198,
2,
1114,
10407,
1806,
263,
1395,
12,
35211,
12558,
33439,
10444,
198,
2,
198,
2,
34398,
317,
25,
1630,
807,
16853,
23515,
9619,
657,
12,
22,
220,
220,
357,
6649,
1304,
6973,
8355,
4090,
4958,
1241,
8,
198,
2,
34398,
347,
25,
6779,
807,
16853,
23515,
9619,
807,
12,
1314,
220,
357,
6649,
1304,
6973,
8355,
4090,
8006,
1241,
8,
198,
2,
198,
2,
220,
220,
220,
18481,
560,
2207,
12342,
468,
362,
2585,
357,
14689,
284,
19846,
1022,
2585,
8,
198,
2,
220,
220,
220,
220,
220,
220,
352,
13,
277,
5067,
357,
992,
5858,
3359,
366,
24408,
1,
3912,
11,
2315,
1336,
6115,
8,
198,
2,
220,
220,
220,
220,
220,
220,
362,
13,
3425,
220,
220,
357,
992,
5858,
11298,
366,
6839,
1,
3912,
11,
2315,
3641,
8,
220,
198,
2,
220,
220,
220,
5849,
4936,
25,
220,
220,
220,
366,
44,
1133,
1,
198,
2,
220,
220,
220,
24530,
4936,
25,
366,
50,
14057,
1,
198,
2,
198,
2,
1395,
12,
35211,
9927,
857,
407,
3758,
7679,
1487,
3275,
13,
198,
2,
428,
4226,
2314,
4886,
257,
7679,
1487,
1566,
281,
1785,
4325,
319,
649,
7679,
13,
198,
2,
1406,
340,
318,
2672,
284,
4574,
257,
4936,
393,
1445,
281,
2207,
12342,
706,
7679,
1487,
11,
198,
2,
287,
1502,
284,
14976,
262,
2207,
12342,
2957,
5858,
1181,
13,
198,
2,
198,
2,
1482,
24040,
2589,
560,
4574,
4360,
27288,
290,
2207,
12342,
4574,
18225,
357,
4758,
3758,
3095,
72,
3465,
2995,
8,
220,
198,
2,
284,
19846,
4574,
4360,
27288,
357,
1525,
24865,
1181,
828,
198,
2,
290,
12800,
12365,
319,
14,
2364,
6218,
736,
284,
3095,
72,
10444,
284,
905,
1181,
13,
198,
2,
1482,
24040,
262,
3465,
2995,
422,
10444,
12163,
656,
1630,
2995,
329,
16853,
23515,
13,
198,
2,
198,
2,
4433,
5301,
21015,
18,
12,
13602,
312,
654,
422,
16853,
3524,
12,
16302,
29924,
11,
198,
2,
635,
4433,
5301,
21015,
12,
32058,
24051,
198,
2,
220,
220,
21061,
15409,
2721,
21015,
18,
12,
13602,
312,
654,
21015,
18,
12,
32058,
24051,
198,
198,
6738,
3095,
312,
654,
1330,
1635,
198,
6738,
3095,
312,
654,
13,
15596,
1330,
1635,
198,
11748,
435,
11400,
24051,
198,
11748,
640,
198,
11748,
14509,
198,
11748,
25064,
198,
11748,
302,
198,
198,
9866,
796,
435,
11400,
24051,
13,
35608,
263,
10786,
18254,
11537,
198,
27144,
495,
796,
435,
11400,
24051,
13,
35608,
263,
10786,
49630,
11537,
198,
198,
14421,
49925,
796,
657,
198,
198,
39159,
23515,
29239,
796,
1367,
198,
39159,
23515,
7975,
13924,
796,
705,
448,
62,
17,
6,
198,
36500,
29239,
796,
1367,
198,
36500,
22289,
29239,
796,
352,
198,
36500,
7975,
13924,
796,
705,
448,
62,
16,
6,
198,
198,
992,
39687,
28008,
796,
657,
198,
992,
39687,
15730,
796,
352,
198,
992,
39687,
22480,
796,
362,
198,
992,
39687,
44458,
796,
513,
198,
992,
39687,
2898,
320,
796,
604,
198,
198,
2,
198,
2,
17425,
3095,
312,
654,
351,
352,
5128,
1222,
362,
5072,
14090,
25,
198,
2,
220,
220,
532,
287,
422,
3095,
72,
10444,
198,
2,
220,
220,
532,
503,
284,
3095,
72,
10444,
11,
329,
4634,
33697,
3503,
13,
198,
2,
220,
220,
532,
503,
284,
9986,
23515,
11,
351,
13686,
5072,
357,
72,
13,
68,
13,
1210,
2589,
560,
18225,
656,
284,
32723,
8,
198,
2,
220,
198,
2,
779,
6940,
1068,
14509,
30203,
284,
17775,
2928,
319,
6597,
198,
2,
220,
198,
2,
6338,
2018,
33439,
14090,
319,
13693,
13,
198,
198,
2,
770,
4226,
318,
26992,
1229,
704,
287,
736,
70,
633,
878,
9986,
23515,
318,
2067,
198,
2,
10664,
284,
4043,
257,
1178,
4201,
878,
14320,
284,
9986,
23515,
198,
2435,
13,
42832,
7,
18,
8,
198,
198,
2,
3619,
468,
3294,
11701,
329,
7216,
435,
11400,
33439,
14090,
284,
3619,
33439,
14090,
13,
198,
2,
1439,
1438,
262,
14509,
14090,
10338,
11,
290,
356,
765,
284,
670,
351,
606,
477,
13,
198,
2,
7215,
312,
654,
460,
779,
257,
40364,
79,
284,
804,
329,
257,
12336,
14509,
33439,
2493,
198,
2,
198,
16793,
62,
26011,
796,
705,
61,
15885,
55,
12,
51,
2606,
3398,
13,
23678,
40,
15885,
6,
220,
220,
1303,
40364,
79,
3142,
198,
16366,
28,
19650,
13,
11792,
10786,
13602,
312,
654,
11537,
198,
198,
11250,
7,
198,
220,
220,
220,
220,
220,
30203,
11639,
19650,
3256,
198,
220,
220,
220,
220,
220,
5456,
62,
3672,
11639,
13602,
312,
654,
3256,
198,
220,
220,
220,
220,
220,
287,
62,
3742,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19203,
259,
3256,
2496,
62,
26011,
10612,
198,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
503,
62,
3742,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
36500,
7975,
13924,
11,
2496,
62,
26011,
10612,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
39159,
23515,
7975,
13924,
11,
705,
30380,
23515,
25,
15414,
3095,
72,
11537,
198,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
923,
62,
40850,
796,
352,
198,
8,
198,
198,
2,
612,
389,
4764,
366,
4360,
27288,
1,
319,
2124,
12,
29332,
9927,
11,
319,
362,
11685,
357,
32,
1222,
347,
8,
198,
2,
807,
2124,
2207,
12342,
4574,
18225,
220,
220,
34398,
317,
25,
220,
657,
12,
22,
220,
220,
220,
34398,
347,
25,
1987,
12,
3132,
198,
2,
807,
4574,
4360,
27288,
5752,
352,
220,
220,
220,
220,
220,
220,
220,
220,
34398,
317,
25,
220,
807,
12,
1314,
220,
220,
34398,
347,
25,
3933,
12,
2670,
198,
2,
807,
4574,
4360,
27288,
5752,
362,
220,
220,
220,
220,
220,
220,
220,
220,
34398,
317,
25,
220,
1467,
12,
1954,
220,
34398,
347,
25,
2319,
12,
2857,
198,
2,
2124,
362,
11685,
198,
2,
198,
2,
3613,
257,
19846,
1181,
329,
1123,
530,
1771,
356,
14765,
284,
779,
340,
393,
407,
198,
2,
2207,
375,
364,
25,
220,
220,
220,
220,
657,
28,
69,
5067,
357,
992,
39687,
28,
24408,
8,
220,
220,
352,
28,
6839,
357,
992,
39687,
28,
6839,
8,
198,
2,
4574,
4360,
27288,
25,
220,
657,
28,
2364,
220,
220,
357,
992,
572,
8,
220,
220,
220,
220,
220,
220,
352,
28,
261,
220,
357,
992,
319,
8,
198,
2,
198,
16539,
9012,
796,
685,
15,
60,
1635,
4764,
198,
198,
2,
14711,
375,
364,
481,
4691,
355,
1111,
277,
5067,
290,
3425,
11,
220,
198,
2,
14711,
12342,
4574,
5078,
481,
19846,
1181,
13,
198,
2,
12365,
4634,
286,
2207,
12342,
481,
4691,
355,
5874,
7538,
286,
1459,
2207,
12342,
1181,
13,
198,
2,
1114,
1123,
2207,
12342,
11,
3613,
3452,
1988,
523,
340,
460,
307,
15032,
319,
1181,
1487,
13,
198,
2,
198,
2,
1318,
389,
513,
3815,
329,
1123,
2207,
12342,
25,
198,
2,
2207,
12342,
9012,
357,
15,
28,
69,
5067,
11,
352,
28,
6839,
8,
198,
2,
277,
5067,
11395,
198,
2,
3425,
11395,
198,
12685,
12342,
9012,
796,
685,
15,
60,
1635,
678,
220,
220,
1303,
41216,
284,
366,
69,
5067,
1,
1181,
220,
198,
69,
5067,
11395,
796,
685,
16799,
60,
1635,
678,
220,
220,
1303,
41216,
284,
1336,
6115,
220,
220,
198,
6839,
11395,
796,
685,
2414,
60,
1635,
678,
220,
220,
220,
220,
220,
1303,
41216,
284,
3425,
3641,
198,
198,
2,
198,
2,
3465,
10962,
318,
257,
1351,
286,
12777,
2374,
11,
41497,
416,
262,
3465,
1271,
657,
12,
2857,
198,
2,
262,
12777,
2374,
3994,
25,
198,
2,
220,
220,
220,
357,
3465,
11,
7679,
11,
16853,
23515,
15988,
15057,
11,
2207,
12342,
15988,
15057,
1267,
198,
2,
198,
2,
220,
3465,
25,
3465,
1271,
326,
481,
19846,
1181,
198,
2,
220,
7679,
25,
657,
28,
49925,
317,
11,
352,
28,
49925,
347,
198,
2,
220,
16853,
23515,
15988,
15057,
25,
220,
6779,
1271,
284,
3758,
284,
9986,
23515,
357,
1640,
38723,
1222,
12199,
12163,
8,
198,
2,
220,
2207,
12342,
15988,
15057,
25,
220,
6779,
1271,
287,
220,
742,
7673,
12,
45313,
284,
3758,
15032,
2207,
12342,
1988,
198,
2,
198,
11295,
10962,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
357,
15,
11,
657,
11,
6045,
11,
352,
828,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
34398,
317,
2207,
12342,
4574,
18225,
198,
220,
220,
220,
220,
220,
220,
220,
357,
16,
11,
657,
11,
6045,
11,
362,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17,
11,
657,
11,
6045,
11,
513,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
18,
11,
657,
11,
6045,
11,
604,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
19,
11,
657,
11,
6045,
11,
642,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
20,
11,
657,
11,
6045,
11,
718,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
21,
11,
657,
11,
6045,
11,
767,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22,
11,
657,
11,
6045,
11,
807,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
23,
11,
657,
11,
678,
11,
6045,
828,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
34398,
317,
4574,
4360,
27288,
5752,
352,
357,
76,
1133,
352,
12,
23,
8,
220,
198,
220,
220,
220,
220,
220,
220,
220,
357,
24,
11,
657,
11,
1160,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
940,
11,
657,
11,
2310,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1157,
11,
657,
11,
2534,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1065,
11,
657,
11,
2242,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1485,
11,
657,
11,
1987,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1415,
11,
657,
11,
1679,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1314,
11,
657,
11,
2608,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1433,
11,
657,
11,
3439,
11,
6045,
828,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
34398,
317,
4574,
4360,
27288,
5752,
362,
357,
82,
14057,
352,
12,
23,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1558,
11,
657,
11,
4570,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1507,
11,
657,
11,
5214,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1129,
11,
657,
11,
4353,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1238,
11,
657,
11,
5014,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2481,
11,
657,
11,
2319,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1828,
11,
657,
11,
6073,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1954,
11,
657,
11,
5433,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1731,
11,
352,
11,
6045,
11,
1367,
828,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
34398,
347,
2207,
12342,
4574,
18225,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1495,
11,
352,
11,
6045,
11,
1105,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2075,
11,
352,
11,
6045,
11,
1511,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1983,
11,
352,
11,
6045,
11,
1478,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2078,
11,
352,
11,
6045,
11,
1315,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1959,
11,
352,
11,
6045,
11,
1467,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1270,
11,
352,
11,
6045,
11,
1596,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
3132,
11,
352,
11,
6045,
11,
1248,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2624,
11,
352,
11,
2681,
11,
6045,
828,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
34398,
347,
4574,
4360,
27288,
5752,
352,
357,
76,
1133,
860,
12,
1433,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2091,
11,
352,
11,
2579,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2682,
11,
352,
11,
2808,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2327,
11,
352,
11,
1542,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2623,
11,
352,
11,
3261,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2718,
11,
352,
11,
3933,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2548,
11,
352,
11,
4747,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2670,
11,
352,
11,
4974,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1821,
11,
352,
11,
5946,
11,
6045,
828,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
34398,
347,
4574,
4360,
27288,
5752,
362,
357,
82,
14057,
860,
12,
1433,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
3901,
11,
352,
11,
5846,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
3682,
11,
352,
11,
4153,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
3559,
11,
352,
11,
6337,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2598,
11,
352,
11,
6298,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2231,
11,
352,
11,
4764,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
3510,
11,
352,
11,
5125,
11,
6045,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2857,
11,
352,
11,
2026,
11,
6045,
8,
198,
220,
220,
220,
2361,
198,
198,
2,
1318,
389,
1248,
6973,
319,
2124,
12,
29332,
9927,
198,
2,
807,
2207,
375,
364,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
34398,
317,
25,
352,
12,
23,
220,
220,
220,
220,
34398,
347,
25,
1367,
12,
1507,
198,
2,
352,
28982,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
34398,
317,
25,
860,
220,
220,
220,
220,
220,
220,
34398,
347,
25,
838,
198,
2,
2124,
362,
11685,
198,
2,
198,
2,
1630,
10962,
318,
257,
1351,
286,
12777,
2374,
11,
41497,
416,
262,
1630,
1271,
657,
12,
1507,
198,
2,
262,
12777,
2374,
3994,
25,
198,
2,
220,
220,
357,
12685,
12342,
15988,
15057,
11,
7679,
11,
2957,
39687,
11,
1630,
7975,
37,
5067,
11,
1630,
7975,
15730,
1267,
198,
2,
198,
2,
220,
2207,
12342,
15988,
15057,
25,
220,
6779,
1271,
287,
220,
742,
7673,
12,
45313,
284,
3328,
11,
635,
284,
3758,
15032,
2207,
12342,
1988,
198,
2,
220,
7679,
25,
657,
28,
49925,
317,
11,
352,
28,
49925,
347,
198,
2,
220,
2957,
39687,
25,
6779,
1271,
284,
3758,
284,
220,
742,
7673,
12,
45313,
284,
900,
2957,
12569,
4069,
357,
24408,
329,
277,
5067,
11,
3425,
329,
3425,
8,
198,
2,
220,
1630,
7975,
37,
5067,
25,
220,
6779,
1271,
284,
3758,
284,
9986,
23515,
329,
277,
5067,
618,
287,
277,
5067,
1181,
198,
2,
220,
1630,
7975,
15730,
25,
220,
6779,
1271,
284,
3758,
284,
9986,
23515,
329,
3425,
618,
287,
3425,
1181,
198,
2,
198,
13716,
10962,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
357,
15,
11,
6045,
11,
6045,
11,
6045,
11,
6045,
828,
220,
220,
1303,
542,
349,
1271,
657,
407,
973,
198,
220,
220,
220,
220,
220,
220,
220,
357,
16,
11,
657,
11,
352,
11,
352,
11,
6885,
828,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7679,
317,
2207,
375,
364,
352,
12,
23,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17,
11,
657,
11,
362,
11,
362,
11,
6740,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
18,
11,
657,
11,
513,
11,
513,
11,
7192,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
19,
11,
657,
11,
604,
11,
604,
11,
7175,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
20,
11,
657,
11,
642,
11,
642,
11,
5996,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
21,
11,
657,
11,
718,
11,
718,
11,
7265,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22,
11,
657,
11,
767,
11,
767,
11,
7632,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
23,
11,
657,
11,
807,
11,
807,
11,
7618,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
24,
11,
657,
11,
6045,
11,
6045,
11,
6045,
828,
220,
220,
220,
220,
220,
1303,
34398,
317,
28982,
198,
220,
220,
220,
220,
220,
220,
220,
357,
940,
11,
352,
11,
6045,
11,
6045,
11,
6045,
828,
220,
220,
220,
220,
1303,
34398,
347,
28982,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1157,
11,
352,
11,
352,
11,
860,
11,
7863,
828,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7679,
347,
2207,
375,
364,
860,
12,
1433,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1065,
11,
352,
11,
362,
11,
838,
11,
3126,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1485,
11,
352,
11,
513,
11,
1367,
11,
8454,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1415,
11,
352,
11,
604,
11,
1105,
11,
8190,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1314,
11,
352,
11,
642,
11,
1511,
11,
8093,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1433,
11,
352,
11,
718,
11,
1478,
11,
5598,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1558,
11,
352,
11,
767,
11,
1315,
11,
6135,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
1507,
11,
352,
11,
807,
11,
1467,
11,
7930,
8,
198,
220,
220,
220,
2361,
198,
198,
2,
198,
2,
38240,
262,
2589,
560,
319,
14,
2364,
12163,
284,
19846,
2995,
618,
262,
4936,
1803,
8833,
198,
2,
10664,
284,
779,
5626,
4720,
5777,
2995,
11,
780,
1395,
12,
29332,
9927,
220,
198,
2,
857,
407,
1249,
4634,
12365,
981,
4936,
318,
866,
198,
2,
198,
198,
2,
10854,
1630,
1988,
2458,
13,
198,
2,
10133,
262,
8574,
1988,
11,
290,
3758,
284,
16853,
23515,
6518,
1912,
319,
262,
2207,
12342,
1181,
357,
69,
5067,
393,
3425,
737,
198,
2,
3454,
4157,
389,
973,
355,
435,
11400,
6973,
329,
5599,
1222,
31793,
11,
407,
1908,
284,
9986,
23515,
198,
198,
2,
1395,
12,
35211,
12558,
12800,
2995,
319,
3095,
72,
6518,
1367,
13,
198,
2,
779,
16853,
23515,
1377,
44755,
13602,
488,
4731,
25,
220,
366,
1157,
26,
69,
16,
9,
1433,
26,
76,
1129,
9,
1433,
26,
82,
2327,
9,
1433,
26,
79,
4349,
9,
1433,
1,
198,
2,
3758,
6518,
1367,
6973,
352,
12,
1507,
284,
9986,
23515,
319,
2493,
362,
284,
779,
329,
277,
9972,
357,
29289,
317,
11,
6973,
352,
12,
23,
8,
290,
3425,
357,
29289,
275,
11,
6973,
1367,
12,
1507,
8,
198,
2,
198,
2,
3758,
6973,
860,
1222,
838,
284,
435,
11400,
329,
5599,
290,
31793,
2974,
198,
2,
198,
2,
329,
5626,
4720,
5777,
2995,
422,
4574,
16539,
11,
19846,
262,
4936,
1181,
220,
198,
2,
290,
3758,
736,
284,
2124,
12,
29332,
9927,
319,
2493,
16,
284,
900,
12365,
1181,
357,
1102,
1851,
284,
257,
24550,
1340,
1785,
284,
1210,
319,
12365,
8,
198,
2,
4418,
3758,
284,
9986,
23515,
319,
2493,
362,
355,
257,
1630,
1785,
284,
900,
38723,
290,
12199,
12163,
13,
198,
2,
5765,
6973,
2029,
1248,
284,
3368,
5358,
351,
3518,
6973,
198,
2,
198,
742,
7673,
45313,
62,
17147,
1433,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
11102,
22417,
7,
1157,
8,
9609,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10854,
1630,
2458,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19212,
22417,
7,
16,
11,
17,
11,
18,
11,
19,
11,
20,
11,
21,
11,
22,
11,
23,
11,
24,
11,
940,
11,
1157,
11,
1065,
11,
1485,
11,
1415,
11,
1314,
11,
1433,
11,
1558,
11,
1507,
8,
4064,
10854,
7,
13716,
19400,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10854,
4936,
31048,
319,
5626,
4720,
5777,
1785,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
9218,
22417,
7,
15,
11,
2780,
8,
1222,
25853,
7,
11929,
4720,
5777,
4008,
4064,
10854,
7,
11295,
9362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
60,
198,
198,
39159,
23515,
62,
13602,
72,
796,
28315,
13247,
10786,
39159,
23515,
62,
13602,
72,
3256,
685,
198,
220,
220,
220,
28315,
10786,
742,
7673,
45313,
3256,
220,
742,
7673,
45313,
62,
17147,
1433,
11,
685,
198,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
28315,
37588,
2995,
467,
994,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
900,
284,
3210,
4235,
357,
1662,
16640,
494,
6779,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19212,
7,
36500,
7975,
13924,
11,
10444,
22289,
29239,
11,
18112,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
900,
284,
34398,
317,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6118,
7,
36500,
7975,
13924,
11,
10444,
22289,
29239,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
41216,
10444,
2207,
12342,
3815,
290,
12365,
5858,
2585,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10854,
7,
36500,
31768,
11,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
33761,
198,
12962,
198,
198,
5143,
7,
198,
220,
220,
220,
1303,
1630,
28,
13716,
11,
198,
220,
220,
220,
1303,
662,
28,
3866,
36542,
11,
198,
220,
220,
220,
8188,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
352,
25,
16853,
23515,
62,
13602,
72,
198,
220,
220,
220,
1782,
198,
8,
628
] | 2.437634 | 3,720 |
#!/usr/bin/env python
"""
Adapted from bx/scripts/axt_to_fasta.py
"""
from galaxy import eggs
import pkg_resources
pkg_resources.require( "bx-python" )
import sys
import bx.align.axt
# $$$ this should be moved to a bx.align.fasta module
if __name__ == "__main__": main()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
37811,
198,
48003,
276,
422,
275,
87,
14,
46521,
14,
64,
742,
62,
1462,
62,
7217,
64,
13,
9078,
198,
37811,
198,
6738,
16161,
1330,
9653,
198,
11748,
279,
10025,
62,
37540,
198,
35339,
62,
37540,
13,
46115,
7,
366,
65,
87,
12,
29412,
1,
1267,
198,
198,
11748,
25064,
198,
11748,
275,
87,
13,
31494,
13,
64,
742,
628,
198,
198,
2,
720,
13702,
428,
815,
307,
3888,
284,
257,
275,
87,
13,
31494,
13,
7217,
64,
8265,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
1388,
3419,
628
] | 2.699029 | 103 |
import io
import unittest
from contextlib import redirect_stdout
import solution
if __name__ == '__main__':
unittest.main()
| [
11748,
33245,
198,
11748,
555,
715,
395,
198,
6738,
4732,
8019,
1330,
18941,
62,
19282,
448,
198,
198,
11748,
4610,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 3 | 44 |
# Copyright 2014 Cisco Systems, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import collections
import eventlet
import netaddr
import pprint as pp
from operator import itemgetter
from oslo_config import cfg
from oslo_log import log as logging
import oslo_messaging
from oslo_utils import excutils
from oslo_utils import importutils
import six
from neutron.common import exceptions as n_exc
from neutron.common import rpc as n_rpc
from neutron.common import topics
from neutron_lib import exceptions as n_lib_exc
from networking_cisco._i18n import _, _LE, _LI, _LW
from networking_cisco import backwards_compatibility as bc
from networking_cisco.plugins.cisco.cfg_agent import cfg_exceptions
from networking_cisco.plugins.cisco.cfg_agent.device_drivers import driver_mgr
from networking_cisco.plugins.cisco.cfg_agent import device_status
from networking_cisco.plugins.cisco.common import (cisco_constants as
c_constants)
from networking_cisco.plugins.cisco.extensions import ha
from networking_cisco.plugins.cisco.extensions import routerrole
ncc_errors = importutils.try_import('ncclient.transport.errors')
LOG = logging.getLogger(__name__)
N_ROUTER_PREFIX = 'nrouter-'
ROUTER_ROLE_ATTR = routerrole.ROUTER_ROLE_ATTR
# Number of routers to fetch from server at a time on resync.
# Needed to reduce load on server side and to speed up resync on agent side.
SYNC_ROUTERS_MAX_CHUNK_SIZE = 64
SYNC_ROUTERS_MIN_CHUNK_SIZE = 8
class RouterInfo(object):
"""Wrapper class around the (neutron) router dictionary.
Information about the neutron router is exchanged as a python dictionary
between plugin and config agent. RouterInfo is a wrapper around that dict,
with attributes for common parameters. These attributes keep the state
of the current router configuration, and are used for detecting router
state changes when an updated router dict is received.
This is a modified version of the RouterInfo class defined in the
(reference) l3-agent implementation, for use with cisco config agent.
"""
@property
@property
@property
@router.setter
@property
class CiscoRoutingPluginApi(object):
"""RoutingServiceHelper(Agent) side of the routing RPC API."""
def get_routers(self, context, router_ids=None, hd_ids=None):
"""Make a remote process call to retrieve the sync data for routers.
:param context: session context
:param router_ids: list of routers to fetch
:param hd_ids : hosting device ids, only routers assigned to these
hosting devices will be returned.
"""
cctxt = self.client.prepare(version='1.1')
return cctxt.call(context, 'cfg_sync_routers', host=self.host,
router_ids=router_ids, hosting_device_ids=hd_ids)
def get_router_ids(self, context, router_ids=None, hd_ids=None):
"""Make a remote process call to retrieve scheduled routers ids."""
cctxt = self.client.prepare(version='1.3')
return cctxt.call(context, 'get_cfg_router_ids', host=self.host,
router_ids=router_ids, hosting_device_ids=hd_ids)
def get_hardware_router_type_id(self, context):
"""Get the ID for the ASR1k hardware router type."""
cctxt = self.client.prepare()
return cctxt.call(context,
'get_hardware_router_type_id',
host=self.host)
def update_floatingip_statuses(self, context, router_id, fip_statuses):
"""Make a remote process call to update operational status for one or
several floating IPs.
@param context: contains user information
@param router_id: id of router associated with the floatingips
@param fip_statuses: dict with floatingip_id as key and status as value
"""
cctxt = self.client.prepare(version='1.1')
return cctxt.call(context, 'update_floatingip_statuses_cfg',
router_id=router_id, fip_statuses=fip_statuses)
def send_update_port_statuses(self, context, port_ids, status):
"""Call the pluging to update the port status which updates the DB.
:param context: contains user information
:param port_ids: list of ids of the ports associated with the status
:param status: value of the status for the given port list (port_ids)
"""
cctxt = self.client.prepare(version='1.1')
return cctxt.call(context, 'update_port_statuses_cfg',
port_ids=port_ids, status=status)
| [
2,
15069,
1946,
28289,
11998,
11,
3457,
13,
220,
1439,
2489,
10395,
13,
198,
2,
198,
2,
220,
220,
220,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
345,
743,
198,
2,
220,
220,
220,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
921,
743,
7330,
198,
2,
220,
220,
220,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
220,
220,
220,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
220,
220,
220,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
42881,
198,
2,
220,
220,
220,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
4091,
262,
198,
2,
220,
220,
220,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
11247,
198,
2,
220,
220,
220,
739,
262,
13789,
13,
198,
198,
11748,
17268,
198,
11748,
1785,
1616,
198,
11748,
2010,
29851,
198,
11748,
279,
4798,
355,
9788,
198,
198,
6738,
10088,
1330,
2378,
1136,
353,
198,
6738,
28686,
5439,
62,
11250,
1330,
30218,
70,
198,
6738,
28686,
5439,
62,
6404,
1330,
2604,
355,
18931,
198,
11748,
28686,
5439,
62,
37348,
3039,
198,
6738,
28686,
5439,
62,
26791,
1330,
2859,
26791,
198,
6738,
28686,
5439,
62,
26791,
1330,
1330,
26791,
198,
11748,
2237,
198,
198,
6738,
49810,
13,
11321,
1330,
13269,
355,
299,
62,
41194,
198,
6738,
49810,
13,
11321,
1330,
374,
14751,
355,
299,
62,
81,
14751,
198,
6738,
49810,
13,
11321,
1330,
10233,
198,
198,
6738,
49810,
62,
8019,
1330,
13269,
355,
299,
62,
8019,
62,
41194,
198,
198,
6738,
19140,
62,
66,
4861,
13557,
72,
1507,
77,
1330,
4808,
11,
4808,
2538,
11,
4808,
31271,
11,
4808,
43,
54,
198,
6738,
19140,
62,
66,
4861,
1330,
16196,
62,
5589,
25901,
355,
47125,
198,
6738,
19140,
62,
66,
4861,
13,
37390,
13,
66,
4861,
13,
37581,
62,
25781,
1330,
30218,
70,
62,
1069,
11755,
198,
6738,
19140,
62,
66,
4861,
13,
37390,
13,
66,
4861,
13,
37581,
62,
25781,
13,
25202,
62,
36702,
1330,
4639,
62,
76,
2164,
198,
6738,
19140,
62,
66,
4861,
13,
37390,
13,
66,
4861,
13,
37581,
62,
25781,
1330,
3335,
62,
13376,
198,
6738,
19140,
62,
66,
4861,
13,
37390,
13,
66,
4861,
13,
11321,
1330,
357,
66,
4861,
62,
9979,
1187,
355,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
62,
9979,
1187,
8,
198,
6738,
19140,
62,
66,
4861,
13,
37390,
13,
66,
4861,
13,
2302,
5736,
1330,
387,
198,
6738,
19140,
62,
66,
4861,
13,
37390,
13,
66,
4861,
13,
2302,
5736,
1330,
20264,
18090,
198,
198,
77,
535,
62,
48277,
796,
1330,
26791,
13,
28311,
62,
11748,
10786,
77,
535,
75,
1153,
13,
7645,
634,
13,
48277,
11537,
198,
198,
25294,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
198,
45,
62,
49,
2606,
5781,
62,
47,
31688,
10426,
796,
705,
77,
472,
353,
19355,
198,
49,
2606,
5781,
62,
13252,
2538,
62,
1404,
5446,
796,
20264,
18090,
13,
49,
2606,
5781,
62,
13252,
2538,
62,
1404,
5446,
198,
198,
2,
7913,
286,
41144,
284,
21207,
422,
4382,
379,
257,
640,
319,
581,
13361,
13,
198,
2,
10664,
276,
284,
4646,
3440,
319,
4382,
1735,
290,
284,
2866,
510,
581,
13361,
319,
5797,
1735,
13,
198,
23060,
7792,
62,
49,
12425,
4877,
62,
22921,
62,
3398,
4944,
42,
62,
33489,
796,
5598,
198,
23060,
7792,
62,
49,
12425,
4877,
62,
23678,
62,
3398,
4944,
42,
62,
33489,
796,
807,
628,
628,
198,
4871,
48538,
12360,
7,
15252,
2599,
198,
220,
220,
220,
37227,
36918,
2848,
1398,
1088,
262,
357,
710,
315,
1313,
8,
20264,
22155,
13,
628,
220,
220,
220,
6188,
546,
262,
49810,
20264,
318,
22112,
355,
257,
21015,
22155,
198,
220,
220,
220,
1022,
13877,
290,
4566,
5797,
13,
48538,
12360,
318,
257,
29908,
1088,
326,
8633,
11,
198,
220,
220,
220,
351,
12608,
329,
2219,
10007,
13,
2312,
12608,
1394,
262,
1181,
198,
220,
220,
220,
286,
262,
1459,
20264,
8398,
11,
290,
389,
973,
329,
31521,
20264,
198,
220,
220,
220,
1181,
2458,
618,
281,
6153,
20264,
8633,
318,
2722,
13,
628,
220,
220,
220,
770,
318,
257,
9518,
2196,
286,
262,
48538,
12360,
1398,
5447,
287,
262,
198,
220,
220,
220,
357,
35790,
8,
300,
18,
12,
25781,
7822,
11,
329,
779,
351,
269,
4861,
4566,
5797,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
472,
353,
13,
2617,
353,
628,
220,
220,
220,
2488,
26745,
628,
198,
4871,
28289,
49,
13660,
37233,
32,
14415,
7,
15252,
2599,
198,
220,
220,
220,
37227,
49,
13660,
16177,
47429,
7,
36772,
8,
1735,
286,
262,
28166,
39400,
7824,
526,
15931,
628,
220,
220,
220,
825,
651,
62,
472,
1010,
7,
944,
11,
4732,
11,
20264,
62,
2340,
28,
14202,
11,
289,
67,
62,
2340,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
12050,
257,
6569,
1429,
869,
284,
19818,
262,
17510,
1366,
329,
41144,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
4732,
25,
6246,
4732,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
20264,
62,
2340,
25,
1351,
286,
220,
41144,
284,
21207,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
289,
67,
62,
2340,
1058,
13662,
3335,
220,
2340,
11,
691,
41144,
8686,
284,
777,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13662,
4410,
481,
307,
4504,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
269,
310,
742,
796,
2116,
13,
16366,
13,
46012,
533,
7,
9641,
11639,
16,
13,
16,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
269,
310,
742,
13,
13345,
7,
22866,
11,
705,
37581,
62,
27261,
62,
472,
1010,
3256,
2583,
28,
944,
13,
4774,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20264,
62,
2340,
28,
472,
353,
62,
2340,
11,
13662,
62,
25202,
62,
2340,
28,
31298,
62,
2340,
8,
628,
220,
220,
220,
825,
651,
62,
472,
353,
62,
2340,
7,
944,
11,
4732,
11,
20264,
62,
2340,
28,
14202,
11,
289,
67,
62,
2340,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
12050,
257,
6569,
1429,
869,
284,
19818,
7530,
41144,
220,
2340,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
269,
310,
742,
796,
2116,
13,
16366,
13,
46012,
533,
7,
9641,
11639,
16,
13,
18,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
269,
310,
742,
13,
13345,
7,
22866,
11,
705,
1136,
62,
37581,
62,
472,
353,
62,
2340,
3256,
2583,
28,
944,
13,
4774,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20264,
62,
2340,
28,
472,
353,
62,
2340,
11,
13662,
62,
25202,
62,
2340,
28,
31298,
62,
2340,
8,
628,
220,
220,
220,
825,
651,
62,
10424,
1574,
62,
472,
353,
62,
4906,
62,
312,
7,
944,
11,
4732,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
262,
4522,
329,
262,
7054,
49,
16,
74,
6890,
20264,
2099,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
269,
310,
742,
796,
2116,
13,
16366,
13,
46012,
533,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
269,
310,
742,
13,
13345,
7,
22866,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1136,
62,
10424,
1574,
62,
472,
353,
62,
4906,
62,
312,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2583,
28,
944,
13,
4774,
8,
628,
220,
220,
220,
825,
4296,
62,
48679,
803,
541,
62,
14269,
2664,
7,
944,
11,
4732,
11,
20264,
62,
312,
11,
277,
541,
62,
14269,
2664,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
12050,
257,
6569,
1429,
869,
284,
4296,
13919,
3722,
329,
530,
393,
198,
220,
220,
220,
220,
220,
220,
220,
1811,
12462,
6101,
82,
13,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
17143,
4732,
25,
4909,
2836,
1321,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
17143,
20264,
62,
312,
25,
4686,
286,
20264,
3917,
351,
262,
12462,
2419,
198,
220,
220,
220,
220,
220,
220,
220,
2488,
17143,
277,
541,
62,
14269,
2664,
25,
8633,
351,
12462,
541,
62,
312,
355,
1994,
290,
3722,
355,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
269,
310,
742,
796,
2116,
13,
16366,
13,
46012,
533,
7,
9641,
11639,
16,
13,
16,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
269,
310,
742,
13,
13345,
7,
22866,
11,
705,
19119,
62,
48679,
803,
541,
62,
14269,
2664,
62,
37581,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20264,
62,
312,
28,
472,
353,
62,
312,
11,
277,
541,
62,
14269,
2664,
28,
69,
541,
62,
14269,
2664,
8,
628,
220,
220,
220,
825,
3758,
62,
19119,
62,
634,
62,
14269,
2664,
7,
944,
11,
4732,
11,
2493,
62,
2340,
11,
3722,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14134,
262,
6107,
278,
284,
4296,
262,
2493,
3722,
543,
5992,
262,
20137,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
4732,
25,
4909,
2836,
1321,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2493,
62,
2340,
25,
1351,
286,
220,
2340,
286,
262,
14090,
3917,
351,
262,
3722,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
3722,
25,
1988,
286,
262,
3722,
329,
262,
1813,
2493,
1351,
357,
634,
62,
2340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
269,
310,
742,
796,
2116,
13,
16366,
13,
46012,
533,
7,
9641,
11639,
16,
13,
16,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
269,
310,
742,
13,
13345,
7,
22866,
11,
705,
19119,
62,
634,
62,
14269,
2664,
62,
37581,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2493,
62,
2340,
28,
634,
62,
2340,
11,
3722,
28,
13376,
8,
628
] | 2.755721 | 1,879 |
"""
Define the Channel model
"""
from . import db
from .abc import BaseModel, MetaBaseModel
from binascii import hexlify
import os
KEY_LENGTH = 64
class Client(db.Model, BaseModel, metaclass=MetaBaseModel):
""" The Channel model """
__tablename__ = 'client'
slug = db.Column(db.String(300), primary_key=True)
title = db.Column(db.String(300), nullable=True)
client_id = db.Column(db.String(300), nullable=False)
client_secret = db.Column(db.String(300), nullable=False)
def __init__(self, slug, title, client_id=None, client_secret=None):
""" Create a new Client """
self.slug = slug
self.title = title
self.client_id = client_id
self.client_secret = client_secret
if not client_id:
self.client_id = self.randomHex()
if not client_secret:
self.client_secret = self.randomHex()
@staticmethod
| [
37811,
198,
7469,
500,
262,
11102,
2746,
198,
37811,
198,
6738,
764,
1330,
20613,
198,
6738,
764,
39305,
1330,
7308,
17633,
11,
30277,
14881,
17633,
198,
6738,
9874,
292,
979,
72,
1330,
17910,
75,
1958,
198,
11748,
28686,
198,
198,
20373,
62,
43,
49494,
796,
5598,
628,
198,
4871,
20985,
7,
9945,
13,
17633,
11,
7308,
17633,
11,
1138,
330,
31172,
28,
48526,
14881,
17633,
2599,
198,
220,
220,
220,
37227,
383,
11102,
2746,
37227,
198,
220,
220,
220,
11593,
8658,
11925,
480,
834,
796,
705,
16366,
6,
628,
220,
220,
220,
31065,
796,
20613,
13,
39470,
7,
9945,
13,
10100,
7,
6200,
828,
4165,
62,
2539,
28,
17821,
8,
198,
220,
220,
220,
3670,
796,
20613,
13,
39470,
7,
9945,
13,
10100,
7,
6200,
828,
9242,
540,
28,
17821,
8,
198,
220,
220,
220,
5456,
62,
312,
796,
20613,
13,
39470,
7,
9945,
13,
10100,
7,
6200,
828,
9242,
540,
28,
25101,
8,
198,
220,
220,
220,
5456,
62,
21078,
796,
20613,
13,
39470,
7,
9945,
13,
10100,
7,
6200,
828,
9242,
540,
28,
25101,
8,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
31065,
11,
3670,
11,
5456,
62,
312,
28,
14202,
11,
5456,
62,
21078,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13610,
257,
649,
20985,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6649,
1018,
796,
31065,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7839,
796,
3670,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16366,
62,
312,
796,
5456,
62,
312,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16366,
62,
21078,
796,
5456,
62,
21078,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
5456,
62,
312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16366,
62,
312,
796,
2116,
13,
25120,
39,
1069,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
5456,
62,
21078,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16366,
62,
21078,
796,
2116,
13,
25120,
39,
1069,
3419,
628,
220,
220,
220,
2488,
12708,
24396,
198
] | 2.504132 | 363 |
from collections import namedtuple
from typing import List
from unittest import TestCase
from electrum import Transaction
from electrum.three_keys.multikey_generator import MultiKeyScriptGenerator
from electrum.three_keys.transaction import ThreeKeysTransaction, TxType
TX = '0200000001eaa85f4446a8d48b345592b7bc540678ef1e0f4a80b4893e9bedbf9aae636d9400000000280000255121023765a77db702ab87d5cf6431d81a4734d9a636eb95446ffe01fa06ac190ce56c51aefdffffff02008c86470000000017a9142664929e5ed5356477dad1404f51bb507e89f9aa87b0398ecb0300000017a914a2703755a1b5e5aa06e742f3db127628d6ed40cd876c030000'
| [
6738,
17268,
1330,
3706,
83,
29291,
198,
6738,
19720,
1330,
7343,
198,
6738,
555,
715,
395,
1330,
6208,
20448,
198,
198,
6738,
1742,
6582,
1330,
45389,
198,
6738,
1742,
6582,
13,
15542,
62,
13083,
13,
16680,
522,
88,
62,
8612,
1352,
1330,
15237,
9218,
7391,
8645,
1352,
198,
6738,
1742,
6582,
13,
15542,
62,
13083,
13,
7645,
2673,
1330,
7683,
40729,
48720,
11,
309,
87,
6030,
198,
198,
29551,
796,
705,
44613,
2388,
486,
68,
7252,
5332,
69,
2598,
3510,
64,
23,
67,
2780,
65,
27712,
45839,
65,
22,
15630,
35005,
30924,
891,
16,
68,
15,
69,
19,
64,
1795,
65,
2780,
6052,
68,
24,
3077,
19881,
24,
64,
3609,
21,
2623,
67,
5824,
8269,
2078,
2388,
13381,
1065,
940,
24693,
2996,
64,
3324,
9945,
36680,
397,
5774,
67,
20,
12993,
2414,
3132,
67,
6659,
64,
2857,
2682,
67,
24,
64,
21,
2623,
1765,
3865,
27260,
16658,
486,
13331,
3312,
330,
19782,
344,
3980,
66,
4349,
64,
891,
67,
12927,
487,
15,
11528,
66,
23,
33981,
8269,
1558,
64,
24,
1415,
2075,
33300,
1959,
68,
20,
276,
44465,
2414,
3324,
47984,
1415,
3023,
69,
4349,
11848,
35378,
68,
4531,
69,
24,
7252,
5774,
65,
15,
31952,
721,
65,
3070,
10535,
1558,
64,
24,
1415,
64,
1983,
3070,
38172,
64,
16,
65,
20,
68,
20,
7252,
3312,
68,
22,
3682,
69,
18,
9945,
1065,
4304,
2078,
67,
21,
276,
1821,
10210,
23,
4304,
66,
3070,
2388,
6,
628,
628
] | 2.491597 | 238 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from math import ceil
import os
import yaml
CONFIG_DIR = os.path.abspath(os.path.join(__file__, '..', 'shipping_configs'))
# ups ground
UPS_GROUND_ZIP_TO_ZONE = yaml.load(open(os.path.join(CONFIG_DIR, 'ups_ground_zip_to_zone.yaml'), 'r'))
UPS_GROUND_ZONE_WEIGHT_PRICE = yaml.load(open(os.path.join(CONFIG_DIR, 'ups_ground_zone_weight_price.yaml'), 'r'))
UPS_GROUND_ZONE_44 = [str(line.rstrip()) for line in open(os.path.join(CONFIG_DIR, 'zone44.txt'))]
UPS_GROUND_ZONE_46 = [str(line.rstrip()) for line in open(os.path.join(CONFIG_DIR, 'zone46.txt'))]
# ups mail innovations
UPS_MI_RATES_OZ = yaml.load(open(os.path.join(CONFIG_DIR, 'ups_mi_rates_oz.yaml')))
UPS_MI_RATES_LBS = yaml.load(open(os.path.join(CONFIG_DIR, 'ups_mi_rates_lbs.yaml')))
def get_cheapest_option(zipcode, weight):
"""
gets the cheapest price for a box
"""
# weights come in ounces - if it's less than a pound - send it via mail innovations
if weight <= 16:
for tier in sorted(UPS_MI_RATES_OZ):
if ceil(weight) <= tier:
return 'UPS Mail Innovations', UPS_MI_RATES_OZ[tier]
# over a pound? that gets tricky. convert to pounds
weight = ceil(float(weight) / 16)
# check if the zipcode is in the 44/46 lists (hawaii or alaska)
zipcode = str(zipcode)
if zipcode in UPS_GROUND_ZONE_44:
zone = '044'
elif zipcode in UPS_GROUND_ZONE_46:
zone = '046'
else: # it's in the lower 48
zipcode = str(zipcode)[:3] # ups only uses the first three digits
zone = UPS_GROUND_ZIP_TO_ZONE[zipcode]
# check weights
options = [] # ups mail innovations
for tier in sorted(UPS_MI_RATES_LBS):
if weight <= tier:
options.append(('UPS Mail Innovations', UPS_MI_RATES_LBS[tier]))
break
# ups ground
for tier in sorted(UPS_GROUND_ZONE_WEIGHT_PRICE[zone]):
if weight <= tier:
options.append(('UPS Ground', UPS_GROUND_ZONE_WEIGHT_PRICE[zone][tier]))
break
# get cheapest option
return min(options, key=lambda x: x[1])
def get_irregular_price(zipcode, weight):
"""
does much of the same as `get_cheapest_option`, but skips all MI
"""
weight = ceil(float(weight) / 16)
zipcode = str(zipcode)
if zipcode in UPS_GROUND_ZONE_44:
zone = '044'
elif zipcode in UPS_GROUND_ZONE_46:
zone = '046'
else: # it's in the lower 48
zipcode = str(zipcode)[:3] # ups only uses the first three digits
zone = UPS_GROUND_ZIP_TO_ZONE[zipcode]
for tier in sorted(UPS_GROUND_ZONE_WEIGHT_PRICE[zone]):
if weight <= tier:
return UPS_GROUND_ZONE_WEIGHT_PRICE[zone][tier]
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
6738,
10688,
1330,
2906,
346,
198,
11748,
28686,
198,
198,
11748,
331,
43695,
628,
198,
10943,
16254,
62,
34720,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
418,
13,
6978,
13,
22179,
7,
834,
7753,
834,
11,
705,
492,
3256,
705,
1477,
4501,
62,
11250,
82,
6,
4008,
198,
198,
2,
19649,
2323,
198,
52,
3705,
62,
46025,
62,
57,
4061,
62,
10468,
62,
57,
11651,
796,
331,
43695,
13,
2220,
7,
9654,
7,
418,
13,
6978,
13,
22179,
7,
10943,
16254,
62,
34720,
11,
705,
4739,
62,
2833,
62,
13344,
62,
1462,
62,
11340,
13,
88,
43695,
33809,
705,
81,
6,
4008,
198,
52,
3705,
62,
46025,
62,
57,
11651,
62,
8845,
9947,
62,
4805,
8476,
796,
331,
43695,
13,
2220,
7,
9654,
7,
418,
13,
6978,
13,
22179,
7,
10943,
16254,
62,
34720,
11,
705,
4739,
62,
2833,
62,
11340,
62,
6551,
62,
20888,
13,
88,
43695,
33809,
705,
81,
6,
4008,
198,
52,
3705,
62,
46025,
62,
57,
11651,
62,
2598,
796,
685,
2536,
7,
1370,
13,
81,
36311,
28955,
329,
1627,
287,
1280,
7,
418,
13,
6978,
13,
22179,
7,
10943,
16254,
62,
34720,
11,
705,
11340,
2598,
13,
14116,
6,
4008,
60,
198,
52,
3705,
62,
46025,
62,
57,
11651,
62,
3510,
796,
685,
2536,
7,
1370,
13,
81,
36311,
28955,
329,
1627,
287,
1280,
7,
418,
13,
6978,
13,
22179,
7,
10943,
16254,
62,
34720,
11,
705,
11340,
3510,
13,
14116,
6,
4008,
60,
198,
198,
2,
19649,
6920,
25438,
198,
52,
3705,
62,
8895,
62,
49,
29462,
62,
46,
57,
796,
331,
43695,
13,
2220,
7,
9654,
7,
418,
13,
6978,
13,
22179,
7,
10943,
16254,
62,
34720,
11,
705,
4739,
62,
11632,
62,
9700,
62,
8590,
13,
88,
43695,
6,
22305,
198,
52,
3705,
62,
8895,
62,
49,
29462,
62,
43,
4462,
796,
331,
43695,
13,
2220,
7,
9654,
7,
418,
13,
6978,
13,
22179,
7,
10943,
16254,
62,
34720,
11,
705,
4739,
62,
11632,
62,
9700,
62,
32133,
13,
88,
43695,
6,
22305,
628,
198,
4299,
651,
62,
2395,
35746,
62,
18076,
7,
13344,
8189,
11,
3463,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3011,
262,
28918,
2756,
329,
257,
3091,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
19590,
1282,
287,
24405,
532,
611,
340,
338,
1342,
621,
257,
14896,
532,
3758,
340,
2884,
6920,
25438,
198,
220,
220,
220,
611,
3463,
19841,
1467,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
14249,
287,
23243,
7,
52,
3705,
62,
8895,
62,
49,
29462,
62,
46,
57,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2906,
346,
7,
6551,
8,
19841,
14249,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
705,
52,
3705,
11099,
43405,
602,
3256,
33513,
62,
8895,
62,
49,
29462,
62,
46,
57,
58,
24948,
60,
628,
220,
220,
220,
1303,
625,
257,
14896,
30,
326,
3011,
17198,
13,
10385,
284,
8059,
198,
220,
220,
220,
3463,
796,
2906,
346,
7,
22468,
7,
6551,
8,
1220,
1467,
8,
628,
220,
220,
220,
1303,
2198,
611,
262,
19974,
8189,
318,
287,
262,
5846,
14,
3510,
8341,
357,
26615,
42648,
393,
435,
8480,
8,
198,
220,
220,
220,
19974,
8189,
796,
965,
7,
13344,
8189,
8,
198,
220,
220,
220,
611,
19974,
8189,
287,
33513,
62,
46025,
62,
57,
11651,
62,
2598,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6516,
796,
705,
43977,
6,
198,
220,
220,
220,
1288,
361,
19974,
8189,
287,
33513,
62,
46025,
62,
57,
11651,
62,
3510,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6516,
796,
705,
45438,
6,
198,
220,
220,
220,
2073,
25,
220,
1303,
340,
338,
287,
262,
2793,
4764,
198,
220,
220,
220,
220,
220,
220,
220,
19974,
8189,
796,
965,
7,
13344,
8189,
38381,
25,
18,
60,
220,
1303,
19649,
691,
3544,
262,
717,
1115,
19561,
198,
220,
220,
220,
220,
220,
220,
220,
6516,
796,
33513,
62,
46025,
62,
57,
4061,
62,
10468,
62,
57,
11651,
58,
13344,
8189,
60,
628,
220,
220,
220,
1303,
2198,
19590,
198,
220,
220,
220,
3689,
796,
17635,
220,
220,
220,
1303,
19649,
6920,
25438,
198,
220,
220,
220,
329,
14249,
287,
23243,
7,
52,
3705,
62,
8895,
62,
49,
29462,
62,
43,
4462,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3463,
19841,
14249,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3689,
13,
33295,
7,
10786,
52,
3705,
11099,
43405,
602,
3256,
33513,
62,
8895,
62,
49,
29462,
62,
43,
4462,
58,
24948,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
1303,
19649,
2323,
198,
220,
220,
220,
329,
14249,
287,
23243,
7,
52,
3705,
62,
46025,
62,
57,
11651,
62,
8845,
9947,
62,
4805,
8476,
58,
11340,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3463,
19841,
14249,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3689,
13,
33295,
7,
10786,
52,
3705,
13706,
3256,
33513,
62,
46025,
62,
57,
11651,
62,
8845,
9947,
62,
4805,
8476,
58,
11340,
7131,
24948,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
220,
220,
220,
1303,
651,
28918,
3038,
198,
220,
220,
220,
1441,
949,
7,
25811,
11,
1994,
28,
50033,
2124,
25,
2124,
58,
16,
12962,
628,
198,
4299,
651,
62,
343,
16338,
62,
20888,
7,
13344,
8189,
11,
3463,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
857,
881,
286,
262,
976,
355,
4600,
1136,
62,
2395,
35746,
62,
18076,
47671,
475,
1341,
2419,
477,
15789,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3463,
796,
2906,
346,
7,
22468,
7,
6551,
8,
1220,
1467,
8,
198,
220,
220,
220,
19974,
8189,
796,
965,
7,
13344,
8189,
8,
198,
220,
220,
220,
611,
19974,
8189,
287,
33513,
62,
46025,
62,
57,
11651,
62,
2598,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6516,
796,
705,
43977,
6,
198,
220,
220,
220,
1288,
361,
19974,
8189,
287,
33513,
62,
46025,
62,
57,
11651,
62,
3510,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6516,
796,
705,
45438,
6,
198,
220,
220,
220,
2073,
25,
220,
1303,
340,
338,
287,
262,
2793,
4764,
198,
220,
220,
220,
220,
220,
220,
220,
19974,
8189,
796,
965,
7,
13344,
8189,
38381,
25,
18,
60,
220,
1303,
19649,
691,
3544,
262,
717,
1115,
19561,
198,
220,
220,
220,
220,
220,
220,
220,
6516,
796,
33513,
62,
46025,
62,
57,
4061,
62,
10468,
62,
57,
11651,
58,
13344,
8189,
60,
198,
220,
220,
220,
329,
14249,
287,
23243,
7,
52,
3705,
62,
46025,
62,
57,
11651,
62,
8845,
9947,
62,
4805,
8476,
58,
11340,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3463,
19841,
14249,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33513,
62,
46025,
62,
57,
11651,
62,
8845,
9947,
62,
4805,
8476,
58,
11340,
7131,
24948,
60,
198
] | 2.281796 | 1,203 |
import re
import random
import discord
import lavalink
from discord.ext import commands
import asyncio
import fileRead
url_rx = re.compile(r'https?://(?:www\.)?.+')
"""
Robert A. USF Computer Science
A cog to hold all of the functions used to play music for the bot.
""" | [
11748,
302,
198,
11748,
4738,
198,
11748,
36446,
198,
11748,
300,
9226,
676,
198,
6738,
36446,
13,
2302,
1330,
9729,
198,
11748,
30351,
952,
198,
11748,
2393,
5569,
198,
6371,
62,
40914,
796,
302,
13,
5589,
576,
7,
81,
6,
5450,
30,
1378,
7,
27514,
2503,
59,
2014,
30,
13,
10,
11537,
198,
37811,
198,
19156,
317,
13,
1294,
37,
13851,
5800,
198,
32,
43072,
284,
1745,
477,
286,
262,
5499,
973,
284,
711,
2647,
329,
262,
10214,
13,
198,
37811
] | 3.333333 | 81 |
# %%
import datetime
import pandas
import altair
from plot_shared import plot_points_average_and_trend
# %%
df = pandas.read_csv('https://api.coronavirus.data.gov.uk/v2/data?areaType=nation&metric=cumPeopleVaccinatedFirstDoseByPublishDate&metric=cumPeopleVaccinatedSecondDoseByPublishDate&format=csv')
df.rename(columns={
'cumPeopleVaccinatedFirstDoseByPublishDate': 'First',
'cumPeopleVaccinatedSecondDoseByPublishDate': 'Second',
'areaName': 'Nation',
'date': 'Publication Date'
}, inplace=True)
df = df.drop(columns=['areaCode','areaType']).melt(id_vars=['Publication Date','Nation'], var_name='Dose', value_name='People')
# %%
ni = pandas.read_csv('../sam/doses.csv')
ni['Dose'] = ni['Dose'].str.replace('Dose 1', 'First')
ni['Dose'] = ni['Dose'].str.replace('Dose 2', 'Second')
ni['Dose'] = ni['Dose'].str.replace('Dose 3', 'Third')
# %%
history = df[df['Nation']=='Northern Ireland'][['Publication Date','Dose','People']]
ni.rename(columns={'Date':'Publication Date','Total':'People'}, inplace=True)
all = history.merge(ni, on=['Publication Date','Dose'], how='outer', suffixes=('','_bot'))
all['People'] = all['People'].fillna(all['People_bot'])
all = all[['Publication Date','Dose','People']]
# %%
boosters = all[all['Dose']=='Booster'][['Publication Date','People']]
boosters['Publication Date'] = pandas.to_datetime(boosters['Publication Date'])
dose2s = all[all['Dose']=='Second'][['Publication Date','People']]
dose2s['Publication Date'] = pandas.to_datetime(dose2s['Publication Date'])
dose2s['Booster Target Date 6M'] = pandas.to_datetime(dose2s['Publication Date']) + pandas.to_timedelta(183, unit='d')
dose2s['Booster Target Date 7M'] = pandas.to_datetime(dose2s['Publication Date']) + pandas.to_timedelta(183+31, unit='d')
dose2s['Booster Target Date 8M'] = pandas.to_datetime(dose2s['Publication Date']) + pandas.to_timedelta(183+62, unit='d')
boosters = boosters.merge(dose2s[['Booster Target Date 6M','People']], left_on='Publication Date', right_on='Booster Target Date 6M', how='left', suffixes=('', '_target'))
boosters = boosters[['Publication Date','People','People_target']]
boosters.rename(columns={'People':'Booster doses', 'People_target': 'Second doses 6 months earlier'}, inplace=True)
boosters = boosters.merge(dose2s[['Booster Target Date 7M','People']], left_on='Publication Date', right_on='Booster Target Date 7M', how='left', suffixes=('', '_target'))
boosters = boosters[['Publication Date','Booster doses','Second doses 6 months earlier','People']]
boosters.rename(columns={'People': 'Second doses 7 months earlier'}, inplace=True)
boosters = boosters.merge(dose2s[['Booster Target Date 8M','People']], left_on='Publication Date', right_on='Booster Target Date 8M', how='left', suffixes=('', '_target'))
boosters = boosters[['Publication Date','Booster doses','Second doses 6 months earlier','Second doses 7 months earlier','People']]
boosters.rename(columns={'People': 'Second doses 8 months earlier'}, inplace=True)
boosters = boosters.melt(id_vars='Publication Date', var_name='Metric', value_name='Doses')
# %%
plot_points_average_and_trend(
[
{
'points': None,
'line': all.set_index(['Publication Date','Dose'])['People'],
'colour': 'Dose',
'date_col': 'Publication Date',
'x_title': 'Publication Date',
'y_title': 'Total doses',
'scales': ['linear'],
'height': 450,
'width': 800,
},
],
'NI COVID-19 vaccination progress up to %s' %(
datetime.datetime.today().strftime('%A %-d %B %Y'),
),
[
'Dose 1/2 data from PHE dashboard/API, Dose 3/Booster collected from NI dashboard',
'https://twitter.com/ni_covid19_data'
]
)
# %%
p = plot_points_average_and_trend(
[
{
'points': None,
'line': boosters.set_index(['Publication Date','Metric'])['Doses'],
'colour': 'Metric',
'date_col': 'Publication Date',
'x_title': 'Date',
'y_title': 'Total doses',
'scales': ['linear'],
'height': 450,
'width': 800,
# 'colour_domain': ['Booster doses','Second doses 6 months earlier','Second doses 7 months earlier','Second doses 8 months earlier'],
# 'colour_range': ['#ff0000','#2b7e9e','#52b4cf','#7eedff'],
},
],
'NI COVID-19 booster vaccination progress vs second dose up to %s' %(
datetime.datetime.today().strftime('%A %-d %B %Y'),
),
[
'Dose 2 data from PHE dashboard/API, Booster data collected from NI dashboard',
'https://twitter.com/ni_covid19_data'
]
)
p.save('ni-boosters-%s.png'%(datetime.datetime.now().date().strftime('%Y-%m-%d')))
p
# %%
| [
2,
43313,
198,
11748,
4818,
8079,
198,
198,
11748,
19798,
292,
198,
11748,
5988,
958,
198,
6738,
7110,
62,
28710,
1330,
7110,
62,
13033,
62,
23913,
62,
392,
62,
83,
10920,
198,
198,
2,
43313,
198,
7568,
796,
19798,
292,
13,
961,
62,
40664,
10786,
5450,
1378,
15042,
13,
10215,
261,
615,
19397,
13,
7890,
13,
9567,
13,
2724,
14,
85,
17,
14,
7890,
30,
20337,
6030,
28,
25729,
5,
4164,
1173,
28,
36340,
8061,
53,
4134,
3898,
5962,
35,
577,
3886,
14876,
1836,
10430,
5,
4164,
1173,
28,
36340,
8061,
53,
4134,
3898,
12211,
35,
577,
3886,
14876,
1836,
10430,
5,
18982,
28,
40664,
11537,
198,
7568,
13,
918,
480,
7,
28665,
82,
34758,
198,
220,
220,
220,
705,
36340,
8061,
53,
4134,
3898,
5962,
35,
577,
3886,
14876,
1836,
10430,
10354,
705,
5962,
3256,
198,
220,
220,
220,
705,
36340,
8061,
53,
4134,
3898,
12211,
35,
577,
3886,
14876,
1836,
10430,
10354,
705,
12211,
3256,
198,
220,
220,
220,
705,
20337,
5376,
10354,
705,
46108,
3256,
198,
220,
220,
220,
705,
4475,
10354,
705,
15202,
341,
7536,
6,
198,
5512,
287,
5372,
28,
17821,
8,
198,
7568,
796,
47764,
13,
14781,
7,
28665,
82,
28,
17816,
20337,
10669,
41707,
20337,
6030,
20520,
737,
76,
2120,
7,
312,
62,
85,
945,
28,
17816,
15202,
341,
7536,
41707,
46108,
6,
4357,
1401,
62,
3672,
11639,
35,
577,
3256,
1988,
62,
3672,
11639,
8061,
11537,
198,
198,
2,
43313,
198,
8461,
796,
19798,
292,
13,
961,
62,
40664,
10786,
40720,
37687,
14,
67,
4629,
13,
40664,
11537,
198,
8461,
17816,
35,
577,
20520,
796,
37628,
17816,
35,
577,
6,
4083,
2536,
13,
33491,
10786,
35,
577,
352,
3256,
705,
5962,
11537,
198,
8461,
17816,
35,
577,
20520,
796,
37628,
17816,
35,
577,
6,
4083,
2536,
13,
33491,
10786,
35,
577,
362,
3256,
705,
12211,
11537,
198,
8461,
17816,
35,
577,
20520,
796,
37628,
17816,
35,
577,
6,
4083,
2536,
13,
33491,
10786,
35,
577,
513,
3256,
705,
22747,
11537,
198,
198,
2,
43313,
198,
23569,
796,
47764,
58,
7568,
17816,
46108,
20520,
855,
6,
40495,
7517,
6,
7131,
17816,
15202,
341,
7536,
41707,
35,
577,
41707,
8061,
6,
11907,
198,
8461,
13,
918,
480,
7,
28665,
82,
34758,
6,
10430,
10354,
6,
15202,
341,
7536,
41707,
14957,
10354,
6,
8061,
6,
5512,
287,
5372,
28,
17821,
8,
198,
439,
796,
2106,
13,
647,
469,
7,
8461,
11,
319,
28,
17816,
15202,
341,
7536,
41707,
35,
577,
6,
4357,
703,
11639,
39605,
3256,
35488,
274,
28,
10786,
41707,
62,
13645,
6,
4008,
198,
439,
17816,
8061,
20520,
796,
477,
17816,
8061,
6,
4083,
20797,
2616,
7,
439,
17816,
8061,
62,
13645,
6,
12962,
198,
439,
796,
477,
58,
17816,
15202,
341,
7536,
41707,
35,
577,
41707,
8061,
6,
11907,
198,
198,
2,
43313,
198,
39521,
364,
796,
477,
58,
439,
17816,
35,
577,
20520,
855,
6,
16635,
6197,
6,
7131,
17816,
15202,
341,
7536,
41707,
8061,
6,
11907,
198,
39521,
364,
17816,
15202,
341,
7536,
20520,
796,
19798,
292,
13,
1462,
62,
19608,
8079,
7,
39521,
364,
17816,
15202,
341,
7536,
6,
12962,
198,
34436,
17,
82,
796,
477,
58,
439,
17816,
35,
577,
20520,
855,
6,
12211,
6,
7131,
17816,
15202,
341,
7536,
41707,
8061,
6,
11907,
198,
34436,
17,
82,
17816,
15202,
341,
7536,
20520,
796,
19798,
292,
13,
1462,
62,
19608,
8079,
7,
34436,
17,
82,
17816,
15202,
341,
7536,
6,
12962,
198,
34436,
17,
82,
17816,
16635,
6197,
12744,
7536,
718,
44,
20520,
796,
19798,
292,
13,
1462,
62,
19608,
8079,
7,
34436,
17,
82,
17816,
15202,
341,
7536,
6,
12962,
1343,
19798,
292,
13,
1462,
62,
16514,
276,
12514,
7,
24839,
11,
4326,
11639,
67,
11537,
198,
34436,
17,
82,
17816,
16635,
6197,
12744,
7536,
767,
44,
20520,
796,
19798,
292,
13,
1462,
62,
19608,
8079,
7,
34436,
17,
82,
17816,
15202,
341,
7536,
6,
12962,
1343,
19798,
292,
13,
1462,
62,
16514,
276,
12514,
7,
24839,
10,
3132,
11,
4326,
11639,
67,
11537,
198,
34436,
17,
82,
17816,
16635,
6197,
12744,
7536,
807,
44,
20520,
796,
19798,
292,
13,
1462,
62,
19608,
8079,
7,
34436,
17,
82,
17816,
15202,
341,
7536,
6,
12962,
1343,
19798,
292,
13,
1462,
62,
16514,
276,
12514,
7,
24839,
10,
5237,
11,
4326,
11639,
67,
11537,
198,
39521,
364,
796,
47949,
13,
647,
469,
7,
34436,
17,
82,
58,
17816,
16635,
6197,
12744,
7536,
718,
44,
41707,
8061,
20520,
4357,
1364,
62,
261,
11639,
15202,
341,
7536,
3256,
826,
62,
261,
11639,
16635,
6197,
12744,
7536,
718,
44,
3256,
703,
11639,
9464,
3256,
35488,
274,
28,
10786,
3256,
705,
62,
16793,
6,
4008,
198,
39521,
364,
796,
47949,
58,
17816,
15202,
341,
7536,
41707,
8061,
41707,
8061,
62,
16793,
6,
11907,
198,
39521,
364,
13,
918,
480,
7,
28665,
82,
34758,
6,
8061,
10354,
6,
16635,
6197,
16376,
3256,
705,
8061,
62,
16793,
10354,
705,
12211,
16376,
718,
1933,
2961,
6,
5512,
287,
5372,
28,
17821,
8,
198,
39521,
364,
796,
47949,
13,
647,
469,
7,
34436,
17,
82,
58,
17816,
16635,
6197,
12744,
7536,
767,
44,
41707,
8061,
20520,
4357,
1364,
62,
261,
11639,
15202,
341,
7536,
3256,
826,
62,
261,
11639,
16635,
6197,
12744,
7536,
767,
44,
3256,
703,
11639,
9464,
3256,
35488,
274,
28,
10786,
3256,
705,
62,
16793,
6,
4008,
198,
39521,
364,
796,
47949,
58,
17816,
15202,
341,
7536,
41707,
16635,
6197,
16376,
41707,
12211,
16376,
718,
1933,
2961,
41707,
8061,
6,
11907,
198,
39521,
364,
13,
918,
480,
7,
28665,
82,
34758,
6,
8061,
10354,
705,
12211,
16376,
767,
1933,
2961,
6,
5512,
287,
5372,
28,
17821,
8,
198,
39521,
364,
796,
47949,
13,
647,
469,
7,
34436,
17,
82,
58,
17816,
16635,
6197,
12744,
7536,
807,
44,
41707,
8061,
20520,
4357,
1364,
62,
261,
11639,
15202,
341,
7536,
3256,
826,
62,
261,
11639,
16635,
6197,
12744,
7536,
807,
44,
3256,
703,
11639,
9464,
3256,
35488,
274,
28,
10786,
3256,
705,
62,
16793,
6,
4008,
198,
39521,
364,
796,
47949,
58,
17816,
15202,
341,
7536,
41707,
16635,
6197,
16376,
41707,
12211,
16376,
718,
1933,
2961,
41707,
12211,
16376,
767,
1933,
2961,
41707,
8061,
6,
11907,
198,
39521,
364,
13,
918,
480,
7,
28665,
82,
34758,
6,
8061,
10354,
705,
12211,
16376,
807,
1933,
2961,
6,
5512,
287,
5372,
28,
17821,
8,
198,
39521,
364,
796,
47949,
13,
76,
2120,
7,
312,
62,
85,
945,
11639,
15202,
341,
7536,
3256,
1401,
62,
3672,
11639,
9171,
1173,
3256,
1988,
62,
3672,
11639,
35,
4629,
11537,
198,
198,
2,
43313,
198,
29487,
62,
13033,
62,
23913,
62,
392,
62,
83,
10920,
7,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13033,
10354,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1370,
10354,
477,
13,
2617,
62,
9630,
7,
17816,
15202,
341,
7536,
41707,
35,
577,
6,
12962,
17816,
8061,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
49903,
10354,
705,
35,
577,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4475,
62,
4033,
10354,
705,
15202,
341,
7536,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
87,
62,
7839,
10354,
705,
15202,
341,
7536,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
88,
62,
7839,
10354,
705,
14957,
16376,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1416,
2040,
10354,
37250,
29127,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
17015,
10354,
18523,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10394,
10354,
10460,
11,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
705,
22125,
7375,
11008,
12,
1129,
22827,
4371,
510,
284,
4064,
82,
6,
4064,
7,
198,
220,
220,
220,
220,
220,
220,
220,
4818,
8079,
13,
19608,
8079,
13,
40838,
22446,
2536,
31387,
10786,
4,
32,
4064,
12,
67,
4064,
33,
4064,
56,
33809,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
705,
35,
577,
352,
14,
17,
1366,
422,
9370,
36,
30415,
14,
17614,
11,
360,
577,
513,
14,
16635,
6197,
7723,
422,
24947,
30415,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5450,
1378,
6956,
13,
785,
14,
8461,
62,
66,
709,
312,
1129,
62,
7890,
6,
198,
220,
220,
220,
2361,
198,
8,
198,
198,
2,
43313,
198,
79,
796,
7110,
62,
13033,
62,
23913,
62,
392,
62,
83,
10920,
7,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13033,
10354,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1370,
10354,
47949,
13,
2617,
62,
9630,
7,
17816,
15202,
341,
7536,
41707,
9171,
1173,
6,
12962,
17816,
35,
4629,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
49903,
10354,
705,
9171,
1173,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4475,
62,
4033,
10354,
705,
15202,
341,
7536,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
87,
62,
7839,
10354,
705,
10430,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
88,
62,
7839,
10354,
705,
14957,
16376,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1416,
2040,
10354,
37250,
29127,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
17015,
10354,
18523,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10394,
10354,
10460,
11,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
49903,
62,
27830,
10354,
37250,
16635,
6197,
16376,
41707,
12211,
16376,
718,
1933,
2961,
41707,
12211,
16376,
767,
1933,
2961,
41707,
12211,
16376,
807,
1933,
2961,
6,
4357,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
49903,
62,
9521,
10354,
37250,
2,
487,
2388,
41707,
2,
17,
65,
22,
68,
24,
68,
41707,
2,
4309,
65,
19,
12993,
41707,
2,
22,
2308,
487,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
705,
22125,
7375,
11008,
12,
1129,
30430,
22827,
4371,
3691,
1218,
10742,
510,
284,
4064,
82,
6,
4064,
7,
198,
220,
220,
220,
220,
220,
220,
220,
4818,
8079,
13,
19608,
8079,
13,
40838,
22446,
2536,
31387,
10786,
4,
32,
4064,
12,
67,
4064,
33,
4064,
56,
33809,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
705,
35,
577,
362,
1366,
422,
9370,
36,
30415,
14,
17614,
11,
35203,
1366,
7723,
422,
24947,
30415,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5450,
1378,
6956,
13,
785,
14,
8461,
62,
66,
709,
312,
1129,
62,
7890,
6,
198,
220,
220,
220,
2361,
198,
8,
198,
79,
13,
21928,
10786,
8461,
12,
39521,
364,
12,
4,
82,
13,
11134,
6,
4,
7,
19608,
8079,
13,
19608,
8079,
13,
2197,
22446,
4475,
22446,
2536,
31387,
10786,
4,
56,
12,
4,
76,
12,
4,
67,
6,
22305,
198,
79,
198,
2,
43313,
198
] | 2.497904 | 1,908 |
import sys
import copy
import numpy as np
import pandas as pd
from sklearn.svm import SVR
import matplotlib.pyplot as plt
from matplotlib.finance import candlestick
from matplotlib.dates import date2num, WeekdayLocator, DateFormatter, MONDAY, MonthLocator
from stock.utils.symbol_util import *
from stock.globalvar import *
from stock.marketdata import *
from stock.filter.utils import *
symbols = get_stock_symbols('all')
marketdata = backtestdata.BackTestData("160105")
x = []
y = []
history = marketdata.get_archived_history_in_file("sh000001")
history.reverse()
dates = map(lambda x: x.date, history)
highs = map(lambda x: x.high, history)
lows = map(lambda x: x.low, history)
opens = map(lambda x: x.open, history)
closes = map(lambda x: x.close, history)
volumes = map(lambda x: x.volume, history)
df = pd.DataFrame({"high": highs,
"low": lows,
"open": opens,
"close": closes,
"volume": volumes}, index=dates)
df['last_close'] = df.close.shift(1)
df['next_open'] = df.open.shift(-1)
df['gapup'] = pd.Series(df.open / df.close.shift(1) - 1)
df.index = pd.to_datetime(df.index, format='%y%m%d')
df['chg'] = df['open'].pct_change().shift(-1)
#df['chg'] = df['close'] / df['open'] - 1
df['ma20'] = pd.rolling_mean(df.close, 20).shift(1)
result_df = df['2015-01-01': '2015-12-30']
result_df = result_df[result_df.ma20 > result_df.ma20.shift(1)]
gap_df = result_df[result_df.gapup > 0.002]
print gap_df
pl = (gap_df.chg + 1).cumprod()
j = np.argmax(np.maximum.accumulate(pl) - pl)
i = np.argmax(pl[:j])
max_drawdown = pl[i] - pl[j]
print len(pl), max_drawdown, pl[-1]
fig = plt.figure()
dates = gap_df.index
ax2 = fig.add_subplot(1,1,1)
ax2.xaxis.set_major_formatter(DateFormatter("%Y%m%d"))
ax2.xaxis_date()
plt.setp(plt.gca().get_xticklabels(), rotation=90, horizontalalignment='right')
ax2.plot(dates, pl)
plt.show()
#''' tuning code
x = []
y = []
z = []
d = []
for gap in np.linspace(-0.02, 0.02, 1000):
gap_df = result_df[result_df.gapup > gap]
if len(gap_df.values) < 1:
continue
pl = (gap_df.chg + 1).cumprod()
j = np.argmax(np.maximum.accumulate(pl) - pl)
i = np.argmax(pl[:j])
max_drawdown = pl[i] - pl[j]
x.append(gap)
y.append(pl[-1])
z.append(max_drawdown)
d.append(gap_df.chg.std())
fig, axes = plt.subplots(3, 1)
axes[0].plot(x, y)
axes[1].plot(x, z)
axes[2].plot(x, d)
plt.show()
#'''
| [
11748,
25064,
198,
11748,
4866,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
1341,
35720,
13,
82,
14761,
1330,
311,
13024,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
6738,
2603,
29487,
8019,
13,
69,
14149,
1330,
2658,
32712,
624,
198,
6738,
2603,
29487,
8019,
13,
19581,
1330,
3128,
17,
22510,
11,
6119,
820,
33711,
1352,
11,
7536,
8479,
1436,
11,
337,
18672,
4792,
11,
16061,
33711,
1352,
198,
6738,
4283,
13,
26791,
13,
1837,
23650,
62,
22602,
1330,
1635,
198,
6738,
4283,
13,
20541,
7785,
1330,
1635,
198,
6738,
4283,
13,
10728,
7890,
1330,
1635,
198,
6738,
4283,
13,
24455,
13,
26791,
1330,
1635,
628,
198,
1837,
2022,
10220,
796,
651,
62,
13578,
62,
1837,
2022,
10220,
10786,
439,
11537,
198,
10728,
7890,
796,
736,
9288,
7890,
13,
7282,
14402,
6601,
7203,
1433,
486,
2713,
4943,
198,
87,
796,
17635,
198,
88,
796,
17635,
198,
23569,
796,
1910,
7890,
13,
1136,
62,
998,
1572,
62,
23569,
62,
259,
62,
7753,
7203,
1477,
2388,
486,
4943,
198,
23569,
13,
50188,
3419,
198,
19581,
796,
3975,
7,
50033,
2124,
25,
2124,
13,
4475,
11,
2106,
8,
198,
8929,
82,
796,
3975,
7,
50033,
2124,
25,
2124,
13,
8929,
11,
2106,
8,
198,
75,
1666,
796,
3975,
7,
50033,
2124,
25,
2124,
13,
9319,
11,
2106,
8,
198,
44813,
796,
3975,
7,
50033,
2124,
25,
2124,
13,
9654,
11,
2106,
8,
198,
565,
4629,
796,
3975,
7,
50033,
2124,
25,
2124,
13,
19836,
11,
2106,
8,
198,
10396,
8139,
796,
3975,
7,
50033,
2124,
25,
2124,
13,
29048,
11,
2106,
8,
198,
7568,
796,
279,
67,
13,
6601,
19778,
7,
4895,
8929,
1298,
28227,
11,
198,
220,
220,
220,
366,
9319,
1298,
34119,
11,
198,
220,
220,
220,
366,
9654,
1298,
9808,
11,
198,
220,
220,
220,
366,
19836,
1298,
20612,
11,
198,
220,
220,
220,
366,
29048,
1298,
15343,
5512,
6376,
28,
19581,
8,
198,
7568,
17816,
12957,
62,
19836,
20520,
796,
47764,
13,
19836,
13,
30846,
7,
16,
8,
198,
7568,
17816,
19545,
62,
9654,
20520,
796,
47764,
13,
9654,
13,
30846,
32590,
16,
8,
198,
7568,
17816,
43554,
929,
20520,
796,
279,
67,
13,
27996,
7,
7568,
13,
9654,
1220,
47764,
13,
19836,
13,
30846,
7,
16,
8,
532,
352,
8,
198,
7568,
13,
9630,
796,
279,
67,
13,
1462,
62,
19608,
8079,
7,
7568,
13,
9630,
11,
5794,
11639,
4,
88,
4,
76,
4,
67,
11537,
198,
7568,
17816,
354,
70,
20520,
796,
47764,
17816,
9654,
6,
4083,
79,
310,
62,
3803,
22446,
30846,
32590,
16,
8,
198,
2,
7568,
17816,
354,
70,
20520,
796,
47764,
17816,
19836,
20520,
1220,
47764,
17816,
9654,
20520,
532,
352,
198,
7568,
17816,
2611,
1238,
20520,
796,
279,
67,
13,
18886,
62,
32604,
7,
7568,
13,
19836,
11,
1160,
737,
30846,
7,
16,
8,
198,
20274,
62,
7568,
796,
47764,
17816,
4626,
12,
486,
12,
486,
10354,
705,
4626,
12,
1065,
12,
1270,
20520,
198,
198,
20274,
62,
7568,
796,
1255,
62,
7568,
58,
20274,
62,
7568,
13,
2611,
1238,
1875,
1255,
62,
7568,
13,
2611,
1238,
13,
30846,
7,
16,
15437,
198,
43554,
62,
7568,
796,
1255,
62,
7568,
58,
20274,
62,
7568,
13,
43554,
929,
1875,
657,
13,
21601,
60,
198,
4798,
7625,
62,
7568,
198,
489,
796,
357,
43554,
62,
7568,
13,
354,
70,
1343,
352,
737,
66,
931,
14892,
3419,
198,
73,
796,
45941,
13,
853,
9806,
7,
37659,
13,
47033,
13,
4134,
388,
5039,
7,
489,
8,
532,
458,
8,
198,
72,
796,
45941,
13,
853,
9806,
7,
489,
58,
25,
73,
12962,
198,
9806,
62,
19334,
2902,
796,
458,
58,
72,
60,
532,
458,
58,
73,
60,
198,
4798,
18896,
7,
489,
828,
3509,
62,
19334,
2902,
11,
458,
58,
12,
16,
60,
198,
5647,
796,
458,
83,
13,
26875,
3419,
198,
19581,
796,
7625,
62,
7568,
13,
9630,
198,
897,
17,
796,
2336,
13,
2860,
62,
7266,
29487,
7,
16,
11,
16,
11,
16,
8,
198,
897,
17,
13,
87,
22704,
13,
2617,
62,
22478,
62,
687,
1436,
7,
10430,
8479,
1436,
7203,
4,
56,
4,
76,
4,
67,
48774,
198,
897,
17,
13,
87,
22704,
62,
4475,
3419,
198,
489,
83,
13,
2617,
79,
7,
489,
83,
13,
70,
6888,
22446,
1136,
62,
742,
624,
23912,
1424,
22784,
13179,
28,
3829,
11,
16021,
282,
16747,
11639,
3506,
11537,
198,
897,
17,
13,
29487,
7,
19581,
11,
458,
8,
198,
489,
83,
13,
12860,
3419,
198,
198,
2,
7061,
6,
24549,
2438,
198,
87,
796,
17635,
198,
88,
796,
17635,
198,
89,
796,
17635,
198,
67,
796,
17635,
198,
1640,
7625,
287,
45941,
13,
21602,
10223,
32590,
15,
13,
2999,
11,
657,
13,
2999,
11,
8576,
2599,
198,
220,
220,
220,
7625,
62,
7568,
796,
1255,
62,
7568,
58,
20274,
62,
7568,
13,
43554,
929,
1875,
7625,
60,
198,
220,
220,
220,
611,
18896,
7,
43554,
62,
7568,
13,
27160,
8,
1279,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
458,
796,
357,
43554,
62,
7568,
13,
354,
70,
1343,
352,
737,
66,
931,
14892,
3419,
198,
220,
220,
220,
474,
796,
45941,
13,
853,
9806,
7,
37659,
13,
47033,
13,
4134,
388,
5039,
7,
489,
8,
532,
458,
8,
198,
220,
220,
220,
1312,
796,
45941,
13,
853,
9806,
7,
489,
58,
25,
73,
12962,
198,
220,
220,
220,
3509,
62,
19334,
2902,
796,
458,
58,
72,
60,
532,
458,
58,
73,
60,
198,
220,
220,
220,
2124,
13,
33295,
7,
43554,
8,
198,
220,
220,
220,
331,
13,
33295,
7,
489,
58,
12,
16,
12962,
198,
220,
220,
220,
1976,
13,
33295,
7,
9806,
62,
19334,
2902,
8,
198,
220,
220,
220,
288,
13,
33295,
7,
43554,
62,
7568,
13,
354,
70,
13,
19282,
28955,
198,
198,
5647,
11,
34197,
796,
458,
83,
13,
7266,
489,
1747,
7,
18,
11,
352,
8,
198,
897,
274,
58,
15,
4083,
29487,
7,
87,
11,
331,
8,
198,
897,
274,
58,
16,
4083,
29487,
7,
87,
11,
1976,
8,
198,
897,
274,
58,
17,
4083,
29487,
7,
87,
11,
288,
8,
198,
489,
83,
13,
12860,
3419,
198,
2,
7061,
6,
198
] | 2.313477 | 1,024 |
import matplotlib.pyplot as plt
plt.plot(range(10))
plt.show() | [
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
489,
83,
13,
29487,
7,
9521,
7,
940,
4008,
198,
489,
83,
13,
12860,
3419
] | 2.384615 | 26 |
"""Functional tests for ``accretion_cli._stepfunctions``."""
import json
import pytest
from accretion_cli._templates.services.stepfunctions import _artifact_builder_workflow, _replication_listener_workflow
from .functional_test_utils import load_vector
pytestmark = [pytest.mark.local, pytest.mark.functional]
| [
37811,
22203,
282,
5254,
329,
7559,
4134,
12307,
62,
44506,
13557,
9662,
12543,
2733,
15506,
526,
15931,
198,
11748,
33918,
198,
198,
11748,
12972,
9288,
198,
198,
6738,
697,
12307,
62,
44506,
13557,
11498,
17041,
13,
30416,
13,
9662,
12543,
2733,
1330,
4808,
433,
29660,
62,
38272,
62,
1818,
11125,
11,
4808,
35666,
3299,
62,
4868,
877,
62,
1818,
11125,
198,
198,
6738,
764,
45124,
62,
9288,
62,
26791,
1330,
3440,
62,
31364,
198,
198,
9078,
9288,
4102,
796,
685,
9078,
9288,
13,
4102,
13,
12001,
11,
12972,
9288,
13,
4102,
13,
45124,
60,
628,
628
] | 3.302083 | 96 |
import pytest
from src.tweet_sentiment import (
EmoScores,
PronounCounts,
SentimentAnalysis,
summarize_sentiment,
_get_emotion_scores,
_get_pronoun_counts,
_get_sentiment
)
sample_text = "It was the best of times, it was the worst of times, " \
"it was the age of wisdom, it was the age of foolishness, " \
"it was the epoch of belief, it was the epoch of incredulity, " \
"it was the season of Life, it was the season of Darkness, " \
"it was the spring of hope, it was the winter of despair, " \
"we had everything before us, we had nothing before us, " \
"we were all going direct to Heaven, we were all going direct the other way --" \
"in short, the period was so far the like present period, that some of its noisiest authorities " \
"insisted on its being received, for good or for evil, in the superlative degree of comparison only. " \
"I'd always say, you'll only live once. Let's go, y'all!" # Added for testing; Dickens did not say this!
| [
11748,
12972,
9288,
198,
198,
6738,
12351,
13,
83,
7277,
62,
34086,
3681,
1330,
357,
198,
220,
220,
220,
2295,
78,
3351,
2850,
11,
198,
220,
220,
220,
350,
1313,
977,
12332,
82,
11,
198,
220,
220,
220,
11352,
3681,
32750,
11,
198,
220,
220,
220,
35743,
62,
34086,
3681,
11,
198,
220,
220,
220,
4808,
1136,
62,
368,
9650,
62,
1416,
2850,
11,
198,
220,
220,
220,
4808,
1136,
62,
31186,
977,
62,
9127,
82,
11,
198,
220,
220,
220,
4808,
1136,
62,
34086,
3681,
198,
8,
628,
198,
39873,
62,
5239,
796,
366,
1026,
373,
262,
1266,
286,
1661,
11,
340,
373,
262,
5290,
286,
1661,
11,
366,
3467,
198,
220,
220,
220,
366,
270,
373,
262,
2479,
286,
11501,
11,
340,
373,
262,
2479,
286,
19538,
1108,
11,
366,
3467,
198,
220,
220,
220,
366,
270,
373,
262,
36835,
286,
4901,
11,
340,
373,
262,
36835,
286,
4878,
377,
414,
11,
366,
3467,
198,
220,
220,
220,
366,
270,
373,
262,
1622,
286,
5155,
11,
340,
373,
262,
1622,
286,
16306,
11,
366,
3467,
198,
220,
220,
220,
366,
270,
373,
262,
6076,
286,
2911,
11,
340,
373,
262,
7374,
286,
20234,
11,
366,
3467,
198,
220,
220,
220,
366,
732,
550,
2279,
878,
514,
11,
356,
550,
2147,
878,
514,
11,
366,
3467,
198,
220,
220,
220,
366,
732,
547,
477,
1016,
1277,
284,
11225,
11,
356,
547,
477,
1016,
1277,
262,
584,
835,
1377,
1,
3467,
198,
220,
220,
220,
366,
259,
1790,
11,
262,
2278,
373,
523,
1290,
262,
588,
1944,
2278,
11,
326,
617,
286,
663,
645,
271,
6386,
4773,
366,
3467,
198,
220,
220,
220,
366,
1040,
6347,
319,
663,
852,
2722,
11,
329,
922,
393,
329,
6181,
11,
287,
262,
2208,
75,
876,
4922,
286,
7208,
691,
13,
366,
3467,
198,
220,
220,
220,
366,
40,
1549,
1464,
910,
11,
345,
1183,
691,
2107,
1752,
13,
3914,
338,
467,
11,
331,
6,
439,
2474,
1303,
10687,
329,
4856,
26,
46167,
750,
407,
910,
428,
0,
628,
628,
628,
628,
628,
628
] | 3.023529 | 340 |
# --------------
import pandas as pd
import scipy.stats as stats
import math
import numpy as np
import warnings
warnings.filterwarnings('ignore')
#Sample_Size
sample_size=2000
#Z_Critical Score
z_critical = stats.norm.ppf(q = 0.95)
# path [File location variable]
data=pd.read_csv(path)
#Code starts here
data_sample=data.sample(n=sample_size,random_state=0)
sample_mean=data_sample['installment'].mean()
sample_std=data_sample['installment'].std()
margin_of_error= z_critical * (sample_std/math.sqrt(sample_size))
confidence_interval =(sample_mean - margin_of_error,
sample_mean + margin_of_error)
true_mean=data['installment'].mean()
print("True mean :{}".format(true_mean))
# --------------
import matplotlib.pyplot as plt
import numpy as np
#Different sample sizes to take
sample_size=np.array([20,50,100])
#Code starts here
fig ,axes = plt.subplots(nrows = 3 , ncols = 1)
for i in range(len(sample_size)):
m = []
for j in range(1000):
data['installment'].sample(n=sample_size[i])
m.append(data['installment'].mean())
mean_series = pd.Series(m)
axes[i].hist(mean_series)
# --------------
#Importing header files
from statsmodels.stats.weightstats import ztest
#Code starts here
data['int.rate'] = data['int.rate'].str.replace('%','')
data['int.rate'] = data['int.rate'].astype(float)/100
x1 = data[data['purpose']=='small_business']['int.rate']
z_statistic,p_value= ztest(x1,value=data['int.rate'].mean(),alternative='larger')
if p_value < 0.05: # alpha value is 0.05 or 5%
print(" we are rejecting null hypothesis")
else:
print("we are failed to reject null hypothesis")
# --------------
#Importing header files
from statsmodels.stats.weightstats import ztest
#Code starts here
x1=data[data['paid.back.loan']=='No']['installment']
x2=data[data['paid.back.loan']=='Yes']['installment']
z_statistic,p_value=ztest(x1,x2)
if p_value < 0.05:
print('we are rejecting null ')
else:
print('we are failed to reject null hypothesis')
# --------------
#Importing header files
from scipy.stats import chi2_contingency
#Critical value
critical_value = stats.chi2.ppf(q = 0.95, # Find the critical value for 95% confidence*
df = 6) # Df = number of variable categories(in purpose) - 1
#Code starts here
yes = data[data['paid.back.loan']=='Yes']['purpose'].value_counts()
no = data[data['paid.back.loan']=='No']['purpose'].value_counts()
observed = pd.concat([yes.transpose(),no.transpose()], 1,keys=['Yes','No'])
chi2, p, dof, ex = chi2_contingency(observed, correction=False)
print("Critical value")
print(critical_value)
print("Chi Statistic")
print(chi2)
# --------------
print(chi2)
| [
2,
220,
26171,
198,
11748,
19798,
292,
355,
279,
67,
201,
198,
11748,
629,
541,
88,
13,
34242,
355,
9756,
201,
198,
11748,
10688,
201,
198,
11748,
299,
32152,
355,
45941,
201,
198,
11748,
14601,
201,
198,
201,
198,
40539,
654,
13,
24455,
40539,
654,
10786,
46430,
11537,
201,
198,
2,
36674,
62,
10699,
201,
198,
39873,
62,
7857,
28,
11024,
201,
198,
201,
198,
2,
57,
62,
41000,
15178,
201,
198,
89,
62,
34666,
796,
9756,
13,
27237,
13,
381,
69,
7,
80,
796,
657,
13,
3865,
8,
220,
220,
201,
198,
201,
198,
201,
198,
2,
3108,
220,
220,
220,
220,
220,
220,
220,
685,
8979,
4067,
7885,
60,
201,
198,
7890,
28,
30094,
13,
961,
62,
40664,
7,
6978,
8,
201,
198,
2,
10669,
4940,
994,
201,
198,
7890,
62,
39873,
28,
7890,
13,
39873,
7,
77,
28,
39873,
62,
7857,
11,
25120,
62,
5219,
28,
15,
8,
201,
198,
39873,
62,
32604,
28,
7890,
62,
39873,
17816,
17350,
434,
6,
4083,
32604,
3419,
201,
198,
39873,
62,
19282,
28,
7890,
62,
39873,
17816,
17350,
434,
6,
4083,
19282,
3419,
201,
198,
36153,
62,
1659,
62,
18224,
28,
1976,
62,
34666,
1635,
357,
39873,
62,
19282,
14,
11018,
13,
31166,
17034,
7,
39873,
62,
7857,
4008,
201,
198,
39745,
62,
3849,
2100,
796,
7,
39873,
62,
32604,
532,
10330,
62,
1659,
62,
18224,
11,
201,
198,
39873,
62,
32604,
1343,
10330,
62,
1659,
62,
18224,
8,
201,
198,
7942,
62,
32604,
28,
7890,
17816,
17350,
434,
6,
4083,
32604,
3419,
201,
198,
4798,
7203,
17821,
1612,
1058,
90,
92,
1911,
18982,
7,
7942,
62,
32604,
4008,
201,
628,
198,
198,
2,
220,
26171,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
201,
198,
11748,
299,
32152,
355,
45941,
201,
198,
201,
198,
2,
40341,
6291,
10620,
284,
1011,
201,
198,
39873,
62,
7857,
28,
37659,
13,
18747,
26933,
1238,
11,
1120,
11,
3064,
12962,
201,
198,
201,
198,
2,
10669,
4940,
994,
201,
198,
5647,
837,
897,
274,
796,
458,
83,
13,
7266,
489,
1747,
7,
77,
8516,
796,
513,
837,
299,
4033,
82,
796,
352,
8,
201,
198,
1640,
1312,
287,
2837,
7,
11925,
7,
39873,
62,
7857,
8,
2599,
201,
198,
220,
220,
220,
285,
796,
17635,
201,
198,
220,
220,
220,
329,
474,
287,
2837,
7,
12825,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
17816,
17350,
434,
6,
4083,
39873,
7,
77,
28,
39873,
62,
7857,
58,
72,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
285,
13,
33295,
7,
7890,
17816,
17350,
434,
6,
4083,
32604,
28955,
201,
198,
220,
220,
220,
1612,
62,
25076,
796,
279,
67,
13,
27996,
7,
76,
8,
201,
198,
220,
220,
220,
34197,
58,
72,
4083,
10034,
7,
32604,
62,
25076,
8,
201,
628,
198,
198,
2,
220,
26171,
198,
2,
20939,
278,
13639,
3696,
201,
198,
201,
198,
6738,
9756,
27530,
13,
34242,
13,
6551,
34242,
1330,
1976,
9288,
201,
198,
201,
198,
2,
10669,
4940,
994,
201,
198,
7890,
17816,
600,
13,
4873,
20520,
796,
1366,
17816,
600,
13,
4873,
6,
4083,
2536,
13,
33491,
10786,
4,
3256,
7061,
8,
201,
198,
7890,
17816,
600,
13,
4873,
20520,
796,
1366,
17816,
600,
13,
4873,
6,
4083,
459,
2981,
7,
22468,
20679,
3064,
201,
198,
87,
16,
796,
1366,
58,
7890,
17816,
29983,
20520,
855,
6,
17470,
62,
22680,
6,
7131,
6,
600,
13,
4873,
20520,
201,
198,
89,
62,
14269,
2569,
11,
79,
62,
8367,
28,
1976,
9288,
7,
87,
16,
11,
8367,
28,
7890,
17816,
600,
13,
4873,
6,
4083,
32604,
22784,
33645,
876,
11639,
15521,
263,
11537,
201,
198,
361,
279,
62,
8367,
1279,
657,
13,
2713,
25,
220,
220,
220,
1303,
17130,
1988,
318,
657,
13,
2713,
393,
642,
4,
201,
198,
220,
220,
3601,
7203,
356,
389,
26734,
9242,
14078,
4943,
201,
198,
17772,
25,
201,
198,
220,
3601,
7203,
732,
389,
4054,
284,
4968,
220,
9242,
14078,
4943,
628,
198,
2,
220,
26171,
198,
2,
20939,
278,
13639,
3696,
201,
198,
6738,
9756,
27530,
13,
34242,
13,
6551,
34242,
1330,
1976,
9288,
201,
198,
201,
198,
2,
10669,
4940,
994,
201,
198,
87,
16,
28,
7890,
58,
7890,
17816,
20333,
13,
1891,
13,
5439,
272,
20520,
855,
6,
2949,
6,
7131,
6,
17350,
434,
20520,
201,
198,
87,
17,
28,
7890,
58,
7890,
17816,
20333,
13,
1891,
13,
5439,
272,
20520,
855,
6,
5297,
6,
7131,
6,
17350,
434,
20520,
201,
198,
89,
62,
14269,
2569,
11,
79,
62,
8367,
28,
89,
9288,
7,
87,
16,
11,
87,
17,
8,
201,
198,
361,
279,
62,
8367,
1279,
657,
13,
2713,
25,
201,
198,
220,
220,
220,
3601,
10786,
732,
389,
26734,
9242,
705,
8,
201,
198,
17772,
25,
201,
198,
220,
220,
220,
3601,
10786,
732,
389,
4054,
284,
4968,
9242,
14078,
11537,
220,
220,
220,
220,
628,
198,
2,
220,
26171,
198,
201,
198,
2,
20939,
278,
13639,
3696,
201,
198,
6738,
629,
541,
88,
13,
34242,
1330,
33166,
17,
62,
3642,
278,
1387,
201,
198,
2,
41000,
1988,
220,
201,
198,
34666,
62,
8367,
796,
9756,
13,
11072,
17,
13,
381,
69,
7,
80,
796,
657,
13,
3865,
11,
1303,
9938,
262,
4688,
1988,
329,
6957,
4,
6628,
9,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47764,
796,
718,
8,
220,
220,
1303,
360,
69,
796,
1271,
286,
7885,
9376,
7,
259,
4007,
8,
532,
352,
201,
198,
2,
10669,
4940,
994,
201,
198,
8505,
796,
1366,
58,
7890,
17816,
20333,
13,
1891,
13,
5439,
272,
20520,
855,
6,
5297,
6,
7131,
6,
29983,
6,
4083,
8367,
62,
9127,
82,
3419,
201,
198,
3919,
796,
1366,
58,
7890,
17816,
20333,
13,
1891,
13,
5439,
272,
20520,
855,
6,
2949,
6,
7131,
6,
29983,
6,
4083,
8367,
62,
9127,
82,
3419,
201,
198,
672,
45852,
796,
279,
67,
13,
1102,
9246,
26933,
8505,
13,
7645,
3455,
22784,
3919,
13,
7645,
3455,
3419,
4357,
352,
11,
13083,
28,
17816,
5297,
41707,
2949,
6,
12962,
201,
198,
11072,
17,
11,
279,
11,
466,
69,
11,
409,
796,
33166,
17,
62,
3642,
278,
1387,
7,
672,
45852,
11,
17137,
28,
25101,
8,
201,
198,
4798,
7203,
41000,
1988,
4943,
201,
198,
4798,
7,
34666,
62,
8367,
8,
201,
198,
4798,
7203,
1925,
72,
5133,
2569,
4943,
201,
198,
4798,
7,
11072,
17,
8,
201,
198,
2,
220,
26171,
201,
198,
4798,
7,
11072,
17,
8,
628,
198
] | 2.560185 | 1,080 |
import cv2
import time
import threading
from flask import Response, Flask
import time
import os
import sys
import socket
import select
# Flask 객체로 Image frame 전달
global video_frame
video_frame = None
# 다양한 브라우저에서 프레임들의 thread-safe 출력을 잠근다.
global thread_lock
thread_lock = threading.Lock()
# Raspberry Camera에 접근하기 위한 GStreamer 파이프라인
GSTREAMER_PIPELINE = 'nvarguscamerasrc ! video/x-raw(memory:NVMM), width=1920, height=1080, format=(string)NV12, framerate=21/1 ! nvvidconv flip-method=0 ! video/x-raw, width=960, height=616, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink wait-on-eos=false max-buffers=1 drop=True'
# 어플리케이션을 위한 Flask 오브젝트 생성
app = Flask(__name__)
@app.route("/")
if __name__ == '__main__':
IP = '192.168.0.50'
PORT = 5040
ADDR = (IP, PORT)
SIZE = 1024
Server_socket1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
Server_socket1.bind(ADDR)
Server_socket1.listen()
read_socket_list = [Server_socket1]
conn_read_socket_list, conn_write_socket_list, conn_except_socket_list =select.select(read_socket_list, [], [])
for conn_read_socket in conn_read_socket_list:
if conn_read_socket == Server_socket1:
client_socket, client_addr = Server_socket1.accept()
msg = client_socket.recv(SIZE)
if msg.decode('UTF-8') == 'A':
print("실행합니다.")
# thread를 생성하고 이미지 프레임을 캡처하는 메소드를 첨가
process_thread = threading.Thread(target=captureFrames)
process_thread.daemon = True
# Start the thread
process_thread.start()
# start the Flask Web Application
# While it can be run on any feasible IP, IP = 192.168.0.50 renders the web app on
# the host machine's localhost and is discoverable by other machines on the same network
app.run("192.168.0.50", port="8000")
| [
11748,
269,
85,
17,
198,
11748,
640,
198,
11748,
4704,
278,
198,
6738,
42903,
1330,
18261,
11,
46947,
198,
11748,
640,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
17802,
198,
11748,
2922,
198,
198,
2,
46947,
220,
166,
108,
251,
168,
110,
112,
167,
94,
250,
7412,
5739,
23821,
254,
226,
46695,
105,
198,
20541,
2008,
62,
14535,
198,
15588,
62,
14535,
796,
6045,
198,
198,
2,
31619,
233,
97,
168,
244,
239,
47991,
250,
31619,
116,
234,
167,
251,
120,
168,
248,
108,
168,
254,
222,
168,
245,
238,
168,
226,
250,
220,
169,
242,
226,
167,
254,
230,
168,
252,
226,
167,
241,
97,
35975,
246,
4704,
12,
21230,
23821,
114,
250,
167,
254,
98,
35975,
226,
23821,
252,
254,
166,
115,
120,
46695,
97,
13,
198,
20541,
4704,
62,
5354,
198,
16663,
62,
5354,
796,
4704,
278,
13,
25392,
3419,
198,
198,
2,
24244,
20432,
168,
245,
238,
23821,
254,
239,
166,
115,
120,
47991,
246,
166,
116,
108,
23821,
250,
226,
47991,
250,
402,
28696,
220,
169,
234,
234,
35975,
112,
169,
242,
226,
167,
251,
120,
35975,
116,
198,
38,
2257,
32235,
1137,
62,
47,
4061,
3698,
8881,
796,
705,
48005,
853,
16241,
2382,
292,
6015,
5145,
2008,
14,
87,
12,
1831,
7,
31673,
25,
27159,
12038,
828,
9647,
28,
40454,
11,
6001,
28,
24045,
11,
5794,
16193,
8841,
8,
27159,
1065,
11,
5346,
21620,
28,
2481,
14,
16,
5145,
299,
85,
16921,
42946,
14283,
12,
24396,
28,
15,
5145,
2008,
14,
87,
12,
1831,
11,
9647,
28,
39277,
11,
6001,
28,
44214,
11,
5794,
16193,
8841,
8,
33,
10761,
87,
5145,
18784,
36221,
1851,
5145,
2008,
14,
87,
12,
1831,
11,
5794,
16193,
8841,
8,
33,
10761,
5145,
6725,
676,
4043,
12,
261,
12,
68,
418,
28,
9562,
3509,
12,
36873,
364,
28,
16,
4268,
28,
17821,
6,
198,
198,
2,
23821,
244,
112,
169,
242,
234,
167,
99,
105,
168,
120,
222,
35975,
112,
168,
227,
246,
35975,
226,
23821,
250,
226,
47991,
250,
46947,
23821,
246,
97,
167,
116,
234,
168,
254,
251,
169,
232,
116,
23821,
225,
251,
168,
226,
109,
198,
1324,
796,
46947,
7,
834,
3672,
834,
8,
628,
198,
198,
31,
1324,
13,
38629,
7203,
14,
4943,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
6101,
796,
705,
17477,
13,
14656,
13,
15,
13,
1120,
6,
198,
220,
220,
220,
350,
9863,
796,
2026,
1821,
198,
220,
220,
220,
5984,
7707,
796,
357,
4061,
11,
350,
9863,
8,
198,
220,
220,
220,
311,
35400,
796,
28119,
628,
220,
220,
220,
9652,
62,
44971,
16,
796,
17802,
13,
44971,
7,
44971,
13,
8579,
62,
1268,
2767,
11,
17802,
13,
50,
11290,
62,
2257,
32235,
8,
198,
220,
220,
220,
9652,
62,
44971,
16,
13,
21653,
7,
2885,
7707,
8,
198,
220,
220,
220,
9652,
62,
44971,
16,
13,
4868,
268,
3419,
628,
220,
220,
220,
1100,
62,
44971,
62,
4868,
796,
685,
10697,
62,
44971,
16,
60,
198,
220,
220,
220,
48260,
62,
961,
62,
44971,
62,
4868,
11,
48260,
62,
13564,
62,
44971,
62,
4868,
11,
48260,
62,
16341,
62,
44971,
62,
4868,
796,
19738,
13,
19738,
7,
961,
62,
44971,
62,
4868,
11,
685,
4357,
685,
12962,
628,
220,
220,
220,
329,
48260,
62,
961,
62,
44971,
287,
48260,
62,
961,
62,
44971,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
48260,
62,
961,
62,
44971,
6624,
9652,
62,
44971,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5456,
62,
44971,
11,
5456,
62,
29851,
796,
9652,
62,
44971,
16,
13,
13635,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
5456,
62,
44971,
13,
8344,
85,
7,
33489,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
31456,
13,
12501,
1098,
10786,
48504,
12,
23,
11537,
6624,
705,
32,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
168,
233,
97,
169,
244,
231,
47991,
102,
46695,
230,
46695,
97,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4704,
167,
98,
120,
23821,
225,
251,
168,
226,
109,
47991,
246,
166,
111,
254,
23821,
251,
112,
167,
107,
116,
168,
100,
222,
220,
169,
242,
226,
167,
254,
230,
168,
252,
226,
35975,
226,
23821,
118,
94,
168,
110,
246,
47991,
246,
167,
232,
242,
31619,
102,
242,
168,
228,
234,
167,
241,
250,
167,
98,
120,
23821,
110,
101,
166,
108,
222,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1429,
62,
16663,
796,
4704,
278,
13,
16818,
7,
16793,
28,
27144,
495,
35439,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1429,
62,
16663,
13,
6814,
7966,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7253,
262,
4704,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1429,
62,
16663,
13,
9688,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
923,
262,
46947,
5313,
15678,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2893,
340,
460,
307,
1057,
319,
597,
23498,
6101,
11,
6101,
796,
17817,
13,
14656,
13,
15,
13,
1120,
30111,
262,
3992,
598,
319,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
2583,
4572,
338,
1957,
4774,
290,
318,
7073,
540,
416,
584,
8217,
319,
262,
976,
3127,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
598,
13,
5143,
7203,
17477,
13,
14656,
13,
15,
13,
1120,
1600,
2493,
2625,
33942,
4943,
198
] | 1.959759 | 994 |
"""
@Author: huuuuusy
@GitHub: https://github.com/huuuuusy
系统: Ubuntu 18.04
IDE: VS Code 1.37
工具: python == 3.7.3
"""
"""
思路:
暴力解法,直接取出所有元素,排序后再存入新的链表中
结果:
执行用时 : 48 ms, 在所有 Python3 提交中击败了76.77%的用户
内存消耗 : 13.8 MB, 在所有 Python3 提交中击败了5.93%的用户
"""
# 定义链表
if __name__ == "__main__":
l1 = ListNode(1)
l1.next = ListNode(2)
l1.next.next = ListNode(3)
l1.next.next.next = ListNode(4)
l1.next.next.next.next = ListNode(5)
l1.next.next.next.next.next = ListNode(6)
head = l1
res = Solution().swapPairs(head)
while res:
print(res.val)
res = res.next | [
37811,
198,
31,
13838,
25,
289,
12303,
12303,
385,
88,
198,
31,
38,
270,
16066,
25,
3740,
1378,
12567,
13,
785,
14,
71,
12303,
12303,
385,
88,
198,
163,
111,
119,
163,
119,
253,
171,
120,
248,
14949,
1248,
13,
3023,
198,
14114,
25,
220,
22269,
6127,
352,
13,
2718,
198,
32432,
98,
17739,
115,
171,
120,
248,
21015,
6624,
513,
13,
22,
13,
18,
198,
37811,
198,
198,
37811,
198,
45250,
251,
164,
115,
107,
25,
198,
220,
220,
220,
10545,
248,
112,
27950,
249,
164,
100,
96,
37345,
243,
171,
120,
234,
33566,
112,
162,
236,
98,
20998,
244,
49035,
118,
33699,
222,
17312,
231,
17739,
225,
163,
112,
254,
171,
120,
234,
162,
236,
240,
41753,
237,
28938,
236,
37863,
235,
27764,
246,
17739,
98,
23877,
108,
21410,
165,
241,
122,
26193,
101,
40792,
198,
163,
119,
241,
162,
252,
250,
171,
120,
248,
198,
220,
220,
220,
10545,
231,
100,
26193,
234,
18796,
101,
33768,
114,
1058,
4764,
13845,
11,
10263,
250,
101,
33699,
222,
17312,
231,
11361,
18,
10545,
237,
238,
12859,
97,
40792,
49035,
119,
164,
112,
98,
12859,
228,
4304,
13,
3324,
4,
21410,
18796,
101,
22755,
115,
198,
220,
220,
220,
10263,
228,
227,
27764,
246,
162,
114,
230,
32003,
245,
1058,
1511,
13,
23,
10771,
11,
10263,
250,
101,
33699,
222,
17312,
231,
11361,
18,
10545,
237,
238,
12859,
97,
40792,
49035,
119,
164,
112,
98,
12859,
228,
20,
13,
6052,
4,
21410,
18796,
101,
22755,
115,
198,
37811,
198,
198,
2,
10263,
106,
248,
20046,
231,
165,
241,
122,
26193,
101,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
300,
16,
796,
7343,
19667,
7,
16,
8,
198,
220,
220,
220,
300,
16,
13,
19545,
796,
7343,
19667,
7,
17,
8,
198,
220,
220,
220,
300,
16,
13,
19545,
13,
19545,
796,
7343,
19667,
7,
18,
8,
198,
220,
220,
220,
300,
16,
13,
19545,
13,
19545,
13,
19545,
796,
7343,
19667,
7,
19,
8,
198,
220,
220,
220,
300,
16,
13,
19545,
13,
19545,
13,
19545,
13,
19545,
796,
7343,
19667,
7,
20,
8,
198,
220,
220,
220,
300,
16,
13,
19545,
13,
19545,
13,
19545,
13,
19545,
13,
19545,
796,
7343,
19667,
7,
21,
8,
198,
220,
220,
220,
1182,
796,
300,
16,
198,
220,
220,
220,
581,
796,
28186,
22446,
2032,
499,
47,
3468,
7,
2256,
8,
198,
220,
220,
220,
981,
581,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
411,
13,
2100,
8,
198,
220,
220,
220,
220,
220,
220,
220,
581,
796,
581,
13,
19545
] | 1.397753 | 445 |
# this file creates new log files in the particular folders created by the
# createFolder file and generates separate log files for separate programs
import os,inspect
import logging,logging.config
from createFolder import createFolder
# logging levels
loglevel = "debug"
if loglevel.upper() == "DEBUG":
loglevels = logging.DEBUG
elif loglevel.upper() == "INFO":
loglevels = logging.DEBUG
elif loglevel.upper() == "WARNING":
loglevels = logging.WARNING
elif loglevel.upper() == "ERROR":
loglevels = logging.ERROR
elif loglevel.upper() == "CRITICAL":
loglevels = logging.CRITICAL
else:
loglevels = logging.DEBUG
| [
2,
428,
2393,
8075,
649,
2604,
3696,
287,
262,
1948,
24512,
2727,
416,
262,
220,
198,
2,
2251,
41092,
2393,
290,
18616,
4553,
2604,
3696,
329,
4553,
4056,
198,
198,
11748,
28686,
11,
1040,
806,
198,
11748,
18931,
11,
6404,
2667,
13,
11250,
198,
6738,
2251,
41092,
1330,
2251,
41092,
198,
198,
2,
18931,
2974,
198,
198,
75,
2467,
626,
796,
366,
24442,
1,
198,
361,
300,
2467,
626,
13,
45828,
3419,
6624,
366,
30531,
1298,
198,
220,
220,
220,
300,
2467,
626,
82,
796,
18931,
13,
30531,
198,
417,
361,
300,
2467,
626,
13,
45828,
3419,
6624,
366,
10778,
1298,
198,
220,
220,
220,
300,
2467,
626,
82,
796,
18931,
13,
30531,
198,
417,
361,
300,
2467,
626,
13,
45828,
3419,
6624,
366,
31502,
1298,
198,
220,
220,
220,
300,
2467,
626,
82,
796,
18931,
13,
31502,
198,
417,
361,
300,
2467,
626,
13,
45828,
3419,
6624,
366,
24908,
1298,
198,
220,
220,
220,
300,
2467,
626,
82,
796,
18931,
13,
24908,
198,
417,
361,
300,
2467,
626,
13,
45828,
3419,
6624,
366,
9419,
2043,
20151,
1298,
198,
220,
220,
220,
300,
2467,
626,
82,
796,
18931,
13,
9419,
2043,
20151,
198,
17772,
25,
198,
220,
220,
220,
300,
2467,
626,
82,
796,
18931,
13,
30531,
628,
628,
628
] | 3.066667 | 210 |
from flask import Flask, render_template, request, jsonify,redirect, url_for
from werkzeug.utils import secure_filename
import requests
import random
import json
import os
import time
import xlrd
from flask_cors import CORS
from requests_toolbelt import MultipartEncoder
app = Flask(__name__)
#CORS(app, supports_credentials=True) #For跨域请求
#app.config['SEND_FILE_MAX_AGE_DEFAULT'] = timedelta(seconds=1) #缓存控制时长
# 语音识别api
ASR_URL = 'https://voice.lenovomm.com/lasf/asr'
# 根据语音识别内容 选择图片
@app.route('/')
@app.route('/receiveAudio', methods=['POST'])
if __name__ == '__main__':
app.run(debug=True)
| [
6738,
42903,
1330,
46947,
11,
8543,
62,
28243,
11,
2581,
11,
33918,
1958,
11,
445,
1060,
11,
19016,
62,
1640,
198,
6738,
266,
9587,
2736,
1018,
13,
26791,
1330,
5713,
62,
34345,
198,
11748,
7007,
198,
11748,
4738,
198,
11748,
33918,
198,
11748,
28686,
198,
11748,
640,
198,
11748,
2124,
75,
4372,
198,
6738,
42903,
62,
66,
669,
1330,
327,
20673,
198,
6738,
7007,
62,
25981,
37976,
1330,
7854,
541,
433,
27195,
12342,
198,
198,
1324,
796,
46947,
7,
834,
3672,
834,
8,
198,
198,
2,
34,
20673,
7,
1324,
11,
6971,
62,
66,
445,
14817,
28,
17821,
8,
220,
220,
220,
220,
220,
220,
220,
1303,
1890,
164,
115,
101,
161,
253,
253,
46237,
115,
162,
109,
224,
198,
2,
1324,
13,
11250,
17816,
50,
10619,
62,
25664,
62,
22921,
62,
11879,
62,
7206,
38865,
20520,
796,
28805,
12514,
7,
43012,
28,
16,
8,
220,
1303,
163,
120,
241,
27764,
246,
162,
236,
100,
26344,
114,
33768,
114,
165,
243,
123,
198,
198,
2,
5525,
107,
255,
165,
253,
111,
46237,
228,
26344,
104,
15042,
198,
1921,
49,
62,
21886,
796,
705,
5450,
1378,
38888,
13,
11925,
709,
2002,
13,
785,
14,
21921,
69,
14,
292,
81,
6,
198,
198,
2,
10545,
254,
117,
162,
235,
106,
46237,
255,
165,
253,
111,
46237,
228,
26344,
104,
37863,
227,
22522,
117,
16268,
222,
231,
162,
233,
102,
32368,
122,
31965,
229,
220,
628,
198,
31,
1324,
13,
38629,
10786,
14,
11537,
198,
198,
31,
1324,
13,
38629,
10786,
14,
260,
15164,
21206,
3256,
5050,
28,
17816,
32782,
6,
12962,
198,
220,
220,
220,
220,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
598,
13,
5143,
7,
24442,
28,
17821,
8,
198
] | 2.148789 | 289 |
"""Count the number of prime numbers less than a non-negative number, n.
Example 1:
Input: n = 10
Output: 4
Explanation: There are 4 prime numbers less than 10, they are 2, 3, 5, 7.
Example 2:
Input: n = 0
Output: 0
Example 3:
Input: n = 1
Output: 0"""
import math
s = Solution()
print(s.countPrimes(12))
| [
37811,
12332,
262,
1271,
286,
6994,
3146,
1342,
621,
257,
1729,
12,
31591,
1271,
11,
299,
13,
628,
198,
198,
16281,
352,
25,
198,
198,
20560,
25,
299,
796,
838,
198,
26410,
25,
604,
198,
3109,
11578,
341,
25,
1318,
389,
604,
6994,
3146,
1342,
621,
838,
11,
484,
389,
362,
11,
513,
11,
642,
11,
767,
13,
198,
16281,
362,
25,
198,
198,
20560,
25,
299,
796,
657,
198,
26410,
25,
657,
198,
16281,
513,
25,
198,
198,
20560,
25,
299,
796,
352,
198,
26410,
25,
657,
37811,
198,
11748,
10688,
628,
198,
198,
82,
796,
28186,
3419,
198,
4798,
7,
82,
13,
9127,
6836,
999,
7,
1065,
4008,
198
] | 2.828829 | 111 |
"""
Code for applying grid search to find the best parameters for knowledge distillation.
The distillation ratio and temperature parameters are being tuned in this search.
"""
import torch
from train.distill_knowledge import main
from utils.options import knowledge_distillation_options
if __name__ == '__main__':
# Reproducibility settings.
torch.backends.cudnn.benchmark = False
torch.backends.cudnn.deterministic = True
grid_search()
| [
37811,
198,
10669,
329,
11524,
10706,
2989,
284,
1064,
262,
1266,
10007,
329,
3725,
1233,
40903,
13,
198,
464,
1233,
40903,
8064,
290,
5951,
10007,
389,
852,
16524,
287,
428,
2989,
13,
198,
37811,
198,
11748,
28034,
198,
198,
6738,
4512,
13,
17080,
359,
62,
45066,
1330,
1388,
198,
6738,
3384,
4487,
13,
25811,
1330,
3725,
62,
17080,
40903,
62,
25811,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1303,
36551,
66,
2247,
6460,
13,
198,
220,
220,
220,
28034,
13,
1891,
2412,
13,
66,
463,
20471,
13,
26968,
4102,
796,
10352,
198,
220,
220,
220,
28034,
13,
1891,
2412,
13,
66,
463,
20471,
13,
67,
2357,
49228,
796,
6407,
198,
220,
220,
220,
10706,
62,
12947,
3419,
198
] | 3.570313 | 128 |
from datetime import datetime, timedelta
import airflow
from airflow import DAG
from airflow.contrib.operators.kubernetes_pod_operator import KubernetesPodOperator
from airflow.utils.dates import days_ago
# GLOBAL ENV VARIABLES
IMAGE_VERSION = "v1.0.0"
IMAGE = f"593291632749.dkr.ecr.eu-west-1.amazonaws.com/airflow-psst-data:{IMAGE_VERSION}"
ROLE = "airflow_psst_data"
# Task arguments
task_args = {
"depends_on_past": False,
"email_on_failure": True,
"owner": "samtazzyman",
"email": ["[email protected]"],
}
# DAG defined
dag = DAG(
"psst_data",
default_args=task_args,
description="get new prison reports, process them, and put them in the psst",
start_date=datetime(2019, 2, 21),
schedule_interval="@daily",
catchup=False,
)
task_id = "psst-data"
task1 = KubernetesPodOperator(
dag=dag,
namespace="airflow",
image=IMAGE,
env_vars={
},
labels={"app": dag.dag_id},
name=task_id,
in_cluster=True,
task_id=task_id,
get_logs=True,
startup_timeout_seconds=500,
annotations={"iam.amazonaws.com/role": ROLE},
) | [
6738,
4818,
8079,
1330,
4818,
8079,
11,
28805,
12514,
198,
198,
11748,
45771,
198,
6738,
45771,
1330,
360,
4760,
198,
6738,
45771,
13,
3642,
822,
13,
3575,
2024,
13,
74,
18478,
3262,
274,
62,
33320,
62,
46616,
1330,
12554,
527,
3262,
274,
41565,
18843,
1352,
198,
6738,
45771,
13,
26791,
13,
19581,
1330,
1528,
62,
3839,
198,
198,
2,
10188,
9864,
1847,
12964,
53,
569,
1503,
3539,
9148,
1546,
198,
3955,
11879,
62,
43717,
796,
366,
85,
16,
13,
15,
13,
15,
1,
198,
3955,
11879,
796,
277,
1,
3270,
37967,
24136,
1983,
2920,
13,
34388,
81,
13,
721,
81,
13,
12496,
12,
7038,
12,
16,
13,
33103,
8356,
13,
785,
14,
958,
11125,
12,
862,
301,
12,
7890,
29164,
3955,
11879,
62,
43717,
36786,
198,
13252,
2538,
796,
366,
958,
11125,
62,
862,
301,
62,
7890,
1,
198,
198,
2,
15941,
7159,
198,
35943,
62,
22046,
796,
1391,
198,
220,
220,
220,
366,
10378,
2412,
62,
261,
62,
30119,
1298,
10352,
11,
198,
220,
220,
220,
366,
12888,
62,
261,
62,
32165,
495,
1298,
6407,
11,
198,
220,
220,
220,
366,
18403,
1298,
366,
37687,
83,
1031,
7357,
805,
1600,
198,
220,
220,
220,
366,
12888,
1298,
14631,
37687,
2731,
13,
83,
1031,
7357,
805,
31,
34725,
13,
31012,
13,
9567,
13,
2724,
33116,
198,
92,
198,
198,
2,
360,
4760,
5447,
198,
67,
363,
796,
360,
4760,
7,
198,
220,
220,
220,
366,
862,
301,
62,
7890,
1600,
198,
220,
220,
220,
4277,
62,
22046,
28,
35943,
62,
22046,
11,
198,
220,
220,
220,
6764,
2625,
1136,
649,
3770,
3136,
11,
1429,
606,
11,
290,
1234,
606,
287,
262,
26692,
301,
1600,
198,
220,
220,
220,
923,
62,
4475,
28,
19608,
8079,
7,
23344,
11,
362,
11,
2310,
828,
198,
220,
220,
220,
7269,
62,
3849,
2100,
2625,
31,
29468,
1600,
198,
220,
220,
220,
4929,
929,
28,
25101,
11,
198,
8,
198,
198,
35943,
62,
312,
796,
366,
862,
301,
12,
7890,
1,
198,
35943,
16,
796,
12554,
527,
3262,
274,
41565,
18843,
1352,
7,
198,
220,
220,
220,
48924,
28,
67,
363,
11,
198,
220,
220,
220,
25745,
2625,
958,
11125,
1600,
198,
220,
220,
220,
2939,
28,
3955,
11879,
11,
198,
220,
220,
220,
17365,
62,
85,
945,
34758,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
14722,
28,
4895,
1324,
1298,
48924,
13,
67,
363,
62,
312,
5512,
198,
220,
220,
220,
1438,
28,
35943,
62,
312,
11,
198,
220,
220,
220,
287,
62,
565,
5819,
28,
17821,
11,
198,
220,
220,
220,
4876,
62,
312,
28,
35943,
62,
312,
11,
198,
220,
220,
220,
651,
62,
6404,
82,
28,
17821,
11,
198,
220,
220,
220,
13693,
62,
48678,
62,
43012,
28,
4059,
11,
198,
220,
220,
220,
37647,
28,
4895,
1789,
13,
33103,
8356,
13,
785,
14,
18090,
1298,
15107,
2538,
5512,
198,
8
] | 2.375 | 472 |
"""
This file contains constants for the IPv4 protocol.
.. versionchanged:: 0.2.0
ip_constants has been moved into the connections subpackage.
The full path is now boofuzz.connections.ip_constants
"""
IPV4_PROTOCOL_UDP = 0x11
#: Theoretical maximum length of a UDP packet, based on constraints in the UDP
#: packet format.
#: WARNING! a UDP packet cannot actually be this long in the context of IPv4!
UDP_MAX_LENGTH_THEORETICAL = 65535
#: Theoretical maximum length of a UDP payload based on constraints in the
#: UDP and IPv4 packet formats.
#: WARNING! Some systems may set a payload limit smaller than this.
UDP_MAX_PAYLOAD_IPV4_THEORETICAL = 65507
| [
37811,
198,
1212,
2393,
4909,
38491,
329,
262,
25961,
19,
8435,
13,
198,
198,
492,
2196,
40985,
3712,
657,
13,
17,
13,
15,
198,
220,
220,
220,
20966,
62,
9979,
1187,
468,
587,
3888,
656,
262,
8787,
850,
26495,
13,
198,
220,
220,
220,
383,
1336,
3108,
318,
783,
1489,
1659,
4715,
13,
8443,
507,
13,
541,
62,
9979,
1187,
198,
37811,
198,
4061,
53,
19,
62,
4805,
2394,
4503,
3535,
62,
52,
6322,
796,
657,
87,
1157,
198,
2,
25,
383,
9997,
605,
5415,
4129,
286,
257,
36428,
19638,
11,
1912,
319,
17778,
287,
262,
36428,
198,
2,
25,
19638,
5794,
13,
198,
2,
25,
39410,
0,
257,
36428,
19638,
2314,
1682,
307,
428,
890,
287,
262,
4732,
286,
25961,
19,
0,
198,
52,
6322,
62,
22921,
62,
43,
49494,
62,
10970,
1581,
2767,
20151,
796,
45021,
2327,
198,
2,
25,
383,
9997,
605,
5415,
4129,
286,
257,
36428,
21437,
1912,
319,
17778,
287,
262,
198,
2,
25,
36428,
290,
25961,
19,
19638,
17519,
13,
198,
2,
25,
39410,
0,
2773,
3341,
743,
900,
257,
21437,
4179,
4833,
621,
428,
13,
198,
52,
6322,
62,
22921,
62,
4537,
56,
35613,
62,
4061,
53,
19,
62,
10970,
1581,
2767,
20151,
796,
6135,
35378,
198
] | 3.240196 | 204 |
#! /usr/bin/env python
import requests
from collections import OrderedDict
from utils import check_response
def select_all(host,user,pswd,cert=None,format=None):
"""Get all data from the MDCS server
Inputs:
host - string, URL of MDCS instance
user - string, username of desired account on MDCS server
pswd - string, password of desired account on MDCS server
cert - string, path to authentication certificate
format - string, format of data (can be xml or json)
Output:
lists where each entry is a dictionary describing entries that match the query.
dictionaries each have the keys:
title - title of the entry
schema - ID of the schema that describes the entry
content - content of the entry in either xml or json format
_id - ID number of the entry
"""
url = host.strip("/") + "/rest/explore/select/all"
params = dict()
if format: params['dataformat'] = format
r = requests.get(url, params=params, auth=(user, pswd), verify=cert)
return check_response(r)
def select(host,user,pswd,cert=None,format=None,ID=None,template=None,title=None):
"""Get all data that fits a certain simple query
Inputs:
host - string, URL of MDCS instance
user - string, username of desired account on MDCS server
pswd - string, password of desired account on MDCS server
cert - string, path to authentication certificate
format - string, format of data (can be xml or json)
template - string, ID of the schema for particular data
ID - string, ID of entry to be retrieved
title - string, title of data to be retrieved
Output:
list of all entries in the database
dictionaries each have the keys:
title - title of the entry
schema - ID of the schema that describes the entry
content - content of the entry in either xml or json format
_id - ID number of the entry
"""
url = host.strip("/") + "/rest/explore/select"
params = dict()
if format: params['dataformat'] = format
if ID: params['id'] = ID
if template: params['schema'] = template
if title: params['title'] = title
r = requests.get(url, params=params, auth=(user, pswd), verify=cert)
return check_response(r)
def delete(ID,host,user,pswd,cert=None):
"""Delete an entry
Input:
ID - string, ID of object to be deleted
host - string, URL of MDCS instance
user - string, username of desired account on MDCS server
pswd - string, password of desired account on MDCS server
cert - string, path to authentication certificate
Output:
response from MDCS
"""
url = host.strip("/") + "/rest/explore/delete"
params = dict()
params['id']=ID
r = requests.delete(url, params=params, auth=(user, pswd), verify=cert)
return check_response(r)
def query(host,user,pswd,cert=None,format=None,query=None,repositories=None):
"""Query by example.
Input:
host - string, URL of MDCS instance
user - string, username of desired account on MDCS server
pswd - string, password of desired account on MDCS server
cert - string, path to authentication certificate
format - string, format of data (can be xml or json)
respositories - string, lists of names of other repositories to be
Output:
lists where each entry is a dictionary describing entries that match the query.
dictionaries each have the keys:
title - title of the entry
schema - ID of the schema that describes the entry
content - content of the entry in either xml or json format
_id - ID number of the entry
"""
url = host.strip("/") + "/rest/explore/query-by-example"
data = dict()
if format: data['dataformat'] = format
if query: data['query'] = query
if repositories: data['repositories'] = repositories
r = requests.post(url, data=data, auth=(user, pswd), verify=cert)
return check_response(r) | [
2,
0,
1220,
14629,
14,
8800,
14,
24330,
21015,
198,
11748,
7007,
198,
6738,
17268,
1330,
14230,
1068,
35,
713,
198,
6738,
3384,
4487,
1330,
2198,
62,
26209,
198,
198,
4299,
2922,
62,
439,
7,
4774,
11,
7220,
11,
862,
16993,
11,
22583,
28,
14202,
11,
18982,
28,
14202,
2599,
198,
220,
220,
220,
37227,
3855,
477,
1366,
422,
262,
10670,
7902,
4382,
198,
220,
220,
220,
220,
198,
220,
220,
220,
23412,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2583,
532,
4731,
11,
10289,
286,
10670,
7902,
4554,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
532,
4731,
11,
20579,
286,
10348,
1848,
319,
10670,
7902,
4382,
198,
220,
220,
220,
220,
220,
220,
220,
279,
2032,
67,
532,
4731,
11,
9206,
286,
10348,
1848,
319,
10670,
7902,
4382,
198,
220,
220,
220,
220,
220,
220,
220,
5051,
532,
4731,
11,
3108,
284,
18239,
10703,
198,
220,
220,
220,
220,
220,
220,
220,
5794,
532,
4731,
11,
5794,
286,
1366,
357,
5171,
307,
35555,
393,
33918,
8,
198,
220,
220,
220,
25235,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8341,
810,
1123,
5726,
318,
257,
22155,
12059,
12784,
326,
2872,
262,
12405,
13,
198,
220,
220,
220,
220,
220,
220,
220,
48589,
3166,
1123,
423,
262,
8251,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
532,
3670,
286,
262,
5726,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32815,
532,
4522,
286,
262,
32815,
326,
8477,
262,
5726,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2695,
532,
2695,
286,
262,
5726,
287,
2035,
35555,
393,
33918,
5794,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
312,
532,
4522,
1271,
286,
262,
5726,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
19016,
796,
2583,
13,
36311,
7203,
14,
4943,
1343,
12813,
2118,
14,
20676,
382,
14,
19738,
14,
439,
1,
198,
220,
220,
220,
42287,
796,
8633,
3419,
198,
220,
220,
220,
611,
5794,
25,
42287,
17816,
7890,
18982,
20520,
796,
5794,
198,
220,
220,
220,
374,
796,
7007,
13,
1136,
7,
6371,
11,
42287,
28,
37266,
11,
6284,
16193,
7220,
11,
279,
2032,
67,
828,
11767,
28,
22583,
8,
198,
220,
220,
220,
1441,
2198,
62,
26209,
7,
81,
8,
198,
198,
4299,
2922,
7,
4774,
11,
7220,
11,
862,
16993,
11,
22583,
28,
14202,
11,
18982,
28,
14202,
11,
2389,
28,
14202,
11,
28243,
28,
14202,
11,
7839,
28,
14202,
2599,
198,
220,
220,
220,
37227,
3855,
477,
1366,
326,
11414,
257,
1728,
2829,
12405,
198,
220,
220,
220,
220,
198,
220,
220,
220,
23412,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2583,
532,
4731,
11,
10289,
286,
10670,
7902,
4554,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
532,
4731,
11,
20579,
286,
10348,
1848,
319,
10670,
7902,
4382,
198,
220,
220,
220,
220,
220,
220,
220,
279,
2032,
67,
532,
4731,
11,
9206,
286,
10348,
1848,
319,
10670,
7902,
4382,
198,
220,
220,
220,
220,
220,
220,
220,
5051,
532,
4731,
11,
3108,
284,
18239,
10703,
198,
220,
220,
220,
220,
220,
220,
220,
5794,
532,
4731,
11,
5794,
286,
1366,
357,
5171,
307,
35555,
393,
33918,
8,
198,
220,
220,
220,
220,
220,
220,
220,
11055,
532,
4731,
11,
4522,
286,
262,
32815,
329,
1948,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
4522,
532,
4731,
11,
4522,
286,
5726,
284,
307,
29517,
198,
220,
220,
220,
220,
220,
220,
220,
3670,
532,
4731,
11,
3670,
286,
1366,
284,
307,
29517,
198,
220,
220,
220,
25235,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
286,
477,
12784,
287,
262,
6831,
198,
220,
220,
220,
220,
220,
220,
220,
48589,
3166,
1123,
423,
262,
8251,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
532,
3670,
286,
262,
5726,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32815,
532,
4522,
286,
262,
32815,
326,
8477,
262,
5726,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2695,
532,
2695,
286,
262,
5726,
287,
2035,
35555,
393,
33918,
5794,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
312,
532,
4522,
1271,
286,
262,
5726,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
19016,
796,
2583,
13,
36311,
7203,
14,
4943,
1343,
12813,
2118,
14,
20676,
382,
14,
19738,
1,
198,
220,
220,
220,
42287,
796,
8633,
3419,
198,
220,
220,
220,
611,
5794,
25,
220,
220,
42287,
17816,
7890,
18982,
20520,
796,
5794,
198,
220,
220,
220,
611,
4522,
25,
220,
220,
220,
220,
220,
220,
42287,
17816,
312,
20520,
220,
220,
220,
220,
220,
220,
220,
220,
796,
4522,
198,
220,
220,
220,
611,
11055,
25,
42287,
17816,
15952,
2611,
20520,
220,
220,
220,
220,
796,
11055,
198,
220,
220,
220,
611,
3670,
25,
220,
220,
220,
42287,
17816,
7839,
20520,
220,
220,
220,
220,
220,
796,
3670,
198,
220,
220,
220,
374,
796,
7007,
13,
1136,
7,
6371,
11,
42287,
28,
37266,
11,
6284,
16193,
7220,
11,
279,
2032,
67,
828,
11767,
28,
22583,
8,
198,
220,
220,
220,
1441,
2198,
62,
26209,
7,
81,
8,
198,
220,
220,
220,
220,
198,
4299,
12233,
7,
2389,
11,
4774,
11,
7220,
11,
862,
16993,
11,
22583,
28,
14202,
2599,
198,
220,
220,
220,
37227,
38727,
281,
5726,
198,
220,
220,
220,
220,
198,
220,
220,
220,
23412,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4522,
532,
4731,
11,
4522,
286,
2134,
284,
307,
13140,
198,
220,
220,
220,
220,
220,
220,
220,
2583,
532,
4731,
11,
10289,
286,
10670,
7902,
4554,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
532,
4731,
11,
20579,
286,
10348,
1848,
319,
10670,
7902,
4382,
198,
220,
220,
220,
220,
220,
220,
220,
279,
2032,
67,
532,
4731,
11,
9206,
286,
10348,
1848,
319,
10670,
7902,
4382,
198,
220,
220,
220,
220,
220,
220,
220,
5051,
532,
4731,
11,
3108,
284,
18239,
10703,
198,
220,
220,
220,
25235,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
422,
10670,
7902,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
198,
220,
220,
220,
19016,
796,
2583,
13,
36311,
7203,
14,
4943,
1343,
12813,
2118,
14,
20676,
382,
14,
33678,
1,
198,
220,
220,
220,
42287,
796,
8633,
3419,
198,
220,
220,
220,
42287,
17816,
312,
20520,
28,
2389,
198,
220,
220,
220,
374,
796,
7007,
13,
33678,
7,
6371,
11,
42287,
28,
37266,
11,
6284,
16193,
7220,
11,
279,
2032,
67,
828,
11767,
28,
22583,
8,
198,
220,
220,
220,
1441,
2198,
62,
26209,
7,
81,
8,
198,
220,
220,
220,
220,
198,
4299,
12405,
7,
4774,
11,
7220,
11,
862,
16993,
11,
22583,
28,
14202,
11,
18982,
28,
14202,
11,
22766,
28,
14202,
11,
260,
1930,
270,
1749,
28,
14202,
2599,
198,
220,
220,
220,
37227,
20746,
416,
1672,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
23412,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2583,
532,
4731,
11,
10289,
286,
10670,
7902,
4554,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
532,
4731,
11,
20579,
286,
10348,
1848,
319,
10670,
7902,
4382,
198,
220,
220,
220,
220,
220,
220,
220,
279,
2032,
67,
532,
4731,
11,
9206,
286,
10348,
1848,
319,
10670,
7902,
4382,
198,
220,
220,
220,
220,
220,
220,
220,
5051,
532,
4731,
11,
3108,
284,
18239,
10703,
198,
220,
220,
220,
220,
220,
220,
220,
5794,
532,
4731,
11,
5794,
286,
1366,
357,
5171,
307,
35555,
393,
33918,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1217,
35061,
532,
4731,
11,
8341,
286,
3891,
286,
584,
38072,
284,
307,
220,
198,
220,
220,
220,
25235,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8341,
810,
1123,
5726,
318,
257,
22155,
12059,
12784,
326,
2872,
262,
12405,
13,
198,
220,
220,
220,
220,
220,
220,
220,
48589,
3166,
1123,
423,
262,
8251,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
532,
3670,
286,
262,
5726,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32815,
532,
4522,
286,
262,
32815,
326,
8477,
262,
5726,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2695,
532,
2695,
286,
262,
5726,
287,
2035,
35555,
393,
33918,
5794,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
312,
532,
4522,
1271,
286,
262,
5726,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
19016,
796,
2583,
13,
36311,
7203,
14,
4943,
1343,
12813,
2118,
14,
20676,
382,
14,
22766,
12,
1525,
12,
20688,
1,
198,
220,
220,
220,
1366,
796,
8633,
3419,
198,
220,
220,
220,
611,
5794,
25,
1366,
17816,
7890,
18982,
20520,
796,
5794,
198,
220,
220,
220,
611,
12405,
25,
1366,
17816,
22766,
20520,
796,
12405,
198,
220,
220,
220,
611,
38072,
25,
1366,
17816,
260,
1930,
270,
1749,
20520,
796,
38072,
198,
220,
220,
220,
374,
796,
7007,
13,
7353,
7,
6371,
11,
1366,
28,
7890,
11,
6284,
16193,
7220,
11,
279,
2032,
67,
828,
11767,
28,
22583,
8,
198,
220,
220,
220,
1441,
2198,
62,
26209,
7,
81,
8
] | 2.726858 | 1,534 |
##########################################################################
# Copyright 2013-2021 Aerospike, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##########################################################################
'''
List expressions contain expressions for reading and modifying Lists. Most of
these operations are from the standard :mod:`List API <aerospike_helpers.operations.list_operations>`.
Example::
import aerospike_helpers.expressions as exp
#Take the size of list bin "a".
expr = exp.ListSize(None, exp.ListBin("a")).compile()
'''
from __future__ import annotations
from itertools import chain
from typing import List, Optional, Tuple, Union, Dict, Any
import aerospike
from aerospike_helpers import cdt_ctx
from aerospike_helpers.expressions.resources import _GenericExpr
from aerospike_helpers.expressions.resources import _BaseExpr
from aerospike_helpers.expressions.resources import _ExprOp
from aerospike_helpers.expressions.resources import ResultType
from aerospike_helpers.expressions.resources import _Keys
from aerospike_helpers.expressions.base import ListBin
######################
# List Mod Expressions
######################
TypeBinName = Union[_BaseExpr, str]
TypeListValue = Union[_BaseExpr, List[Any]]
TypeIndex = Union[_BaseExpr, int, aerospike.CDTInfinite]
TypeCTX = Union[None, List[cdt_ctx._cdt_ctx]]
TypeRank = Union[_BaseExpr, int, aerospike.CDTInfinite]
TypeCount = Union[_BaseExpr, int, aerospike.CDTInfinite]
TypeValue = Union[_BaseExpr, Any]
TypePolicy = Union[Dict[str, Any], None]
class ListAppend(_BaseExpr):
"""Create an expression that appends value to end of list."""
_op = aerospike.OP_LIST_APPEND
def __init__(self, ctx: TypeCTX, policy: TypePolicy, value: TypeValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
policy (TypePolicy): Optional dictionary of :ref:`List policies <aerospike_list_policies>`.
value (TypeValue): Value or value expression to append to list.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: List expression.
Example::
# Check if length of list bin "a" is > 5 after appending 1 item.
expr = exp.GT(
exp.ListSize(None, exp.ListAppend(None, None, 3, exp.ListBin("a"))),
5).compile()
"""
self._children = (
value,
_GenericExpr(_ExprOp._AS_EXP_CODE_CDT_LIST_CRMOD, 0, {_Keys.LIST_POLICY_KEY: policy} if policy is not None else {}),
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
if policy is not None:
self._fixed[_Keys.LIST_POLICY_KEY] = policy
class ListAppendItems(_BaseExpr):
"""Create an expression that appends a list of items to the end of a list."""
_op = aerospike.OP_LIST_APPEND_ITEMS
def __init__(self, ctx: TypeCTX, policy: TypePolicy, value: TypeValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
policy (TypePolicy): Optional dictionary of :ref:`List policies <aerospike_list_policies>`.
value (TypeValue): List or list expression of items to be appended.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: List expression.
Example::
# Check if length of list bin "a" is > 5 after appending multiple items.
expr = exp.GT(
exp.ListSize(None, exp.ListAppendItems(None, None, [3, 2], exp.ListBin("a"))),
5).compile()
"""
self._children = (
value,
_GenericExpr(_ExprOp._AS_EXP_CODE_CDT_LIST_CRMOD, 0, {_Keys.LIST_POLICY_KEY: policy} if policy is not None else {}),
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
if policy is not None:
self._fixed[_Keys.LIST_POLICY_KEY] = policy
class ListInsert(_BaseExpr):
"""Create an expression that inserts value to specified index of list."""
_op = aerospike.OP_LIST_INSERT
def __init__(self, ctx: TypeCTX, policy: TypePolicy, index: TypeIndex, value: TypeValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
policy (TypePolicy): Optional dictionary of :ref:`List policies <aerospike_list_policies>`.
index (TypeIndex): Target index for insertion, integer or integer expression.
value (TypeValue): Value or value expression to be inserted.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: List expression.
Example::
# Check if list bin "a" has length > 5 after insert.
expr = exp.GT(
exp.ListSize(None, exp.ListInsert(None, None, 0, 3, exp.ListBin("a"))),
5).compile()
"""
self._children = (
index,
value,
_GenericExpr(_ExprOp._AS_EXP_CODE_CDT_LIST_MOD, 0, {_Keys.LIST_POLICY_KEY: policy} if policy is not None else {}),
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
if policy is not None:
self._fixed[_Keys.LIST_POLICY_KEY] = policy
class ListInsertItems(_BaseExpr):
"""Create an expression that inserts each input list item starting at specified index of list."""
_op = aerospike.OP_LIST_INSERT_ITEMS
def __init__(self, ctx: TypeCTX, policy: TypePolicy, index: TypeIndex, values: TypeListValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
policy (TypePolicy): Optional dictionary of :ref:`List policies <aerospike_list_policies>`.
index (TypeIndex): Target index where item insertion will begin, integer or integer expression.
values (TypeListValue): List or list expression of items to be inserted.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: List expression.
Example::
# Check if list bin "a" has length > 5 after inserting items.
expr = exp.GT(
exp.ListSize(None, exp.ListInsertItems(None, None, 0, [4, 7], exp.ListBin("a"))),
5).compile()
"""
self._children = (
index,
values,
_GenericExpr(_ExprOp._AS_EXP_CODE_CDT_LIST_MOD, 0, {_Keys.LIST_POLICY_KEY: policy} if policy is not None else {}),
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
if policy is not None:
self._fixed[_Keys.LIST_POLICY_KEY] = policy
class ListIncrement(_BaseExpr):
"""Create an expression that increments list[index] by value."""
_op = aerospike.OP_LIST_INCREMENT
def __init__(self, ctx: TypeCTX, policy: TypePolicy, index: TypeIndex, value: TypeValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
policy (TypePolicy): Optional dictionary of :ref:`List policies <aerospike_list_policies>`.
index (TypeIndex): Index of value to increment.
value (TypeValue): Value or value expression.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: List expression.
Example::
# Check if incremented value in list bin "a" is the largest in the list.
expr = exp.Eq(
exp.ListGetByRank(None, aerospike.LIST_RETURN_VALUE, ResultType.INTEGER, -1, #rank of -1 == largest element.
exp.ListIncrement(None, None, 1, 5, exp.ListBin("a"))),
exp.ListGetByIndex(None, aerospike.LIST_RETURN_VALUE, ResultType.INTEGER, 1,
exp.ListIncrement(None, None, 1, 5, exp.ListBin("a")))
).compile()
"""
self._children = (
index,
value,
_GenericExpr(_ExprOp._AS_EXP_CODE_CDT_LIST_CRMOD, 0, {_Keys.LIST_POLICY_KEY: policy} if policy is not None else {}),
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
if policy is not None:
self._fixed[_Keys.LIST_POLICY_KEY] = policy
class ListSet(_BaseExpr):
"""Create an expression that sets item value at specified index in list."""
_op = aerospike.OP_LIST_SET
def __init__(self, ctx: TypeCTX, policy: TypePolicy, index: TypeIndex, value: TypeValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
policy (TypePolicy): Optional dictionary of :ref:`List policies <aerospike_list_policies>`.
index (TypeIndex): index of value to set.
value (TypeValue): value or value expression to set index in list to.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: List expression.
Example::
# Get smallest element in list bin "a" after setting index 1 to 10.
expr = exp.ListGetByRank(None, aerospike.LIST_RETURN_VALUE, ResultType.INTEGER, 0,
exp.ListSet(None, None, 1, 10, exp.ListBin("a"))).compile()
"""
self._children = (
index,
value,
_GenericExpr(_ExprOp._AS_EXP_CODE_CDT_LIST_MOD, 0, {_Keys.LIST_POLICY_KEY: policy} if policy is not None else {}),
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
if policy is not None:
self._fixed[_Keys.LIST_POLICY_KEY] = policy
class ListClear(_BaseExpr):
"""Create an expression that removes all items in a list."""
_op = aerospike.OP_LIST_CLEAR
def __init__(self, ctx: TypeCTX, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: List expression.
Example::
# Clear list value of list nested in list bin "a" index 1.
from aerospike_helpers import cdt_ctx
expr = exp.ListClear([cdt_ctx.cdt_ctx_list_index(1)], "a").compile()
"""
self._children = (
bin if isinstance(bin, _BaseExpr) else ListBin(bin),
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListSort(_BaseExpr):
"""Create an expression that sorts a list."""
_op = aerospike.OP_LIST_SORT
def __init__(self, ctx: TypeCTX, order: int, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
order (int): Optional flags modifiying the behavior of list_sort. This should be constructed by bitwise or'ing together values from :ref:`aerospike_list_sort_flag`.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# Get value of sorted list bin "a".
expr = exp.ListSort(None, aerospike.LIST_SORT_DEFAULT, "a").compile()
"""
self._children = (
bin if isinstance(bin, _BaseExpr) else ListBin(bin),
)
self._fixed = {_Keys.LIST_ORDER_KEY: order}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByValue(_BaseExpr):
"""Create an expression that removes list items identified by value."""
_op = aerospike.OP_LIST_REMOVE_BY_VALUE
def __init__(self, ctx: TypeCTX, value: TypeValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
value (TypeValue): Value or value expression to remove.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# See if list bin "a", with `3` removed, is equal to list bin "b".
expr = exp.Eq(exp.ListRemoveByValue(None, 3, exp.ListBin("a")), ListBin("b")).compile()
"""
self._children = (
value,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByValueList(_BaseExpr):
"""Create an expression that removes list items identified by values."""
_op = aerospike.OP_LIST_REMOVE_BY_VALUE_LIST
def __init__(self, ctx: TypeCTX, values: TypeListValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
values (TypeListValue): List of values or list expression.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# Remove elements with values [1, 2, 3] from list bin "a".
expr = exp.ListRemoveByValueList(None, [1, 2, 3], exp.ListBin("a")).compile()
"""
self._children = (
values,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByValueRange(_BaseExpr):
""" Create an expression that removes list items identified by value range
(begin inclusive, end exclusive). If begin is None, the range is less than end.
If end is None, the range is greater than or equal to begin.
"""
_op = aerospike.OP_LIST_REMOVE_BY_VALUE_RANGE
def __init__(self, ctx: TypeCTX, begin: TypeValue, end: TypeValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
begin (TypeValue): Begin value or value expression for range.
end (TypeValue): End value or value expression for range.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# Remove list of items with values >= 3 and < 7 from list bin "a".
expr = exp.ListRemoveByValueRange(None, 3, 7, exp.ListBin("a")).compile()
"""
self._children = (
begin,
end,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByValueRelRankToEnd(_BaseExpr):
"""Create an expression that removes list items nearest to value and greater by relative rank."""
_op = aerospike.OP_LIST_REMOVE_BY_REL_RANK_RANGE_TO_END
def __init__(self, ctx: TypeCTX, value: TypeValue, rank: TypeRank, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
value (TypeValue): Start value or value expression.
rank (TypeRank): Rank integer or integer expression.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# Remove elements larger than 4 by relative rank in list bin "a".
expr = exp.ListRemoveByValueRelRankToEnd(None, 4, 1, exp.ListBin("a")).compile()
"""
self._children = (
value,
rank,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByValueRelRankRange(_BaseExpr):
""" Create an expression that removes list items nearest to value and greater by relative rank with a
count limit.
"""
_op = aerospike.OP_LIST_REMOVE_BY_REL_RANK_RANGE
def __init__(self, ctx: TypeCTX, value: TypeValue, rank: TypeRank, count: TypeCount, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
value (TypeValue): Start value or value expression.
rank (TypeRank): Rank integer or integer expression.
count (TypeCount): How many elements to remove.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# After removing the 3 elements larger than 4 by relative rank, does list bin "a" include 9?.
expr = exp.GT(
exp.ListGetByValue(None, aerospike.LIST_RETURN_COUNT, 9,
exp.ListRemoveByValueRelRankRange(None, 4, 1, 0, exp.ListBin("a"))),
0).compile()
"""
self._children = (
value,
rank,
count,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByIndex(_BaseExpr):
"""Create an expression that removes "count" list items starting at specified index."""
_op = aerospike.OP_LIST_REMOVE_BY_INDEX
def __init__(self, ctx: TypeCTX, index: TypeIndex, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
index (TypeIndex): Index integer or integer expression of element to remove.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# Get size of list bin "a" after index 3 has been removed.
expr = exp.ListSize(None, exp.ListRemoveByIndex(None, 3, exp.ListBin("a"))).compile()
"""
self._children = (
index,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByIndexRangeToEnd(_BaseExpr):
"""Create an expression that removes list items starting at specified index to the end of list."""
_op = aerospike.OP_LIST_REMOVE_BY_INDEX_RANGE_TO_END
def __init__(self, ctx: TypeCTX, index: TypeIndex, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
index (TypeIndex): Starting index integer or integer expression of elements to remove.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# Remove all elements starting from index 3 in list bin "a".
expr = exp.ListRemoveByIndexRangeToEnd(None, 3, exp.ListBin("a")).compile()
"""
self._children = (
index,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByIndexRange(_BaseExpr):
"""Create an expression that removes "count" list items starting at specified index."""
_op = aerospike.OP_LIST_REMOVE_BY_INDEX_RANGE
def __init__(self, ctx: TypeCTX, index: TypeIndex, count: TypeCount, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
index (TypeIndex): Starting index integer or integer expression of elements to remove.
count (TypeCount): Integer or integer expression, how many elements to remove.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# Get size of list bin "a" after index 3, 4, and 5 have been removed.
expr = exp.ListSize(None, exp.ListRemoveByIndexRange(None, 3, 3, exp.ListBin("a"))).compile()
"""
self._children = (
index,
count,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByRank(_BaseExpr):
"""Create an expression that removes list item identified by rank."""
_op = aerospike.OP_LIST_REMOVE_BY_RANK
def __init__(self, ctx: TypeCTX, rank: TypeRank, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
rank (TypeRank): Rank integer or integer expression of element to remove.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# Remove smallest value in list bin "a".
expr = exp.ListRemoveByRank(None, 0, exp.ListBin("a")).compile()
"""
self._children = (
rank,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByRankRangeToEnd(_BaseExpr):
"""Create an expression that removes list items starting at specified rank to the last ranked item."""
_op = aerospike.OP_LIST_REMOVE_BY_RANK_RANGE_TO_END
def __init__(self, ctx: TypeCTX, rank: TypeRank, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
rank (TypeRank): Rank integer or integer expression of element to start removing at.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# Remove the 2 largest elements from List bin "a".
expr = exp.ListRemoveByRankRangeToEnd(None, -2, exp.ListBin("a")).compile()
"""
self._children = (
rank,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListRemoveByRankRange(_BaseExpr):
"""Create an expression that removes "count" list items starting at specified rank."""
_op = aerospike.OP_LIST_REMOVE_BY_RANK_RANGE
def __init__(self, ctx: TypeCTX, rank: TypeRank, count: TypeCount, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
rank (TypeRank): Rank integer or integer expression of element to start removing at.
count (TypeCount): Count integer or integer expression of elements to remove.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: list expression.
Example::
# Remove the 3 smallest items from list bin "a".
expr = exp.ListRemoveByRankRange(None, 0, 3, exp.ListBin("a")).compile()
"""
self._children = (
rank,
count,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
#######################
# List Read Expressions
#######################
class ListSize(_BaseExpr):
"""Create an expression that returns list size."""
_op = aerospike.OP_LIST_SIZE
def __init__(self, ctx: TypeCTX, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Integer expression.
Example::
#Take the size of list bin "a".
expr = exp.ListSize(None, exp.ListBin("a")).compile()
"""
self._children = (
bin if isinstance(bin, _BaseExpr) else ListBin(bin),
)
self._fixed = {}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByValue(_BaseExpr):
""" Create an expression that selects list items identified by value and returns selected
data specified by return_type.
"""
_op = aerospike.OP_LIST_GET_BY_VALUE
def __init__(self, ctx: TypeCTX, return_type: int, value: TypeValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values.
value (TypeValue): Value or value expression of element to get.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
# Get the index of the element with value, 3, in list bin "a".
expr = exp.ListGetByValue(None, aerospike.LIST_RETURN_INDEX, 3, exp.ListBin("a")).compile()
"""
self._children = (
value,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByValueRange(_BaseExpr):
""" Create an expression that selects list items identified by value range and returns selected
data specified by return_type.
"""
_op = aerospike.OP_LIST_GET_BY_VALUE_RANGE
def __init__(
self,
ctx: TypeCTX,
return_type: int,
value_begin: TypeValue,
value_end: TypeValue,
bin: TypeBinName
):
""" Create an expression that selects list items identified by value range and returns selected
data specified by return_type.
Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values.
value_begin (TypeValue): Value or value expression of first element to get.
value_end (TypeValue): Value or value expression of ending element.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
# Get rank of values between 3 (inclusive) and 7 (exclusive) in list bin "a".
expr = exp.ListGetByValueRange(None, aerospike.LIST_RETURN_RANK, 3, 7, exp.ListBin("a")).compile()
"""
self._children = (
value_begin,
value_end,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByValueList(_BaseExpr):
""" Create an expression that selects list items identified by values and returns selected
data specified by return_type.
"""
_op = aerospike.OP_LIST_GET_BY_VALUE_LIST
def __init__(self, ctx: TypeCTX, return_type: int, value: TypeListValue, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values.
value (TypeListValue): List or list expression of values of elements to get.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
#Get the indexes of the the elements in list bin "a" with values [3, 6, 12].
expr = exp.ListGetByValueList(None, aerospike.LIST_RETURN_INDEX, [3, 6, 12], exp.ListBin("a")).compile()
"""
self._children = (
value,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByValueRelRankRangeToEnd(_BaseExpr):
"""Create an expression that selects list items nearest to value and greater by relative rank"""
_op = aerospike.OP_LIST_GET_BY_VALUE_RANK_RANGE_REL_TO_END
def __init__(self, ctx: TypeCTX, return_type: int, value: TypeValue, rank: TypeRank, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values.
value (TypeValue): Value or vaule expression to get items relative to.
rank (TypeRank): Rank intger expression. rank relative to "value" to start getting elements.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
# Get the values of all elements in list bin "a" larger than 3.
expr = exp.ListGetByValueRelRankRangeToEnd(None, aerospike.LIST_RETURN_VALUE, 3, 1, exp.ListBin("a")).compile()
"""
self._children = (
value,
rank,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByValueRelRankRange(_BaseExpr):
""" Create an expression that selects list items nearest to value and greater by relative rank with a
count limit and returns selected data specified by return_type.
"""
_op = aerospike.OP_LIST_GET_BY_VALUE_RANK_RANGE_REL
def __init__(self, ctx: TypeCTX, return_type: int, value: TypeValue, rank: TypeRank, count: TypeCount, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values.
value (TypeValue): Value or vaule expression to get items relative to.
rank (TypeRank): Rank intger expression. rank relative to "value" to start getting elements.
count (TypeCount): Integer value or integer value expression, how many elements to get.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
# Get the next 2 values in list bin "a" larger than 3.
expr = exp.ListGetByValueRelRankRange(None, aerospike.LIST_RETURN_VALUE, 3, 1, 2, exp.ListBin("a")).compile()
"""
self._children = (
value,
rank,
count,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByIndex(_BaseExpr):
""" Create an expression that selects list item identified by index
and returns selected data specified by return_type.
"""
_op = aerospike.OP_LIST_GET_BY_INDEX
def __init__(
self,
ctx: TypeCTX,
return_type: int,
value_type: int,
index: TypeIndex,
bin: TypeBinName,
):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values
value_type (int): The value type that will be returned by this expression (ResultType).
index (TypeIndex): Integer or integer expression of index to get element at.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
# Get the value at index 0 in list bin "a". (assume this value is an integer)
expr = exp.ListGetByIndex(None, aerospike.LIST_RETURN_VALUE, ResultType.INTEGER, 0, exp.ListBin("a")).compile()
"""
self._children = (
index,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.VALUE_TYPE_KEY: value_type, _Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByIndexRangeToEnd(_BaseExpr):
""" Create an expression that selects list items starting at specified index to the end of list
and returns selected data specified by return_type.
"""
_op = aerospike.OP_LIST_GET_BY_INDEX_RANGE_TO_END
def __init__(self, ctx: TypeCTX, return_type: int, index: TypeIndex, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values.
index (TypeIndex): Integer or integer expression of index to start getting elements at.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
# Get element 5 to end from list bin "a".
expr = exp.ListGetByIndexRangeToEnd(None, aerospike.LIST_RETURN_VALUE, 5, exp.ListBin("a")).compile()
"""
self._children = (
index,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByIndexRange(_BaseExpr):
""" Create an expression that selects "count" list items starting at specified index
and returns selected data specified by return_type.
"""
_op = aerospike.OP_LIST_GET_BY_INDEX_RANGE
def __init__(self, ctx: TypeCTX, return_type: int, index: TypeIndex, count: TypeCount, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values.
index (TypeIndex): Integer or integer expression of index to start getting elements at.
count (TypeCount): Integer or integer expression for count of elements to get.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
# Get elements at indexes 3, 4, 5, 6 in list bin "a".
expr = exp.ListGetByIndexRange(None, aerospike.LIST_RETURN_VALUE, 3, 4, exp.ListBin("a")).compile()
"""
self._children = (
index,
count,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByRank(_BaseExpr):
""" Create an expression that selects list item identified by rank
and returns selected data specified by return_type.
"""
_op = aerospike.OP_LIST_GET_BY_RANK
def __init__(
self,
ctx: TypeCTX,
return_type: int,
value_type: int,
rank: TypeRank,
bin: TypeBinName,
):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values.
value_type (int): The value type that will be returned by this expression (ResultType).
rank (TypeRank): Rank integer or integer expression of element to get.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
# Get the smallest element in list bin "a".
expr = exp.ListGetByRank(None, aerospike.LIST_RETURN_VALUE, aerospike.ResultType.INTEGER, 0, exp.ListBin("a")).compile()
"""
self._children = (
rank,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.VALUE_TYPE_KEY: value_type, _Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByRankRangeToEnd(_BaseExpr):
""" Create an expression that selects list items starting at specified rank to the last ranked item
and returns selected data specified by return_type.
"""
_op = aerospike.OP_LIST_GET_BY_RANK_RANGE_TO_END
def __init__(self, ctx: TypeCTX, return_type: int, rank: TypeRank, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values.
rank (TypeRank): Rank integer or integer expression of first element to get.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
# Get the three largest elements in list bin "a".
expr = exp.ListGetByRankRangeToEnd(None, aerospike.LIST_RETURN_VALUE, -3, exp.ListBin("a")).compile()
"""
self._children = (
rank,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
class ListGetByRankRange(_BaseExpr):
""" Create an expression that selects "count" list items starting at specified rank
and returns selected data specified by return_type.
"""
_op = aerospike.OP_LIST_GET_BY_RANK_RANGE
def __init__(self, ctx: TypeCTX, return_type: int, rank: TypeRank, count: TypeCount, bin: TypeBinName):
""" Args:
ctx (TypeCTX): An optional list of nested CDT :mod:`cdt_ctx <aerospike_helpers.cdt_ctx>` context operation objects.
return_type (int): Value specifying what should be returned from the operation.
This should be one of the :ref:`list_return_types` values.
rank (TypeRank): Rank integer or integer expression of first element to get.
count (TypeCount): Count integer or integer expression for how many elements to get.
bin (TypeBinName): bin expression, such as :class:`~aerospike_helpers.expressions.base.MapBin` or :class:`~aerospike_helpers.expressions.base.ListBin`.
:return: Expression.
Example::
# Get the 3 smallest elements in list bin "a".
expr = exp.ListGetByRankRange(None, aerospike.LIST_RETURN_VALUE, 0, 3, exp.ListBin("a")).compile()
"""
self._children = (
rank,
count,
bin if isinstance(bin, _BaseExpr) else ListBin(bin)
)
self._fixed = {_Keys.RETURN_TYPE_KEY: return_type}
if ctx is not None:
self._fixed[_Keys.CTX_KEY] = ctx
| [
29113,
29113,
7804,
2235,
198,
2,
15069,
2211,
12,
1238,
2481,
15781,
2117,
522,
11,
3457,
13,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
29113,
29113,
7804,
2235,
198,
7061,
6,
198,
8053,
14700,
3994,
14700,
329,
3555,
290,
30620,
44968,
13,
4042,
286,
198,
27218,
4560,
389,
422,
262,
3210,
1058,
4666,
25,
63,
8053,
7824,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
3575,
602,
13,
4868,
62,
3575,
602,
29,
44646,
198,
198,
16281,
3712,
628,
220,
220,
220,
1330,
9551,
2117,
522,
62,
16794,
364,
13,
42712,
507,
355,
1033,
198,
220,
220,
220,
1303,
12322,
262,
2546,
286,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
44052,
796,
1033,
13,
8053,
10699,
7,
14202,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
7061,
6,
198,
198,
6738,
11593,
37443,
834,
1330,
37647,
198,
6738,
340,
861,
10141,
1330,
6333,
198,
6738,
19720,
1330,
7343,
11,
32233,
11,
309,
29291,
11,
4479,
11,
360,
713,
11,
4377,
198,
11748,
9551,
2117,
522,
198,
6738,
9551,
2117,
522,
62,
16794,
364,
1330,
22927,
83,
62,
49464,
198,
6738,
9551,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
37540,
1330,
4808,
46189,
3109,
1050,
198,
6738,
9551,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
37540,
1330,
4808,
14881,
3109,
1050,
198,
6738,
9551,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
37540,
1330,
4808,
3109,
1050,
18257,
198,
6738,
9551,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
37540,
1330,
25414,
6030,
198,
6738,
9551,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
37540,
1330,
4808,
40729,
198,
6738,
9551,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
1330,
7343,
33,
259,
198,
198,
14468,
4242,
2235,
198,
2,
7343,
3401,
10604,
507,
198,
14468,
4242,
2235,
198,
198,
6030,
33,
259,
5376,
796,
4479,
29795,
14881,
3109,
1050,
11,
965,
60,
198,
6030,
8053,
11395,
796,
4479,
29795,
14881,
3109,
1050,
11,
7343,
58,
7149,
11907,
198,
6030,
15732,
796,
4479,
29795,
14881,
3109,
1050,
11,
493,
11,
9551,
2117,
522,
13,
8610,
51,
18943,
9504,
60,
198,
6030,
4177,
55,
796,
4479,
58,
14202,
11,
7343,
58,
10210,
83,
62,
49464,
13557,
10210,
83,
62,
49464,
11907,
198,
6030,
27520,
796,
4479,
29795,
14881,
3109,
1050,
11,
493,
11,
9551,
2117,
522,
13,
8610,
51,
18943,
9504,
60,
198,
6030,
12332,
796,
4479,
29795,
14881,
3109,
1050,
11,
493,
11,
9551,
2117,
522,
13,
8610,
51,
18943,
9504,
60,
198,
6030,
11395,
796,
4479,
29795,
14881,
3109,
1050,
11,
4377,
60,
198,
6030,
36727,
796,
4479,
58,
35,
713,
58,
2536,
11,
4377,
4357,
6045,
60,
628,
198,
4871,
7343,
4677,
437,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
598,
2412,
1988,
284,
886,
286,
1351,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
24805,
10619,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
2450,
25,
5994,
36727,
11,
1988,
25,
5994,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2450,
357,
6030,
36727,
2599,
32233,
22155,
286,
1058,
5420,
25,
63,
8053,
4788,
1279,
25534,
2117,
522,
62,
4868,
62,
79,
4160,
444,
29,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
11052,
393,
1988,
5408,
284,
24443,
284,
1351,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
7343,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
611,
4129,
286,
1351,
9874,
366,
64,
1,
318,
1875,
642,
706,
598,
1571,
352,
2378,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
19555,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
10699,
7,
14202,
11,
1033,
13,
8053,
4677,
437,
7,
14202,
11,
6045,
11,
513,
11,
1033,
13,
8053,
33,
259,
7203,
64,
48774,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
642,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
46189,
3109,
1050,
28264,
3109,
1050,
18257,
13557,
1921,
62,
49864,
62,
34,
16820,
62,
8610,
51,
62,
45849,
62,
9419,
33365,
11,
657,
11,
1391,
62,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
25,
2450,
92,
611,
2450,
318,
407,
6045,
2073,
23884,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2450,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
60,
796,
2450,
628,
198,
4871,
7343,
4677,
437,
23022,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
598,
2412,
257,
1351,
286,
3709,
284,
262,
886,
286,
257,
1351,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
24805,
10619,
62,
2043,
39201,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
2450,
25,
5994,
36727,
11,
1988,
25,
5994,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2450,
357,
6030,
36727,
2599,
32233,
22155,
286,
1058,
5420,
25,
63,
8053,
4788,
1279,
25534,
2117,
522,
62,
4868,
62,
79,
4160,
444,
29,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
7343,
393,
1351,
5408,
286,
3709,
284,
307,
598,
1631,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
7343,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
611,
4129,
286,
1351,
9874,
366,
64,
1,
318,
1875,
642,
706,
598,
1571,
3294,
3709,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
19555,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
10699,
7,
14202,
11,
1033,
13,
8053,
4677,
437,
23022,
7,
14202,
11,
6045,
11,
685,
18,
11,
362,
4357,
1033,
13,
8053,
33,
259,
7203,
64,
48774,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
642,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
46189,
3109,
1050,
28264,
3109,
1050,
18257,
13557,
1921,
62,
49864,
62,
34,
16820,
62,
8610,
51,
62,
45849,
62,
9419,
33365,
11,
657,
11,
1391,
62,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
25,
2450,
92,
611,
2450,
318,
407,
6045,
2073,
23884,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2450,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
60,
796,
2450,
628,
198,
4871,
7343,
44402,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
42220,
1988,
284,
7368,
6376,
286,
1351,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
20913,
17395,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
2450,
25,
5994,
36727,
11,
6376,
25,
5994,
15732,
11,
1988,
25,
5994,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2450,
357,
6030,
36727,
2599,
32233,
22155,
286,
1058,
5420,
25,
63,
8053,
4788,
1279,
25534,
2117,
522,
62,
4868,
62,
79,
4160,
444,
29,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
357,
6030,
15732,
2599,
12744,
6376,
329,
36075,
11,
18253,
393,
18253,
5408,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
11052,
393,
1988,
5408,
284,
307,
18846,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
7343,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
611,
1351,
9874,
366,
64,
1,
468,
4129,
1875,
642,
706,
7550,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
19555,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
10699,
7,
14202,
11,
1033,
13,
8053,
44402,
7,
14202,
11,
6045,
11,
657,
11,
513,
11,
1033,
13,
8053,
33,
259,
7203,
64,
48774,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
642,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
46189,
3109,
1050,
28264,
3109,
1050,
18257,
13557,
1921,
62,
49864,
62,
34,
16820,
62,
8610,
51,
62,
45849,
62,
33365,
11,
657,
11,
1391,
62,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
25,
2450,
92,
611,
2450,
318,
407,
6045,
2073,
23884,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2450,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
60,
796,
2450,
628,
198,
4871,
7343,
44402,
23022,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
42220,
1123,
5128,
1351,
2378,
3599,
379,
7368,
6376,
286,
1351,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
20913,
17395,
62,
2043,
39201,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
2450,
25,
5994,
36727,
11,
6376,
25,
5994,
15732,
11,
3815,
25,
5994,
8053,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2450,
357,
6030,
36727,
2599,
32233,
22155,
286,
1058,
5420,
25,
63,
8053,
4788,
1279,
25534,
2117,
522,
62,
4868,
62,
79,
4160,
444,
29,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
357,
6030,
15732,
2599,
12744,
6376,
810,
2378,
36075,
481,
2221,
11,
18253,
393,
18253,
5408,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3815,
357,
6030,
8053,
11395,
2599,
7343,
393,
1351,
5408,
286,
3709,
284,
307,
18846,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
7343,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
611,
1351,
9874,
366,
64,
1,
468,
4129,
1875,
642,
706,
19319,
3709,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
19555,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
10699,
7,
14202,
11,
1033,
13,
8053,
44402,
23022,
7,
14202,
11,
6045,
11,
657,
11,
685,
19,
11,
767,
4357,
1033,
13,
8053,
33,
259,
7203,
64,
48774,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
642,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3815,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
46189,
3109,
1050,
28264,
3109,
1050,
18257,
13557,
1921,
62,
49864,
62,
34,
16820,
62,
8610,
51,
62,
45849,
62,
33365,
11,
657,
11,
1391,
62,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
25,
2450,
92,
611,
2450,
318,
407,
6045,
2073,
23884,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2450,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
60,
796,
2450,
628,
198,
4871,
7343,
15562,
434,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
41867,
1351,
58,
9630,
60,
416,
1988,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
30158,
2200,
10979,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
2450,
25,
5994,
36727,
11,
6376,
25,
5994,
15732,
11,
1988,
25,
5994,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2450,
357,
6030,
36727,
2599,
32233,
22155,
286,
1058,
5420,
25,
63,
8053,
4788,
1279,
25534,
2117,
522,
62,
4868,
62,
79,
4160,
444,
29,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
357,
6030,
15732,
2599,
12901,
286,
1988,
284,
18703,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
11052,
393,
1988,
5408,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
7343,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
611,
1253,
12061,
1988,
287,
1351,
9874,
366,
64,
1,
318,
262,
4387,
287,
262,
1351,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
36,
80,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
3855,
3886,
27520,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
25414,
6030,
13,
12394,
7156,
1137,
11,
532,
16,
11,
1303,
43027,
286,
532,
16,
6624,
4387,
5002,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
15562,
434,
7,
14202,
11,
6045,
11,
352,
11,
642,
11,
1033,
13,
8053,
33,
259,
7203,
64,
48774,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
3855,
3886,
15732,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
25414,
6030,
13,
12394,
7156,
1137,
11,
352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
15562,
434,
7,
14202,
11,
6045,
11,
352,
11,
642,
11,
1033,
13,
8053,
33,
259,
7203,
64,
1,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
46189,
3109,
1050,
28264,
3109,
1050,
18257,
13557,
1921,
62,
49864,
62,
34,
16820,
62,
8610,
51,
62,
45849,
62,
9419,
33365,
11,
657,
11,
1391,
62,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
25,
2450,
92,
611,
2450,
318,
407,
6045,
2073,
23884,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2450,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
60,
796,
2450,
628,
198,
4871,
7343,
7248,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
5621,
2378,
1988,
379,
7368,
6376,
287,
1351,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
28480,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
2450,
25,
5994,
36727,
11,
6376,
25,
5994,
15732,
11,
1988,
25,
5994,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2450,
357,
6030,
36727,
2599,
32233,
22155,
286,
1058,
5420,
25,
63,
8053,
4788,
1279,
25534,
2117,
522,
62,
4868,
62,
79,
4160,
444,
29,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
357,
6030,
15732,
2599,
6376,
286,
1988,
284,
900,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
1988,
393,
1988,
5408,
284,
900,
6376,
287,
1351,
284,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
7343,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
18197,
5002,
287,
1351,
9874,
366,
64,
1,
706,
4634,
6376,
352,
284,
838,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
27520,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
25414,
6030,
13,
12394,
7156,
1137,
11,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
7248,
7,
14202,
11,
6045,
11,
352,
11,
838,
11,
1033,
13,
8053,
33,
259,
7203,
64,
48774,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
46189,
3109,
1050,
28264,
3109,
1050,
18257,
13557,
1921,
62,
49864,
62,
34,
16820,
62,
8610,
51,
62,
45849,
62,
33365,
11,
657,
11,
1391,
62,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
25,
2450,
92,
611,
2450,
318,
407,
6045,
2073,
23884,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2450,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
45849,
62,
45472,
2149,
56,
62,
20373,
60,
796,
2450,
628,
198,
4871,
7343,
19856,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
20694,
477,
3709,
287,
257,
1351,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
29931,
1503,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
7343,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
11459,
1351,
1988,
286,
1351,
28376,
287,
1351,
9874,
366,
64,
1,
6376,
352,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
422,
9551,
2117,
522,
62,
16794,
364,
1330,
22927,
83,
62,
49464,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
19856,
26933,
10210,
83,
62,
49464,
13,
10210,
83,
62,
49464,
62,
4868,
62,
9630,
7,
16,
8,
4357,
366,
64,
11074,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
828,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
42758,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
10524,
257,
1351,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
50,
9863,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1502,
25,
493,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1502,
357,
600,
2599,
32233,
9701,
953,
22238,
1112,
262,
4069,
286,
1351,
62,
30619,
13,
770,
815,
307,
12006,
416,
1643,
3083,
393,
6,
278,
1978,
3815,
422,
1058,
5420,
25,
63,
25534,
2117,
522,
62,
4868,
62,
30619,
62,
32109,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
1988,
286,
23243,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
42758,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
50,
9863,
62,
7206,
38865,
11,
366,
64,
11074,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
828,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
45849,
62,
12532,
1137,
62,
20373,
25,
1502,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
11395,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
20694,
1351,
3709,
5174,
416,
1988,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
39488,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1988,
25,
5994,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
11052,
393,
1988,
5408,
284,
4781,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4091,
611,
1351,
9874,
366,
64,
1600,
351,
4600,
18,
63,
4615,
11,
318,
4961,
284,
1351,
9874,
366,
65,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
36,
80,
7,
11201,
13,
8053,
27914,
3886,
11395,
7,
14202,
11,
513,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
828,
7343,
33,
259,
7203,
65,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
11395,
8053,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
20694,
1351,
3709,
5174,
416,
3815,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
39488,
62,
45849,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
3815,
25,
5994,
8053,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3815,
357,
6030,
8053,
11395,
2599,
7343,
286,
3815,
393,
1351,
5408,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17220,
4847,
351,
3815,
685,
16,
11,
362,
11,
513,
60,
422,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
27914,
3886,
11395,
8053,
7,
14202,
11,
685,
16,
11,
362,
11,
513,
4357,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3815,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
11395,
17257,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
20694,
1351,
3709,
5174,
416,
1988,
2837,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27471,
19889,
11,
886,
8568,
737,
1002,
2221,
318,
6045,
11,
262,
2837,
318,
1342,
621,
886,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
886,
318,
6045,
11,
262,
2837,
318,
3744,
621,
393,
4961,
284,
2221,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
39488,
62,
49,
27746,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
2221,
25,
5994,
11395,
11,
886,
25,
5994,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2221,
357,
6030,
11395,
2599,
16623,
1988,
393,
1988,
5408,
329,
2837,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
357,
6030,
11395,
2599,
5268,
1988,
393,
1988,
5408,
329,
2837,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17220,
1351,
286,
3709,
351,
3815,
18189,
513,
290,
1279,
767,
422,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
27914,
3886,
11395,
17257,
7,
14202,
11,
513,
11,
767,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2221,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
11395,
6892,
27520,
2514,
12915,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
20694,
1351,
3709,
16936,
284,
1988,
290,
3744,
416,
3585,
4279,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
16448,
62,
49,
15154,
62,
49,
27746,
62,
10468,
62,
10619,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1988,
25,
5994,
11395,
11,
4279,
25,
5994,
27520,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
7253,
1988,
393,
1988,
5408,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
357,
6030,
27520,
2599,
10916,
18253,
393,
18253,
5408,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17220,
4847,
4025,
621,
604,
416,
3585,
4279,
287,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
27914,
3886,
11395,
6892,
27520,
2514,
12915,
7,
14202,
11,
604,
11,
352,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
11395,
6892,
27520,
17257,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
20694,
1351,
3709,
16936,
284,
1988,
290,
3744,
416,
3585,
4279,
351,
257,
198,
220,
220,
220,
220,
220,
220,
220,
954,
4179,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
16448,
62,
49,
15154,
62,
49,
27746,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1988,
25,
5994,
11395,
11,
4279,
25,
5994,
27520,
11,
954,
25,
5994,
12332,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
7253,
1988,
393,
1988,
5408,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
357,
6030,
27520,
2599,
10916,
18253,
393,
18253,
5408,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
357,
6030,
12332,
2599,
1374,
867,
4847,
284,
4781,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2293,
10829,
262,
513,
4847,
4025,
621,
604,
416,
3585,
4279,
11,
857,
1351,
9874,
366,
64,
1,
2291,
860,
30,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
19555,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
3855,
3886,
11395,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
34,
28270,
11,
860,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
13,
8053,
27914,
3886,
11395,
6892,
27520,
17257,
7,
14202,
11,
604,
11,
352,
11,
657,
11,
1033,
13,
8053,
33,
259,
7203,
64,
48774,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
15732,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
20694,
366,
9127,
1,
1351,
3709,
3599,
379,
7368,
6376,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
12115,
6369,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
6376,
25,
5994,
15732,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
357,
6030,
15732,
2599,
12901,
18253,
393,
18253,
5408,
286,
5002,
284,
4781,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
2546,
286,
1351,
9874,
366,
64,
1,
706,
6376,
513,
468,
587,
4615,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
10699,
7,
14202,
11,
1033,
13,
8053,
27914,
3886,
15732,
7,
14202,
11,
513,
11,
1033,
13,
8053,
33,
259,
7203,
64,
48774,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
15732,
17257,
2514,
12915,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
20694,
1351,
3709,
3599,
379,
7368,
6376,
284,
262,
886,
286,
1351,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
12115,
6369,
62,
49,
27746,
62,
10468,
62,
10619,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
6376,
25,
5994,
15732,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
357,
6030,
15732,
2599,
17962,
6376,
18253,
393,
18253,
5408,
286,
4847,
284,
4781,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17220,
477,
4847,
3599,
422,
6376,
513,
287,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
27914,
3886,
15732,
17257,
2514,
12915,
7,
14202,
11,
513,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
15732,
17257,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
20694,
366,
9127,
1,
1351,
3709,
3599,
379,
7368,
6376,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
12115,
6369,
62,
49,
27746,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
6376,
25,
5994,
15732,
11,
954,
25,
5994,
12332,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
357,
6030,
15732,
2599,
17962,
6376,
18253,
393,
18253,
5408,
286,
4847,
284,
4781,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
357,
6030,
12332,
2599,
34142,
393,
18253,
5408,
11,
703,
867,
4847,
284,
4781,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
2546,
286,
1351,
9874,
366,
64,
1,
706,
6376,
513,
11,
604,
11,
290,
642,
423,
587,
4615,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
10699,
7,
14202,
11,
1033,
13,
8053,
27914,
3886,
15732,
17257,
7,
14202,
11,
513,
11,
513,
11,
1033,
13,
8053,
33,
259,
7203,
64,
48774,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
27520,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
20694,
1351,
2378,
5174,
416,
4279,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
49,
15154,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
4279,
25,
5994,
27520,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
357,
6030,
27520,
2599,
10916,
18253,
393,
18253,
5408,
286,
5002,
284,
4781,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17220,
18197,
1988,
287,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
27914,
3886,
27520,
7,
14202,
11,
657,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
27520,
17257,
2514,
12915,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
20694,
1351,
3709,
3599,
379,
7368,
4279,
284,
262,
938,
10307,
2378,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
49,
15154,
62,
49,
27746,
62,
10468,
62,
10619,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
4279,
25,
5994,
27520,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
357,
6030,
27520,
2599,
10916,
18253,
393,
18253,
5408,
286,
5002,
284,
923,
10829,
379,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17220,
262,
362,
4387,
4847,
422,
7343,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
27914,
3886,
27520,
17257,
2514,
12915,
7,
14202,
11,
532,
17,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
27914,
3886,
27520,
17257,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
20694,
366,
9127,
1,
1351,
3709,
3599,
379,
7368,
4279,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
2200,
11770,
6089,
62,
17513,
62,
49,
15154,
62,
49,
27746,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
4279,
25,
5994,
27520,
11,
954,
25,
5994,
12332,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
357,
6030,
27520,
2599,
10916,
18253,
393,
18253,
5408,
286,
5002,
284,
923,
10829,
379,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
357,
6030,
12332,
2599,
2764,
18253,
393,
18253,
5408,
286,
4847,
284,
4781,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17220,
262,
513,
18197,
3709,
422,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
27914,
3886,
27520,
17257,
7,
14202,
11,
657,
11,
513,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
14468,
4242,
21017,
198,
2,
7343,
4149,
10604,
507,
198,
14468,
4242,
21017,
628,
198,
4871,
7343,
10699,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
5860,
1351,
2546,
526,
15931,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
33489,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
34142,
5408,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12322,
262,
2546,
286,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
10699,
7,
14202,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
828,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
11395,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
1351,
3709,
5174,
416,
1988,
290,
5860,
6163,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
7368,
416,
1441,
62,
4906,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
39488,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1441,
62,
4906,
25,
493,
11,
1988,
25,
5994,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
11052,
393,
1988,
5408,
286,
5002,
284,
651,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
262,
6376,
286,
262,
5002,
351,
1988,
11,
513,
11,
287,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
11395,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
12115,
6369,
11,
513,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
11395,
17257,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
1351,
3709,
5174,
416,
1988,
2837,
290,
5860,
6163,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
7368,
416,
1441,
62,
4906,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
39488,
62,
49,
27746,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
11,
198,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
25,
5994,
4177,
55,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
25,
493,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
62,
27471,
25,
5994,
11395,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
62,
437,
25,
5994,
11395,
11,
198,
220,
220,
220,
220,
220,
220,
220,
9874,
25,
5994,
33,
259,
5376,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
1351,
3709,
5174,
416,
1988,
2837,
290,
5860,
6163,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
7368,
416,
1441,
62,
4906,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
62,
27471,
357,
6030,
11395,
2599,
11052,
393,
1988,
5408,
286,
717,
5002,
284,
651,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
62,
437,
357,
6030,
11395,
2599,
11052,
393,
1988,
5408,
286,
7464,
5002,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
4279,
286,
3815,
1022,
513,
357,
259,
5731,
8,
290,
767,
357,
41195,
8,
287,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
11395,
17257,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
49,
15154,
11,
513,
11,
767,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
62,
27471,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
62,
437,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
11395,
8053,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
1351,
3709,
5174,
416,
3815,
290,
5860,
6163,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
7368,
416,
1441,
62,
4906,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
39488,
62,
45849,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1441,
62,
4906,
25,
493,
11,
1988,
25,
5994,
8053,
11395,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
220,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
8053,
11395,
2599,
7343,
393,
1351,
5408,
286,
3815,
286,
4847,
284,
651,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3855,
262,
39199,
286,
262,
262,
4847,
287,
1351,
9874,
366,
64,
1,
351,
3815,
685,
18,
11,
718,
11,
1105,
4083,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
11395,
8053,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
12115,
6369,
11,
685,
18,
11,
718,
11,
1105,
4357,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
11395,
6892,
27520,
17257,
2514,
12915,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
16447,
281,
5408,
326,
40573,
1351,
3709,
16936,
284,
1988,
290,
3744,
416,
3585,
4279,
37811,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
39488,
62,
49,
15154,
62,
49,
27746,
62,
16448,
62,
10468,
62,
10619,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1441,
62,
4906,
25,
493,
11,
1988,
25,
5994,
11395,
11,
4279,
25,
5994,
27520,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
11052,
393,
410,
559,
293,
5408,
284,
651,
3709,
3585,
284,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
357,
6030,
27520,
2599,
10916,
493,
1362,
5408,
13,
4279,
3585,
284,
366,
8367,
1,
284,
923,
1972,
4847,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
262,
3815,
286,
477,
4847,
287,
1351,
9874,
366,
64,
1,
4025,
621,
513,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
11395,
6892,
27520,
17257,
2514,
12915,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
513,
11,
352,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
11395,
6892,
27520,
17257,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
1351,
3709,
16936,
284,
1988,
290,
3744,
416,
3585,
4279,
351,
257,
198,
220,
220,
220,
220,
220,
220,
220,
954,
4179,
290,
5860,
6163,
1366,
7368,
416,
1441,
62,
4906,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
39488,
62,
49,
15154,
62,
49,
27746,
62,
16448,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1441,
62,
4906,
25,
493,
11,
1988,
25,
5994,
11395,
11,
4279,
25,
5994,
27520,
11,
954,
25,
5994,
12332,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
357,
6030,
11395,
2599,
11052,
393,
410,
559,
293,
5408,
284,
651,
3709,
3585,
284,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
357,
6030,
27520,
2599,
10916,
493,
1362,
5408,
13,
4279,
3585,
284,
366,
8367,
1,
284,
923,
1972,
4847,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
357,
6030,
12332,
2599,
34142,
1988,
393,
18253,
1988,
5408,
11,
703,
867,
4847,
284,
651,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
262,
1306,
362,
3815,
287,
1351,
9874,
366,
64,
1,
4025,
621,
513,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
11395,
6892,
27520,
17257,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
513,
11,
352,
11,
362,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
15732,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
1351,
2378,
5174,
416,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
290,
5860,
6163,
1366,
7368,
416,
1441,
62,
4906,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
12115,
6369,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
11,
198,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
25,
5994,
4177,
55,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
25,
493,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
62,
4906,
25,
493,
11,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
25,
5994,
15732,
11,
198,
220,
220,
220,
220,
220,
220,
220,
9874,
25,
5994,
33,
259,
5376,
11,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
62,
4906,
357,
600,
2599,
383,
1988,
2099,
326,
481,
307,
4504,
416,
428,
5408,
357,
23004,
6030,
737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
357,
6030,
15732,
2599,
34142,
393,
18253,
5408,
286,
6376,
284,
651,
5002,
379,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
262,
1988,
379,
6376,
657,
287,
1351,
9874,
366,
64,
1911,
357,
562,
2454,
428,
1988,
318,
281,
18253,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
15732,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
25414,
6030,
13,
12394,
7156,
1137,
11,
657,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
39488,
62,
25216,
62,
20373,
25,
1988,
62,
4906,
11,
4808,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
15732,
17257,
2514,
12915,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
1351,
3709,
3599,
379,
7368,
6376,
284,
262,
886,
286,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
290,
5860,
6163,
1366,
7368,
416,
1441,
62,
4906,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
12115,
6369,
62,
49,
27746,
62,
10468,
62,
10619,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1441,
62,
4906,
25,
493,
11,
6376,
25,
5994,
15732,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
357,
6030,
15732,
2599,
34142,
393,
18253,
5408,
286,
6376,
284,
923,
1972,
4847,
379,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
5002,
642,
284,
886,
422,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
15732,
17257,
2514,
12915,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
642,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
15732,
17257,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
366,
9127,
1,
1351,
3709,
3599,
379,
7368,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
290,
5860,
6163,
1366,
7368,
416,
1441,
62,
4906,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
12115,
6369,
62,
49,
27746,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1441,
62,
4906,
25,
493,
11,
6376,
25,
5994,
15732,
11,
954,
25,
5994,
12332,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
357,
6030,
15732,
2599,
34142,
393,
18253,
5408,
286,
6376,
284,
923,
1972,
4847,
379,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
357,
6030,
12332,
2599,
34142,
393,
18253,
5408,
329,
954,
286,
4847,
284,
651,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
4847,
379,
39199,
513,
11,
604,
11,
642,
11,
718,
287,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
15732,
17257,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
513,
11,
604,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
27520,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
1351,
2378,
5174,
416,
4279,
198,
220,
220,
220,
220,
220,
220,
220,
290,
5860,
6163,
1366,
7368,
416,
1441,
62,
4906,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
49,
15154,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
11,
198,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
25,
5994,
4177,
55,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
25,
493,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
62,
4906,
25,
493,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4279,
25,
5994,
27520,
11,
198,
220,
220,
220,
220,
220,
220,
220,
9874,
25,
5994,
33,
259,
5376,
11,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
62,
4906,
357,
600,
2599,
383,
1988,
2099,
326,
481,
307,
4504,
416,
428,
5408,
357,
23004,
6030,
737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
357,
6030,
27520,
2599,
10916,
18253,
393,
18253,
5408,
286,
5002,
284,
651,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
262,
18197,
5002,
287,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
27520,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
9551,
2117,
522,
13,
23004,
6030,
13,
12394,
7156,
1137,
11,
657,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
39488,
62,
25216,
62,
20373,
25,
1988,
62,
4906,
11,
4808,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
27520,
17257,
2514,
12915,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
1351,
3709,
3599,
379,
7368,
4279,
284,
262,
938,
10307,
2378,
198,
220,
220,
220,
220,
220,
220,
220,
290,
5860,
6163,
1366,
7368,
416,
1441,
62,
4906,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
49,
15154,
62,
49,
27746,
62,
10468,
62,
10619,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1441,
62,
4906,
25,
493,
11,
4279,
25,
5994,
27520,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
357,
6030,
27520,
2599,
10916,
18253,
393,
18253,
5408,
286,
717,
5002,
284,
651,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
262,
1115,
4387,
4847,
287,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
27520,
17257,
2514,
12915,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
532,
18,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
628,
198,
4871,
7343,
3855,
3886,
27520,
17257,
28264,
14881,
3109,
1050,
2599,
198,
220,
220,
220,
37227,
13610,
281,
5408,
326,
40573,
366,
9127,
1,
1351,
3709,
3599,
379,
7368,
4279,
198,
220,
220,
220,
220,
220,
220,
220,
290,
5860,
6163,
1366,
7368,
416,
1441,
62,
4906,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
404,
796,
9551,
2117,
522,
13,
3185,
62,
45849,
62,
18851,
62,
17513,
62,
49,
15154,
62,
49,
27746,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
269,
17602,
25,
5994,
4177,
55,
11,
1441,
62,
4906,
25,
493,
11,
4279,
25,
5994,
27520,
11,
954,
25,
5994,
12332,
11,
9874,
25,
5994,
33,
259,
5376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
357,
6030,
4177,
55,
2599,
1052,
11902,
1351,
286,
28376,
6458,
51,
1058,
4666,
25,
63,
10210,
83,
62,
49464,
1279,
25534,
2117,
522,
62,
16794,
364,
13,
10210,
83,
62,
49464,
29,
63,
4732,
4905,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
4906,
357,
600,
2599,
11052,
31577,
644,
815,
307,
4504,
422,
262,
4905,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
815,
307,
530,
286,
262,
1058,
5420,
25,
63,
4868,
62,
7783,
62,
19199,
63,
3815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
357,
6030,
27520,
2599,
10916,
18253,
393,
18253,
5408,
286,
717,
5002,
284,
651,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
357,
6030,
12332,
2599,
2764,
18253,
393,
18253,
5408,
329,
703,
867,
4847,
284,
651,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
357,
6030,
33,
259,
5376,
2599,
9874,
5408,
11,
884,
355,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
13912,
33,
259,
63,
393,
1058,
4871,
25,
63,
93,
25534,
2117,
522,
62,
16794,
364,
13,
42712,
507,
13,
8692,
13,
8053,
33,
259,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
41986,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17934,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
262,
513,
18197,
4847,
287,
1351,
9874,
366,
64,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44052,
796,
1033,
13,
8053,
3855,
3886,
27520,
17257,
7,
14202,
11,
9551,
2117,
522,
13,
45849,
62,
26087,
27064,
62,
39488,
11,
657,
11,
513,
11,
1033,
13,
8053,
33,
259,
7203,
64,
4943,
737,
5589,
576,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17197,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4279,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
611,
318,
39098,
7,
8800,
11,
4808,
14881,
3109,
1050,
8,
2073,
7343,
33,
259,
7,
8800,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
796,
1391,
62,
40729,
13,
26087,
27064,
62,
25216,
62,
20373,
25,
1441,
62,
4906,
92,
628,
220,
220,
220,
220,
220,
220,
220,
611,
269,
17602,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
34021,
29795,
40729,
13,
4177,
55,
62,
20373,
60,
796,
269,
17602,
198
] | 2.29577 | 19,975 |
#/usr/bin/env python3
my_file = '/opt/MkCheck/files/tiks.txt'
sorting = True
hold_lines = []
with open(my_file,'r') as text_file:
for row in text_file:
hold_lines.append(row)
outer_count = 1
line_count = 0
while sorting:
count = 0
increment = (outer_count-1) * 51
left = len(hold_lines) - increment
file_name = "/opt/MkCheck/files/small_file_" + str(outer_count * 51) + ".txt"
hold_new_lines = []
if left < 51:
while count < left:
hold_new_lines.append(hold_lines[line_count])
count += 1
line_count += 1
sorting = False
else:
while count < 51:
hold_new_lines.append(hold_lines[line_count])
count += 1
line_count += 1
outer_count += 1
with open(file_name,'w') as next_file:
for row in hold_new_lines:
next_file.write(row)
| [
2,
14,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
1820,
62,
7753,
796,
31051,
8738,
14,
44,
74,
9787,
14,
16624,
14,
20259,
591,
13,
14116,
6,
198,
82,
24707,
796,
6407,
198,
2946,
62,
6615,
796,
17635,
198,
4480,
1280,
7,
1820,
62,
7753,
4032,
81,
11537,
355,
2420,
62,
7753,
25,
198,
220,
220,
220,
329,
5752,
287,
2420,
62,
7753,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1745,
62,
6615,
13,
33295,
7,
808,
8,
198,
39605,
62,
9127,
796,
352,
198,
1370,
62,
9127,
796,
657,
198,
4514,
29407,
25,
198,
220,
220,
220,
954,
796,
657,
198,
220,
220,
220,
18703,
796,
357,
39605,
62,
9127,
12,
16,
8,
1635,
6885,
198,
220,
220,
220,
1364,
796,
18896,
7,
2946,
62,
6615,
8,
532,
18703,
198,
220,
220,
220,
2393,
62,
3672,
796,
12813,
8738,
14,
44,
74,
9787,
14,
16624,
14,
17470,
62,
7753,
62,
1,
1343,
965,
7,
39605,
62,
9127,
1635,
6885,
8,
1343,
27071,
14116,
1,
198,
220,
220,
220,
1745,
62,
3605,
62,
6615,
796,
17635,
198,
220,
220,
220,
611,
1364,
1279,
6885,
25,
198,
220,
220,
220,
220,
220,
220,
220,
981,
954,
1279,
1364,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1745,
62,
3605,
62,
6615,
13,
33295,
7,
2946,
62,
6615,
58,
1370,
62,
9127,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
9127,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
29407,
796,
10352,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
981,
954,
1279,
6885,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1745,
62,
3605,
62,
6615,
13,
33295,
7,
2946,
62,
6615,
58,
1370,
62,
9127,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
9127,
15853,
352,
198,
220,
220,
220,
12076,
62,
9127,
15853,
352,
198,
220,
220,
220,
351,
1280,
7,
7753,
62,
3672,
4032,
86,
11537,
355,
1306,
62,
7753,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
1745,
62,
3605,
62,
6615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
62,
7753,
13,
13564,
7,
808,
8,
198
] | 2.127404 | 416 |
import enum
import json
import colander
import deform
from websauna.compat.typing import Union
from websauna.compat.typing import Callable
from websauna.system.model.json import NestedMutationDict, NestedMutationList, json_serializer
def defer_widget_values(widget: type, values_callback: Callable, **kwargs) -> deform.widget.Widget:
"""Allow select or checkbox widget values construction deferred during the execution time.
:param widget: Any Deform widget class, see :py:class:`deform.widget.Widget`
:param value_callback: This callable(node, kw) is called deferredly by Colander
:param kwargs: Passed to the widget constructed
"""
_widget = widget
@colander.deferred
return _inner
class UUID(colander.String):
"""UUID field for Colander.
See also :py:class`websauna.system.form.widgets.FriendlyUUIDWidget`.
"""
class EnumValue(colander.String):
"""Allow choice of python enum.Enum in colander schemas.
Example:
.. code-block:: python
class AssetClass(enum.Enum):
'''What's preferred display format for this asset.'''
fiat = "fiat"
cryptocurrency = "cryptocurrency"
token = "token"
tokenized_shares = "tokenized_shares"
ether = "ether"
class Schema(CSRFSchema):
asset_class = colander.SchemaNode(
EnumValue(AssetClass),
widget=deform.widget.SelectWidget(values=enum_values(AssetClass)))
"""
def deserialize(self, node: colander.SchemaNode, cstruct: str):
"""Parse incoming form values to Python objects if needed.
"""
if cstruct:
return self.enum_class(cstruct)
else:
return None
def serialize(self, node: colander.SchemaNode, _enum: enum.Enum) -> str:
"""Convert Enum object to str for widget processing."""
if _enum:
assert isinstance(_enum, self.enum_class), "Expected {}, got {}".format(self.enum_class, _enum)
return _enum.value
else:
return _enum
class JSONValue(colander.String):
"""Serialize / deserialize JSON fields.
Example:
.. code-block:: python
class AssetSchema(CSRFSchema):
name = colander.SchemaNode(colander.String())
other_data = colander.SchemaNode(
JSONValue(),
widget=JSONWidget(),
description="JSON bag of attributes of the object")
"""
def deserialize(self, node: colander.SchemaNode, cstruct: str):
"""Parse incoming form values to Python objects if needed.
"""
if cstruct:
try:
return json.loads(cstruct)
except json.JSONDecodeError as e:
raise colander.Invalid(node, "Not valid JSON") from e
else:
return None
def serialize(self, node: colander.SchemaNode, data: Union[list, dict]) -> str:
"""Convert Python objects to JSON string."""
if data:
assert isinstance(data, (list, dict, NestedMutationDict, NestedMutationList)), "Expected list or dict, got {}".format(data.__class__)
return json_serializer(data)
else:
# Noneish
return data | [
11748,
33829,
198,
11748,
33918,
198,
198,
11748,
951,
4066,
198,
11748,
47577,
198,
198,
6738,
2639,
32837,
13,
5589,
265,
13,
774,
13886,
1330,
4479,
198,
6738,
2639,
32837,
13,
5589,
265,
13,
774,
13886,
1330,
4889,
540,
198,
6738,
2639,
32837,
13,
10057,
13,
19849,
13,
17752,
1330,
399,
7287,
44,
7094,
35,
713,
11,
399,
7287,
44,
7094,
8053,
11,
33918,
62,
46911,
7509,
628,
198,
4299,
29135,
62,
42655,
62,
27160,
7,
42655,
25,
2099,
11,
3815,
62,
47423,
25,
4889,
540,
11,
12429,
46265,
22046,
8,
4613,
47577,
13,
42655,
13,
38300,
25,
198,
220,
220,
220,
37227,
35265,
2922,
393,
2198,
3524,
26295,
3815,
5103,
28651,
1141,
262,
9706,
640,
13,
628,
220,
220,
220,
1058,
17143,
26295,
25,
4377,
1024,
687,
26295,
1398,
11,
766,
1058,
9078,
25,
4871,
25,
63,
2934,
687,
13,
42655,
13,
38300,
63,
198,
220,
220,
220,
1058,
17143,
1988,
62,
47423,
25,
770,
869,
540,
7,
17440,
11,
479,
86,
8,
318,
1444,
28651,
306,
416,
1623,
4066,
198,
220,
220,
220,
1058,
17143,
479,
86,
22046,
25,
23228,
284,
262,
26295,
12006,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
4808,
42655,
796,
26295,
628,
220,
220,
220,
2488,
4033,
4066,
13,
4299,
17436,
628,
220,
220,
220,
1441,
4808,
5083,
628,
198,
4871,
471,
27586,
7,
4033,
4066,
13,
10100,
2599,
198,
220,
220,
220,
37227,
52,
27586,
2214,
329,
1623,
4066,
13,
628,
220,
220,
220,
4091,
635,
1058,
9078,
25,
4871,
63,
732,
1443,
32837,
13,
10057,
13,
687,
13,
28029,
11407,
13,
23331,
306,
52,
27586,
38300,
44646,
198,
220,
220,
220,
37227,
628,
198,
4871,
2039,
388,
11395,
7,
4033,
4066,
13,
10100,
2599,
198,
220,
220,
220,
37227,
35265,
3572,
286,
21015,
33829,
13,
4834,
388,
287,
951,
4066,
3897,
5356,
13,
628,
220,
220,
220,
17934,
25,
628,
220,
220,
220,
11485,
2438,
12,
9967,
3712,
21015,
628,
220,
220,
220,
220,
220,
220,
220,
1398,
31433,
9487,
7,
44709,
13,
4834,
388,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
2061,
338,
9871,
3359,
5794,
329,
428,
11171,
2637,
7061,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36984,
796,
366,
69,
5375,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20210,
796,
366,
29609,
420,
13382,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11241,
796,
366,
30001,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11241,
1143,
62,
1477,
3565,
796,
366,
30001,
1143,
62,
1477,
3565,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28475,
796,
366,
6750,
1,
628,
220,
220,
220,
220,
220,
220,
220,
1398,
10011,
2611,
7,
7902,
49,
10652,
2395,
2611,
2599,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11171,
62,
4871,
796,
951,
4066,
13,
27054,
2611,
19667,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2039,
388,
11395,
7,
45869,
9487,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
2934,
687,
13,
42655,
13,
17563,
38300,
7,
27160,
28,
44709,
62,
27160,
7,
45869,
9487,
22305,
628,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
748,
48499,
1096,
7,
944,
11,
10139,
25,
951,
4066,
13,
27054,
2611,
19667,
11,
269,
7249,
25,
965,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
15619,
1296,
3815,
284,
11361,
5563,
611,
2622,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
269,
7249,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
44709,
62,
4871,
7,
66,
7249,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
825,
11389,
1096,
7,
944,
11,
10139,
25,
951,
4066,
13,
27054,
2611,
19667,
11,
4808,
44709,
25,
33829,
13,
4834,
388,
8,
4613,
965,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3103,
1851,
2039,
388,
2134,
284,
965,
329,
26295,
7587,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4808,
44709,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
318,
39098,
28264,
44709,
11,
2116,
13,
44709,
62,
4871,
828,
366,
3109,
7254,
1391,
5512,
1392,
23884,
1911,
18982,
7,
944,
13,
44709,
62,
4871,
11,
4808,
44709,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
4808,
44709,
13,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
4808,
44709,
628,
198,
4871,
19449,
11395,
7,
4033,
4066,
13,
10100,
2599,
198,
220,
220,
220,
37227,
32634,
1096,
1220,
748,
48499,
1096,
19449,
7032,
13,
628,
220,
220,
220,
17934,
25,
628,
220,
220,
220,
11485,
2438,
12,
9967,
3712,
21015,
628,
220,
220,
220,
220,
220,
220,
220,
1398,
31433,
27054,
2611,
7,
7902,
49,
10652,
2395,
2611,
2599,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
951,
4066,
13,
27054,
2611,
19667,
7,
4033,
4066,
13,
10100,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
584,
62,
7890,
796,
951,
4066,
13,
27054,
2611,
19667,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19449,
11395,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
40386,
38300,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
2625,
40386,
6131,
286,
12608,
286,
262,
2134,
4943,
628,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
748,
48499,
1096,
7,
944,
11,
10139,
25,
951,
4066,
13,
27054,
2611,
19667,
11,
269,
7249,
25,
965,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
15619,
1296,
3815,
284,
11361,
5563,
611,
2622,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
269,
7249,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
13,
46030,
7,
66,
7249,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
33918,
13,
40386,
10707,
1098,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
951,
4066,
13,
44651,
7,
17440,
11,
366,
3673,
4938,
19449,
4943,
422,
304,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
825,
11389,
1096,
7,
944,
11,
10139,
25,
951,
4066,
13,
27054,
2611,
19667,
11,
1366,
25,
4479,
58,
4868,
11,
8633,
12962,
4613,
965,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3103,
1851,
11361,
5563,
284,
19449,
4731,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1366,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
318,
39098,
7,
7890,
11,
357,
4868,
11,
8633,
11,
399,
7287,
44,
7094,
35,
713,
11,
399,
7287,
44,
7094,
8053,
36911,
366,
3109,
7254,
1351,
393,
8633,
11,
1392,
23884,
1911,
18982,
7,
7890,
13,
834,
4871,
834,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
62,
46911,
7509,
7,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6045,
680,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1366
] | 2.433655 | 1,349 |
# Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima).
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
HelloWorld Publisher
"""
from threading import Condition
import time
import fastdds
import HelloWorld
DESCRIPTION = """HelloWorld Publisher example for Fast DDS python bindings"""
USAGE = ('python3 HelloWorldPublisher.py')
if __name__ == '__main__':
print('Starting publisher.')
writer = Writer()
writer.run()
exit()
| [
2,
15069,
33160,
1041,
88,
478,
418,
331,
311,
396,
368,
292,
390,
36987,
268,
320,
1153,
78,
12419,
357,
68,
35726,
8083,
737,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
37811,
198,
15496,
10603,
28045,
198,
37811,
198,
6738,
4704,
278,
1330,
24295,
198,
11748,
640,
198,
198,
11748,
3049,
33714,
198,
11748,
18435,
10603,
198,
198,
30910,
40165,
796,
37227,
15496,
10603,
28045,
1672,
329,
12549,
360,
5258,
21015,
34111,
37811,
198,
2937,
11879,
796,
19203,
29412,
18,
18435,
10603,
46471,
13,
9078,
11537,
628,
628,
628,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
3601,
10786,
22851,
9991,
2637,
8,
198,
220,
220,
220,
6260,
796,
26606,
3419,
198,
220,
220,
220,
6260,
13,
5143,
3419,
198,
220,
220,
220,
8420,
3419,
198
] | 3.557196 | 271 |
"""
Account admin register.
"""
# Django
from django.contrib import admin
from django.contrib import messages
# Models
from accounts.models import UserRequest
@admin.register(UserRequest)
class UserRequestAdmin(admin.ModelAdmin):
"""User Request Admin"""
list_display = (
'username',
'email',
'is_accepted',
)
search_fields = (
'username',
'email',
)
list_filter = (
'is_accepted',
)
list_editable = ('is_accepted',) | [
37811,
198,
30116,
13169,
7881,
13,
198,
37811,
198,
198,
2,
37770,
198,
6738,
42625,
14208,
13,
3642,
822,
1330,
13169,
198,
6738,
42625,
14208,
13,
3642,
822,
1330,
6218,
198,
198,
2,
32329,
198,
6738,
5504,
13,
27530,
1330,
11787,
18453,
628,
198,
31,
28482,
13,
30238,
7,
12982,
18453,
8,
198,
4871,
11787,
18453,
46787,
7,
28482,
13,
17633,
46787,
2599,
198,
220,
220,
220,
37227,
12982,
19390,
32053,
37811,
198,
220,
220,
220,
1351,
62,
13812,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
705,
29460,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
12888,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
271,
62,
13635,
276,
3256,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
2989,
62,
25747,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
705,
29460,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
12888,
3256,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
1351,
62,
24455,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
705,
271,
62,
13635,
276,
3256,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
1351,
62,
276,
4674,
796,
19203,
271,
62,
13635,
276,
3256,
8
] | 2.475248 | 202 |
"""Unit test package for ct1."""
| [
37811,
26453,
1332,
5301,
329,
269,
83,
16,
526,
15931,
198
] | 3 | 11 |
# -*- coding: utf-8 -*-
"""Exporters for ComPath resources."""
from .bel import get_bel # noqa:F401
from .rdf import get_rdf # noqa:F401
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
37811,
3109,
1819,
1010,
329,
955,
15235,
4133,
526,
15931,
198,
198,
6738,
764,
6667,
1330,
651,
62,
6667,
220,
1303,
645,
20402,
25,
37,
21844,
198,
6738,
764,
4372,
69,
1330,
651,
62,
4372,
69,
220,
1303,
645,
20402,
25,
37,
21844,
198
] | 2.389831 | 59 |
import struct
from PyFDP.FDP import FDP
if __name__ == '__main__':
#fdp = FDP("7_SP1_x64")
fdp = FDP("8_1_x64")
#fdp = FDP("10_x64")
fdp.Restore()
| [
11748,
2878,
198,
198,
6738,
9485,
37,
6322,
13,
37,
6322,
1330,
376,
6322,
628,
220,
220,
220,
220,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1303,
16344,
79,
796,
376,
6322,
7203,
22,
62,
4303,
16,
62,
87,
2414,
4943,
198,
220,
220,
220,
277,
26059,
796,
376,
6322,
7203,
23,
62,
16,
62,
87,
2414,
4943,
198,
220,
220,
220,
1303,
16344,
79,
796,
376,
6322,
7203,
940,
62,
87,
2414,
4943,
198,
220,
220,
220,
220,
198,
220,
220,
220,
277,
26059,
13,
19452,
382,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220
] | 1.726415 | 106 |
VERSION = "0.4.14.2"
| [
43717,
796,
366,
15,
13,
19,
13,
1415,
13,
17,
1,
198
] | 1.75 | 12 |
import numpy as np
import plotly.graph_objs as go
import networkx as nx
#creates the data graph instance
#this will create our initial plotly graph to display
| [
198,
11748,
299,
32152,
355,
45941,
198,
198,
11748,
7110,
306,
13,
34960,
62,
672,
8457,
355,
467,
198,
11748,
3127,
87,
355,
299,
87,
198,
198,
2,
20123,
274,
262,
1366,
4823,
4554,
628,
198,
2,
5661,
481,
2251,
674,
4238,
7110,
306,
4823,
284,
3359,
198
] | 3.416667 | 48 |
# -*- coding: utf-8 -*-
import numpy as np
from .bclib import inner_product
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
764,
65,
565,
571,
1330,
8434,
62,
11167,
628,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
628,
198,
220,
220,
220,
220
] | 1.96 | 50 |
# Copyright (c) 2007 gocept gmbh & co. kg
# See also LICENSE.txt
# $Id$
"""Process related views"""
import zope.component
from Products.CMFCore.utils import getToolByName
from Products.Archetypes.config import UID_CATALOG
import Products.AlphaFlow.interfaces
import Products.AlphaFlow.process
from Products.AlphaFlow.browser.base import AlphaFlowView
import Products.AlphaFlow.utils
class ProcessReadContainer(AlphaFlowView):
"""Management view for readable process containers.
"""
class ProcessWriteContainer(AlphaFlowView):
"""Management view for writeable process containers."""
def addProcess(self, title, redirect):
"""Adds new process to process manager."""
id = Products.AlphaFlow.utils.generateUniqueId('process')
process = self.context[id] = Products.AlphaFlow.process.Process(id)
editable = process.editable(
Products.AlphaFlow.process.ProcessVersion())
editable.title = title
status = "?portal_status_message=Workflow created"
self.request.response.redirect(redirect + status)
class PortalProcesses(AlphaFlowView):
"""Management view for all processes within a portal at once."""
| [
2,
15069,
357,
66,
8,
4343,
467,
984,
308,
2022,
71,
1222,
763,
13,
14211,
198,
2,
4091,
635,
38559,
24290,
13,
14116,
198,
2,
720,
7390,
3,
198,
37811,
18709,
3519,
5009,
37811,
198,
198,
11748,
1976,
3008,
13,
42895,
198,
198,
6738,
18675,
13,
24187,
4851,
382,
13,
26791,
1330,
651,
25391,
3886,
5376,
198,
6738,
18675,
13,
3163,
2395,
19199,
13,
11250,
1330,
25105,
62,
34,
1404,
1847,
7730,
198,
198,
11748,
18675,
13,
38077,
37535,
13,
3849,
32186,
198,
11748,
18675,
13,
38077,
37535,
13,
14681,
198,
6738,
18675,
13,
38077,
37535,
13,
40259,
13,
8692,
1330,
12995,
37535,
7680,
198,
11748,
18675,
13,
38077,
37535,
13,
26791,
628,
628,
198,
198,
4871,
10854,
5569,
29869,
7,
38077,
37535,
7680,
2599,
198,
220,
220,
220,
37227,
48032,
1570,
329,
31744,
1429,
16472,
13,
628,
220,
220,
220,
37227,
628,
198,
4871,
10854,
16594,
29869,
7,
38077,
37535,
7680,
2599,
198,
220,
220,
220,
37227,
48032,
1570,
329,
3551,
540,
1429,
16472,
526,
15931,
628,
220,
220,
220,
825,
751,
18709,
7,
944,
11,
3670,
11,
18941,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
46245,
649,
1429,
284,
1429,
4706,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
796,
18675,
13,
38077,
37535,
13,
26791,
13,
8612,
378,
40257,
7390,
10786,
14681,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1429,
796,
2116,
13,
22866,
58,
312,
60,
796,
18675,
13,
38077,
37535,
13,
14681,
13,
18709,
7,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4370,
540,
796,
1429,
13,
276,
4674,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18675,
13,
38077,
37535,
13,
14681,
13,
18709,
14815,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
4370,
540,
13,
7839,
796,
3670,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
796,
366,
30,
634,
282,
62,
13376,
62,
20500,
28,
12468,
11125,
2727,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
25927,
13,
26209,
13,
445,
1060,
7,
445,
1060,
1343,
3722,
8,
628,
198,
4871,
25663,
18709,
274,
7,
38077,
37535,
7680,
2599,
198,
220,
220,
220,
37227,
48032,
1570,
329,
477,
7767,
1626,
257,
17898,
379,
1752,
526,
15931,
198
] | 3.172872 | 376 |
#!/usr/bin/env python3
#
# Copyright (C) 2018--2019 Chi-kwan Chan
# Copyright (C) 2018--2019 Steward Observatory
#
# This file is part of ehtplot.
#
# ehtplot is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ehtplot is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ehtplot. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from ehtplot.color.cmap import mergecmap
from ehtplot.color.ctab import _path, ext, get_ctab, save_ctab
save_cmap(mergecmap([{'name':'ehtblue', 'revert':True},
{'name':'ehtorange'}]), "ehtblueorange")
save_cmap(mergecmap([{'name':'ehtblue', 'revert':True},
{'name':'ehtviolet'}]), "ehtblueviolet")
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
198,
2,
15069,
357,
34,
8,
2864,
438,
23344,
21380,
12,
74,
8149,
18704,
198,
2,
15069,
357,
34,
8,
2864,
438,
23344,
12194,
446,
25758,
198,
2,
198,
2,
770,
2393,
318,
636,
286,
304,
4352,
29487,
13,
198,
2,
198,
2,
304,
4352,
29487,
318,
1479,
3788,
25,
345,
460,
17678,
4163,
340,
290,
14,
273,
13096,
198,
2,
340,
739,
262,
2846,
286,
262,
22961,
3611,
5094,
13789,
355,
3199,
416,
198,
2,
262,
3232,
10442,
5693,
11,
2035,
2196,
513,
286,
262,
13789,
11,
393,
198,
2,
357,
265,
534,
3038,
8,
597,
1568,
2196,
13,
198,
2,
198,
2,
304,
4352,
29487,
318,
9387,
287,
262,
2911,
326,
340,
481,
307,
4465,
11,
198,
2,
475,
42881,
15529,
34764,
56,
26,
1231,
772,
262,
17142,
18215,
286,
198,
2,
34482,
3398,
1565,
5603,
25382,
393,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
13,
220,
4091,
262,
198,
2,
22961,
3611,
5094,
13789,
329,
517,
3307,
13,
198,
2,
198,
2,
921,
815,
423,
2722,
257,
4866,
286,
262,
22961,
3611,
5094,
13789,
198,
2,
1863,
351,
304,
4352,
29487,
13,
220,
1002,
407,
11,
766,
1279,
4023,
1378,
2503,
13,
41791,
13,
2398,
14,
677,
4541,
15913,
13,
198,
198,
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
198,
198,
6738,
304,
4352,
29487,
13,
8043,
13,
66,
8899,
1330,
20121,
66,
8899,
198,
6738,
304,
4352,
29487,
13,
8043,
13,
310,
397,
1330,
4808,
6978,
11,
1070,
11,
651,
62,
310,
397,
11,
3613,
62,
310,
397,
198,
198,
21928,
62,
66,
8899,
7,
647,
469,
66,
8899,
26933,
90,
6,
3672,
10354,
6,
68,
4352,
17585,
3256,
705,
260,
1851,
10354,
17821,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
6,
3672,
10354,
6,
68,
4352,
43745,
6,
92,
46570,
366,
68,
4352,
17585,
43745,
4943,
198,
21928,
62,
66,
8899,
7,
647,
469,
66,
8899,
26933,
90,
6,
3672,
10354,
6,
68,
4352,
17585,
3256,
705,
260,
1851,
10354,
17821,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
6,
3672,
10354,
6,
68,
4352,
85,
19194,
6,
92,
46570,
366,
68,
4352,
17585,
85,
19194,
4943,
198
] | 2.889447 | 398 |
from pathlib import Path
import configparser
import json
import discord
from app import client, config
@client.event
def load_extensions(cogs: str) -> None:
'''
Loads all extensions recursively.\n
Params:
cogs: str
Relative path to cogs dir.
'''
for extension in Path(cogs).rglob('*.py'):
extension = '.'.join(extension.parts)[:-3]
try:
client.load_extension(extension)
print(f'{extension} has been loaded.')
except Exception as e:
print(f'{extension} could not be loaded: {e}')
if __name__ == '__main__':
load_extensions(config['DEFAULT']['COG_DIR'])
client.run(config['CLIENT']['TOKEN'])
| [
6738,
3108,
8019,
1330,
10644,
198,
11748,
4566,
48610,
198,
11748,
33918,
198,
198,
11748,
36446,
198,
198,
6738,
598,
1330,
5456,
11,
4566,
628,
198,
31,
16366,
13,
15596,
628,
198,
4299,
3440,
62,
2302,
5736,
7,
66,
18463,
25,
965,
8,
4613,
6045,
25,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
8778,
82,
477,
18366,
664,
1834,
2280,
13,
59,
77,
198,
220,
220,
220,
2547,
4105,
25,
198,
220,
220,
220,
220,
220,
220,
220,
269,
18463,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
45344,
3108,
284,
269,
18463,
26672,
13,
198,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
329,
7552,
287,
10644,
7,
66,
18463,
737,
81,
4743,
672,
10786,
24620,
9078,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
7552,
796,
705,
2637,
13,
22179,
7,
2302,
3004,
13,
42632,
38381,
21912,
18,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5456,
13,
2220,
62,
2302,
3004,
7,
2302,
3004,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
90,
2302,
3004,
92,
468,
587,
9639,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
90,
2302,
3004,
92,
714,
407,
307,
9639,
25,
1391,
68,
92,
11537,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
3440,
62,
2302,
5736,
7,
11250,
17816,
7206,
38865,
6,
7131,
6,
34,
7730,
62,
34720,
6,
12962,
198,
220,
220,
220,
5456,
13,
5143,
7,
11250,
17816,
5097,
28495,
6,
7131,
6,
10468,
43959,
6,
12962,
198
] | 2.331126 | 302 |
#!/usr/bin/env python
'''
Calling davidson solver for the lowest eigenvalues of a Hermitian matrix
'''
import numpy
from pyscf import lib
n = 100
a = numpy.random.rand(n,n)
a = a + a.T
# Define the matrix-vector operation
# Define the preconditioner. It can be just the diagonal elements of the
# matrix.
precond = a.diagonal()
# Define the initial guess
x_init = numpy.zeros(n)
x_init[0] = 1
e, c = lib.eigh(matvec, x_init, precond, nroots=4, max_cycle=1000, verbose=5)
print('Eigenvalues', e)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
201,
198,
201,
198,
7061,
6,
201,
198,
48593,
21970,
1559,
1540,
332,
329,
262,
9016,
304,
9324,
27160,
286,
257,
2332,
2781,
666,
17593,
201,
198,
7061,
6,
201,
198,
201,
198,
11748,
299,
32152,
201,
198,
6738,
279,
893,
12993,
1330,
9195,
201,
198,
201,
198,
77,
796,
1802,
201,
198,
64,
796,
299,
32152,
13,
25120,
13,
25192,
7,
77,
11,
77,
8,
201,
198,
64,
796,
257,
1343,
257,
13,
51,
201,
198,
201,
198,
2,
2896,
500,
262,
17593,
12,
31364,
4905,
201,
198,
201,
198,
2,
2896,
500,
262,
3718,
623,
653,
263,
13,
632,
460,
307,
655,
262,
40039,
4847,
286,
262,
201,
198,
2,
17593,
13,
201,
198,
3866,
17561,
796,
257,
13,
10989,
27923,
3419,
201,
198,
201,
198,
2,
2896,
500,
262,
4238,
4724,
201,
198,
87,
62,
15003,
796,
299,
32152,
13,
9107,
418,
7,
77,
8,
201,
198,
87,
62,
15003,
58,
15,
60,
796,
352,
201,
198,
201,
198,
68,
11,
269,
796,
9195,
13,
68,
394,
7,
6759,
35138,
11,
2124,
62,
15003,
11,
3718,
623,
11,
299,
19150,
28,
19,
11,
3509,
62,
13696,
28,
12825,
11,
15942,
577,
28,
20,
8,
201,
198,
4798,
10786,
36,
9324,
27160,
3256,
304,
8,
201,
198
] | 2.428571 | 217 |
import numpy as np
import math
import uuid
import tensorflow as tf
margin = 4
beta = 100
scale = 0.99
beta_min = 0
eps = 0
c_map = []
k_map = []
c_m_n = lambda m, n: math.factorial(n) / math.factorial(m) / math.factorial(n - m)
for i in range(margin + 1):
c_map.append(c_m_n(i, margin))
k_map.append(math.cos(i * math.pi / margin))
def find_k(cos_t):
'''find k for cos(theta)
'''
# for numeric issue
eps = 1e-5
le = lambda x, y: x < y or abs(x - y) < eps
for i in range(margin):
if le(k_map[i + 1], cos_t) and le(cos_t, k_map[i]):
return i
raise ValueError('can not find k for cos_t = %f' % cos_t)
def calc_cos_mt(cos_t):
'''calculate cos(m*theta)
'''
cos_mt = 0
sin2_t = 1 - cos_t * cos_t
flag = -1
for p in range(margin // 2 + 1):
flag *= -1
cos_mt += flag * c_map[2*p] * pow(cos_t, margin-2*p) * pow(sin2_t, p)
return cos_mt
| [
11748,
299,
32152,
355,
45941,
198,
11748,
10688,
198,
11748,
334,
27112,
198,
11748,
11192,
273,
11125,
355,
48700,
198,
198,
36153,
796,
604,
198,
31361,
796,
1802,
198,
9888,
796,
657,
13,
2079,
198,
31361,
62,
1084,
796,
657,
198,
25386,
796,
657,
198,
66,
62,
8899,
796,
17635,
198,
74,
62,
8899,
796,
17635,
198,
66,
62,
76,
62,
77,
796,
37456,
285,
11,
299,
25,
10688,
13,
22584,
5132,
7,
77,
8,
1220,
10688,
13,
22584,
5132,
7,
76,
8,
1220,
10688,
13,
22584,
5132,
7,
77,
532,
285,
8,
198,
1640,
1312,
287,
2837,
7,
36153,
1343,
352,
2599,
198,
220,
220,
220,
269,
62,
8899,
13,
33295,
7,
66,
62,
76,
62,
77,
7,
72,
11,
10330,
4008,
198,
220,
220,
220,
479,
62,
8899,
13,
33295,
7,
11018,
13,
6966,
7,
72,
1635,
10688,
13,
14415,
1220,
10330,
4008,
628,
198,
4299,
1064,
62,
74,
7,
6966,
62,
83,
2599,
198,
220,
220,
220,
705,
7061,
19796,
479,
329,
8615,
7,
1169,
8326,
8,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
1303,
329,
35575,
2071,
198,
220,
220,
220,
304,
862,
796,
352,
68,
12,
20,
198,
220,
220,
220,
443,
796,
37456,
2124,
11,
331,
25,
2124,
1279,
331,
393,
2352,
7,
87,
532,
331,
8,
1279,
304,
862,
198,
220,
220,
220,
329,
1312,
287,
2837,
7,
36153,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
443,
7,
74,
62,
8899,
58,
72,
1343,
352,
4357,
8615,
62,
83,
8,
290,
443,
7,
6966,
62,
83,
11,
479,
62,
8899,
58,
72,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1312,
198,
220,
220,
220,
5298,
11052,
12331,
10786,
5171,
407,
1064,
479,
329,
8615,
62,
83,
796,
4064,
69,
6,
4064,
8615,
62,
83,
8,
628,
198,
198,
4299,
42302,
62,
6966,
62,
16762,
7,
6966,
62,
83,
2599,
198,
220,
220,
220,
705,
7061,
9948,
3129,
378,
8615,
7,
76,
9,
1169,
8326,
8,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
8615,
62,
16762,
796,
657,
198,
220,
220,
220,
7813,
17,
62,
83,
796,
352,
532,
8615,
62,
83,
1635,
8615,
62,
83,
198,
220,
220,
220,
6056,
796,
532,
16,
198,
220,
220,
220,
329,
279,
287,
2837,
7,
36153,
3373,
362,
1343,
352,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
6056,
1635,
28,
532,
16,
198,
220,
220,
220,
220,
220,
220,
220,
8615,
62,
16762,
15853,
6056,
1635,
269,
62,
8899,
58,
17,
9,
79,
60,
1635,
7182,
7,
6966,
62,
83,
11,
10330,
12,
17,
9,
79,
8,
1635,
7182,
7,
31369,
17,
62,
83,
11,
279,
8,
198,
220,
220,
220,
1441,
8615,
62,
16762,
628,
198
] | 2.034783 | 460 |
# AUTOGENERATED! DO NOT EDIT! File to edit: 01_config.ipynb (unless otherwise specified).
__all__ = ['device', 'imsize', 'normalization_mean', 'normalization_std', 'content_layers_default',
'style_layers_default']
# Cell
import torch
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
imsize = 512 if torch.cuda.is_available() else 128
# VGG network was trained on normalized images, so must do the same to ours
normalization_mean = torch.tensor([[0.485, 0.456, 0.406]]).to(device)
normalization_std = torch.tensor([[0.229, 0.224, 0.225]]).to(device)
content_layers_default = ['conv4_2']
style_layers_default = ['conv1_1', 'conv2_1', 'conv3_1', 'conv4_1', 'conv5_1'] | [
2,
47044,
7730,
1677,
1137,
11617,
0,
8410,
5626,
48483,
0,
9220,
284,
4370,
25,
5534,
62,
11250,
13,
541,
2047,
65,
357,
25252,
4306,
7368,
737,
198,
198,
834,
439,
834,
796,
37250,
25202,
3256,
705,
320,
7857,
3256,
705,
11265,
1634,
62,
32604,
3256,
705,
11265,
1634,
62,
19282,
3256,
705,
11299,
62,
75,
6962,
62,
12286,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7635,
62,
75,
6962,
62,
12286,
20520,
198,
198,
2,
12440,
198,
11748,
28034,
198,
198,
25202,
796,
28034,
13,
25202,
7203,
66,
15339,
1,
611,
28034,
13,
66,
15339,
13,
271,
62,
15182,
3419,
2073,
366,
36166,
4943,
198,
320,
7857,
796,
22243,
611,
28034,
13,
66,
15339,
13,
271,
62,
15182,
3419,
2073,
13108,
198,
198,
2,
569,
11190,
3127,
373,
8776,
319,
39279,
4263,
11,
523,
1276,
466,
262,
976,
284,
16903,
198,
11265,
1634,
62,
32604,
796,
28034,
13,
83,
22854,
26933,
58,
15,
13,
32642,
11,
657,
13,
29228,
11,
657,
13,
29703,
11907,
737,
1462,
7,
25202,
8,
198,
11265,
1634,
62,
19282,
796,
28034,
13,
83,
22854,
26933,
58,
15,
13,
23539,
11,
657,
13,
24137,
11,
657,
13,
18182,
11907,
737,
1462,
7,
25202,
8,
198,
198,
11299,
62,
75,
6962,
62,
12286,
796,
37250,
42946,
19,
62,
17,
20520,
198,
7635,
62,
75,
6962,
62,
12286,
796,
37250,
42946,
16,
62,
16,
3256,
705,
42946,
17,
62,
16,
3256,
705,
42946,
18,
62,
16,
3256,
705,
42946,
19,
62,
16,
3256,
705,
42946,
20,
62,
16,
20520
] | 2.717054 | 258 |
from django import forms
# from django.forms import ModelChoiceField
from .models import Incident
| [
6738,
42625,
14208,
1330,
5107,
198,
198,
2,
422,
42625,
14208,
13,
23914,
1330,
9104,
46770,
15878,
198,
6738,
764,
27530,
1330,
32731,
628
] | 4.166667 | 24 |
import pytest
from django.db import IntegrityError
from mailauth.contrib.user import models
try:
import psycopg2
except ImportError:
psycopg2 = None
postgres_only = pytest.mark.skipif(
psycopg2 is None, reason="at least mymodule-1.1 required"
)
| [
11748,
12972,
9288,
198,
6738,
42625,
14208,
13,
9945,
1330,
39348,
12331,
198,
198,
6738,
6920,
18439,
13,
3642,
822,
13,
7220,
1330,
4981,
198,
198,
28311,
25,
198,
220,
220,
220,
1330,
17331,
22163,
70,
17,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
17331,
22163,
70,
17,
796,
6045,
628,
198,
7353,
34239,
62,
8807,
796,
12972,
9288,
13,
4102,
13,
48267,
361,
7,
198,
220,
220,
220,
17331,
22163,
70,
17,
318,
6045,
11,
1738,
2625,
265,
1551,
616,
21412,
12,
16,
13,
16,
2672,
1,
198,
8,
628
] | 2.817204 | 93 |
STEVILO_DOVOLJENIH_NAPAK = 10
PRAVILNA_CRKA = '+'
NAPACNA_CRKA = '-'
PONOVLJENA_CRKA = 'o'
ZMAGA = 'W'
PORAZ = 'L'
bazen_besed = []
with open ("Vislice/besede.txt") as datoteka_bazena:
for beseda in datoteka_bazena:
bazen_besed.append(beseda.strip().lower())
import random
| [
2257,
20114,
4146,
46,
62,
35,
8874,
3535,
41,
1677,
40,
39,
62,
45,
2969,
10206,
796,
838,
201,
198,
47,
3861,
53,
4146,
4535,
62,
9419,
25123,
796,
705,
10,
6,
201,
198,
45,
2969,
2246,
4535,
62,
9419,
25123,
796,
705,
19355,
201,
198,
47,
1340,
8874,
43,
41,
45510,
62,
9419,
25123,
796,
705,
78,
6,
201,
198,
57,
45820,
32,
796,
705,
54,
6,
201,
198,
44680,
22778,
796,
705,
43,
6,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
201,
198,
201,
198,
65,
1031,
268,
62,
12636,
276,
796,
17635,
201,
198,
4480,
1280,
5855,
53,
3044,
501,
14,
12636,
18654,
13,
14116,
4943,
355,
4818,
313,
38001,
62,
65,
1031,
8107,
25,
201,
198,
220,
220,
220,
329,
7284,
18082,
287,
4818,
313,
38001,
62,
65,
1031,
8107,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
275,
1031,
268,
62,
12636,
276,
13,
33295,
7,
12636,
18082,
13,
36311,
22446,
21037,
28955,
201,
198,
201,
198,
11748,
4738,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
220,
220,
220,
220,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198
] | 1.58159 | 239 |
print('-=' * 15)
print('{:^30}'.format('LOJA SUPER BARATÃO'))
print('-=' * 15)
total = cont1000 = menor = cont = 0
nomemenor = ''
while True:
nomeP = str(input('Nome do produto: '))
preco = float(input('Preço: R$ '))
cont += 1
soun = ' '
print('-' * 30)
while soun not in 'SN':
soun = str(input('Quer Continuar? [S/N]')).strip()[0].upper()
print('-' * 30)
total += preco
if preco >= 1000:
cont1000 += 1
if cont == 1:
menor = preco
nomemenor = nomeP
else:
if preco < menor:
menor = preco
nomemenor = nomeP
if soun == 'N':
break
print(f'O total de compra foi R${total:.2f}')
print(f'Temos {cont1000} produtos custando mais de R$ 1000.00')
print(f'O produto mais barato foi {nomemenor} que custa {menor:.2f}') | [
4798,
10786,
12,
11639,
1635,
1315,
8,
198,
4798,
10786,
90,
25,
61,
1270,
92,
4458,
18982,
10786,
21982,
37048,
33088,
31597,
1404,
5746,
46,
6,
4008,
198,
4798,
10786,
12,
11639,
1635,
1315,
8,
198,
23350,
796,
542,
12825,
796,
1450,
273,
796,
542,
796,
657,
198,
26601,
8952,
273,
796,
10148,
198,
4514,
6407,
25,
198,
220,
220,
220,
299,
462,
47,
796,
965,
7,
15414,
10786,
45,
462,
466,
40426,
9390,
25,
705,
4008,
198,
220,
220,
220,
662,
1073,
796,
12178,
7,
15414,
10786,
6719,
16175,
78,
25,
371,
3,
705,
4008,
198,
220,
220,
220,
542,
15853,
352,
198,
220,
220,
220,
264,
977,
796,
705,
705,
198,
220,
220,
220,
3601,
10786,
19355,
1635,
1542,
8,
198,
220,
220,
220,
981,
264,
977,
407,
287,
705,
15571,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
264,
977,
796,
965,
7,
15414,
10786,
4507,
263,
6389,
84,
283,
30,
685,
50,
14,
45,
60,
11537,
737,
36311,
3419,
58,
15,
4083,
45828,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
19355,
1635,
1542,
8,
198,
220,
220,
220,
2472,
15853,
662,
1073,
198,
220,
220,
220,
611,
662,
1073,
18189,
8576,
25,
198,
220,
220,
220,
220,
220,
220,
220,
542,
12825,
15853,
352,
198,
220,
220,
220,
611,
542,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1450,
273,
796,
662,
1073,
198,
220,
220,
220,
220,
220,
220,
220,
4515,
8952,
273,
796,
299,
462,
47,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
662,
1073,
1279,
1450,
273,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1450,
273,
796,
662,
1073,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4515,
8952,
273,
796,
299,
462,
47,
198,
220,
220,
220,
611,
264,
977,
6624,
705,
45,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
4798,
7,
69,
6,
46,
2472,
390,
552,
430,
11511,
72,
371,
38892,
23350,
25,
13,
17,
69,
92,
11537,
198,
4798,
7,
69,
6,
12966,
418,
1391,
3642,
12825,
92,
40426,
315,
418,
9378,
25440,
285,
15152,
390,
371,
3,
8576,
13,
405,
11537,
198,
4798,
7,
69,
6,
46,
40426,
9390,
285,
15152,
2318,
5549,
11511,
72,
1391,
26601,
8952,
273,
92,
8358,
9378,
64,
1391,
3653,
273,
25,
13,
17,
69,
92,
11537
] | 2.054455 | 404 |
import numpy as np
import matplotlib.pyplot as plt
paths = '/Users/lls/Documents/deep_halos_files/regression/rolling_val/'
paths_all = [paths + '0dropout/', paths + '0.1dropout/', paths + '0.2dropout/', paths + '0.3dropout/',
paths + 'no_sim3/']
dropout_pc = ["0", "10", "20", "30", "40"]
f, axes = plt.subplots(3, 2, sharex=True, figsize=(10, 7))
axes = np.concatenate(axes)
n = 5
for i in range(6):
ax = axes[i]
if i == 5:
ax.plot([], [], label="training", color="C0")
ax.plot([], [], label="validation", color="C1")
ax.plot([], [], label="training (end of epoch + no dropout)",
color="k")
ax.plot([], [], color="C2",
label="sim-7 (not used during training)")
ax.plot([], [], label="all particles", color="dimgrey", ls="-", lw=2)
ax.plot([], [], label="particles with $\log(M) \leq 13.5$", color="dimgrey", ls="--", lw=2)
ax.legend(loc="center", fontsize=14)
ax.axis('off')
else:
if i == 0:
ax.set_yscale("log")
else:
ax.set_ylim(0.01, 0.58)
path = paths_all[i]
tr = np.loadtxt(path + "training.log", delimiter=",", skiprows=1)
loss_training_sim7 = np.load(path + "loss_training_and_sim7.npy")
ax.plot(tr[n:, 0], tr[n:, 1], label="training", color="C0")
ax.plot(tr[n:, 0], tr[n:, 2], label="validation", color="C1")
ax.plot(loss_training_sim7[:, 0], loss_training_sim7[:, 1], label="training (end of epoch + no dropout)",
color="k")
ax.scatter(loss_training_sim7[:,0], loss_training_sim7[:,1], color="k", s=5)
ax.plot(loss_training_sim7[:, 0], loss_training_sim7[:, 2], color="C2",
label="sim-7 (not used during training)")
ax.scatter(loss_training_sim7[:,0], loss_training_sim7[:,2], color="C2", s=5)
if i == 2:
ax.set_ylabel("Loss")
if i == 4:
ax.set_xlabel("Epoch")
if i in [2, 3, 4]:
ax.text(0.7, 0.9, dropout_pc[i] + r"$\%$ dropout", ha='center', va='center', transform=ax.transAxes)
else:
ax.text(0.7, 0.7, dropout_pc[i] + r"$\%$ dropout", ha='center', va='center', transform=ax.transAxes)
for i in range(6):
ax = axes[i]
if i == 5:
pass
else:
if i == 0:
ax.set_yscale("log")
elif i in [3, 4]:
ax.set_ylim(0.12, 0.5)
else:
ax.set_ylim(0.01, 0.58)
path = paths_all[i]
tr = np.loadtxt(path + "training.log", delimiter=",", skiprows=1)
# loss_training_sim7 = np.load(path + "loss_training_and_sim7.npy")
loss_training_sim7_above_135 = np.load(path + "loss_training_sim7_validaton_above_135Msol.npy")
ax.plot(loss_training_sim7_above_135[:, 0], loss_training_sim7_above_135[:, 3], label="validation", color="C1", ls="--")
ax.plot(loss_training_sim7_above_135[:, 0], loss_training_sim7_above_135[:, 1], label="training (end of epoch + no dropout)",
color="k", ls="--")
ax.scatter(loss_training_sim7_above_135[:,0], loss_training_sim7_above_135[:,1], color="k", s=5)
ax.plot(loss_training_sim7_above_135[:, 0], loss_training_sim7_above_135[:, 2], color="C2",
label="sim-7 (not used during training)", ls="--")
ax.scatter(loss_training_sim7_above_135[:,0], loss_training_sim7_above_135[:,2], color="C2", s=5)
plt.subplots_adjust(wspace=0.15, hspace=0.05)
plt.savefig(paths + '')
| [
11748,
299,
32152,
355,
45941,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
628,
198,
6978,
82,
796,
31051,
14490,
14,
297,
82,
14,
38354,
14,
22089,
62,
14201,
418,
62,
16624,
14,
2301,
2234,
14,
18886,
62,
2100,
14,
6,
198,
6978,
82,
62,
439,
796,
685,
6978,
82,
1343,
705,
15,
14781,
448,
14,
3256,
13532,
1343,
705,
15,
13,
16,
14781,
448,
14,
3256,
13532,
1343,
705,
15,
13,
17,
14781,
448,
14,
3256,
13532,
1343,
705,
15,
13,
18,
14781,
448,
14,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13532,
1343,
705,
3919,
62,
14323,
18,
14,
20520,
198,
14781,
448,
62,
14751,
796,
14631,
15,
1600,
366,
940,
1600,
366,
1238,
1600,
366,
1270,
1600,
366,
1821,
8973,
198,
198,
69,
11,
34197,
796,
458,
83,
13,
7266,
489,
1747,
7,
18,
11,
362,
11,
2648,
87,
28,
17821,
11,
2336,
7857,
16193,
940,
11,
767,
4008,
198,
897,
274,
796,
45941,
13,
1102,
9246,
268,
378,
7,
897,
274,
8,
198,
77,
796,
642,
198,
1640,
1312,
287,
2837,
7,
21,
2599,
198,
220,
220,
220,
7877,
796,
34197,
58,
72,
60,
198,
220,
220,
220,
611,
1312,
6624,
642,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
26933,
4357,
685,
4357,
6167,
2625,
34409,
1600,
3124,
2625,
34,
15,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
26933,
4357,
685,
4357,
6167,
2625,
12102,
341,
1600,
3124,
2625,
34,
16,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
26933,
4357,
685,
4357,
6167,
2625,
34409,
357,
437,
286,
36835,
1343,
645,
4268,
448,
42501,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3124,
2625,
74,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
26933,
4357,
685,
4357,
3124,
2625,
34,
17,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
2625,
14323,
12,
22,
357,
1662,
973,
1141,
3047,
8,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
26933,
4357,
685,
4357,
6167,
2625,
439,
13166,
1600,
3124,
2625,
67,
9600,
4364,
1600,
43979,
2625,
12,
1600,
300,
86,
28,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
26933,
4357,
685,
4357,
6167,
2625,
3911,
2983,
351,
39280,
6404,
7,
44,
8,
3467,
293,
80,
1511,
13,
20,
3,
1600,
3124,
2625,
67,
9600,
4364,
1600,
43979,
2625,
438,
1600,
300,
86,
28,
17,
8,
628,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
1455,
437,
7,
17946,
2625,
16159,
1600,
10369,
7857,
28,
1415,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
22704,
10786,
2364,
11537,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
28349,
1000,
7203,
6404,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
88,
2475,
7,
15,
13,
486,
11,
657,
13,
3365,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
796,
13532,
62,
439,
58,
72,
60,
628,
220,
220,
220,
220,
220,
220,
220,
491,
796,
45941,
13,
2220,
14116,
7,
6978,
1343,
366,
34409,
13,
6404,
1600,
46728,
2676,
28,
2430,
11,
14267,
8516,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2994,
62,
34409,
62,
14323,
22,
796,
45941,
13,
2220,
7,
6978,
1343,
366,
22462,
62,
34409,
62,
392,
62,
14323,
22,
13,
77,
9078,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
7,
2213,
58,
77,
45299,
657,
4357,
491,
58,
77,
45299,
352,
4357,
6167,
2625,
34409,
1600,
3124,
2625,
34,
15,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
7,
2213,
58,
77,
45299,
657,
4357,
491,
58,
77,
45299,
362,
4357,
6167,
2625,
12102,
341,
1600,
3124,
2625,
34,
16,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
7,
22462,
62,
34409,
62,
14323,
22,
58,
45299,
657,
4357,
2994,
62,
34409,
62,
14323,
22,
58,
45299,
352,
4357,
6167,
2625,
34409,
357,
437,
286,
36835,
1343,
645,
4268,
448,
42501,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3124,
2625,
74,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
1416,
1436,
7,
22462,
62,
34409,
62,
14323,
22,
58,
45299,
15,
4357,
2994,
62,
34409,
62,
14323,
22,
58,
45299,
16,
4357,
3124,
2625,
74,
1600,
264,
28,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
7,
22462,
62,
34409,
62,
14323,
22,
58,
45299,
657,
4357,
2994,
62,
34409,
62,
14323,
22,
58,
45299,
362,
4357,
3124,
2625,
34,
17,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
2625,
14323,
12,
22,
357,
1662,
973,
1141,
3047,
8,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
1416,
1436,
7,
22462,
62,
34409,
62,
14323,
22,
58,
45299,
15,
4357,
2994,
62,
34409,
62,
14323,
22,
58,
45299,
17,
4357,
3124,
2625,
34,
17,
1600,
264,
28,
20,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
6624,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
2645,
9608,
7203,
43,
793,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
6624,
604,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
87,
18242,
7203,
13807,
5374,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
287,
685,
17,
11,
513,
11,
604,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
5239,
7,
15,
13,
22,
11,
657,
13,
24,
11,
4268,
448,
62,
14751,
58,
72,
60,
1343,
374,
1,
3,
59,
4,
3,
4268,
448,
1600,
387,
11639,
16159,
3256,
46935,
11639,
16159,
3256,
6121,
28,
897,
13,
7645,
31554,
274,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
5239,
7,
15,
13,
22,
11,
657,
13,
22,
11,
4268,
448,
62,
14751,
58,
72,
60,
1343,
374,
1,
3,
59,
4,
3,
4268,
448,
1600,
387,
11639,
16159,
3256,
46935,
11639,
16159,
3256,
6121,
28,
897,
13,
7645,
31554,
274,
8,
198,
198,
1640,
1312,
287,
2837,
7,
21,
2599,
198,
220,
220,
220,
7877,
796,
34197,
58,
72,
60,
198,
220,
220,
220,
611,
1312,
6624,
642,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
28349,
1000,
7203,
6404,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1312,
287,
685,
18,
11,
604,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
88,
2475,
7,
15,
13,
1065,
11,
657,
13,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
88,
2475,
7,
15,
13,
486,
11,
657,
13,
3365,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
796,
13532,
62,
439,
58,
72,
60,
628,
220,
220,
220,
220,
220,
220,
220,
491,
796,
45941,
13,
2220,
14116,
7,
6978,
1343,
366,
34409,
13,
6404,
1600,
46728,
2676,
28,
2430,
11,
14267,
8516,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2994,
62,
34409,
62,
14323,
22,
796,
45941,
13,
2220,
7,
6978,
1343,
366,
22462,
62,
34409,
62,
392,
62,
14323,
22,
13,
77,
9078,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2994,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
796,
45941,
13,
2220,
7,
6978,
1343,
366,
22462,
62,
34409,
62,
14323,
22,
62,
12102,
13951,
62,
29370,
62,
17059,
10128,
349,
13,
77,
9078,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
7,
22462,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
58,
45299,
657,
4357,
2994,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
58,
45299,
513,
4357,
6167,
2625,
12102,
341,
1600,
3124,
2625,
34,
16,
1600,
43979,
2625,
438,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
7,
22462,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
58,
45299,
657,
4357,
2994,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
58,
45299,
352,
4357,
6167,
2625,
34409,
357,
437,
286,
36835,
1343,
645,
4268,
448,
42501,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3124,
2625,
74,
1600,
43979,
2625,
438,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
1416,
1436,
7,
22462,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
58,
45299,
15,
4357,
2994,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
58,
45299,
16,
4357,
3124,
2625,
74,
1600,
264,
28,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
7,
22462,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
58,
45299,
657,
4357,
2994,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
58,
45299,
362,
4357,
3124,
2625,
34,
17,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
2625,
14323,
12,
22,
357,
1662,
973,
1141,
3047,
42501,
43979,
2625,
438,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
1416,
1436,
7,
22462,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
58,
45299,
15,
4357,
2994,
62,
34409,
62,
14323,
22,
62,
29370,
62,
17059,
58,
45299,
17,
4357,
3124,
2625,
34,
17,
1600,
264,
28,
20,
8,
198,
198,
489,
83,
13,
7266,
489,
1747,
62,
23032,
7,
86,
13200,
28,
15,
13,
1314,
11,
289,
13200,
28,
15,
13,
2713,
8,
198,
489,
83,
13,
21928,
5647,
7,
6978,
82,
1343,
10148,
8,
198
] | 2.015437 | 1,749 |
from panda3d.core import * # needs to be improved later on (maybe)
from ProceduralGen import *
from copy import deepcopy
from physX import engine, PhysXNode, LinArrayFormat, ArrayLinFormat
from NodeStates import State
| [
6738,
279,
5282,
18,
67,
13,
7295,
1330,
1635,
1303,
2476,
284,
307,
6596,
1568,
319,
357,
25991,
8,
198,
6738,
23652,
1523,
13746,
1330,
1635,
198,
6738,
4866,
1330,
2769,
30073,
198,
6738,
2281,
55,
1330,
3113,
11,
8687,
55,
19667,
11,
5164,
19182,
26227,
11,
15690,
14993,
26227,
198,
6738,
19081,
42237,
1330,
1812,
198,
220,
220,
220,
220
] | 3.639344 | 61 |
from util.prim_ops_set import *
from .fcn import FCNHead
from .base import BaseNet
from util.functional import *
from torch.nn.functional import interpolate
class BuildCell(nn.Module):
"""Build a cell from genotype"""
class NasUnet(BaseNet):
"""Construct a network"""
| [
6738,
7736,
13,
19795,
62,
2840,
62,
2617,
1330,
1635,
201,
198,
6738,
764,
16072,
77,
1330,
10029,
45,
13847,
201,
198,
6738,
764,
8692,
1330,
7308,
7934,
201,
198,
6738,
7736,
13,
45124,
1330,
1635,
201,
198,
6738,
28034,
13,
20471,
13,
45124,
1330,
39555,
378,
201,
198,
4871,
10934,
28780,
7,
20471,
13,
26796,
2599,
201,
198,
220,
220,
220,
37227,
15580,
257,
2685,
422,
2429,
8690,
37811,
201,
198,
201,
198,
4871,
22767,
3118,
316,
7,
14881,
7934,
2599,
201,
198,
220,
220,
220,
37227,
42316,
257,
3127,
37811,
201,
198,
201,
198,
201,
198
] | 2.969388 | 98 |
# Generated by Django 3.2.2 on 2021-05-13 15:34
from django.db import migrations, models
from metecho.api.models import TaskStatus
| [
2,
2980,
515,
416,
37770,
513,
13,
17,
13,
17,
319,
33448,
12,
2713,
12,
1485,
1315,
25,
2682,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
198,
198,
6738,
1138,
30328,
13,
15042,
13,
27530,
1330,
15941,
19580,
628,
628
] | 3.022222 | 45 |
import time
from tsm.common.app import exception
import requests
import json
from requests.packages.urllib3.util.retry import Retry
from requests.adapters import HTTPAdapter
KANGROUTER_WEBSERVICE_APPLICATION_ROOT="/kangrouter/srv/v1"
| [
11748,
640,
198,
198,
6738,
256,
5796,
13,
11321,
13,
1324,
1330,
6631,
198,
198,
11748,
7007,
198,
11748,
33918,
198,
6738,
7007,
13,
43789,
13,
333,
297,
571,
18,
13,
22602,
13,
1186,
563,
1330,
4990,
563,
198,
6738,
7007,
13,
324,
12126,
1330,
14626,
47307,
198,
198,
42,
1565,
10761,
2606,
5781,
62,
8845,
4462,
1137,
27389,
62,
2969,
31484,
6234,
62,
13252,
2394,
35922,
74,
648,
472,
353,
14,
27891,
85,
14,
85,
16,
1,
198,
220,
220,
220,
220,
628,
220,
220,
220,
220,
198
] | 2.786517 | 89 |
import os
import shutil
import requests
import hashlib
import tempfile
import datetime
from bson.objectid import ObjectId
import enCount
# populate list with currently queued jobs
submitted_downloads = dict(
(j.meta['file_path'], j) for j in enCount.queues.downloads.jobs
)
def get_file_path(e_acc, f_acc, f_url, f_size, f_md5):
"""Return path to file or None if file not available."""
# query DB
hits = enCount.db.fastqs.find(
{'e_acc': e_acc, 'f_acc': f_acc, 'url': f_url, 'size': f_size,
'md5': f_md5}
)
assert(hits.count() <= 1)
hits = list(hits)
if hits:
# fetch record from DB
hit = hits[0]
if hit['status'] == 'ready':
return hit['file_path']
else:
# not ready
return
else:
# add new record into database
fname = '{:s}.fastq.gz'.format(f_acc)
rel_folder = "{:s}".format(e_acc)
file_path = os.path.join(rel_folder, fname)
time_stamp = datetime.datetime.utcnow()
new_rec = {
'e_acc': e_acc, 'f_acc': f_acc, 'url': f_url, 'size': f_size,
'md5': f_md5, 'file_path': file_path, 'status': 'to download',
'time_stamp': time_stamp
}
print('adding new record to fastqs collection: {:s}'.format(
str(new_rec)))
enCount.db.fastqs.insert_one(new_rec)
# not ready
return
def process():
"""Synchronizes database and queue of current download jobs."""
global submitted_downloads
# query DB to get all records that have status 'to download'
for e in enCount.db.fastqs.find({'status': 'to download'}):
file_path = e['file_path']
dbrec_id = str(e['_id'])
# queue new files to download
if file_path not in submitted_downloads:
f_url = e['url']
f_md5 = e['md5']
f_size = e['size']
e_acc = e['e_acc']
print('queuing download from {:s}'.format(f_url))
# make sure folder exists before download starts
rel_folder = "{:s}".format(e_acc)
abs_folder = os.path.join(enCount.config.data_root, rel_folder)
if not os.path.isdir(abs_folder):
try:
os.makedirs(abs_folder)
except:
print('Error, could not create download folder: '
'{:s}'.format(abs_folder))
print(' file {:s} will not be '
'downloaded.'.format(file_path))
# error, will not be ready
return
job = enCount.queues.downloads.enqueue_call(
enCount.fastqs.download,
args=(f_url, file_path, f_md5, f_size, dbrec_id),
result_ttl=-1, ttl=-1, timeout=-1,
)
job.meta['file_path'] = file_path
job.save()
submitted_downloads[file_path] = job
# clean queue for finished downloads
for job in enCount.queues.downloads.jobs:
if job.is_finished or job.is_failed:
job.cleanup()
enCount.queues.downloads.remove(job)
| [
11748,
28686,
198,
11748,
4423,
346,
198,
11748,
7007,
198,
11748,
12234,
8019,
198,
11748,
20218,
7753,
198,
11748,
4818,
8079,
198,
6738,
275,
1559,
13,
15252,
312,
1330,
9515,
7390,
198,
198,
11748,
551,
12332,
198,
198,
2,
48040,
1351,
351,
3058,
8358,
1739,
3946,
198,
7266,
3291,
62,
15002,
82,
796,
8633,
7,
198,
220,
220,
220,
357,
73,
13,
28961,
17816,
7753,
62,
6978,
6,
4357,
474,
8,
329,
474,
287,
551,
12332,
13,
4188,
947,
13,
15002,
82,
13,
43863,
198,
8,
628,
198,
198,
4299,
651,
62,
7753,
62,
6978,
7,
68,
62,
4134,
11,
277,
62,
4134,
11,
277,
62,
6371,
11,
277,
62,
7857,
11,
277,
62,
9132,
20,
2599,
198,
220,
220,
220,
37227,
13615,
3108,
284,
2393,
393,
6045,
611,
2393,
407,
1695,
526,
15931,
198,
220,
220,
220,
1303,
12405,
20137,
198,
220,
220,
220,
7127,
796,
551,
12332,
13,
9945,
13,
7217,
48382,
13,
19796,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
6,
68,
62,
4134,
10354,
304,
62,
4134,
11,
705,
69,
62,
4134,
10354,
277,
62,
4134,
11,
705,
6371,
10354,
277,
62,
6371,
11,
705,
7857,
10354,
277,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
277,
62,
9132,
20,
92,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
6818,
7,
71,
896,
13,
9127,
3419,
19841,
352,
8,
198,
220,
220,
220,
7127,
796,
1351,
7,
71,
896,
8,
628,
220,
220,
220,
611,
7127,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
21207,
1700,
422,
20137,
198,
220,
220,
220,
220,
220,
220,
220,
2277,
796,
7127,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2277,
17816,
13376,
20520,
6624,
705,
1493,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2277,
17816,
7753,
62,
6978,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
407,
3492,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
751,
649,
1700,
656,
6831,
198,
220,
220,
220,
220,
220,
220,
220,
277,
3672,
796,
705,
90,
25,
82,
27422,
7217,
80,
13,
34586,
4458,
18982,
7,
69,
62,
4134,
8,
198,
220,
220,
220,
220,
220,
220,
220,
823,
62,
43551,
796,
45144,
25,
82,
92,
1911,
18982,
7,
68,
62,
4134,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
6978,
796,
28686,
13,
6978,
13,
22179,
7,
2411,
62,
43551,
11,
277,
3672,
8,
628,
220,
220,
220,
220,
220,
220,
220,
640,
62,
301,
696,
796,
4818,
8079,
13,
19608,
8079,
13,
315,
66,
2197,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
8344,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
68,
62,
4134,
10354,
304,
62,
4134,
11,
705,
69,
62,
4134,
10354,
277,
62,
4134,
11,
705,
6371,
10354,
277,
62,
6371,
11,
705,
7857,
10354,
277,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
277,
62,
9132,
20,
11,
705,
7753,
62,
6978,
10354,
2393,
62,
6978,
11,
705,
13376,
10354,
705,
1462,
4321,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2435,
62,
301,
696,
10354,
640,
62,
301,
696,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
26872,
649,
1700,
284,
3049,
48382,
4947,
25,
46110,
82,
92,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
965,
7,
3605,
62,
8344,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
551,
12332,
13,
9945,
13,
7217,
48382,
13,
28463,
62,
505,
7,
3605,
62,
8344,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
407,
3492,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
198,
4299,
1429,
33529,
198,
220,
220,
220,
37227,
50,
24871,
4340,
6831,
290,
16834,
286,
1459,
4321,
3946,
526,
15931,
198,
220,
220,
220,
3298,
8948,
62,
15002,
82,
198,
220,
220,
220,
1303,
12405,
20137,
284,
651,
477,
4406,
326,
423,
3722,
705,
1462,
4321,
6,
198,
220,
220,
220,
329,
304,
287,
551,
12332,
13,
9945,
13,
7217,
48382,
13,
19796,
15090,
6,
13376,
10354,
705,
1462,
4321,
6,
92,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
6978,
796,
304,
17816,
7753,
62,
6978,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
288,
4679,
66,
62,
312,
796,
965,
7,
68,
17816,
62,
312,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16834,
649,
3696,
284,
4321,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2393,
62,
6978,
407,
287,
8948,
62,
15002,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
62,
6371,
796,
304,
17816,
6371,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
62,
9132,
20,
796,
304,
17816,
9132,
20,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
62,
7857,
796,
304,
17816,
7857,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
62,
4134,
796,
304,
17816,
68,
62,
4134,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
4188,
4250,
4321,
422,
46110,
82,
92,
4458,
18982,
7,
69,
62,
6371,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
787,
1654,
9483,
7160,
878,
4321,
4940,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
823,
62,
43551,
796,
45144,
25,
82,
92,
1911,
18982,
7,
68,
62,
4134,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2352,
62,
43551,
796,
28686,
13,
6978,
13,
22179,
7,
268,
12332,
13,
11250,
13,
7890,
62,
15763,
11,
823,
62,
43551,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
9409,
343,
7,
8937,
62,
43551,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
76,
4335,
17062,
7,
8937,
62,
43551,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
12331,
11,
714,
407,
2251,
4321,
9483,
25,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
90,
25,
82,
92,
4458,
18982,
7,
8937,
62,
43551,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
2393,
46110,
82,
92,
481,
407,
307,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2902,
14578,
2637,
13,
18982,
7,
7753,
62,
6978,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4049,
11,
481,
407,
307,
3492,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
796,
551,
12332,
13,
4188,
947,
13,
15002,
82,
13,
268,
36560,
62,
13345,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
551,
12332,
13,
7217,
48382,
13,
15002,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
16193,
69,
62,
6371,
11,
2393,
62,
6978,
11,
277,
62,
9132,
20,
11,
277,
62,
7857,
11,
288,
4679,
66,
62,
312,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
62,
926,
75,
10779,
16,
11,
256,
28781,
10779,
16,
11,
26827,
10779,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
13,
28961,
17816,
7753,
62,
6978,
20520,
796,
2393,
62,
6978,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
13,
21928,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8948,
62,
15002,
82,
58,
7753,
62,
6978,
60,
796,
1693,
628,
220,
220,
220,
1303,
3424,
16834,
329,
5201,
21333,
198,
220,
220,
220,
329,
1693,
287,
551,
12332,
13,
4188,
947,
13,
15002,
82,
13,
43863,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1693,
13,
271,
62,
43952,
393,
1693,
13,
271,
62,
47904,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
13,
27773,
929,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
551,
12332,
13,
4188,
947,
13,
15002,
82,
13,
28956,
7,
21858,
8,
198
] | 2.005022 | 1,593 |
__author__ = 'sparklingSky'
import ipcalc
f = open('VT_links.txt', 'w')
subnet = raw_input('Enter subnet with prefix in format 1.2.3.0/24: ')
for x in ipcalc.Network(subnet):
f.write('https://www.virustotal.com/en/ip-address/' + str(x) + '/information/' + '\n')
f.close()
print 'Completed. See the result in file VT_links.txt'
| [
834,
9800,
834,
796,
705,
2777,
668,
1359,
22308,
6,
198,
198,
11748,
20966,
9948,
66,
198,
198,
69,
796,
1280,
10786,
36392,
62,
28751,
13,
14116,
3256,
705,
86,
11537,
198,
7266,
3262,
796,
8246,
62,
15414,
10786,
17469,
850,
3262,
351,
21231,
287,
5794,
352,
13,
17,
13,
18,
13,
15,
14,
1731,
25,
705,
8,
198,
198,
1640,
2124,
287,
20966,
9948,
66,
13,
26245,
7,
7266,
3262,
2599,
198,
220,
220,
220,
277,
13,
13564,
10786,
5450,
1378,
2503,
13,
37040,
436,
4997,
13,
785,
14,
268,
14,
541,
12,
21975,
14,
6,
1343,
965,
7,
87,
8,
1343,
31051,
17018,
14,
6,
1343,
705,
59,
77,
11537,
198,
69,
13,
19836,
3419,
198,
198,
4798,
705,
43768,
13,
4091,
262,
1255,
287,
2393,
32751,
62,
28751,
13,
14116,
6,
198
] | 2.481481 | 135 |
from flask_login import (
LoginManager as _LoginManager,
logout_user as _logout_user,
login_user as _login_user
)
from .models import User
from navycut.utils.security import check_password_hash
from navycut.errors.misc import DataTypeMismatchError
from .decorators import (
login_required as login_required,
group_required as group_required,
)
import typing as t
if t.TYPE_CHECKING:
from navycut.core.app_config import Navycut
from datetime import timedelta
from .models import User
login_manager = _LoginManager()
@login_manager.user_loader
def login_user(user:t.Type["User"],
remember:bool=False,
duration:t.Optional[t.Type["timedelta"]]=None,
force:bool=False,
fresh:bool=True
) -> bool:
"""
Logs a user in. You should pass the actual user object to this. If the
user's `is_active` property is ``False``, they will not be logged in
unless `force` is ``True``.
This will return ``True`` if the log in attempt succeeds, and ``False`` if
it fails (i.e. because the user is inactive).
:param user: The user object to log in.
:type user: object
:param remember: Whether to remember the user after their session expires.
Defaults to ``False``.
:type remember: bool
:param duration: The amount of time before the remember cookie expires. If
``None`` the value set in the settings is used. Defaults to ``None``.
:type duration: :class:`datetime.timedelta`
:param force: If the user is inactive, setting this to ``True`` will log
them in regardless. Defaults to ``False``.
:type force: bool
:param fresh: setting this to ``False`` will log in the user with a session
marked as not "fresh". Defaults to ``True``.
:type fresh: bool
"""
return _login_user(user, remember=remember, duration=duration, force=force, fresh=fresh)
def logout_user() -> bool:
"""
Logs a user out. (You do not need to pass the actual user.)
This will also clean up the remember me cookie if it exists.
"""
return _logout_user()
def authenticate(username:str, password:str) -> t.Optional["User"]:
"""
The default authentication method to authenticate a user in Navycut.
:param username:
The username for authentication.
:param password:
the original password for the given user.
example::
from navycut.auth import authenticate
user = authenticate(username="jhon", password="password")
"""
user = User.query.filter_by(username=username).first()
if not user is None:
if not check_password_hash(user.password, password):
return None
return user
def has_group(user: t.Type["User"],
group:t.Union[t.List[str], str]
) -> bool:
"""
check a user have the provided group or not.
:param user:
the user object.
:param group:
the group you want to check.
example::
from navycut.contrib.auth import has_group
from navycut.contrib.auth.models import user
user = User.query.get(1)
is_group_present = has_group(user, 'super_admin')
"""
user_groups_name = [group.name for group in list(user.groups)]
if isinstance(group, str):
return group in user_groups_name
elif isinstance(group, list):
for grp in group:
if grp in user_groups_name:
return True
return False
else:
raise DataTypeMismatchError(group, "has_group function", "str or list") | [
6738,
42903,
62,
38235,
1330,
357,
198,
220,
220,
220,
23093,
13511,
355,
4808,
47790,
13511,
11,
220,
198,
220,
220,
220,
2604,
448,
62,
7220,
355,
4808,
6404,
448,
62,
7220,
11,
198,
220,
220,
220,
17594,
62,
7220,
355,
4808,
38235,
62,
7220,
198,
220,
220,
220,
1267,
198,
6738,
764,
27530,
1330,
11787,
198,
6738,
23956,
8968,
13,
26791,
13,
12961,
1330,
2198,
62,
28712,
62,
17831,
198,
6738,
23956,
8968,
13,
48277,
13,
44374,
1330,
6060,
6030,
44,
1042,
963,
12331,
198,
198,
6738,
764,
12501,
273,
2024,
1330,
357,
198,
220,
220,
220,
17594,
62,
35827,
355,
17594,
62,
35827,
11,
220,
198,
220,
220,
220,
1448,
62,
35827,
355,
1448,
62,
35827,
11,
198,
220,
220,
220,
1267,
198,
198,
11748,
19720,
355,
256,
198,
198,
361,
256,
13,
25216,
62,
50084,
2751,
25,
198,
220,
220,
220,
422,
23956,
8968,
13,
7295,
13,
1324,
62,
11250,
1330,
8565,
8968,
198,
220,
220,
220,
422,
4818,
8079,
1330,
28805,
12514,
198,
220,
220,
220,
422,
764,
27530,
1330,
11787,
628,
198,
198,
38235,
62,
37153,
796,
4808,
47790,
13511,
3419,
198,
198,
31,
38235,
62,
37153,
13,
7220,
62,
29356,
198,
198,
4299,
17594,
62,
7220,
7,
7220,
25,
83,
13,
6030,
14692,
12982,
33116,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3505,
25,
30388,
28,
25101,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9478,
25,
83,
13,
30719,
58,
83,
13,
6030,
14692,
16514,
276,
12514,
8973,
22241,
14202,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2700,
25,
30388,
28,
25101,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4713,
25,
30388,
28,
17821,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
4613,
20512,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5972,
82,
257,
2836,
287,
13,
921,
815,
1208,
262,
4036,
2836,
2134,
284,
428,
13,
1002,
262,
198,
220,
220,
220,
2836,
338,
4600,
271,
62,
5275,
63,
3119,
318,
7559,
25101,
15506,
11,
484,
481,
407,
307,
18832,
287,
198,
220,
220,
220,
4556,
4600,
3174,
63,
318,
7559,
17821,
15506,
13,
628,
220,
220,
220,
770,
481,
1441,
7559,
17821,
15506,
611,
262,
2604,
287,
2230,
31137,
11,
290,
7559,
25101,
15506,
611,
198,
220,
220,
220,
340,
10143,
357,
72,
13,
68,
13,
780,
262,
2836,
318,
28621,
737,
628,
220,
220,
220,
1058,
17143,
2836,
25,
383,
2836,
2134,
284,
2604,
287,
13,
198,
220,
220,
220,
1058,
4906,
2836,
25,
2134,
198,
220,
220,
220,
1058,
17143,
3505,
25,
10127,
284,
3505,
262,
2836,
706,
511,
6246,
27396,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2896,
13185,
284,
7559,
25101,
15506,
13,
198,
220,
220,
220,
1058,
4906,
3505,
25,
20512,
198,
220,
220,
220,
1058,
17143,
9478,
25,
383,
2033,
286,
640,
878,
262,
3505,
19751,
27396,
13,
1002,
198,
220,
220,
220,
220,
220,
220,
220,
7559,
14202,
15506,
262,
1988,
900,
287,
262,
6460,
318,
973,
13,
2896,
13185,
284,
7559,
14202,
15506,
13,
198,
220,
220,
220,
1058,
4906,
9478,
25,
1058,
4871,
25,
63,
19608,
8079,
13,
16514,
276,
12514,
63,
198,
220,
220,
220,
1058,
17143,
2700,
25,
1002,
262,
2836,
318,
28621,
11,
4634,
428,
284,
7559,
17821,
15506,
481,
2604,
198,
220,
220,
220,
220,
220,
220,
220,
606,
287,
7692,
13,
2896,
13185,
284,
7559,
25101,
15506,
13,
198,
220,
220,
220,
1058,
4906,
2700,
25,
20512,
198,
220,
220,
220,
1058,
17143,
4713,
25,
4634,
428,
284,
7559,
25101,
15506,
481,
2604,
287,
262,
2836,
351,
257,
6246,
198,
220,
220,
220,
220,
220,
220,
220,
7498,
355,
407,
366,
48797,
1911,
2896,
13185,
284,
7559,
17821,
15506,
13,
198,
220,
220,
220,
1058,
4906,
4713,
25,
20512,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
4808,
38235,
62,
7220,
7,
7220,
11,
3505,
28,
38947,
11,
9478,
28,
32257,
11,
2700,
28,
3174,
11,
4713,
28,
48797,
8,
628,
198,
4299,
2604,
448,
62,
7220,
3419,
4613,
20512,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5972,
82,
257,
2836,
503,
13,
357,
1639,
466,
407,
761,
284,
1208,
262,
4036,
2836,
2014,
220,
198,
220,
220,
220,
770,
481,
635,
3424,
510,
262,
3505,
502,
19751,
611,
340,
7160,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
4808,
6404,
448,
62,
7220,
3419,
628,
198,
4299,
8323,
5344,
7,
29460,
25,
2536,
11,
9206,
25,
2536,
8,
4613,
256,
13,
30719,
14692,
12982,
1,
5974,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
383,
4277,
18239,
2446,
284,
8323,
5344,
257,
2836,
287,
8565,
8968,
13,
628,
220,
220,
220,
1058,
17143,
20579,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
20579,
329,
18239,
13,
198,
220,
220,
220,
1058,
17143,
9206,
25,
198,
220,
220,
220,
220,
220,
220,
220,
262,
2656,
9206,
329,
262,
1813,
2836,
13,
628,
220,
220,
220,
1672,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
422,
23956,
8968,
13,
18439,
1330,
8323,
5344,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
796,
8323,
5344,
7,
29460,
2625,
73,
24130,
1600,
9206,
2625,
28712,
4943,
628,
220,
220,
220,
37227,
628,
220,
220,
220,
2836,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
29460,
28,
29460,
737,
11085,
3419,
198,
220,
220,
220,
611,
407,
2836,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2198,
62,
28712,
62,
17831,
7,
7220,
13,
28712,
11,
9206,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
198,
220,
220,
220,
1441,
2836,
198,
198,
4299,
468,
62,
8094,
7,
7220,
25,
256,
13,
6030,
14692,
12982,
33116,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1448,
25,
83,
13,
38176,
58,
83,
13,
8053,
58,
2536,
4357,
965,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
4613,
20512,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2198,
257,
2836,
423,
262,
2810,
1448,
393,
407,
13,
198,
220,
220,
220,
1058,
17143,
2836,
25,
198,
220,
220,
220,
220,
220,
220,
220,
262,
2836,
2134,
13,
198,
220,
220,
220,
1058,
17143,
1448,
25,
198,
220,
220,
220,
220,
220,
220,
220,
262,
1448,
345,
765,
284,
2198,
13,
198,
220,
220,
220,
1672,
3712,
628,
220,
220,
220,
220,
220,
220,
220,
422,
23956,
8968,
13,
3642,
822,
13,
18439,
1330,
468,
62,
8094,
198,
220,
220,
220,
220,
220,
220,
220,
422,
23956,
8968,
13,
3642,
822,
13,
18439,
13,
27530,
1330,
2836,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
796,
11787,
13,
22766,
13,
1136,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
8094,
62,
25579,
796,
468,
62,
8094,
7,
7220,
11,
705,
16668,
62,
28482,
11537,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2836,
62,
24432,
62,
3672,
796,
685,
8094,
13,
3672,
329,
1448,
287,
1351,
7,
7220,
13,
24432,
15437,
220,
220,
198,
220,
220,
220,
611,
318,
39098,
7,
8094,
11,
965,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1448,
287,
2836,
62,
24432,
62,
3672,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1288,
361,
318,
39098,
7,
8094,
11,
1351,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1036,
79,
287,
1448,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1036,
79,
287,
2836,
62,
24432,
62,
3672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
6060,
6030,
44,
1042,
963,
12331,
7,
8094,
11,
366,
10134,
62,
8094,
2163,
1600,
366,
2536,
393,
1351,
4943
] | 2.678042 | 1,348 |
#
# Uncomplicated VM Builder
# Copyright (C) 2007-2009 Canonical Ltd.
#
# See AUTHORS for list of contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Various utility functions
import ConfigParser
import errno
import fcntl
import logging
import os.path
import select
import subprocess
import tempfile
from exception import VMBuilderException, VMBuilderUserError
def run_cmd(*argv, **kwargs):
"""
Runs a command.
Locale is reset to C to make parsing error messages possible.
@type stdin: string
@param stdin: input to provide to the process on stdin. If None, process'
stdin will be attached to /dev/null
@type ignore_fail: boolean
@param ignore_fail: If True, a non-zero exit code from the command will not
cause an exception to be raised.
@type env: dict
@param env: Dictionary of extra environment variables to set in the new process
@rtype: string
@return: string containing the stdout of the process
"""
env = kwargs.get('env', {})
stdin = kwargs.get('stdin', None)
ignore_fail = kwargs.get('ignore_fail', False)
args = [str(arg) for arg in argv]
logging.debug(args.__repr__())
if stdin:
logging.debug('stdin was set and it was a string: %s' % (stdin,))
stdin_arg = subprocess.PIPE
else:
stdin_arg = file('/dev/null', 'r')
proc_env = dict(os.environ)
proc_env['LANG'] = 'C'
proc_env['LC_ALL'] = 'C'
proc_env.update(env)
try:
proc = subprocess.Popen(args, stdin=stdin_arg, stderr=subprocess.PIPE, stdout=subprocess.PIPE, env=proc_env)
except OSError, error:
if error.errno == errno.ENOENT:
raise VMBuilderUserError, "Couldn't find the program '%s' on your system" % (argv[0])
else:
raise VMBuilderUserError, "Couldn't launch the program '%s': %s" % (argv[0], error)
if stdin:
proc.stdin.write(stdin)
proc.stdin.close()
mystdout = NonBlockingFile(proc.stdout, logfunc=logging.debug)
mystderr = NonBlockingFile(proc.stderr, logfunc=(ignore_fail and logging.debug or logging.info))
while not (mystdout.closed and mystderr.closed):
# Block until either of them has something to offer
fds = select.select([x.file for x in [mystdout, mystderr] if not x.closed], [], [])[0]
for fp in [mystderr, mystdout]:
if fp.file in fds:
fp.process_input()
status = proc.wait()
if not ignore_fail and status != 0:
raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % (args.__repr__(), status, mystdout.buf, mystderr.buf)
return mystdout.buf
def checkroot():
"""
Check if we're running as root, and bail out if we're not.
"""
if os.geteuid() != 0:
raise VMBuilderUserError("This script must be run as root (e.g. via sudo)")
def set_up_tmpfs(tmp_root=None, size=1024):
"""Sets up a tmpfs storage under `tmp_root` with the size of `size` MB.
`tmp_root` defaults to tempfile.gettempdir().
"""
mount_point = tmpdir('tmpfs', tmp_root)
mount_cmd = ["mount", "-t", "tmpfs",
"-o", "size=%dM,mode=0770" % int(size),
"tmpfs", mount_point ]
logging.info('Mounting tmpfs under %s' % mount_point)
logging.debug('Executing: %s' % mount_cmd)
run_cmd(*mount_cmd)
return mount_point
def clean_up_tmpfs(mount_point):
"""Unmounts a tmpfs storage under `mount_point`."""
umount_cmd = ["umount", "-t", "tmpfs", mount_point ]
logging.info('Unmounting tmpfs from %s' % mount_point)
logging.debug('Executing: %s' % umount_cmd)
run_cmd(*umount_cmd)
| [
2,
198,
2,
220,
220,
220,
791,
23855,
3474,
16990,
35869,
198,
2,
220,
220,
220,
15069,
357,
34,
8,
4343,
12,
10531,
19507,
605,
12052,
13,
198,
2,
198,
2,
220,
220,
220,
4091,
37195,
20673,
329,
1351,
286,
20420,
198,
2,
198,
2,
220,
220,
220,
770,
1430,
318,
1479,
3788,
25,
345,
460,
17678,
4163,
340,
290,
14,
273,
13096,
198,
2,
220,
220,
220,
340,
739,
262,
2846,
286,
262,
22961,
3611,
5094,
13789,
2196,
513,
11,
355,
198,
2,
220,
220,
220,
3199,
416,
262,
3232,
10442,
5693,
13,
198,
2,
198,
2,
220,
220,
220,
770,
1430,
318,
9387,
287,
262,
2911,
326,
340,
481,
307,
4465,
11,
198,
2,
220,
220,
220,
475,
42881,
15529,
34764,
56,
26,
1231,
772,
262,
17142,
18215,
286,
198,
2,
220,
220,
220,
34482,
3398,
1565,
5603,
25382,
393,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
13,
220,
4091,
262,
198,
2,
220,
220,
220,
22961,
3611,
5094,
13789,
329,
517,
3307,
13,
198,
2,
198,
2,
220,
220,
220,
921,
815,
423,
2722,
257,
4866,
286,
262,
22961,
3611,
5094,
13789,
198,
2,
220,
220,
220,
1863,
351,
428,
1430,
13,
220,
1002,
407,
11,
766,
1279,
4023,
1378,
2503,
13,
41791,
13,
2398,
14,
677,
4541,
15913,
13,
198,
2,
198,
2,
220,
220,
220,
26386,
10361,
5499,
198,
11748,
17056,
46677,
198,
11748,
11454,
3919,
198,
11748,
277,
66,
429,
75,
198,
11748,
18931,
198,
11748,
28686,
13,
6978,
198,
11748,
2922,
198,
11748,
850,
14681,
198,
11748,
20218,
7753,
198,
6738,
220,
220,
6631,
220,
220,
220,
220,
220,
220,
220,
1330,
569,
10744,
3547,
263,
16922,
11,
569,
10744,
3547,
263,
12982,
12331,
198,
198,
4299,
1057,
62,
28758,
46491,
853,
85,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
44743,
257,
3141,
13,
628,
220,
220,
220,
15181,
1000,
318,
13259,
284,
327,
284,
787,
32096,
4049,
6218,
1744,
13,
628,
220,
220,
220,
2488,
4906,
220,
14367,
259,
25,
4731,
198,
220,
220,
220,
2488,
17143,
14367,
259,
25,
5128,
284,
2148,
284,
262,
1429,
319,
14367,
259,
13,
1002,
6045,
11,
1429,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
259,
481,
307,
7223,
284,
1220,
7959,
14,
8423,
198,
220,
220,
220,
2488,
4906,
220,
8856,
62,
32165,
25,
25131,
198,
220,
220,
220,
2488,
17143,
8856,
62,
32165,
25,
1002,
6407,
11,
257,
1729,
12,
22570,
8420,
2438,
422,
262,
3141,
481,
407,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2728,
281,
6631,
284,
307,
4376,
13,
198,
220,
220,
220,
2488,
4906,
220,
17365,
25,
8633,
198,
220,
220,
220,
2488,
17143,
17365,
25,
28261,
286,
3131,
2858,
9633,
284,
900,
287,
262,
649,
1429,
628,
220,
220,
220,
2488,
81,
4906,
25,
220,
4731,
198,
220,
220,
220,
2488,
7783,
25,
4731,
7268,
262,
14367,
448,
286,
262,
1429,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
17365,
796,
479,
86,
22046,
13,
1136,
10786,
24330,
3256,
23884,
8,
198,
220,
220,
220,
14367,
259,
796,
479,
86,
22046,
13,
1136,
10786,
19282,
259,
3256,
6045,
8,
198,
220,
220,
220,
8856,
62,
32165,
796,
479,
86,
22046,
13,
1136,
10786,
46430,
62,
32165,
3256,
10352,
8,
198,
220,
220,
220,
26498,
796,
685,
2536,
7,
853,
8,
329,
1822,
287,
1822,
85,
60,
198,
220,
220,
220,
18931,
13,
24442,
7,
22046,
13,
834,
260,
1050,
834,
28955,
198,
220,
220,
220,
611,
14367,
259,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
24442,
10786,
19282,
259,
373,
900,
290,
340,
373,
257,
4731,
25,
4064,
82,
6,
4064,
357,
19282,
259,
11,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
14367,
259,
62,
853,
796,
850,
14681,
13,
47,
4061,
36,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
14367,
259,
62,
853,
796,
2393,
10786,
14,
7959,
14,
8423,
3256,
705,
81,
11537,
198,
220,
220,
220,
13834,
62,
24330,
796,
8633,
7,
418,
13,
268,
2268,
8,
198,
220,
220,
220,
13834,
62,
24330,
17816,
43,
15567,
20520,
796,
705,
34,
6,
198,
220,
220,
220,
13834,
62,
24330,
17816,
5639,
62,
7036,
20520,
796,
705,
34,
6,
198,
220,
220,
220,
13834,
62,
24330,
13,
19119,
7,
24330,
8,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
13834,
796,
850,
14681,
13,
47,
9654,
7,
22046,
11,
14367,
259,
28,
19282,
259,
62,
853,
11,
336,
1082,
81,
28,
7266,
14681,
13,
47,
4061,
36,
11,
14367,
448,
28,
7266,
14681,
13,
47,
4061,
36,
11,
17365,
28,
36942,
62,
24330,
8,
198,
220,
220,
220,
2845,
440,
5188,
81,
1472,
11,
4049,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4049,
13,
8056,
3919,
6624,
11454,
3919,
13,
1677,
46,
3525,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
569,
10744,
3547,
263,
12982,
12331,
11,
366,
23722,
77,
470,
1064,
262,
1430,
705,
4,
82,
6,
319,
534,
1080,
1,
4064,
357,
853,
85,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
569,
10744,
3547,
263,
12982,
12331,
11,
366,
23722,
77,
470,
4219,
262,
1430,
705,
4,
82,
10354,
4064,
82,
1,
4064,
357,
853,
85,
58,
15,
4357,
4049,
8,
628,
220,
220,
220,
611,
14367,
259,
25,
198,
220,
220,
220,
220,
220,
220,
220,
13834,
13,
19282,
259,
13,
13564,
7,
19282,
259,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13834,
13,
19282,
259,
13,
19836,
3419,
628,
220,
220,
220,
616,
19282,
448,
796,
8504,
3629,
8629,
8979,
7,
36942,
13,
19282,
448,
11,
2604,
20786,
28,
6404,
2667,
13,
24442,
8,
198,
220,
220,
220,
21619,
1082,
81,
796,
8504,
3629,
8629,
8979,
7,
36942,
13,
301,
1082,
81,
11,
2604,
20786,
16193,
46430,
62,
32165,
290,
18931,
13,
24442,
393,
18931,
13,
10951,
4008,
628,
220,
220,
220,
981,
407,
357,
1820,
19282,
448,
13,
20225,
290,
21619,
1082,
81,
13,
20225,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
9726,
1566,
2035,
286,
606,
468,
1223,
284,
2897,
198,
220,
220,
220,
220,
220,
220,
220,
277,
9310,
796,
2922,
13,
19738,
26933,
87,
13,
7753,
329,
2124,
287,
685,
1820,
19282,
448,
11,
21619,
1082,
81,
60,
611,
407,
2124,
13,
20225,
4357,
685,
4357,
685,
12962,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
329,
277,
79,
287,
685,
1820,
301,
1082,
81,
11,
616,
19282,
448,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
277,
79,
13,
7753,
287,
277,
9310,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
79,
13,
14681,
62,
15414,
3419,
628,
220,
220,
220,
3722,
796,
13834,
13,
17077,
3419,
198,
220,
220,
220,
611,
407,
8856,
62,
32165,
290,
3722,
14512,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
569,
10744,
3547,
263,
16922,
11,
366,
18709,
37633,
82,
8,
4504,
4064,
67,
13,
14367,
448,
25,
4064,
82,
11,
336,
1082,
81,
25,
4064,
82,
1,
4064,
357,
22046,
13,
834,
260,
1050,
834,
22784,
3722,
11,
616,
19282,
448,
13,
29325,
11,
21619,
1082,
81,
13,
29325,
8,
198,
220,
220,
220,
1441,
616,
19282,
448,
13,
29325,
198,
198,
4299,
2198,
15763,
33529,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
6822,
611,
356,
821,
2491,
355,
6808,
11,
290,
12274,
503,
611,
356,
821,
407,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
611,
28686,
13,
1136,
12496,
312,
3419,
14512,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
569,
10744,
3547,
263,
12982,
12331,
7203,
1212,
4226,
1276,
307,
1057,
355,
6808,
357,
68,
13,
70,
13,
2884,
21061,
8,
4943,
198,
198,
4299,
900,
62,
929,
62,
22065,
9501,
7,
22065,
62,
15763,
28,
14202,
11,
2546,
28,
35500,
2599,
198,
220,
220,
220,
37227,
50,
1039,
510,
257,
45218,
9501,
6143,
739,
4600,
22065,
62,
15763,
63,
351,
262,
2546,
286,
4600,
7857,
63,
10771,
13,
628,
220,
220,
220,
4600,
22065,
62,
15763,
63,
26235,
284,
20218,
7753,
13,
1136,
29510,
15908,
22446,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3817,
62,
4122,
796,
45218,
15908,
10786,
22065,
9501,
3256,
45218,
62,
15763,
8,
198,
220,
220,
220,
3817,
62,
28758,
796,
14631,
14948,
1600,
27444,
83,
1600,
366,
22065,
9501,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27444,
78,
1600,
366,
7857,
28,
4,
67,
44,
11,
14171,
28,
2998,
2154,
1,
4064,
493,
7,
7857,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
22065,
9501,
1600,
3817,
62,
4122,
2361,
198,
220,
220,
220,
18931,
13,
10951,
10786,
35452,
278,
45218,
9501,
739,
4064,
82,
6,
4064,
3817,
62,
4122,
8,
198,
220,
220,
220,
18931,
13,
24442,
10786,
23002,
15129,
25,
4064,
82,
6,
4064,
3817,
62,
28758,
8,
198,
220,
220,
220,
1057,
62,
28758,
46491,
14948,
62,
28758,
8,
628,
220,
220,
220,
1441,
3817,
62,
4122,
198,
198,
4299,
3424,
62,
929,
62,
22065,
9501,
7,
14948,
62,
4122,
2599,
198,
220,
220,
220,
37227,
3118,
14948,
82,
257,
45218,
9501,
6143,
739,
4600,
14948,
62,
4122,
63,
526,
15931,
198,
220,
220,
220,
334,
14948,
62,
28758,
796,
14631,
388,
608,
1600,
27444,
83,
1600,
366,
22065,
9501,
1600,
3817,
62,
4122,
2361,
198,
220,
220,
220,
18931,
13,
10951,
10786,
3118,
14948,
278,
45218,
9501,
422,
4064,
82,
6,
4064,
3817,
62,
4122,
8,
198,
220,
220,
220,
18931,
13,
24442,
10786,
23002,
15129,
25,
4064,
82,
6,
4064,
334,
14948,
62,
28758,
8,
198,
220,
220,
220,
1057,
62,
28758,
46491,
388,
608,
62,
28758,
8,
628
] | 2.512353 | 1,700 |
#!/usr/bin/env python
#
# Copyright (c) 2020 BlackArrow
#
#
# This product includes software developed by
# SecureAuth Corporation (https://www.secureauth.com/).
#
# Description: [MS-TDS] & [MC-SQLR] example.
#
# Original author:
# Alberto Solino ([email protected]/@agsolino)
#
# Author:
# Pablo Martinez (https://twitter.com/xassiz)
#
from __future__ import division
from __future__ import print_function
import argparse
import sys
import os
import logging
import socket
import threading
import select
from impacket.examples import logger
from impacket import version, tds
# Proxy config
MSG_END_OF_TRANSIMISSION = b"\x31\x41\x59\x26\x53\x58\x97\x93\x23\x84"
MSG_EXIT_CMD = b"\x12\x34\x56"
MSG_EXIT_ACK = b"\x65\x43\x21"
ASSEMBLY_NAME = "Microsoft.SqlServer.Proxy"
PROCEDURE_NAME = "sp_start_proxy"
if __name__ == '__main__':
import cmd
# Init the example's logger theme
logger.init()
print(version.BANNER)
print("mssqlproxy - Copyright 2020 BlackArrow")
parser = argparse.ArgumentParser(add_help = True, description = "TDS client implementation (SSL supported).")
parser.add_argument('target', action='store', help='[[domain/]username[:password]@]<targetName or address>')
parser.add_argument('-port', action='store', default='1433', help='target MSSQL port (default 1433)')
parser.add_argument('-db', action='store', help='MSSQL database instance (default None)')
parser.add_argument('-windows-auth', action='store_true', default = 'False', help='whether or not to use Windows '
'Authentication (default False)')
parser.add_argument('-debug', action='store_true', help='Turn DEBUG output ON')
parser.add_argument('-file', type=argparse.FileType('r'), help='input file with commands to execute in the SQL shell')
group = parser.add_argument_group('authentication')
group.add_argument('-hashes', action="store", metavar = "LMHASH:NTHASH", help='NTLM hashes, format is LMHASH:NTHASH')
group.add_argument('-no-pass', action="store_true", help='don\'t ask for password (useful for -k)')
group.add_argument('-k', action="store_true", help='Use Kerberos authentication. Grabs credentials from ccache file '
'(KRB5CCNAME) based on target parameters. If valid credentials cannot be found, it will use the '
'ones specified in the command line')
group.add_argument('-aesKey', action="store", metavar = "hex key", help='AES key to use for Kerberos Authentication '
'(128 or 256 bits)')
group.add_argument('-dc-ip', action='store',metavar = "ip address", help='IP Address of the domain controller. If '
'ommited it use the domain part (FQDN) specified in the target parameter')
# Proxy mode arguments
group = parser.add_argument_group('proxy mode')
group.add_argument('-reciclador', action="store", metavar = "path", help='Remote path where DLL is stored in server')
group.add_argument('-install', action="store_true", help='Installs CLR assembly')
group.add_argument('-uninstall', action="store_true", help='Uninstalls CLR assembly')
group.add_argument('-check', action="store_true", help='Checks if CLR is ready')
group.add_argument('-start', action="store_true", help='Starts proxy')
group.add_argument('-local-port', action="store", metavar = "port", type=int, default=1337, help='Local port to listen on')
group.add_argument('-clr', action="store", metavar="local_path", help='Local CLR path')
group.add_argument('-no-check-src-port', action="store_true", help='Use this option when connection is not direct (e.g. proxy)')
if len(sys.argv)==1:
parser.print_help()
sys.exit(1)
options = parser.parse_args()
if options.debug is True:
logging.getLogger().setLevel(logging.DEBUG)
else:
logging.getLogger().setLevel(logging.INFO)
import re
domain, username, password, address = re.compile('(?:(?:([^/@:]*)/)?([^@:]*)(?::([^@]*))?@)?(.*)').match(
options.target).groups('')
#In case the password contains '@'
if '@' in address:
password = password + '@' + address.rpartition('@')[0]
address = address.rpartition('@')[2]
if domain is None:
domain = ''
if password == '' and username != '' and options.hashes is None and options.no_pass is False and options.aesKey is None:
from getpass import getpass
password = getpass("Password:")
if options.aesKey is not None:
options.k = True
# If proxy params
if any(getattr(options, l) for l in ['reciclador', 'install', 'uninstall', 'check', 'start', 'clr']):
proxy_mode = True
if sum((options.install, options.uninstall, options.check, options.start)) != 1:
logging.error("please, choose one of the following actions: install, uninstall, check, start")
sys.exit(1)
if (options.start or options.check) and not options.reciclador:
logging.error("reciclador path is mandatory")
sys.exit(1)
if options.install and not options.clr:
logging.error("CLR path is mandatory")
sys.exit(1)
else:
proxy_mode = False
ms_sql = tds.MSSQL(address, int(options.port))
ms_sql.connect()
try:
if options.k is True:
res = ms_sql.kerberosLogin(options.db, username, password, domain, options.hashes, options.aesKey,
kdcHost=options.dc_ip)
else:
res = ms_sql.login(options.db, username, password, domain, options.hashes, options.windows_auth)
ms_sql.printReplies()
except Exception as e:
logging.debug("Exception:", exc_info=True)
logging.error(str(e))
res = False
if res is True:
# If proxy mode
if proxy_mode:
proxy_opt = {
'install' : proxy_install,
'uninstall': proxy_uninstall,
'check' : proxy_check,
'start' : proxy_start
}
opt = next(mode for mode in proxy_opt.keys() if getattr(options, mode))
proxy_opt[opt](ms_sql, options)
# Shell mode
else:
shell = SQLSHELL(ms_sql)
if options.file is None:
shell.cmdloop()
else:
for line in options.file.readlines():
print("SQL> %s" % line, end=' ')
shell.onecmd(line)
ms_sql.disconnect()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
198,
2,
15069,
357,
66,
8,
12131,
2619,
3163,
808,
198,
2,
198,
2,
198,
2,
770,
1720,
3407,
3788,
4166,
416,
198,
2,
26707,
30515,
10501,
357,
5450,
1378,
2503,
13,
22390,
18439,
13,
785,
14,
737,
198,
2,
198,
2,
12489,
25,
685,
5653,
12,
51,
5258,
60,
1222,
685,
9655,
12,
17861,
49,
60,
1672,
13,
198,
2,
198,
2,
13745,
1772,
25,
198,
2,
220,
40649,
4294,
2879,
357,
11181,
78,
31,
7295,
12961,
13,
785,
14,
31,
3775,
349,
2879,
8,
198,
2,
198,
2,
6434,
25,
198,
2,
220,
33185,
20741,
357,
5450,
1378,
6956,
13,
785,
14,
87,
562,
528,
8,
198,
2,
198,
198,
6738,
11593,
37443,
834,
1330,
7297,
198,
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
11748,
1822,
29572,
198,
11748,
25064,
198,
11748,
28686,
198,
11748,
18931,
198,
198,
11748,
17802,
198,
11748,
4704,
278,
198,
11748,
2922,
198,
198,
6738,
848,
8317,
13,
1069,
12629,
1330,
49706,
198,
6738,
848,
8317,
1330,
2196,
11,
256,
9310,
628,
198,
198,
2,
38027,
4566,
198,
198,
5653,
38,
62,
10619,
62,
19238,
62,
5446,
15037,
3955,
40373,
796,
275,
1,
59,
87,
3132,
59,
87,
3901,
59,
87,
3270,
59,
87,
2075,
59,
87,
4310,
59,
87,
3365,
59,
87,
5607,
59,
87,
6052,
59,
87,
1954,
59,
87,
5705,
1,
198,
5653,
38,
62,
6369,
2043,
62,
34,
12740,
796,
275,
1,
59,
87,
1065,
59,
87,
2682,
59,
87,
3980,
1,
198,
5653,
38,
62,
6369,
2043,
62,
8120,
796,
275,
1,
59,
87,
2996,
59,
87,
3559,
59,
87,
2481,
1,
198,
198,
10705,
3620,
9148,
56,
62,
20608,
796,
366,
15905,
13,
50,
13976,
10697,
13,
44148,
1,
198,
4805,
4503,
1961,
11335,
62,
20608,
796,
366,
2777,
62,
9688,
62,
36436,
1,
628,
628,
628,
220,
220,
220,
220,
628,
628,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1330,
23991,
628,
220,
220,
220,
1303,
44707,
262,
1672,
338,
49706,
7505,
198,
220,
220,
220,
49706,
13,
15003,
3419,
198,
220,
220,
220,
3601,
7,
9641,
13,
33,
1565,
21479,
8,
198,
220,
220,
220,
3601,
7203,
76,
824,
13976,
36436,
532,
15069,
12131,
2619,
3163,
808,
4943,
628,
220,
220,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
2860,
62,
16794,
796,
6407,
11,
6764,
796,
366,
51,
5258,
5456,
7822,
357,
31127,
4855,
8,
19570,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
16793,
3256,
2223,
11639,
8095,
3256,
1037,
11639,
30109,
27830,
14,
60,
29460,
58,
25,
28712,
60,
31,
60,
27,
16793,
5376,
393,
2209,
29,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
634,
3256,
2223,
11639,
8095,
3256,
4277,
11639,
1415,
2091,
3256,
1037,
11639,
16793,
337,
5432,
9711,
2493,
357,
12286,
1478,
2091,
8,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
9945,
3256,
2223,
11639,
8095,
3256,
1037,
11639,
44,
5432,
9711,
6831,
4554,
357,
12286,
6045,
8,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
28457,
12,
18439,
3256,
2223,
11639,
8095,
62,
7942,
3256,
4277,
796,
705,
25101,
3256,
1037,
11639,
25356,
393,
407,
284,
779,
3964,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
47649,
3299,
357,
12286,
10352,
8,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
24442,
3256,
2223,
11639,
8095,
62,
7942,
3256,
1037,
11639,
17278,
16959,
5072,
6177,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
7753,
3256,
2099,
28,
853,
29572,
13,
8979,
6030,
10786,
81,
33809,
1037,
11639,
15414,
2393,
351,
9729,
284,
12260,
287,
262,
16363,
7582,
11537,
628,
220,
220,
220,
1448,
796,
30751,
13,
2860,
62,
49140,
62,
8094,
10786,
41299,
3299,
11537,
628,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
71,
7465,
3256,
2223,
2625,
8095,
1600,
1138,
615,
283,
796,
366,
31288,
39,
11211,
25,
45,
4221,
11211,
1600,
1037,
11639,
11251,
31288,
46621,
11,
5794,
318,
406,
36208,
11211,
25,
45,
4221,
11211,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
3919,
12,
6603,
3256,
2223,
2625,
8095,
62,
7942,
1600,
1037,
11639,
9099,
43054,
83,
1265,
329,
9206,
357,
1904,
913,
329,
532,
74,
8,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
74,
3256,
2223,
2625,
8095,
62,
7942,
1600,
1037,
11639,
11041,
17337,
527,
418,
18239,
13,
1902,
8937,
18031,
422,
269,
23870,
2393,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29513,
42,
27912,
20,
4093,
20608,
8,
1912,
319,
2496,
10007,
13,
1002,
4938,
18031,
2314,
307,
1043,
11,
340,
481,
779,
262,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1952,
7368,
287,
262,
3141,
1627,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
64,
274,
9218,
3256,
2223,
2625,
8095,
1600,
1138,
615,
283,
796,
366,
33095,
1994,
1600,
1037,
11639,
32,
1546,
1994,
284,
779,
329,
17337,
527,
418,
48191,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29513,
12762,
393,
17759,
10340,
8,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
17896,
12,
541,
3256,
2223,
11639,
8095,
3256,
4164,
615,
283,
796,
366,
541,
2209,
1600,
220,
1037,
11639,
4061,
17917,
286,
262,
7386,
10444,
13,
1002,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2002,
863,
340,
779,
262,
7386,
636,
357,
37,
48,
35504,
8,
7368,
287,
262,
2496,
11507,
11537,
628,
220,
220,
220,
1303,
38027,
4235,
7159,
198,
220,
220,
220,
1448,
796,
30751,
13,
2860,
62,
49140,
62,
8094,
10786,
36436,
4235,
11537,
628,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
8344,
291,
75,
7079,
3256,
2223,
2625,
8095,
1600,
1138,
615,
283,
796,
366,
6978,
1600,
1037,
11639,
36510,
3108,
810,
360,
3069,
318,
8574,
287,
4382,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
17350,
3256,
2223,
2625,
8095,
62,
7942,
1600,
1037,
11639,
6310,
5691,
49896,
10474,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
403,
17350,
3256,
2223,
2625,
8095,
62,
7942,
1600,
1037,
11639,
3118,
8625,
5691,
49896,
10474,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
9122,
3256,
2223,
2625,
8095,
62,
7942,
1600,
1037,
11639,
7376,
4657,
611,
49896,
318,
3492,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
9688,
3256,
2223,
2625,
8095,
62,
7942,
1600,
1037,
11639,
1273,
5889,
15741,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
12001,
12,
634,
3256,
2223,
2625,
8095,
1600,
1138,
615,
283,
796,
366,
634,
1600,
2099,
28,
600,
11,
4277,
28,
1485,
2718,
11,
1037,
11639,
14565,
2493,
284,
6004,
319,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
565,
81,
3256,
2223,
2625,
8095,
1600,
1138,
615,
283,
2625,
12001,
62,
6978,
1600,
1037,
11639,
14565,
49896,
3108,
11537,
198,
220,
220,
220,
1448,
13,
2860,
62,
49140,
10786,
12,
3919,
12,
9122,
12,
10677,
12,
634,
3256,
2223,
2625,
8095,
62,
7942,
1600,
1037,
11639,
11041,
428,
3038,
618,
4637,
318,
407,
1277,
357,
68,
13,
70,
13,
15741,
8,
11537,
628,
198,
220,
220,
220,
611,
18896,
7,
17597,
13,
853,
85,
8,
855,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
30751,
13,
4798,
62,
16794,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
3689,
796,
30751,
13,
29572,
62,
22046,
3419,
628,
198,
220,
220,
220,
611,
3689,
13,
24442,
318,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
1136,
11187,
1362,
22446,
2617,
4971,
7,
6404,
2667,
13,
30531,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
1136,
11187,
1362,
22446,
2617,
4971,
7,
6404,
2667,
13,
10778,
8,
628,
220,
220,
220,
1330,
302,
628,
220,
220,
220,
7386,
11,
20579,
11,
9206,
11,
2209,
796,
302,
13,
5589,
576,
10786,
7,
27514,
7,
27514,
26933,
61,
14,
31,
47715,
9,
20679,
19427,
26933,
61,
31,
47715,
9,
5769,
30,
3712,
26933,
61,
31,
60,
9,
4008,
30,
31,
19427,
7,
15885,
8,
27691,
15699,
7,
198,
220,
220,
220,
220,
220,
220,
220,
3689,
13,
16793,
737,
24432,
7,
7061,
8,
628,
220,
220,
220,
1303,
818,
1339,
262,
9206,
4909,
705,
31,
6,
198,
220,
220,
220,
611,
705,
31,
6,
287,
2209,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9206,
796,
9206,
1343,
705,
31,
6,
1343,
2209,
13,
81,
3911,
653,
10786,
31,
11537,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2209,
796,
2209,
13,
81,
3911,
653,
10786,
31,
11537,
58,
17,
60,
628,
220,
220,
220,
611,
7386,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7386,
796,
10148,
628,
220,
220,
220,
611,
9206,
6624,
10148,
290,
20579,
14512,
10148,
290,
3689,
13,
71,
7465,
318,
6045,
290,
3689,
13,
3919,
62,
6603,
318,
10352,
290,
3689,
13,
64,
274,
9218,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
422,
651,
6603,
1330,
651,
6603,
198,
220,
220,
220,
220,
220,
220,
220,
9206,
796,
651,
6603,
7203,
35215,
25,
4943,
628,
220,
220,
220,
611,
3689,
13,
64,
274,
9218,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3689,
13,
74,
796,
6407,
628,
628,
220,
220,
220,
1303,
1002,
15741,
42287,
198,
220,
220,
220,
611,
597,
7,
1136,
35226,
7,
25811,
11,
300,
8,
329,
300,
287,
37250,
8344,
291,
75,
7079,
3256,
705,
17350,
3256,
705,
403,
17350,
3256,
705,
9122,
3256,
705,
9688,
3256,
705,
565,
81,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
15741,
62,
14171,
796,
6407,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2160,
19510,
25811,
13,
17350,
11,
3689,
13,
403,
17350,
11,
3689,
13,
9122,
11,
3689,
13,
9688,
4008,
14512,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
18224,
7203,
29688,
11,
3853,
530,
286,
262,
1708,
4028,
25,
2721,
11,
43194,
11,
2198,
11,
923,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
357,
25811,
13,
9688,
393,
3689,
13,
9122,
8,
290,
407,
3689,
13,
8344,
291,
75,
7079,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
18224,
7203,
8344,
291,
75,
7079,
3108,
318,
13677,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3689,
13,
17350,
290,
407,
3689,
13,
565,
81,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
18224,
7203,
5097,
49,
3108,
318,
13677,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
15741,
62,
14171,
796,
10352,
628,
198,
220,
220,
220,
13845,
62,
25410,
796,
256,
9310,
13,
44,
5432,
9711,
7,
21975,
11,
493,
7,
25811,
13,
634,
4008,
198,
220,
220,
220,
13845,
62,
25410,
13,
8443,
3419,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3689,
13,
74,
318,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
796,
13845,
62,
25410,
13,
6122,
527,
418,
47790,
7,
25811,
13,
9945,
11,
20579,
11,
9206,
11,
7386,
11,
3689,
13,
71,
7465,
11,
3689,
13,
64,
274,
9218,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
479,
17896,
17932,
28,
25811,
13,
17896,
62,
541,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
796,
13845,
62,
25410,
13,
38235,
7,
25811,
13,
9945,
11,
20579,
11,
9206,
11,
7386,
11,
3689,
13,
71,
7465,
11,
3689,
13,
28457,
62,
18439,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
62,
25410,
13,
4798,
39232,
444,
3419,
198,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
24442,
7203,
16922,
25,
1600,
2859,
62,
10951,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
18224,
7,
2536,
7,
68,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
581,
796,
10352,
628,
198,
220,
220,
220,
611,
581,
318,
6407,
25,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
15741,
4235,
198,
220,
220,
220,
220,
220,
220,
220,
611,
15741,
62,
14171,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15741,
62,
8738,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
17350,
6,
1058,
15741,
62,
17350,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
403,
17350,
10354,
15741,
62,
403,
17350,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9122,
6,
1058,
15741,
62,
9122,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9688,
6,
1058,
15741,
62,
9688,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2172,
796,
1306,
7,
14171,
329,
4235,
287,
15741,
62,
8738,
13,
13083,
3419,
611,
651,
35226,
7,
25811,
11,
4235,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15741,
62,
8738,
58,
8738,
16151,
907,
62,
25410,
11,
3689,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
17537,
4235,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7582,
796,
49747,
6561,
13909,
3069,
7,
907,
62,
25410,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3689,
13,
7753,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7582,
13,
28758,
26268,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1627,
287,
3689,
13,
7753,
13,
961,
6615,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
17861,
29,
4064,
82,
1,
4064,
1627,
11,
886,
11639,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7582,
13,
505,
28758,
7,
1370,
8,
628,
220,
220,
220,
13845,
62,
25410,
13,
6381,
8443,
3419,
198
] | 2.412464 | 2,776 |
import argparse
from blesuite.connection_manager import BLEConnectionManager
from blesuite_wrapper import ble_service_read, ble_service_read_async, ble_service_write, \
ble_handle_subscribe, ble_service_scan, ble_service_write_async, ble_run_smart_scan
from blesuite import utils
from blesuite.utils.print_helper import print_data_and_hex
from blesuite.utils import validators
import logging
__version__ = "2.0"
logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())
def parse_command():
"""
Creates parser and parses command line tool call.
:return: parsed arguments
"""
global __version__
#Dictionary of available commands. Place new commands here
cmd_choices = {'scan': "Scan for BTLE devices",
'smartscan': "Scan specified BTLE device for device information, services, characteristics "
"(including associated descriptors). Note: This scan takes longer than the service scan",
'servicescan': 'Scan specified address for all services, characteristics, and descriptors. ',
'read': "Read value from specified device and handle",
'write': "Write value to specific handle on a device. Specify the --data or --files options"
"to set the payload data. Only data or file data can be specified, not both"
"(data submitted using the data flag takes precedence over data in files).",
'subscribe': "Write specified value (0000,0100,0200,0300) to chosen handle and initiate listener.",
'spoof': 'Modify your Bluetooth adapter\'s BT_ADDR. Use --address to set the address. Some chipsets'
' may not be supported.'}
address_type_choices = ['public', 'random']
parser = argparse.ArgumentParser(prog="blesuite",
description='Bluetooh Low Energy (BTLE) tool set for communicating and '
'testing BTLE devices on the application layer.') # ,
# formatter_class=argparse.RawTextHelpFormatter)
parser.add_argument('command', metavar='command', type=str, nargs=1,
action='store', choices=cmd_choices.keys(),
help='BLESuite command you would like to execute.' +
'The following are the currently supported commands:\n' +
'\n'.join(['\033[1m{}\033[0m: {}'.format(k, v) for k, v in cmd_choices.iteritems()]))
parser.add_argument('--async', action='store_true', help='\033[1m<read, write>\033[0m '
'Enable asynchronous writing/reading. Any output'
'will be displayed when received. This prevents'
'blocking.')
parser.add_argument('--skip-device-info-query', action='store_true', help='\033[1m<smartscan>\033[0m '
'When scanning a device, specify this flag'
'to force smartscan to skip querying the device'
'for common information such as device name. This'
'is helpful when devices do not implement these services.')
parser.add_argument('--smart-read', action='store_true', help='\033[1m<smartscan>\033[0m '
'When scanning a device, specify this flag'
'to force smartscan to attempt to read'
'from each discovered characteristic descriptor.'
'Note: This will increase scan time to handle'
'each read operation.')
parser.add_argument('-m', '--mode', metavar='mode', default=[1],
type=int, nargs=1, required=False,
action='store', help='\033[1m<subscribe>\033[0m '
'Selects which configuration to set'
'for a characteristic configuration descriptor.'
'0=off,1=notifications,2=indications,'
'3=notifications and inidications')
parser.add_argument('--timeout', metavar='timeout', default=[5],
type=int, nargs=1,
required=False, action='store',
help='\033[1m<lescan, read, write>\033[0m '
'Timeout (in seconds) for attempting to retrieve data from a device '
'(ie reading from a descriptor handle). (Default: 5 seconds)')
parser.add_argument('--subscribe-timeout', metavar='subscribe-timeout', default=[None],
type=int, nargs=1,
required=False, action='store',
help='\033[1m<subscribe>\033[0m '
'Time (in seconds) for attempting to retrieve data from a device '
'when listening for notifications or indications. (Default: Indefinite)')
# Device for discovery service can be specified
parser.add_argument('-i', '--adapter', metavar='adapter', default=[0],
type=int, nargs=1,
required=False, action='store',
help='\033[1m<all commands>\033[0m '
'Specify which Bluetooth adapter should be used. '
'These can be found by running (hcitool dev).')
parser.add_argument('-d', '--address', metavar='address', type=validators.validate_bluetooth_address_cli, nargs=1,
required=False, action='store',
help='\033[1m<all commands>\033[0m '
'Bluetooth address (BD_ADDR) of the target Bluetooth device')
parser.add_argument('-a', '--handles', metavar='handles', type=str, nargs="+",
required=False, action='store', default=[],
help='\033[1m<read, write>\033[0m '
'Hexadecimal handel list of characteristics to access (ex: 005a 006b). If '
'you want to access the value of a characteristic, use the handle_value '
'value from the service scan.')
parser.add_argument('-u', '--uuids', metavar='uuids', type=str, nargs="+",
required=False, action='store', default=[],
help='\033[1m<read>\033[0m '
'UUID list of characteristics to access. If '
'you want to access the value of a characteristic, use the UUID '
'value from the service scan.')
parser.add_argument('--data', metavar='data', type=str, nargs="+",
required=False, action='store', default=[],
help='\033[1m<write>\033[0m '
'Strings that you want to write to a handle (separated by spaces).')
parser.add_argument('--files', metavar='files', type=str, nargs="+",
required=False, action='store', default=[],
help='\033[1m<write>\033[0m '
'Files that contain data to write to handle (separated by spaces)')
parser.add_argument('--payload-delimiter', metavar='payload-delimiter', type=str, nargs=1,
required=False, action='store', default=["EOF"],
help='\033[1m<write>\033[0m '
'Specify a delimiter (string) to use when specifying data for BLE payloads.'
'For instance, if I want to send packets with payloads in a file separated'
'by a comma, supply \'--payload-delimiter ,\'. Supply EOF if you want the entire contents'
'of a file sent. (Default: EOF)')
parser.add_argument("-t", '--address-type', metavar='address-type', type=str, nargs=1,
required=False, action='store', default=['public'], choices=address_type_choices,
help='\033[1m<all commands>\033[0m '
'Type of BLE address you want to connect to [public | random].')
parser.add_argument('--version', action='version', version='%(prog)s ' + __version__)
parser.add_argument('--debug', action='store_true', help='\033[1m<all commands>\033[0m '
'Enable logging for debug statements.')
return parser.parse_args()
def process_args(args):
"""
Process command line tool arguments parsed by argparse
and call appropriate bleSuite functions.
:param args: parser.parse_args()
:return:
"""
command = args.command[0]
if args.debug:
logging.basicConfig(level=logging.DEBUG)
timeout = args.timeout[0] * 1000 # convert seconds to ms
if command == 'spoof':
import bdaddr
if args.address[0] == "":
print "Please specify an address to spoof."
else:
logger.debug("About to spoof to address %s for adapter %s" % (args.address[0], args.adapter[0]))
ret = bdaddr.bdaddr(("hci"+str(args.adapter[0])), args.address[0])
if ret == -1:
raise ValueError('Spoofing failed. Your device may not be supported.')
if command == 'scan':
print "BTLE Scan beginning"
with BLEConnectionManager(args.adapter[0], 'central') as connection_manager:
discovered = connection_manager.scan(timeout)
print "Discovered:"
for i in discovered.keys():
print "\t", i, "(public)" if discovered[i][0] == 0 else "(random)"
for h, j in enumerate(discovered[i][1]):
gap = connection_manager.decode_gap_data(str(discovered[i][1][h]))
info = connection_manager.generate_gap_data_dict(gap)
for k in info.keys():
print "\t\t", k + ":"
print "\t\t\t", info[k]
if command == 'smartscan':
print "BTLE Smart Scan beginning"
device = ble_run_smart_scan(args.address[0], args.adapter[0],
args.address_type[0], skip_device_info_query=args.skip_device_info_query,
attempt_read=args.smart_read,
timeout=timeout)
if command == 'servicescan':
print "BTLE Scanning Services"
ble_service_scan(args.address[0], args.adapter[0],
args.address_type[0])
if command == 'read':
if len(args.handles) <= 0 and len(args.uuids) <= 0:
print "ERROR: No handles or UUIDs supplied for read operation."
return
print "Reading value from handle or UUID"
if args.async:
uuidData, handleData = ble_service_read_async(args.address[0], args.adapter[0],
args.address_type[0],
args.handles, args.uuids,
timeout=timeout)
for dataTuple in handleData:
print "\nHandle:", "0x" + dataTuple[0]
print_data_and_hex(dataTuple[1], False)
'''
if isinstance(dataTuple[1][0], str):
utils.print_helper.print_data_and_hex(dataTuple[1], False)
else:
utils.print_helper.print_data_and_hex(dataTuple[1][1], False)'''
for dataTuple in uuidData:
print "\nUUID:", dataTuple[0]
print_data_and_hex(dataTuple[1], False)
'''
if isinstance(dataTuple[1][0], str):
utils.print_helper.print_data_and_hex(dataTuple[1], False)
else:
utils.print_helper.print_data_and_hex(dataTuple[1][1].received(), True)'''
else:
uuidData, handleData = ble_service_read(args.address[0], args.adapter[0],
args.address_type[0],
args.handles, args.uuids, timeout=timeout)
for dataTuple in handleData:
print "\nHandle:", "0x" + dataTuple[0]
print_data_and_hex(dataTuple[1], False)
for dataTuple in uuidData:
print "\nUUID:", dataTuple[0]
print_data_and_hex(dataTuple[1], False)
if command == 'write':
if len(args.handles) <= 0:
print "ERROR: No handles supplied for write operation. Note: Write operation does not support use of UUIDs."
return
print "Writing value to handle"
if args.async:
logger.debug("Async Write")
if len(args.data) > 0:
handleData = ble_service_write_async(args.address[0], args.adapter[0],
args.address_type[0],
args.handles, args.data,
timeout=timeout)
elif args.payload_delimiter[0] == 'EOF':
logger.debug("Payload Delimiter: EOF")
dataSet = []
for dataFile in args.files:
if dataFile is None:
continue
logger.debug("Reading file: %s", dataFile)
f = open(dataFile, 'r')
dataSet.append(f.read())
f.close()
logger.debug("Sending data set: %s" % dataSet)
handleData = ble_service_write_async(args.addr[0], args.adapter[0],
args.address_type[0],
args.handles, dataSet,
timeout=timeout)
logger.debug("Received data: %s" % handleData)
'''for dataTuple in handleData:
print "\nHandle:", "0x" + dataTuple[0]
utils.print_helper.print_data_and_hex(dataTuple[1], False)'''
else:
logger.debug("Payload Delimiter: %s", args.payload_delimiter[0])
dataSet = []
for dataFile in args.files:
if dataFile is None:
continue
f = open(dataFile, 'r')
data = f.read()
f.close()
data = data.split(args.payload_delimiter[0])
dataSet.extend(data)
logger.debug("Sending dataSet: %s" % dataSet)
handleData = ble_service_write_async(args.address[0], args.adapter[0],
args.address_type[0],
args.handles, dataSet,
timeout=timeout)
for dataTuple in handleData:
print "\nHandle:", "0x" + dataTuple[0]
print "Input:"
utils.print_helper.print_data_and_hex(dataTuple[2], False, prefix="\t")
print "Output:"
#if tuple[1][0] is a string, it means our cmdLineToolWrapper removed the GattResponse object
#due to a timeout, else we grab the GattResponse and its response data
if isinstance(dataTuple[1][0], str):
utils.print_helper.print_data_and_hex(dataTuple[1], False, prefix="\t")
else:
utils.print_helper.print_data_and_hex(dataTuple[1][1].received(), False, prefix="\t")
else:
logger.debug("Sync Write")
print args.data
if len(args.data) > 0:
handleData = ble_service_write(args.address[0], args.adapter[0],
args.address_type[0],
args.handles, args.data, timeout=timeout)
'''for dataTuple in handleData:
print "\nHandle:", "0x" + dataTuple[0]
utils.print_helper.print_data_and_hex(dataTuple[1], False)'''
elif args.payload_delimiter[0] == 'EOF':
logger.debug("Payload Delimiter: EOF")
dataSet = []
for dataFile in args.files:
if dataFile is None:
continue
logger.debug("Reading file: %s", dataFile)
f = open(dataFile, 'r')
dataSet.append(f.read())
f.close()
logger.debug("Sending data set: %s" % dataSet)
handleData = ble_service_write(args.address[0], args.adapter[0],
args.address_type[0],
args.handles, dataSet, timeout=timeout)
logger.debug("Received data: %s" % handleData)
'''for dataTuple in handleData:
print "\nHandle:", "0x" + dataTuple[0]
utils.print_helper.print_data_and_hex(dataTuple[1], False)'''
else:
logger.debug("Payload Delimiter: %s", args.payload_delimiter[0])
dataSet = []
for dataFile in args.files:
if dataFile is None:
continue
f = open(dataFile, 'r')
data = f.read()
f.close()
data = data.split(args.payload_delimiter[0])
dataSet.extend(data)
logger.debug("Sending dataSet: %s" % dataSet)
handleData = ble_service_write(args.address[0], args.adapter[0],
args.address_type[0],
args.handles, dataSet, timeout=timeout)
for dataTuple in handleData:
print "\nHandle:", "0x" + dataTuple[0]
print "Input:"
print_data_and_hex([dataTuple[2]], False, prefix="\t")
print "Output:"
print_data_and_hex(dataTuple[1], False, prefix="\t")
if command == 'subscribe':
print "Subscribing to device"
if args.subscribe_timeout[0] is not None:
timeout = args.subscribe_timeout[0] * 1000
else:
timeout = None
ble_handle_subscribe(args.address[0], args.handles, args.adapter[0],
args.address_type[0], args.mode[0], timeout)
return
def main():
"""
Main loop for BLESuite command line tool.
:return:
"""
args = parse_command()
process_args(args)
logger.debug("Args: %s" % args)
| [
11748,
1822,
29572,
198,
6738,
698,
274,
84,
578,
13,
38659,
62,
37153,
1330,
347,
2538,
32048,
13511,
198,
6738,
698,
274,
84,
578,
62,
48553,
1330,
7245,
62,
15271,
62,
961,
11,
7245,
62,
15271,
62,
961,
62,
292,
13361,
11,
7245,
62,
15271,
62,
13564,
11,
3467,
198,
220,
220,
220,
7245,
62,
28144,
62,
7266,
12522,
11,
7245,
62,
15271,
62,
35836,
11,
7245,
62,
15271,
62,
13564,
62,
292,
13361,
11,
7245,
62,
5143,
62,
27004,
62,
35836,
198,
6738,
698,
274,
84,
578,
1330,
3384,
4487,
198,
6738,
698,
274,
84,
578,
13,
26791,
13,
4798,
62,
2978,
525,
1330,
3601,
62,
7890,
62,
392,
62,
33095,
198,
6738,
698,
274,
84,
578,
13,
26791,
1330,
4938,
2024,
198,
11748,
18931,
628,
198,
834,
9641,
834,
796,
366,
17,
13,
15,
1,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
6404,
1362,
13,
2860,
25060,
7,
6404,
2667,
13,
35067,
25060,
28955,
628,
198,
4299,
21136,
62,
21812,
33529,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7921,
274,
30751,
290,
13544,
274,
3141,
1627,
2891,
869,
13,
628,
220,
220,
220,
1058,
7783,
25,
44267,
7159,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3298,
11593,
9641,
834,
198,
220,
220,
220,
1303,
35,
14188,
286,
1695,
9729,
13,
8474,
649,
9729,
994,
198,
220,
220,
220,
23991,
62,
6679,
1063,
796,
1391,
6,
35836,
10354,
366,
33351,
329,
22205,
2538,
4410,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
27004,
35836,
10354,
366,
33351,
7368,
22205,
2538,
3335,
329,
3335,
1321,
11,
2594,
11,
9695,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30629,
8201,
3917,
12145,
669,
737,
5740,
25,
770,
9367,
2753,
2392,
621,
262,
2139,
9367,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30416,
5171,
10354,
705,
33351,
7368,
2209,
329,
477,
2594,
11,
9695,
11,
290,
12145,
669,
13,
46083,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
961,
10354,
366,
5569,
1988,
422,
7368,
3335,
290,
5412,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13564,
10354,
366,
16594,
1988,
284,
2176,
5412,
319,
257,
3335,
13,
18291,
1958,
262,
1377,
7890,
393,
1377,
16624,
3689,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1462,
900,
262,
21437,
1366,
13,
5514,
1366,
393,
2393,
1366,
460,
307,
7368,
11,
407,
1111,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30629,
7890,
8948,
1262,
262,
1366,
6056,
2753,
38177,
625,
1366,
287,
3696,
21387,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7266,
12522,
10354,
366,
16594,
7368,
1988,
357,
2388,
11,
39103,
11,
44613,
11,
3070,
405,
8,
284,
7147,
5412,
290,
22118,
24783,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2777,
37711,
10354,
705,
5841,
1958,
534,
19263,
21302,
43054,
82,
22205,
62,
2885,
7707,
13,
5765,
1377,
21975,
284,
900,
262,
2209,
13,
2773,
12014,
1039,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
743,
407,
307,
4855,
2637,
92,
628,
220,
220,
220,
2209,
62,
4906,
62,
6679,
1063,
796,
37250,
11377,
3256,
705,
25120,
20520,
628,
220,
220,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
1676,
70,
2625,
7689,
84,
578,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
11639,
38676,
27206,
1219,
7754,
6682,
357,
19313,
2538,
8,
2891,
900,
329,
22889,
290,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33407,
22205,
2538,
4410,
319,
262,
3586,
7679,
2637,
8,
220,
1303,
837,
198,
220,
220,
220,
1303,
1296,
1436,
62,
4871,
28,
853,
29572,
13,
27369,
8206,
22087,
8479,
1436,
8,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
21812,
3256,
1138,
615,
283,
11639,
21812,
3256,
2099,
28,
2536,
11,
299,
22046,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2223,
11639,
8095,
3256,
7747,
28,
28758,
62,
6679,
1063,
13,
13083,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
9148,
1546,
84,
578,
3141,
345,
561,
588,
284,
12260,
2637,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
464,
1708,
389,
262,
3058,
4855,
9729,
7479,
77,
6,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
59,
77,
4458,
22179,
7,
17816,
59,
44427,
58,
16,
76,
90,
32239,
44427,
58,
15,
76,
25,
23884,
4458,
18982,
7,
74,
11,
410,
8,
329,
479,
11,
410,
287,
23991,
62,
6679,
1063,
13,
2676,
23814,
3419,
60,
4008,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
292,
13361,
3256,
2223,
11639,
8095,
62,
7942,
3256,
1037,
11639,
59,
44427,
58,
16,
76,
27,
961,
11,
3551,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36695,
39354,
3597,
14,
25782,
13,
4377,
5072,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10594,
307,
9066,
618,
2722,
13,
770,
15174,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41938,
2637,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
48267,
12,
25202,
12,
10951,
12,
22766,
3256,
2223,
11639,
8095,
62,
7942,
3256,
1037,
11639,
59,
44427,
58,
16,
76,
27,
27004,
35836,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2215,
21976,
257,
3335,
11,
11986,
428,
6056,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1462,
2700,
4451,
35836,
284,
14267,
42517,
1112,
262,
3335,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1640,
2219,
1321,
884,
355,
3335,
1438,
13,
770,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
271,
7613,
618,
4410,
466,
407,
3494,
777,
2594,
2637,
8,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
27004,
12,
961,
3256,
2223,
11639,
8095,
62,
7942,
3256,
1037,
11639,
59,
44427,
58,
16,
76,
27,
27004,
35836,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2215,
21976,
257,
3335,
11,
11986,
428,
6056,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1462,
2700,
4451,
35836,
284,
2230,
284,
1100,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6738,
1123,
5071,
16704,
43087,
2637,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6425,
25,
770,
481,
2620,
9367,
640,
284,
5412,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
27379,
1100,
4905,
2637,
8,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
76,
3256,
705,
438,
14171,
3256,
1138,
615,
283,
11639,
14171,
3256,
4277,
41888,
16,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
28,
600,
11,
299,
22046,
28,
16,
11,
2672,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2223,
11639,
8095,
3256,
1037,
11639,
59,
44427,
58,
16,
76,
27,
7266,
12522,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
17563,
82,
543,
8398,
284,
900,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1640,
257,
16704,
8398,
43087,
2637,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15,
28,
2364,
11,
16,
28,
1662,
6637,
11,
17,
28,
521,
3736,
4032,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
18,
28,
1662,
6637,
290,
287,
312,
3736,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
48678,
3256,
1138,
615,
283,
11639,
48678,
3256,
4277,
41888,
20,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
28,
600,
11,
299,
22046,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
25101,
11,
2223,
11639,
8095,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
59,
44427,
58,
16,
76,
27,
829,
5171,
11,
1100,
11,
3551,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
48031,
357,
259,
4201,
8,
329,
9361,
284,
19818,
1366,
422,
257,
3335,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29513,
494,
3555,
422,
257,
43087,
5412,
737,
357,
19463,
25,
642,
4201,
8,
11537,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
7266,
12522,
12,
48678,
3256,
1138,
615,
283,
11639,
7266,
12522,
12,
48678,
3256,
4277,
41888,
14202,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
28,
600,
11,
299,
22046,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
25101,
11,
2223,
11639,
8095,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
59,
44427,
58,
16,
76,
27,
7266,
12522,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7575,
357,
259,
4201,
8,
329,
9361,
284,
19818,
1366,
422,
257,
3335,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12518,
8680,
329,
19605,
393,
26496,
13,
357,
19463,
25,
1423,
891,
9504,
8,
11537,
628,
220,
220,
220,
1303,
16232,
329,
9412,
2139,
460,
307,
7368,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
72,
3256,
705,
438,
324,
3429,
3256,
1138,
615,
283,
11639,
324,
3429,
3256,
4277,
41888,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
28,
600,
11,
299,
22046,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
25101,
11,
2223,
11639,
8095,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
59,
44427,
58,
16,
76,
27,
439,
9729,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22882,
1958,
543,
19263,
21302,
815,
307,
973,
13,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4711,
460,
307,
1043,
416,
2491,
357,
71,
47992,
970,
1614,
737,
11537,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
67,
3256,
705,
438,
21975,
3256,
1138,
615,
283,
11639,
21975,
3256,
2099,
28,
12102,
2024,
13,
12102,
378,
62,
65,
2290,
16271,
62,
21975,
62,
44506,
11,
299,
22046,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
25101,
11,
2223,
11639,
8095,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
59,
44427,
58,
16,
76,
27,
439,
9729,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
38676,
16271,
2209,
357,
14529,
62,
2885,
7707,
8,
286,
262,
2496,
19263,
3335,
11537,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
64,
3256,
705,
438,
4993,
829,
3256,
1138,
615,
283,
11639,
4993,
829,
3256,
2099,
28,
2536,
11,
299,
22046,
2625,
10,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
25101,
11,
2223,
11639,
8095,
3256,
4277,
41888,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
59,
44427,
58,
16,
76,
27,
961,
11,
3551,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
39,
1069,
671,
66,
4402,
1021,
417,
1351,
286,
9695,
284,
1895,
357,
1069,
25,
3571,
20,
64,
3571,
21,
65,
737,
1002,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5832,
765,
284,
1895,
262,
1988,
286,
257,
16704,
11,
779,
262,
5412,
62,
8367,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8367,
422,
262,
2139,
9367,
2637,
8,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
84,
3256,
705,
438,
12303,
2340,
3256,
1138,
615,
283,
11639,
12303,
2340,
3256,
2099,
28,
2536,
11,
299,
22046,
2625,
10,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
25101,
11,
2223,
11639,
8095,
3256,
4277,
41888,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
59,
44427,
58,
16,
76,
27,
961,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
52,
27586,
1351,
286,
9695,
284,
1895,
13,
1002,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5832,
765,
284,
1895,
262,
1988,
286,
257,
16704,
11,
779,
262,
471,
27586,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8367,
422,
262,
2139,
9367,
2637,
8,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
7890,
3256,
1138,
615,
283,
11639,
7890,
3256,
2099,
28,
2536,
11,
299,
22046,
2625,
10,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
25101,
11,
2223,
11639,
8095,
3256,
4277,
41888,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
59,
44427,
58,
16,
76,
27,
13564,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13290,
654,
326,
345,
765,
284,
3551,
284,
257,
5412,
357,
25512,
515,
416,
9029,
737,
11537,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
16624,
3256,
1138,
615,
283,
11639,
16624,
3256,
2099,
28,
2536,
11,
299,
22046,
2625,
10,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
25101,
11,
2223,
11639,
8095,
3256,
4277,
41888,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
59,
44427,
58,
16,
76,
27,
13564,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
25876,
326,
3994,
1366,
284,
3551,
284,
5412,
357,
25512,
515,
416,
9029,
8,
11537,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
15577,
2220,
12,
12381,
320,
2676,
3256,
1138,
615,
283,
11639,
15577,
2220,
12,
12381,
320,
2676,
3256,
2099,
28,
2536,
11,
299,
22046,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
25101,
11,
2223,
11639,
8095,
3256,
4277,
28,
14692,
4720,
37,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
59,
44427,
58,
16,
76,
27,
13564,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22882,
1958,
257,
46728,
2676,
357,
8841,
8,
284,
779,
618,
31577,
1366,
329,
347,
2538,
21437,
82,
2637,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1890,
4554,
11,
611,
314,
765,
284,
3758,
24624,
351,
21437,
82,
287,
257,
2393,
11266,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1525,
257,
39650,
11,
5127,
34373,
438,
15577,
2220,
12,
12381,
320,
2676,
837,
59,
4458,
22663,
412,
19238,
611,
345,
765,
262,
2104,
10154,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1659,
257,
2393,
1908,
13,
357,
19463,
25,
412,
19238,
8,
11537,
628,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
83,
1600,
705,
438,
21975,
12,
4906,
3256,
1138,
615,
283,
11639,
21975,
12,
4906,
3256,
2099,
28,
2536,
11,
299,
22046,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
25101,
11,
2223,
11639,
8095,
3256,
4277,
28,
17816,
11377,
6,
4357,
7747,
28,
21975,
62,
4906,
62,
6679,
1063,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
59,
44427,
58,
16,
76,
27,
439,
9729,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6030,
286,
347,
2538,
2209,
345,
765,
284,
2018,
284,
685,
11377,
930,
4738,
60,
2637,
8,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
9641,
3256,
2223,
11639,
9641,
3256,
2196,
11639,
4,
7,
1676,
70,
8,
82,
705,
1343,
11593,
9641,
834,
8,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
24442,
3256,
2223,
11639,
8095,
62,
7942,
3256,
1037,
11639,
59,
44427,
58,
16,
76,
27,
439,
9729,
29,
59,
44427,
58,
15,
76,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36695,
18931,
329,
14257,
6299,
2637,
8,
628,
220,
220,
220,
1441,
30751,
13,
29572,
62,
22046,
3419,
628,
198,
4299,
1429,
62,
22046,
7,
22046,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
10854,
3141,
1627,
2891,
7159,
44267,
416,
1822,
29572,
198,
220,
220,
220,
290,
869,
5035,
7245,
5606,
578,
5499,
13,
628,
220,
220,
220,
1058,
17143,
26498,
25,
30751,
13,
29572,
62,
22046,
3419,
198,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3141,
796,
26498,
13,
21812,
58,
15,
60,
198,
220,
220,
220,
611,
26498,
13,
24442,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
35487,
16934,
7,
5715,
28,
6404,
2667,
13,
30531,
8,
628,
220,
220,
220,
26827,
796,
26498,
13,
48678,
58,
15,
60,
1635,
8576,
1303,
10385,
4201,
284,
13845,
628,
220,
220,
220,
611,
3141,
6624,
705,
2777,
37711,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
1330,
275,
67,
29851,
198,
220,
220,
220,
220,
220,
220,
220,
611,
26498,
13,
21975,
58,
15,
60,
6624,
366,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
5492,
11986,
281,
2209,
284,
42078,
526,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
8585,
284,
42078,
284,
2209,
4064,
82,
329,
21302,
4064,
82,
1,
4064,
357,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1005,
796,
275,
67,
29851,
13,
17457,
29851,
7,
7203,
71,
979,
1,
10,
2536,
7,
22046,
13,
324,
3429,
58,
15,
12962,
828,
26498,
13,
21975,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1005,
6624,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
10786,
4561,
37711,
278,
4054,
13,
3406,
3335,
743,
407,
307,
4855,
2637,
8,
628,
220,
220,
220,
611,
3141,
6624,
705,
35836,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
19313,
2538,
20937,
3726,
1,
198,
220,
220,
220,
220,
220,
220,
220,
351,
347,
2538,
32048,
13511,
7,
22046,
13,
324,
3429,
58,
15,
4357,
705,
31463,
11537,
355,
4637,
62,
37153,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5071,
796,
4637,
62,
37153,
13,
35836,
7,
48678,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
15642,
2557,
11097,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
5071,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
83,
1600,
1312,
11,
30629,
11377,
16725,
611,
5071,
58,
72,
7131,
15,
60,
6624,
657,
2073,
30629,
25120,
16725,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
289,
11,
474,
287,
27056,
378,
7,
15410,
2557,
58,
72,
7131,
16,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7625,
796,
4637,
62,
37153,
13,
12501,
1098,
62,
43554,
62,
7890,
7,
2536,
7,
15410,
2557,
58,
72,
7131,
16,
7131,
71,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7508,
796,
4637,
62,
37153,
13,
8612,
378,
62,
43554,
62,
7890,
62,
11600,
7,
43554,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
479,
287,
7508,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
83,
59,
83,
1600,
479,
1343,
366,
11097,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
83,
59,
83,
59,
83,
1600,
7508,
58,
74,
60,
628,
220,
220,
220,
611,
3141,
6624,
705,
27004,
35836,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
19313,
2538,
10880,
20937,
3726,
1,
198,
220,
220,
220,
220,
220,
220,
220,
3335,
796,
7245,
62,
5143,
62,
27004,
62,
35836,
7,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
4357,
14267,
62,
25202,
62,
10951,
62,
22766,
28,
22046,
13,
48267,
62,
25202,
62,
10951,
62,
22766,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2230,
62,
961,
28,
22046,
13,
27004,
62,
961,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
28,
48678,
8,
628,
220,
220,
220,
611,
3141,
6624,
705,
30416,
5171,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
19313,
2538,
20937,
768,
6168,
1,
198,
220,
220,
220,
220,
220,
220,
220,
7245,
62,
15271,
62,
35836,
7,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
12962,
628,
220,
220,
220,
611,
3141,
6624,
705,
961,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
22046,
13,
4993,
829,
8,
19841,
657,
290,
18896,
7,
22046,
13,
12303,
2340,
8,
19841,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
24908,
25,
1400,
17105,
393,
471,
27586,
82,
14275,
329,
1100,
4905,
526,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
36120,
1988,
422,
5412,
393,
471,
27586,
1,
198,
220,
220,
220,
220,
220,
220,
220,
611,
26498,
13,
292,
13361,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
334,
27112,
6601,
11,
5412,
6601,
796,
7245,
62,
15271,
62,
961,
62,
292,
13361,
7,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
4993,
829,
11,
26498,
13,
12303,
2340,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
28,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1366,
51,
29291,
287,
5412,
6601,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
77,
37508,
25,
1600,
366,
15,
87,
1,
1343,
1366,
51,
29291,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
7890,
51,
29291,
58,
16,
7131,
15,
4357,
965,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3384,
4487,
13,
4798,
62,
2978,
525,
13,
4798,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3384,
4487,
13,
4798,
62,
2978,
525,
13,
4798,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
7131,
16,
4357,
10352,
8,
7061,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1366,
51,
29291,
287,
334,
27112,
6601,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
77,
52,
27586,
25,
1600,
1366,
51,
29291,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
7890,
51,
29291,
58,
16,
7131,
15,
4357,
965,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3384,
4487,
13,
4798,
62,
2978,
525,
13,
4798,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3384,
4487,
13,
4798,
62,
2978,
525,
13,
4798,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
7131,
16,
4083,
47844,
22784,
6407,
8,
7061,
6,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
334,
27112,
6601,
11,
5412,
6601,
796,
7245,
62,
15271,
62,
961,
7,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
4993,
829,
11,
26498,
13,
12303,
2340,
11,
26827,
28,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1366,
51,
29291,
287,
5412,
6601,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
77,
37508,
25,
1600,
366,
15,
87,
1,
1343,
1366,
51,
29291,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1366,
51,
29291,
287,
334,
27112,
6601,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
77,
52,
27586,
25,
1600,
1366,
51,
29291,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
8,
628,
220,
220,
220,
611,
3141,
6624,
705,
13564,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
22046,
13,
4993,
829,
8,
19841,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
24908,
25,
1400,
17105,
14275,
329,
3551,
4905,
13,
5740,
25,
19430,
4905,
857,
407,
1104,
779,
286,
471,
27586,
82,
526,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
33874,
1988,
284,
5412,
1,
198,
220,
220,
220,
220,
220,
220,
220,
611,
26498,
13,
292,
13361,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
42367,
19430,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
22046,
13,
7890,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5412,
6601,
796,
7245,
62,
15271,
62,
13564,
62,
292,
13361,
7,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
4993,
829,
11,
26498,
13,
7890,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
28,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
26498,
13,
15577,
2220,
62,
12381,
320,
2676,
58,
15,
60,
6624,
705,
4720,
37,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
19197,
2220,
4216,
320,
2676,
25,
412,
19238,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
7248,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1366,
8979,
287,
26498,
13,
16624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1366,
8979,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
36120,
2393,
25,
4064,
82,
1600,
1366,
8979,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
796,
1280,
7,
7890,
8979,
11,
705,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
7248,
13,
33295,
7,
69,
13,
961,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
50,
1571,
1366,
900,
25,
4064,
82,
1,
4064,
1366,
7248,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5412,
6601,
796,
7245,
62,
15271,
62,
13564,
62,
292,
13361,
7,
22046,
13,
29851,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
4993,
829,
11,
1366,
7248,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
28,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
3041,
6471,
1366,
25,
4064,
82,
1,
4064,
5412,
6601,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
1640,
1366,
51,
29291,
287,
5412,
6601,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
77,
37508,
25,
1600,
366,
15,
87,
1,
1343,
1366,
51,
29291,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3384,
4487,
13,
4798,
62,
2978,
525,
13,
4798,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
8,
7061,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
19197,
2220,
4216,
320,
2676,
25,
4064,
82,
1600,
26498,
13,
15577,
2220,
62,
12381,
320,
2676,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
7248,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1366,
8979,
287,
26498,
13,
16624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1366,
8979,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
796,
1280,
7,
7890,
8979,
11,
705,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
277,
13,
961,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
1366,
13,
35312,
7,
22046,
13,
15577,
2220,
62,
12381,
320,
2676,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
7248,
13,
2302,
437,
7,
7890,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
50,
1571,
1366,
7248,
25,
4064,
82,
1,
4064,
1366,
7248,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5412,
6601,
796,
7245,
62,
15271,
62,
13564,
62,
292,
13361,
7,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
4993,
829,
11,
1366,
7248,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
28,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1366,
51,
29291,
287,
5412,
6601,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
77,
37508,
25,
1600,
366,
15,
87,
1,
1343,
1366,
51,
29291,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
20560,
11097,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3384,
4487,
13,
4798,
62,
2978,
525,
13,
4798,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
17,
4357,
10352,
11,
21231,
2625,
59,
83,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
26410,
11097,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
361,
46545,
58,
16,
7131,
15,
60,
318,
257,
4731,
11,
340,
1724,
674,
23991,
13949,
25391,
36918,
2848,
4615,
262,
402,
1078,
31077,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
23301,
284,
257,
26827,
11,
2073,
356,
5552,
262,
402,
1078,
31077,
290,
663,
2882,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
7890,
51,
29291,
58,
16,
7131,
15,
4357,
965,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3384,
4487,
13,
4798,
62,
2978,
525,
13,
4798,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
11,
21231,
2625,
59,
83,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3384,
4487,
13,
4798,
62,
2978,
525,
13,
4798,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
7131,
16,
4083,
47844,
22784,
10352,
11,
21231,
2625,
59,
83,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
28985,
19430,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
26498,
13,
7890,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
22046,
13,
7890,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5412,
6601,
796,
7245,
62,
15271,
62,
13564,
7,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
4993,
829,
11,
26498,
13,
7890,
11,
26827,
28,
48678,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
1640,
1366,
51,
29291,
287,
5412,
6601,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
77,
37508,
25,
1600,
366,
15,
87,
1,
1343,
1366,
51,
29291,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3384,
4487,
13,
4798,
62,
2978,
525,
13,
4798,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
8,
7061,
6,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
26498,
13,
15577,
2220,
62,
12381,
320,
2676,
58,
15,
60,
6624,
705,
4720,
37,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
19197,
2220,
4216,
320,
2676,
25,
412,
19238,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
7248,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1366,
8979,
287,
26498,
13,
16624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1366,
8979,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
36120,
2393,
25,
4064,
82,
1600,
1366,
8979,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
796,
1280,
7,
7890,
8979,
11,
705,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
7248,
13,
33295,
7,
69,
13,
961,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
50,
1571,
1366,
900,
25,
4064,
82,
1,
4064,
1366,
7248,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5412,
6601,
796,
7245,
62,
15271,
62,
13564,
7,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
4993,
829,
11,
1366,
7248,
11,
26827,
28,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
3041,
6471,
1366,
25,
4064,
82,
1,
4064,
5412,
6601,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
1640,
1366,
51,
29291,
287,
5412,
6601,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
77,
37508,
25,
1600,
366,
15,
87,
1,
1343,
1366,
51,
29291,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3384,
4487,
13,
4798,
62,
2978,
525,
13,
4798,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
8,
7061,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
19197,
2220,
4216,
320,
2676,
25,
4064,
82,
1600,
26498,
13,
15577,
2220,
62,
12381,
320,
2676,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
7248,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1366,
8979,
287,
26498,
13,
16624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1366,
8979,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
796,
1280,
7,
7890,
8979,
11,
705,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
277,
13,
961,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
1366,
13,
35312,
7,
22046,
13,
15577,
2220,
62,
12381,
320,
2676,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
7248,
13,
2302,
437,
7,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7203,
50,
1571,
1366,
7248,
25,
4064,
82,
1,
4064,
1366,
7248,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5412,
6601,
796,
7245,
62,
15271,
62,
13564,
7,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
4993,
829,
11,
1366,
7248,
11,
26827,
28,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1366,
51,
29291,
287,
5412,
6601,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
37082,
77,
37508,
25,
1600,
366,
15,
87,
1,
1343,
1366,
51,
29291,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
20560,
11097,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
7890,
62,
392,
62,
33095,
26933,
7890,
51,
29291,
58,
17,
60,
4357,
10352,
11,
21231,
2625,
59,
83,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
26410,
11097,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
7890,
62,
392,
62,
33095,
7,
7890,
51,
29291,
58,
16,
4357,
10352,
11,
21231,
2625,
59,
83,
4943,
628,
220,
220,
220,
611,
3141,
6624,
705,
7266,
12522,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
7004,
1416,
23098,
284,
3335,
1,
198,
220,
220,
220,
220,
220,
220,
220,
611,
26498,
13,
7266,
12522,
62,
48678,
58,
15,
60,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
796,
26498,
13,
7266,
12522,
62,
48678,
58,
15,
60,
1635,
8576,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
7245,
62,
28144,
62,
7266,
12522,
7,
22046,
13,
21975,
58,
15,
4357,
26498,
13,
4993,
829,
11,
26498,
13,
324,
3429,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
21975,
62,
4906,
58,
15,
4357,
26498,
13,
14171,
58,
15,
4357,
26827,
8,
628,
220,
220,
220,
1441,
628,
198,
4299,
1388,
33529,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8774,
9052,
329,
9878,
1546,
84,
578,
3141,
1627,
2891,
13,
628,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26498,
796,
21136,
62,
21812,
3419,
198,
220,
220,
220,
1429,
62,
22046,
7,
22046,
8,
628,
220,
220,
220,
49706,
13,
24442,
7203,
42035,
25,
4064,
82,
1,
4064,
26498,
8,
628,
198
] | 1.856832 | 10,575 |
"""
NOTE: ノートブックを作成するサンプル
"""
from decouple import config
from pyevernote import EvernoteApp
TOKEN = config("EVERNOTE_DEVELOPPER_TOKEN")
USE_SANDBOX = config("USE_SANDBOX", True, cast=bool)
if __name__ == "__main__":
main()
| [
37811,
198,
16580,
25,
14524,
236,
12045,
230,
24001,
35702,
31758,
43291,
22755,
238,
33623,
25748,
26503,
6527,
30965,
9202,
198,
37811,
198,
6738,
875,
43846,
1330,
4566,
198,
198,
6738,
279,
5948,
933,
1258,
1330,
412,
933,
1258,
4677,
198,
198,
10468,
43959,
796,
4566,
7203,
36,
5959,
16580,
62,
7206,
18697,
3185,
18973,
62,
10468,
43959,
4943,
198,
19108,
62,
50,
6981,
39758,
796,
4566,
7203,
19108,
62,
50,
6981,
39758,
1600,
6407,
11,
3350,
28,
30388,
8,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
3419,
198
] | 2.343434 | 99 |
# Generated by Django 3.0.3 on 2020-02-15 22:28
from django.db import migrations, models
| [
2,
2980,
515,
416,
37770,
513,
13,
15,
13,
18,
319,
12131,
12,
2999,
12,
1314,
2534,
25,
2078,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
628
] | 2.84375 | 32 |
from django.urls import path
from django.contrib.auth.views import LoginView
from .views import UserCreateFormView
urlpatterns = [
path("login/", LoginView.as_view(), name="login"),
path("register/", UserCreateFormView.as_view(), name="register")
]
| [
6738,
42625,
14208,
13,
6371,
82,
1330,
3108,
198,
6738,
42625,
14208,
13,
3642,
822,
13,
18439,
13,
33571,
1330,
23093,
7680,
198,
6738,
764,
33571,
1330,
11787,
16447,
8479,
7680,
198,
198,
6371,
33279,
82,
796,
685,
198,
220,
220,
220,
3108,
7203,
38235,
14,
1600,
23093,
7680,
13,
292,
62,
1177,
22784,
1438,
2625,
38235,
12340,
198,
220,
220,
220,
3108,
7203,
30238,
14,
1600,
11787,
16447,
8479,
7680,
13,
292,
62,
1177,
22784,
1438,
2625,
30238,
4943,
198,
60,
198
] | 3.108434 | 83 |
#!/usr/bin/env python3
# coding=utf-8
import numpy as np
from sklearn.svm import SVC
from sklearn.externals import joblib
from sklearn import linear_model
from sklearn.neural_network import MLPClassifier
from sklearn.preprocessing import StandardScaler
from sklearn.tree import DecisionTreeClassifier
import time
if __name__ == '__main__':
glo_start = time.time()
test_file = "gallery/15-21/15-21_person_1_ML.csv"
# 180s
# train_file = ['gallery/14-23/14-23_person_0_ML.csv', 'gallery/14-23/14-23_person_1_ML.csv',
# 'gallery/14-23/14-23_person_2_ML.csv']
# 360s
train_file = ['gallery/14-12/14-12_person_0_ML.csv', 'gallery/14-12/14-12_person_1_ML.csv',
'gallery/14-12/14-12_person_2_ML.csv', 'gallery/14-14/14-14_person_0_ML.csv',
'gallery/14-14/14-14_person_1_ML.csv', 'gallery/14-14/14-14_person_2_ML.csv']
# 720s
# train_file = ['gallery/14-12/14-12_person_0_ML.csv', 'gallery/14-12/14-12_person_1_ML.csv',
# 'gallery/14-12/14-12_person_2_ML.csv', 'gallery/14-14/14-14_person_0_ML.csv',
# 'gallery/14-14/14-14_person_1_ML.csv', 'gallery/14-14/14-14_person_2_ML.csv',
# 'gallery/14-23/14-23_person_0_ML.csv', 'gallery/14-23/14-23_person_1_ML.csv',
# 'gallery/14-23/14-23_person_2_ML.csv', 'gallery/14-32/14-32_person_0_ML.csv',
# 'gallery/14-32/14-32_person_1_ML.csv', 'gallery/14-32/14-32_person_2_ML.csv',]
# 720s
# train_file = ['gallery/14-32/14-32_person_0_ML.csv', 'gallery/14-32/14-32_person_1_ML.csv',
# 'gallery/14-32/14-32_person_2_ML.csv',
# 'gallery/14-36/14-36_person_0_ML.csv', 'gallery/14-36/14-36_person_1_ML.csv',
# 'gallery/14-36/14-36_person_2_ML.csv',
# 'gallery/14-38/14-38_person_0_ML.csv', 'gallery/14-38/14-38_person_1_ML.csv',
# 'gallery/14-38/14-38_person_2_ML.csv',
# 'gallery/14-45/14-45_person_0_ML.csv', 'gallery/14-45/14-45_person_1_ML.csv',
# 'gallery/14-45/14-45_person_2_ML.csv']
# 3480s
# train_file = ['gallery/14-08/14-08_person_0_ML.csv', 'gallery/14-08/14-08_person_1_ML.csv',
# 'gallery/14-08/14-08_person_2_ML.csv',
# 'gallery/14-12/14-12_person_0_ML.csv', 'gallery/14-12/14-12_person_1_ML.csv',
# 'gallery/14-12/14-12_person_2_ML.csv',
# 'gallery/14-14/14-14_person_0_ML.csv', 'gallery/14-14/14-14_person_1_ML.csv',
# 'gallery/14-14/14-14_person_2_ML.csv',
# 'gallery/14-23/14-23_person_0_ML.csv', 'gallery/14-23/14-23_person_1_ML.csv',
# 'gallery/14-23/14-23_person_2_ML.csv',
# 'gallery/14-32/14-32_person_0_ML.csv', 'gallery/14-32/14-32_person_1_ML.csv',
# 'gallery/14-32/14-32_person_2_ML.csv',
# 'gallery/14-36/14-36_person_0_ML.csv', 'gallery/14-36/14-36_person_1_ML.csv',
# 'gallery/14-36/14-36_person_2_ML.csv',
# 'gallery/14-38/14-38_person_0_ML.csv', 'gallery/14-38/14-38_person_1_ML.csv',
# 'gallery/14-38/14-38_person_2_ML.csv',
# 'gallery/14-45/14-45_person_0_ML.csv', 'gallery/14-45/14-45_person_1_ML.csv',
# 'gallery/14-45/14-45_person_2_ML.csv',
# 'gallery/14-52/14-52_person_0_ML.csv', 'gallery/14-52/14-52_person_1_ML.csv',
# 'gallery/14-52/14-52_person_2_ML.csv',
# 'gallery/14-55/14-55_person_0_ML.csv', 'gallery/14-55/14-55_person_1_ML.csv',
# 'gallery/14-55/14-55_person_2_ML.csv',
# 'gallery/14-58/14-58_person_0_ML.csv', 'gallery/14-58/14-58_person_1_ML.csv',
# 'gallery/14-58/14-58_person_2_ML.csv',
# 'gallery/15-00/15-00_person_0_ML.csv', 'gallery/15-00/15-00_person_1_ML.csv',
# 'gallery/15-00/15-00_person_2_ML.csv',
# 'gallery/15-14/15-14_person_0_ML.csv', 'gallery/15-14/15-14_person_1_ML.csv',
# 'gallery/15-14/15-14_person_2_ML.csv', 'gallery/15-14/15-14_person_3_ML.csv',
# 'gallery/15-18/15-18_person_0_ML.csv', 'gallery/15-18/15-18_person_1_ML.csv',
# 'gallery/15-18/15-18_person_2_ML.csv', 'gallery/15-18/15-18_person_3_ML.csv',
# 'gallery/15-21/15-21_person_0_ML.csv', 'gallery/15-21/15-21_person_1_ML.csv',
# 'gallery/15-21/15-21_person_2_ML.csv', 'gallery/15-21/15-21_person_3_ML.csv',
# 'gallery/15-28/15-28_person_0_ML.csv', 'gallery/15-28/15-28_person_1_ML.csv',
# 'gallery/15-28/15-28_person_2_ML.csv', 'gallery/15-28/15-28_person_3_ML.csv',
# 'gallery/15-28/15-28_person_4_ML.csv',
# 'gallery/15-36/15-36_person_0_ML.csv', 'gallery/15-36/15-36_person_1_ML.csv',
# 'gallery/15-36/15-36_person_2_ML.csv', 'gallery/15-36/15-36_person_3_ML.csv',
# 'gallery/15-36/15-36_person_4_ML.csv',
# ]
input_frame_number = 3 # 输入学习帧数
input_label_delay = [1, 3, 9, 15, 30, 45] # 预测样本和标签差
train_model(train_file, input_frame_number, input_label_delay)
cal_accuracy(test_file, input_frame_number, input_label_delay)
glo_end = time.time()
print('global', glo_end - glo_start)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
19617,
28,
40477,
12,
23,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
1341,
35720,
13,
82,
14761,
1330,
311,
15922,
198,
6738,
1341,
35720,
13,
1069,
759,
874,
1330,
1693,
8019,
198,
6738,
1341,
35720,
1330,
14174,
62,
19849,
198,
6738,
1341,
35720,
13,
710,
1523,
62,
27349,
1330,
10373,
47,
9487,
7483,
198,
6738,
1341,
35720,
13,
3866,
36948,
1330,
8997,
3351,
36213,
198,
6738,
1341,
35720,
13,
21048,
1330,
26423,
27660,
9487,
7483,
198,
11748,
640,
628,
628,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1278,
78,
62,
9688,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
1332,
62,
7753,
796,
366,
24460,
14,
1314,
12,
2481,
14,
1314,
12,
2481,
62,
6259,
62,
16,
62,
5805,
13,
40664,
1,
198,
220,
220,
220,
1303,
11546,
82,
198,
220,
220,
220,
1303,
4512,
62,
7753,
796,
37250,
24460,
14,
1415,
12,
1954,
14,
1415,
12,
1954,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1954,
14,
1415,
12,
1954,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1954,
14,
1415,
12,
1954,
62,
6259,
62,
17,
62,
5805,
13,
40664,
20520,
198,
220,
220,
220,
1303,
11470,
82,
198,
220,
220,
220,
4512,
62,
7753,
796,
37250,
24460,
14,
1415,
12,
1065,
14,
1415,
12,
1065,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1065,
14,
1415,
12,
1065,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1065,
14,
1415,
12,
1065,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1415,
14,
1415,
12,
1415,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1415,
14,
1415,
12,
1415,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1415,
14,
1415,
12,
1415,
62,
6259,
62,
17,
62,
5805,
13,
40664,
20520,
198,
220,
220,
220,
1303,
26250,
82,
198,
220,
220,
220,
1303,
4512,
62,
7753,
796,
37250,
24460,
14,
1415,
12,
1065,
14,
1415,
12,
1065,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1065,
14,
1415,
12,
1065,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1065,
14,
1415,
12,
1065,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1415,
14,
1415,
12,
1415,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1415,
14,
1415,
12,
1415,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1415,
14,
1415,
12,
1415,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1954,
14,
1415,
12,
1954,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1954,
14,
1415,
12,
1954,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1954,
14,
1415,
12,
1954,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2624,
14,
1415,
12,
2624,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2624,
14,
1415,
12,
2624,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2624,
14,
1415,
12,
2624,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
60,
198,
220,
220,
220,
1303,
26250,
82,
198,
220,
220,
220,
1303,
4512,
62,
7753,
796,
37250,
24460,
14,
1415,
12,
2624,
14,
1415,
12,
2624,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2624,
14,
1415,
12,
2624,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2624,
14,
1415,
12,
2624,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2623,
14,
1415,
12,
2623,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2623,
14,
1415,
12,
2623,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2623,
14,
1415,
12,
2623,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2548,
14,
1415,
12,
2548,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2548,
14,
1415,
12,
2548,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2548,
14,
1415,
12,
2548,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2231,
14,
1415,
12,
2231,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2231,
14,
1415,
12,
2231,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2231,
14,
1415,
12,
2231,
62,
6259,
62,
17,
62,
5805,
13,
40664,
20520,
198,
220,
220,
220,
1303,
4974,
1795,
82,
198,
220,
220,
220,
1303,
4512,
62,
7753,
796,
37250,
24460,
14,
1415,
12,
2919,
14,
1415,
12,
2919,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2919,
14,
1415,
12,
2919,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2919,
14,
1415,
12,
2919,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1065,
14,
1415,
12,
1065,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1065,
14,
1415,
12,
1065,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1065,
14,
1415,
12,
1065,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1415,
14,
1415,
12,
1415,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1415,
14,
1415,
12,
1415,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1415,
14,
1415,
12,
1415,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1954,
14,
1415,
12,
1954,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
1954,
14,
1415,
12,
1954,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
1954,
14,
1415,
12,
1954,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2624,
14,
1415,
12,
2624,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2624,
14,
1415,
12,
2624,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2624,
14,
1415,
12,
2624,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2623,
14,
1415,
12,
2623,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2623,
14,
1415,
12,
2623,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2623,
14,
1415,
12,
2623,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2548,
14,
1415,
12,
2548,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2548,
14,
1415,
12,
2548,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2548,
14,
1415,
12,
2548,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2231,
14,
1415,
12,
2231,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2231,
14,
1415,
12,
2231,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2231,
14,
1415,
12,
2231,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
4309,
14,
1415,
12,
4309,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
4309,
14,
1415,
12,
4309,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
4309,
14,
1415,
12,
4309,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2816,
14,
1415,
12,
2816,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
2816,
14,
1415,
12,
2816,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
2816,
14,
1415,
12,
2816,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
3365,
14,
1415,
12,
3365,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1415,
12,
3365,
14,
1415,
12,
3365,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1415,
12,
3365,
14,
1415,
12,
3365,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
405,
14,
1314,
12,
405,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
405,
14,
1314,
12,
405,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
405,
14,
1314,
12,
405,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
1415,
14,
1314,
12,
1415,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
1415,
14,
1314,
12,
1415,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
1415,
14,
1314,
12,
1415,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
1415,
14,
1314,
12,
1415,
62,
6259,
62,
18,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
1507,
14,
1314,
12,
1507,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
1507,
14,
1314,
12,
1507,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
1507,
14,
1314,
12,
1507,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
1507,
14,
1314,
12,
1507,
62,
6259,
62,
18,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
2481,
14,
1314,
12,
2481,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
2481,
14,
1314,
12,
2481,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
2481,
14,
1314,
12,
2481,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
2481,
14,
1314,
12,
2481,
62,
6259,
62,
18,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
2078,
14,
1314,
12,
2078,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
2078,
14,
1314,
12,
2078,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
2078,
14,
1314,
12,
2078,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
2078,
14,
1314,
12,
2078,
62,
6259,
62,
18,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
2078,
14,
1314,
12,
2078,
62,
6259,
62,
19,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
2623,
14,
1314,
12,
2623,
62,
6259,
62,
15,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
2623,
14,
1314,
12,
2623,
62,
6259,
62,
16,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
2623,
14,
1314,
12,
2623,
62,
6259,
62,
17,
62,
5805,
13,
40664,
3256,
705,
24460,
14,
1314,
12,
2623,
14,
1314,
12,
2623,
62,
6259,
62,
18,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24460,
14,
1314,
12,
2623,
14,
1314,
12,
2623,
62,
6259,
62,
19,
62,
5805,
13,
40664,
3256,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
5128,
62,
14535,
62,
17618,
796,
513,
220,
1303,
5525,
122,
241,
17739,
98,
27764,
99,
20046,
254,
30585,
100,
46763,
108,
198,
220,
220,
220,
5128,
62,
18242,
62,
40850,
796,
685,
16,
11,
513,
11,
860,
11,
1315,
11,
1542,
11,
4153,
60,
220,
1303,
16268,
95,
226,
38184,
233,
43718,
115,
17312,
105,
161,
240,
234,
43718,
229,
163,
255,
122,
32432,
106,
198,
220,
220,
220,
4512,
62,
19849,
7,
27432,
62,
7753,
11,
5128,
62,
14535,
62,
17618,
11,
5128,
62,
18242,
62,
40850,
8,
198,
220,
220,
220,
2386,
62,
4134,
23843,
7,
9288,
62,
7753,
11,
5128,
62,
14535,
62,
17618,
11,
5128,
62,
18242,
62,
40850,
8,
198,
220,
220,
220,
1278,
78,
62,
437,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
3601,
10786,
20541,
3256,
1278,
78,
62,
437,
532,
1278,
78,
62,
9688,
8,
198
] | 1.772284 | 3,074 |
# Generated by Django 3.1.8 on 2021-05-02 11:09
import django.db.models.deletion
from django.db import migrations, models
| [
2,
2980,
515,
416,
37770,
513,
13,
16,
13,
23,
319,
33448,
12,
2713,
12,
2999,
1367,
25,
2931,
198,
198,
11748,
42625,
14208,
13,
9945,
13,
27530,
13,
2934,
1616,
295,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
628
] | 2.818182 | 44 |
import ivy
import sys
try:
import shortcodes
except ImportError:
shortcodes = None
# Use a single parser instance to parse all files.
parser = None
# The bare 'shortcodes' attribute for custom settings is deprecated.
if shortcodes:
@ivy.filters.register('node_text')
| [
11748,
21628,
88,
198,
11748,
25064,
198,
198,
28311,
25,
198,
220,
220,
220,
1330,
1790,
40148,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
1790,
40148,
796,
6045,
628,
198,
2,
5765,
257,
2060,
30751,
4554,
284,
21136,
477,
3696,
13,
198,
48610,
796,
6045,
628,
198,
2,
383,
6247,
705,
19509,
40148,
6,
11688,
329,
2183,
6460,
318,
39224,
13,
198,
361,
1790,
40148,
25,
628,
220,
220,
220,
2488,
452,
88,
13,
10379,
1010,
13,
30238,
10786,
17440,
62,
5239,
11537,
198
] | 3.313953 | 86 |
import numpy as np
import unittest
import os
import openmdao.api as om
from openmdao.utils.assert_utils import assert_near_equal
import pycycle.api as pyc
from example_cycles.electric_propulsor import MPpropulsor
if __name__ == "__main__":
unittest.main() | [
11748,
299,
32152,
355,
45941,
198,
11748,
555,
715,
395,
198,
11748,
28686,
198,
198,
11748,
1280,
9132,
5488,
13,
15042,
355,
39030,
198,
6738,
1280,
9132,
5488,
13,
26791,
13,
30493,
62,
26791,
1330,
6818,
62,
40093,
62,
40496,
198,
198,
11748,
12972,
13696,
13,
15042,
355,
12972,
66,
198,
198,
6738,
1672,
62,
32503,
13,
31067,
62,
22930,
5753,
273,
1330,
4904,
22930,
5753,
273,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419
] | 2.944444 | 90 |
import os
print(':::IMPORTANTE::: USE AS LETRAS CORRESPONDENTES => C (CESIUS), K (KELVIN) OU F (FIRENHEIT)\n\n')
temp = input('Qual temperatura quer saber? ')
tv = float(input('Digite o valor da temperatura: '))
if(temp == 'c'):
fah = ((tv * 1.8) + 32)
kel = (tv + 273.15)
cel = tv
print('Fahrenheit {}\nKelvin {}\nCelsius {:.0f}' . format(fah,kel,cel))
if(temp == 'k'):
fahk = ((tv * 1.8) - 459.7)
kelk = (tv - 273.15)
celk = tv
print('Fahrenheit {}\nCelsius {}\nKelvin {:.0f}' . format(fahk,kelk,celk))
if(temp == 'f'):
fpk = ((tv + 459.67) * 5/9)
fpc = ((tv - 32) / 1.8)
celf = tv
print('Kelvin {}\nCelsius {}\nFahrenheit {:.0f}' . format(fpk,fpc,celf))
os.system('Pause')
| [
11748,
28686,
201,
198,
4798,
10786,
3712,
25,
3955,
15490,
8643,
36,
3712,
25,
220,
220,
23210,
7054,
37994,
49,
1921,
23929,
19535,
47,
18672,
3525,
1546,
5218,
327,
357,
34,
1546,
40,
2937,
828,
509,
357,
42,
3698,
53,
1268,
8,
47070,
376,
357,
39776,
1677,
13909,
2043,
19415,
77,
59,
77,
11537,
201,
198,
29510,
796,
5128,
10786,
46181,
4124,
2541,
64,
42517,
17463,
263,
30,
705,
8,
201,
198,
14981,
796,
12178,
7,
15414,
10786,
19511,
578,
267,
1188,
273,
12379,
4124,
2541,
64,
25,
705,
4008,
201,
198,
201,
198,
361,
7,
29510,
6624,
705,
66,
6,
2599,
201,
198,
220,
220,
220,
277,
993,
796,
14808,
14981,
1635,
352,
13,
23,
8,
1343,
3933,
8,
201,
198,
220,
220,
220,
885,
75,
796,
357,
14981,
1343,
38549,
13,
1314,
8,
201,
198,
220,
220,
220,
18725,
796,
31557,
201,
198,
220,
220,
220,
3601,
10786,
37,
993,
34032,
23884,
59,
77,
42,
417,
7114,
23884,
59,
77,
34,
32495,
46110,
13,
15,
69,
92,
6,
764,
5794,
7,
69,
993,
11,
7750,
11,
5276,
4008,
201,
198,
201,
198,
361,
7,
29510,
6624,
705,
74,
6,
2599,
201,
198,
220,
220,
220,
277,
993,
74,
796,
14808,
14981,
1635,
352,
13,
23,
8,
532,
604,
3270,
13,
22,
8,
201,
198,
220,
220,
220,
885,
75,
74,
796,
357,
14981,
532,
38549,
13,
1314,
8,
201,
198,
220,
220,
220,
18725,
74,
796,
31557,
201,
198,
220,
220,
220,
3601,
10786,
37,
993,
34032,
23884,
59,
77,
34,
32495,
23884,
59,
77,
42,
417,
7114,
46110,
13,
15,
69,
92,
6,
764,
5794,
7,
69,
993,
74,
11,
7750,
74,
11,
5276,
74,
4008,
201,
198,
201,
198,
361,
7,
29510,
6624,
705,
69,
6,
2599,
201,
198,
220,
220,
220,
277,
79,
74,
796,
14808,
14981,
1343,
604,
3270,
13,
3134,
8,
1635,
642,
14,
24,
8,
201,
198,
220,
220,
220,
277,
14751,
796,
14808,
14981,
532,
3933,
8,
1220,
352,
13,
23,
8,
201,
198,
220,
220,
220,
269,
7046,
796,
31557,
201,
198,
220,
220,
220,
3601,
10786,
42,
417,
7114,
23884,
59,
77,
34,
32495,
23884,
59,
77,
37,
993,
34032,
46110,
13,
15,
69,
92,
6,
764,
5794,
7,
46428,
74,
11,
69,
14751,
11,
344,
1652,
4008,
201,
198,
220,
220,
220,
220,
201,
198,
418,
13,
10057,
10786,
49991,
11537,
201,
198
] | 1.918987 | 395 |
from webthing import (MultipleThings, Property, Thing, Value, WebThingServer)
from pi_awning_webthing.awning import Awning, AwningPropertyListener
from pi_awning_webthing.switch import Switch
from pi_awning_webthing.motor_tb6612Fng import load_tb6612fng
from time import sleep
import logging
import tornado.ioloop
# regarding capabilities refer https://iot.mozilla.org/schemas
# there is also another schema registry http://iotschema.org/docs/full.html not used by webthing
| [
6738,
3992,
1197,
1330,
357,
31217,
22248,
11,
14161,
11,
21561,
11,
11052,
11,
5313,
51,
722,
10697,
8,
198,
6738,
31028,
62,
3832,
278,
62,
12384,
1197,
13,
3832,
278,
1330,
317,
675,
278,
11,
317,
675,
278,
21746,
33252,
198,
6738,
31028,
62,
3832,
278,
62,
12384,
1197,
13,
31943,
1330,
14645,
198,
6738,
31028,
62,
3832,
278,
62,
12384,
1197,
13,
76,
20965,
62,
83,
65,
2791,
1065,
37,
782,
1330,
3440,
62,
83,
65,
2791,
1065,
69,
782,
198,
6738,
640,
1330,
3993,
198,
11748,
18931,
198,
11748,
33718,
13,
1669,
11224,
628,
628,
220,
220,
220,
1303,
5115,
9889,
3522,
3740,
1378,
5151,
13,
5908,
16496,
13,
2398,
14,
1416,
4411,
292,
198,
220,
220,
220,
1303,
612,
318,
635,
1194,
32815,
20478,
2638,
1378,
5151,
15952,
2611,
13,
2398,
14,
31628,
14,
12853,
13,
6494,
407,
973,
416,
3992,
1197,
628,
198
] | 3.290541 | 148 |
import tensorflow as tf
from tensorflow.python.layers.layers import *
| [
11748,
11192,
273,
11125,
355,
48700,
198,
6738,
11192,
273,
11125,
13,
29412,
13,
75,
6962,
13,
75,
6962,
1330,
1635,
628,
198
] | 3.130435 | 23 |
#!/usr/bin/env python3
# -*- coding: ascii -*-
# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab
#
"""Simple test suite using unittest.
By clach04 (Chris Clark).
Calling:
python test/testsuite.py
or
cd test
./testsuite.py
Could use any unitest compatible test runner (nose, etc.)
Aims to test for regressions. Where possible use stdlib to
avoid the need to compile C code.
Known to run clean with:
* 32bit Linux (python 2.5.2, 2.6)
* 32bit Windows XP (python 2.4, 2.5, 2.6.1)
"""
import sys
import os
import ctypes
import math
import unittest
import logging
from subprocess import Popen, PIPE
test_directory = os.path.abspath(os.path.dirname(__file__))
sys.path.append(test_directory)
sys.path.append(os.path.join(test_directory, os.pardir))
import ctypesgentest # TODO consider moving test() from ctypesgentest into this module
def cleanup_json_src_paths(json):
"""
JSON stores the path to some source items. These need to be genericized in
order for tests to succeed on all machines/user accounts.
"""
TYPES_W_PATHS = ["CtypesStruct", "CtypesEnum"]
for i in json:
if "ctype" in i and i["ctype"]["Klass"] in TYPES_W_PATHS:
i["ctype"]["src"][0] = "/some-path/temp.h"
class StdBoolTest(unittest.TestCase):
"Test correct parsing and generation of bool type"
def setUp(self):
"""NOTE this is called once for each test* method
(it is not called once per class).
FIXME This is slightly inefficient as it is called *way* more times than it needs to be.
"""
header_str = """
#include <stdbool.h>
struct foo
{
bool is_bar;
int a;
};
"""
self.module, _ = ctypesgentest.test(header_str) # , all_headers=True)
def test_stdbool_type(self):
"""Test is bool is correctly parsed"""
module = self.module
struct_foo = module.struct_foo
self.assertEqual(struct_foo._fields_, [("is_bar", ctypes.c_bool), ("a", ctypes.c_int)])
class SimpleMacrosTest(unittest.TestCase):
"""Based on simple_macros.py
"""
def setUp(self):
"""NOTE this is called once for each test* method
(it is not called once per class).
FIXME This is slightly inefficient as it is called *way* more times than it needs to be.
"""
header_str = """
#define A 1
#define B(x,y) x+y
#define C(a,b,c) a?b:c
#define funny(x) "funny" #x
#define multipler_macro(x,y) x*y
#define minus_macro(x,y) x-y
#define divide_macro(x,y) x/y
#define mod_macro(x,y) x%y
#define subcall_macro_simple(x) (A)
#define subcall_macro_simple_plus(x) (A) + (x)
#define subcall_macro_minus(x,y) minus_macro(x,y)
#define subcall_macro_minus_plus(x,y,z) (minus_macro(x,y)) + (z)
"""
libraries = None
self.module, output = ctypesgentest.test(header_str)
self.json, output = ctypesgentest.test(header_str, output_language="json")
def test_macro_constant_int(self):
"""Tests from simple_macros.py
"""
module, json = self.module, self._json
self.assertEqual(module.A, 1)
self.assertEqual(json("A"), {"name": "A", "type": "macro", "value": "1"})
def test_macro_addition(self):
"""Tests from simple_macros.py
"""
module = self.module
self.assertEqual(module.B(2, 2), 4)
def test_macro_ternary_json(self):
"""Tests from simple_macros.py
"""
json = self._json
self.assertEqual(
json("C"),
{
"args": ["a", "b", "c"],
"body": "a and b or c",
"name": "C",
"type": "macro_function",
},
)
def test_macro_ternary_true(self):
"""Tests from simple_macros.py
"""
module = self.module
self.assertEqual(module.C(True, 1, 2), 1)
def test_macro_ternary_false(self):
"""Tests from simple_macros.py
"""
module = self.module
self.assertEqual(module.C(False, 1, 2), 2)
def test_macro_ternary_true_complex(self):
"""Test ?: with true, using values that can not be confused between True and 1
"""
module = self.module
self.assertEqual(module.C(True, 99, 100), 99)
def test_macro_ternary_false_complex(self):
"""Test ?: with false, using values that can not be confused between True and 1
"""
module = self.module
self.assertEqual(module.C(False, 99, 100), 100)
def test_macro_string_compose(self):
"""Tests from simple_macros.py
"""
module = self.module
self.assertEqual(module.funny("bunny"), "funnybunny")
def test_macro_string_compose_json(self):
"""Tests from simple_macros.py
"""
json = self._json
self.assertEqual(
json("funny"),
{"args": ["x"], "body": "('funny' + x)", "name": "funny", "type": "macro_function"},
)
def test_macro_subcall_simple(self):
"""Test use of a constant valued macro within a macro"""
module = self.module
self.assertEqual(module.subcall_macro_simple(2), 1)
def test_macro_subcall_simple_plus(self):
"""Test math with constant valued macro within a macro"""
module = self.module
self.assertEqual(module.subcall_macro_simple_plus(2), 1 + 2)
def test_macro_subcall_minus(self):
"""Test use of macro function within a macro"""
module = self.module
x, y = 2, 5
self.assertEqual(module.subcall_macro_minus(x, y), x - y)
def test_macro_subcall_minus_plus(self):
"""Test math with a macro function within a macro"""
module = self.module
x, y, z = 2, 5, 1
self.assertEqual(module.subcall_macro_minus_plus(x, y, z), (x - y) + z)
class StructuresTest(unittest.TestCase):
"""Based on structures.py
"""
def setUp(self):
"""NOTE this is called once for each test* method
(it is not called once per class).
FIXME This is slightly inefficient as it is called *way* more times than it needs to be.
NOTE: Very possibly, if you change this header string, you need to change the line
numbers in the JSON output test result below (in
test_struct_json).
"""
header_str = """
struct foo
{
int a;
char b;
int c;
int d : 15;
int : 17;
};
struct __attribute__((packed)) packed_foo
{
int a;
char b;
int c;
int d : 15;
int : 17;
};
typedef struct
{
int a;
char b;
int c;
int d : 15;
int : 17;
} foo_t;
typedef struct __attribute__((packed))
{
int a;
char b;
int c;
int d : 15;
int : 17;
} packed_foo_t;
#pragma pack(push, 4)
typedef struct
{
int a;
char b;
int c;
int d : 15;
int : 17;
} pragma_packed_foo_t;
#pragma pack(pop)
#pragma pack(push, thing1, 2)
#pragma pack(push, thing2, 4)
#pragma pack(pop)
#pragma pack(push, thing3, 8)
#pragma pack(push, thing4, 16)
#pragma pack(pop, thing3)
struct pragma_packed_foo2
{
int a;
char b;
int c;
int d : 15;
int : 17;
};
#pragma pack(pop, thing1)
struct foo3
{
int a;
char b;
int c;
int d : 15;
int : 17;
};
typedef int Int;
typedef struct {
int Int;
} id_struct_t;
"""
libraries = None
self.module, output = ctypesgentest.test(header_str)
self.json, output = ctypesgentest.test(header_str, output_language="json")
cleanup_json_src_paths(self.json)
def test_fields(self):
"""Test whether fields are built correctly.
"""
struct_foo = self.module.struct_foo
self.assertEqual(
struct_foo._fields_,
[
("a", ctypes.c_int),
("b", ctypes.c_char),
("c", ctypes.c_int),
("d", ctypes.c_int, 15),
("unnamed_1", ctypes.c_int, 17),
],
)
def test_pack(self):
"""Test whether gcc __attribute__((packed)) is interpreted correctly.
"""
unpacked_size = compute_packed(4, [ctypes.c_int] * 3 + [ctypes.c_char])
packed_size = compute_packed(1, [ctypes.c_int] * 3 + [ctypes.c_char])
struct_foo = self.module.struct_foo
struct_packed_foo = self.module.struct_packed_foo
foo_t = self.module.foo_t
packed_foo_t = self.module.packed_foo_t
self.assertEqual(getattr(struct_foo, "_pack_", 0), 0)
self.assertEqual(getattr(struct_packed_foo, "_pack_", 0), 1)
self.assertEqual(getattr(foo_t, "_pack_", 0), 0)
self.assertEqual(getattr(packed_foo_t, "_pack_", -1), 1)
self.assertEqual(ctypes.sizeof(struct_foo), unpacked_size)
self.assertEqual(ctypes.sizeof(foo_t), unpacked_size)
self.assertEqual(ctypes.sizeof(struct_packed_foo), packed_size)
self.assertEqual(ctypes.sizeof(packed_foo_t), packed_size)
def test_pragma_pack(self):
"""Test whether #pragma pack(...) is interpreted correctly.
"""
packed4_size = compute_packed(4, [ctypes.c_int] * 3 + [ctypes.c_char])
packed2_size = compute_packed(2, [ctypes.c_int] * 3 + [ctypes.c_char])
unpacked_size = compute_packed(4, [ctypes.c_int] * 3 + [ctypes.c_char])
pragma_packed_foo_t = self.module.pragma_packed_foo_t
struct_pragma_packed_foo2 = self.module.struct_pragma_packed_foo2
struct_foo3 = self.module.struct_foo3
self.assertEqual(getattr(pragma_packed_foo_t, "_pack_", 0), 4)
self.assertEqual(getattr(struct_pragma_packed_foo2, "_pack_", 0), 2)
self.assertEqual(getattr(struct_foo3, "_pack_", 0), 0)
self.assertEqual(ctypes.sizeof(pragma_packed_foo_t), packed4_size)
self.assertEqual(ctypes.sizeof(struct_pragma_packed_foo2), packed2_size)
self.assertEqual(ctypes.sizeof(struct_foo3), unpacked_size)
def test_typedef_vs_field_id(self):
"""Test whether local field identifier names can override external
typedef names.
"""
Int = self.module.Int
id_struct_t = self.module.id_struct_t
self.assertEqual(Int, ctypes.c_int)
self.assertEqual(id_struct_t._fields_, [("Int", ctypes.c_int)])
class MathTest(unittest.TestCase):
"""Based on math_functions.py"""
def setUp(self):
"""NOTE this is called once for each test* method
(it is not called once per class).
FIXME This is slightly inefficient as it is called *way* more times than it needs to be.
"""
header_str = """
#include <math.h>
#define sin_plus_y(x,y) (sin(x) + (y))
"""
if sys.platform == "win32":
# pick something from %windir%\system32\msvc*dll that include stdlib
libraries = ["msvcrt.dll"]
libraries = ["msvcrt"]
elif sys.platform.startswith("linux"):
libraries = ["libm.so.6"]
else:
libraries = ["libc"]
self.module, output = ctypesgentest.test(header_str, libraries=libraries, all_headers=True)
def test_sin(self):
"""Based on math_functions.py"""
module = self.module
self.assertEqual(module.sin(2), math.sin(2))
def test_sqrt(self):
"""Based on math_functions.py"""
module = self.module
self.assertEqual(module.sqrt(4), 2)
self.assertRaises(ctypes.ArgumentError, local_test)
def test_bad_args_string_not_number(self):
"""Based on math_functions.py"""
module = self.module
self.assertRaises(ctypes.ArgumentError, local_test)
def test_subcall_sin(self):
"""Test math with sin(x) in a macro"""
module = self.module
self.assertEqual(module.sin_plus_y(2, 1), math.sin(2) + 1)
class LongDoubleTest(unittest.TestCase):
"Test correct parsing and generation of 'long double' type"
def setUp(self):
"""NOTE this is called once for each test* method
(it is not called once per class).
FIXME This is slightly inefficient as it is called *way* more times than it needs to be.
"""
header_str = """
struct foo
{
long double is_bar;
int a;
};
"""
self.module, _ = ctypesgentest.test(header_str) # , all_headers=True)
def test_longdouble_type(self):
"""Test is long double is correctly parsed"""
module = self.module
struct_foo = module.struct_foo
self.assertEqual(
struct_foo._fields_, [("is_bar", ctypes.c_longdouble), ("a", ctypes.c_int)]
)
class UncheckedTest(unittest.TestCase):
"""Fixing a bug in 1.0.0 - basic type returns of function pointers get treated as pointers"""
def setUp(self):
"""NOTE this is called once for each test* method
(it is not called once per class).
FIXME This is slightly inefficient as it is called *way* more times than it needs to be.
"""
header_str = """
typedef int (*some_type_of_answer)(void*);
"""
self.module, self.output = ctypesgentest.test(header_str, all_headers=False)
def test_unchecked_prototype(self):
"""Test is function type marked UNCHECKED (function pointer returning int) is handled correctly"""
module = self.module
A = module.some_type_of_answer()
self.assertEqual(A.restype, ctypes.c_int)
self.assertEqual(A.argtypes, (ctypes.c_void_p,))
if __name__ == "__main__":
sys.exit(main())
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
532,
9,
12,
19617,
25,
355,
979,
72,
532,
9,
12,
198,
2,
43907,
25,
912,
28,
19,
25,
2032,
28,
19,
25,
4215,
8658,
11338,
28,
19,
25,
27004,
8658,
25,
11201,
392,
8658,
198,
2,
198,
37811,
26437,
1332,
18389,
1262,
555,
715,
395,
13,
198,
3886,
537,
620,
3023,
357,
15645,
11264,
737,
198,
198,
48593,
25,
628,
220,
220,
220,
21015,
1332,
14,
9288,
2385,
578,
13,
9078,
198,
198,
273,
198,
220,
220,
220,
22927,
1332,
198,
220,
220,
220,
24457,
9288,
2385,
578,
13,
9078,
198,
198,
23722,
779,
597,
4326,
395,
11670,
1332,
17490,
357,
77,
577,
11,
3503,
2014,
198,
198,
32,
12078,
284,
1332,
329,
50252,
507,
13,
6350,
1744,
779,
14367,
8019,
284,
198,
27080,
262,
761,
284,
17632,
327,
2438,
13,
198,
198,
29870,
284,
1057,
3424,
351,
25,
198,
220,
1635,
3933,
2545,
7020,
357,
29412,
362,
13,
20,
13,
17,
11,
362,
13,
21,
8,
198,
220,
1635,
3933,
2545,
3964,
11961,
357,
29412,
362,
13,
19,
11,
362,
13,
20,
11,
362,
13,
21,
13,
16,
8,
198,
37811,
198,
198,
11748,
25064,
198,
11748,
28686,
198,
11748,
269,
19199,
198,
11748,
10688,
198,
11748,
555,
715,
395,
198,
11748,
18931,
198,
6738,
850,
14681,
1330,
8099,
268,
11,
350,
4061,
36,
198,
198,
9288,
62,
34945,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
4008,
198,
17597,
13,
6978,
13,
33295,
7,
9288,
62,
34945,
8,
198,
17597,
13,
6978,
13,
33295,
7,
418,
13,
6978,
13,
22179,
7,
9288,
62,
34945,
11,
28686,
13,
26037,
343,
4008,
198,
198,
11748,
269,
19199,
6783,
395,
220,
1303,
16926,
46,
2074,
3867,
1332,
3419,
422,
269,
19199,
6783,
395,
656,
428,
8265,
628,
198,
4299,
27425,
62,
17752,
62,
10677,
62,
6978,
82,
7,
17752,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
19449,
7000,
262,
3108,
284,
617,
2723,
3709,
13,
220,
2312,
761,
284,
307,
14276,
1143,
287,
198,
220,
220,
220,
1502,
329,
5254,
284,
6758,
319,
477,
8217,
14,
7220,
5504,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
24412,
47,
1546,
62,
54,
62,
47,
1404,
7998,
796,
14631,
34,
19199,
44909,
1600,
366,
34,
19199,
4834,
388,
8973,
198,
220,
220,
220,
329,
1312,
287,
33918,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
310,
2981,
1,
287,
1312,
290,
1312,
14692,
310,
2981,
1,
7131,
1,
42,
31172,
8973,
287,
24412,
47,
1546,
62,
54,
62,
47,
1404,
7998,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
14692,
310,
2981,
1,
7131,
1,
10677,
1,
7131,
15,
60,
796,
12813,
11246,
12,
6978,
14,
29510,
13,
71,
1,
628,
628,
198,
198,
4871,
520,
36077,
970,
14402,
7,
403,
715,
395,
13,
14402,
20448,
2599,
198,
220,
220,
220,
366,
14402,
3376,
32096,
290,
5270,
286,
20512,
2099,
1,
628,
220,
220,
220,
825,
900,
4933,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16580,
428,
318,
1444,
1752,
329,
1123,
1332,
9,
2446,
198,
220,
220,
220,
220,
220,
220,
220,
357,
270,
318,
407,
1444,
1752,
583,
1398,
737,
198,
220,
220,
220,
220,
220,
220,
220,
44855,
11682,
770,
318,
4622,
30904,
355,
340,
318,
1444,
1635,
1014,
9,
517,
1661,
621,
340,
2476,
284,
307,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13639,
62,
2536,
796,
37227,
198,
2,
17256,
1279,
301,
9945,
970,
13,
71,
29,
198,
198,
7249,
22944,
198,
90,
198,
220,
220,
220,
20512,
318,
62,
5657,
26,
198,
220,
220,
220,
493,
257,
26,
198,
19629,
198,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21412,
11,
4808,
796,
269,
19199,
6783,
395,
13,
9288,
7,
25677,
62,
2536,
8,
220,
1303,
837,
477,
62,
50145,
28,
17821,
8,
628,
220,
220,
220,
825,
1332,
62,
301,
9945,
970,
62,
4906,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
318,
20512,
318,
9380,
44267,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
198,
220,
220,
220,
220,
220,
220,
220,
2878,
62,
21943,
796,
8265,
13,
7249,
62,
21943,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
7249,
62,
21943,
13557,
25747,
62,
11,
685,
7203,
271,
62,
5657,
1600,
269,
19199,
13,
66,
62,
30388,
828,
5855,
64,
1600,
269,
19199,
13,
66,
62,
600,
8,
12962,
628,
198,
4871,
17427,
14155,
4951,
14402,
7,
403,
715,
395,
13,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
15001,
319,
2829,
62,
20285,
4951,
13,
9078,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
900,
4933,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16580,
428,
318,
1444,
1752,
329,
1123,
1332,
9,
2446,
198,
220,
220,
220,
220,
220,
220,
220,
357,
270,
318,
407,
1444,
1752,
583,
1398,
737,
198,
220,
220,
220,
220,
220,
220,
220,
44855,
11682,
770,
318,
4622,
30904,
355,
340,
318,
1444,
1635,
1014,
9,
517,
1661,
621,
340,
2476,
284,
307,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13639,
62,
2536,
796,
37227,
198,
2,
13086,
317,
352,
198,
2,
13086,
347,
7,
87,
11,
88,
8,
2124,
10,
88,
198,
2,
13086,
327,
7,
64,
11,
65,
11,
66,
8,
257,
30,
65,
25,
66,
198,
2,
13086,
8258,
7,
87,
8,
366,
12543,
3281,
1,
1303,
87,
198,
2,
13086,
15082,
263,
62,
20285,
305,
7,
87,
11,
88,
8,
2124,
9,
88,
198,
2,
13086,
20208,
62,
20285,
305,
7,
87,
11,
88,
8,
2124,
12,
88,
198,
2,
13086,
14083,
62,
20285,
305,
7,
87,
11,
88,
8,
2124,
14,
88,
198,
2,
13086,
953,
62,
20285,
305,
7,
87,
11,
88,
8,
2124,
4,
88,
198,
2,
13086,
850,
13345,
62,
20285,
305,
62,
36439,
7,
87,
8,
357,
32,
8,
198,
2,
13086,
850,
13345,
62,
20285,
305,
62,
36439,
62,
9541,
7,
87,
8,
357,
32,
8,
1343,
357,
87,
8,
198,
2,
13086,
850,
13345,
62,
20285,
305,
62,
40191,
7,
87,
11,
88,
8,
20208,
62,
20285,
305,
7,
87,
11,
88,
8,
198,
2,
13086,
850,
13345,
62,
20285,
305,
62,
40191,
62,
9541,
7,
87,
11,
88,
11,
89,
8,
357,
40191,
62,
20285,
305,
7,
87,
11,
88,
4008,
1343,
357,
89,
8,
198,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
12782,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21412,
11,
5072,
796,
269,
19199,
6783,
395,
13,
9288,
7,
25677,
62,
2536,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17752,
11,
5072,
796,
269,
19199,
6783,
395,
13,
9288,
7,
25677,
62,
2536,
11,
5072,
62,
16129,
2625,
17752,
4943,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
9979,
415,
62,
600,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
3558,
422,
2829,
62,
20285,
4951,
13,
9078,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
11,
33918,
796,
2116,
13,
21412,
11,
2116,
13557,
17752,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
32,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
17752,
7203,
32,
12340,
19779,
3672,
1298,
366,
32,
1600,
366,
4906,
1298,
366,
20285,
305,
1600,
366,
8367,
1298,
366,
16,
20662,
8,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
2860,
653,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
3558,
422,
2829,
62,
20285,
4951,
13,
9078,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
33,
7,
17,
11,
362,
828,
604,
8,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
759,
560,
62,
17752,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
3558,
422,
2829,
62,
20285,
4951,
13,
9078,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
33918,
796,
2116,
13557,
17752,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33918,
7203,
34,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
22046,
1298,
14631,
64,
1600,
366,
65,
1600,
366,
66,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2618,
1298,
366,
64,
290,
275,
393,
269,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1298,
366,
34,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
20285,
305,
62,
8818,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
759,
560,
62,
7942,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
3558,
422,
2829,
62,
20285,
4951,
13,
9078,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
34,
7,
17821,
11,
352,
11,
362,
828,
352,
8,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
759,
560,
62,
9562,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
3558,
422,
2829,
62,
20285,
4951,
13,
9078,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
34,
7,
25101,
11,
352,
11,
362,
828,
362,
8,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
759,
560,
62,
7942,
62,
41887,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
5633,
25,
351,
2081,
11,
1262,
3815,
326,
460,
407,
307,
10416,
1022,
6407,
290,
352,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
34,
7,
17821,
11,
7388,
11,
1802,
828,
7388,
8,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
759,
560,
62,
9562,
62,
41887,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
5633,
25,
351,
3991,
11,
1262,
3815,
326,
460,
407,
307,
10416,
1022,
6407,
290,
352,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
34,
7,
25101,
11,
7388,
11,
1802,
828,
1802,
8,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
8841,
62,
785,
3455,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
3558,
422,
2829,
62,
20285,
4951,
13,
9078,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
12543,
3281,
7203,
65,
16948,
12340,
366,
12543,
3281,
65,
16948,
4943,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
8841,
62,
785,
3455,
62,
17752,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
3558,
422,
2829,
62,
20285,
4951,
13,
9078,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
33918,
796,
2116,
13557,
17752,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33918,
7203,
12543,
3281,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
22046,
1298,
14631,
87,
33116,
366,
2618,
1298,
366,
10786,
12543,
3281,
6,
1343,
2124,
42501,
366,
3672,
1298,
366,
12543,
3281,
1600,
366,
4906,
1298,
366,
20285,
305,
62,
8818,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
7266,
13345,
62,
36439,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
779,
286,
257,
6937,
17560,
15021,
1626,
257,
15021,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
7266,
13345,
62,
20285,
305,
62,
36439,
7,
17,
828,
352,
8,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
7266,
13345,
62,
36439,
62,
9541,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
10688,
351,
6937,
17560,
15021,
1626,
257,
15021,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
7266,
13345,
62,
20285,
305,
62,
36439,
62,
9541,
7,
17,
828,
352,
1343,
362,
8,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
7266,
13345,
62,
40191,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
779,
286,
15021,
2163,
1626,
257,
15021,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2124,
11,
331,
796,
362,
11,
642,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
7266,
13345,
62,
20285,
305,
62,
40191,
7,
87,
11,
331,
828,
2124,
532,
331,
8,
628,
220,
220,
220,
825,
1332,
62,
20285,
305,
62,
7266,
13345,
62,
40191,
62,
9541,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
10688,
351,
257,
15021,
2163,
1626,
257,
15021,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2124,
11,
331,
11,
1976,
796,
362,
11,
642,
11,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
7266,
13345,
62,
20285,
305,
62,
40191,
62,
9541,
7,
87,
11,
331,
11,
1976,
828,
357,
87,
532,
331,
8,
1343,
1976,
8,
628,
198,
4871,
32112,
942,
14402,
7,
403,
715,
395,
13,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
15001,
319,
8573,
13,
9078,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
900,
4933,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16580,
428,
318,
1444,
1752,
329,
1123,
1332,
9,
2446,
198,
220,
220,
220,
220,
220,
220,
220,
357,
270,
318,
407,
1444,
1752,
583,
1398,
737,
198,
220,
220,
220,
220,
220,
220,
220,
44855,
11682,
770,
318,
4622,
30904,
355,
340,
318,
1444,
1635,
1014,
9,
517,
1661,
621,
340,
2476,
284,
307,
13,
628,
220,
220,
220,
220,
220,
220,
220,
24550,
25,
220,
9576,
5457,
11,
611,
345,
1487,
428,
13639,
4731,
11,
345,
761,
284,
1487,
262,
1627,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3146,
287,
262,
19449,
5072,
1332,
1255,
2174,
357,
259,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
7249,
62,
17752,
737,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13639,
62,
2536,
796,
37227,
198,
198,
7249,
22944,
198,
90,
198,
220,
220,
220,
220,
220,
220,
220,
493,
257,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1149,
275,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
269,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
288,
1058,
1315,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
220,
220,
1058,
1596,
26,
198,
19629,
198,
198,
7249,
11593,
42348,
834,
19510,
34860,
4008,
11856,
62,
21943,
198,
90,
198,
220,
220,
220,
220,
220,
220,
220,
493,
257,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1149,
275,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
269,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
288,
1058,
1315,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
220,
220,
1058,
1596,
26,
198,
19629,
198,
198,
774,
9124,
891,
2878,
198,
90,
198,
220,
220,
220,
220,
220,
220,
220,
493,
257,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1149,
275,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
269,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
288,
1058,
1315,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
220,
220,
1058,
1596,
26,
198,
92,
22944,
62,
83,
26,
198,
198,
774,
9124,
891,
2878,
11593,
42348,
834,
19510,
34860,
4008,
198,
90,
198,
220,
220,
220,
220,
220,
220,
220,
493,
257,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1149,
275,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
269,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
288,
1058,
1315,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
220,
220,
1058,
1596,
26,
198,
92,
11856,
62,
21943,
62,
83,
26,
198,
198,
2,
1050,
363,
2611,
2353,
7,
14689,
11,
604,
8,
198,
774,
9124,
891,
2878,
198,
90,
198,
220,
220,
220,
220,
220,
220,
220,
493,
257,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1149,
275,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
269,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
288,
1058,
1315,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
220,
220,
1058,
1596,
26,
198,
92,
23864,
2611,
62,
34860,
62,
21943,
62,
83,
26,
198,
2,
1050,
363,
2611,
2353,
7,
12924,
8,
198,
198,
2,
1050,
363,
2611,
2353,
7,
14689,
11,
1517,
16,
11,
362,
8,
198,
2,
1050,
363,
2611,
2353,
7,
14689,
11,
1517,
17,
11,
604,
8,
198,
2,
1050,
363,
2611,
2353,
7,
12924,
8,
198,
2,
1050,
363,
2611,
2353,
7,
14689,
11,
1517,
18,
11,
807,
8,
198,
2,
1050,
363,
2611,
2353,
7,
14689,
11,
1517,
19,
11,
1467,
8,
198,
2,
1050,
363,
2611,
2353,
7,
12924,
11,
1517,
18,
8,
198,
7249,
220,
23864,
2611,
62,
34860,
62,
21943,
17,
198,
90,
198,
220,
220,
220,
220,
220,
220,
220,
493,
257,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1149,
275,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
269,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
288,
1058,
1315,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
220,
220,
1058,
1596,
26,
198,
19629,
198,
2,
1050,
363,
2611,
2353,
7,
12924,
11,
1517,
16,
8,
198,
198,
7249,
220,
22944,
18,
198,
90,
198,
220,
220,
220,
220,
220,
220,
220,
493,
257,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1149,
275,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
269,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
288,
1058,
1315,
26,
198,
220,
220,
220,
220,
220,
220,
220,
493,
220,
220,
1058,
1596,
26,
198,
19629,
198,
198,
774,
9124,
891,
493,
2558,
26,
198,
198,
774,
9124,
891,
2878,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
493,
2558,
26,
198,
92,
4686,
62,
7249,
62,
83,
26,
198,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
12782,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21412,
11,
5072,
796,
269,
19199,
6783,
395,
13,
9288,
7,
25677,
62,
2536,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17752,
11,
5072,
796,
269,
19199,
6783,
395,
13,
9288,
7,
25677,
62,
2536,
11,
5072,
62,
16129,
2625,
17752,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
27425,
62,
17752,
62,
10677,
62,
6978,
82,
7,
944,
13,
17752,
8,
628,
220,
220,
220,
825,
1332,
62,
25747,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1771,
7032,
389,
3170,
9380,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2878,
62,
21943,
796,
2116,
13,
21412,
13,
7249,
62,
21943,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2878,
62,
21943,
13557,
25747,
62,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5855,
64,
1600,
269,
19199,
13,
66,
62,
600,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5855,
65,
1600,
269,
19199,
13,
66,
62,
10641,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5855,
66,
1600,
269,
19199,
13,
66,
62,
600,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5855,
67,
1600,
269,
19199,
13,
66,
62,
600,
11,
1315,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5855,
403,
13190,
62,
16,
1600,
269,
19199,
13,
66,
62,
600,
11,
1596,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
1332,
62,
8002,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1771,
49582,
11593,
42348,
834,
19510,
34860,
4008,
318,
16173,
9380,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8593,
6021,
62,
7857,
796,
24061,
62,
34860,
7,
19,
11,
685,
310,
9497,
13,
66,
62,
600,
60,
1635,
513,
1343,
685,
310,
9497,
13,
66,
62,
10641,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
11856,
62,
7857,
796,
24061,
62,
34860,
7,
16,
11,
685,
310,
9497,
13,
66,
62,
600,
60,
1635,
513,
1343,
685,
310,
9497,
13,
66,
62,
10641,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
2878,
62,
21943,
796,
2116,
13,
21412,
13,
7249,
62,
21943,
198,
220,
220,
220,
220,
220,
220,
220,
2878,
62,
34860,
62,
21943,
796,
2116,
13,
21412,
13,
7249,
62,
34860,
62,
21943,
198,
220,
220,
220,
220,
220,
220,
220,
22944,
62,
83,
796,
2116,
13,
21412,
13,
21943,
62,
83,
198,
220,
220,
220,
220,
220,
220,
220,
11856,
62,
21943,
62,
83,
796,
2116,
13,
21412,
13,
34860,
62,
21943,
62,
83,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
1136,
35226,
7,
7249,
62,
21943,
11,
45434,
8002,
62,
1600,
657,
828,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
1136,
35226,
7,
7249,
62,
34860,
62,
21943,
11,
45434,
8002,
62,
1600,
657,
828,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
1136,
35226,
7,
21943,
62,
83,
11,
45434,
8002,
62,
1600,
657,
828,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
1136,
35226,
7,
34860,
62,
21943,
62,
83,
11,
45434,
8002,
62,
1600,
532,
16,
828,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
310,
9497,
13,
7857,
1659,
7,
7249,
62,
21943,
828,
8593,
6021,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
310,
9497,
13,
7857,
1659,
7,
21943,
62,
83,
828,
8593,
6021,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
310,
9497,
13,
7857,
1659,
7,
7249,
62,
34860,
62,
21943,
828,
11856,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
310,
9497,
13,
7857,
1659,
7,
34860,
62,
21943,
62,
83,
828,
11856,
62,
7857,
8,
628,
220,
220,
220,
825,
1332,
62,
1050,
363,
2611,
62,
8002,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1771,
1303,
1050,
363,
2611,
2353,
7,
23029,
318,
16173,
9380,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
11856,
19,
62,
7857,
796,
24061,
62,
34860,
7,
19,
11,
685,
310,
9497,
13,
66,
62,
600,
60,
1635,
513,
1343,
685,
310,
9497,
13,
66,
62,
10641,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
11856,
17,
62,
7857,
796,
24061,
62,
34860,
7,
17,
11,
685,
310,
9497,
13,
66,
62,
600,
60,
1635,
513,
1343,
685,
310,
9497,
13,
66,
62,
10641,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
8593,
6021,
62,
7857,
796,
24061,
62,
34860,
7,
19,
11,
685,
310,
9497,
13,
66,
62,
600,
60,
1635,
513,
1343,
685,
310,
9497,
13,
66,
62,
10641,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
23864,
2611,
62,
34860,
62,
21943,
62,
83,
796,
2116,
13,
21412,
13,
1050,
363,
2611,
62,
34860,
62,
21943,
62,
83,
198,
220,
220,
220,
220,
220,
220,
220,
2878,
62,
1050,
363,
2611,
62,
34860,
62,
21943,
17,
796,
2116,
13,
21412,
13,
7249,
62,
1050,
363,
2611,
62,
34860,
62,
21943,
17,
198,
220,
220,
220,
220,
220,
220,
220,
2878,
62,
21943,
18,
796,
2116,
13,
21412,
13,
7249,
62,
21943,
18,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
1136,
35226,
7,
1050,
363,
2611,
62,
34860,
62,
21943,
62,
83,
11,
45434,
8002,
62,
1600,
657,
828,
604,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
1136,
35226,
7,
7249,
62,
1050,
363,
2611,
62,
34860,
62,
21943,
17,
11,
45434,
8002,
62,
1600,
657,
828,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
1136,
35226,
7,
7249,
62,
21943,
18,
11,
45434,
8002,
62,
1600,
657,
828,
657,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
310,
9497,
13,
7857,
1659,
7,
1050,
363,
2611,
62,
34860,
62,
21943,
62,
83,
828,
11856,
19,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
310,
9497,
13,
7857,
1659,
7,
7249,
62,
1050,
363,
2611,
62,
34860,
62,
21943,
17,
828,
11856,
17,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
310,
9497,
13,
7857,
1659,
7,
7249,
62,
21943,
18,
828,
8593,
6021,
62,
7857,
8,
628,
220,
220,
220,
825,
1332,
62,
774,
9124,
891,
62,
14259,
62,
3245,
62,
312,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1771,
1957,
2214,
27421,
3891,
460,
20957,
7097,
198,
220,
220,
220,
220,
220,
220,
220,
25683,
891,
3891,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2558,
796,
2116,
13,
21412,
13,
5317,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
62,
7249,
62,
83,
796,
2116,
13,
21412,
13,
312,
62,
7249,
62,
83,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
5317,
11,
269,
19199,
13,
66,
62,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
312,
62,
7249,
62,
83,
13557,
25747,
62,
11,
685,
7203,
5317,
1600,
269,
19199,
13,
66,
62,
600,
8,
12962,
628,
198,
4871,
16320,
14402,
7,
403,
715,
395,
13,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
15001,
319,
10688,
62,
12543,
2733,
13,
9078,
37811,
628,
220,
220,
220,
825,
900,
4933,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16580,
428,
318,
1444,
1752,
329,
1123,
1332,
9,
2446,
198,
220,
220,
220,
220,
220,
220,
220,
357,
270,
318,
407,
1444,
1752,
583,
1398,
737,
198,
220,
220,
220,
220,
220,
220,
220,
44855,
11682,
770,
318,
4622,
30904,
355,
340,
318,
1444,
1635,
1014,
9,
517,
1661,
621,
340,
2476,
284,
307,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13639,
62,
2536,
796,
37227,
198,
2,
17256,
1279,
11018,
13,
71,
29,
198,
2,
13086,
7813,
62,
9541,
62,
88,
7,
87,
11,
88,
8,
357,
31369,
7,
87,
8,
1343,
357,
88,
4008,
198,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
611,
25064,
13,
24254,
6624,
366,
5404,
2624,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2298,
1223,
422,
4064,
7972,
343,
4,
59,
10057,
2624,
59,
907,
28435,
9,
12736,
326,
2291,
14367,
8019,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12782,
796,
14631,
907,
85,
6098,
83,
13,
12736,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12782,
796,
14631,
907,
85,
6098,
83,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
25064,
13,
24254,
13,
9688,
2032,
342,
7203,
23289,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12782,
796,
14631,
8019,
76,
13,
568,
13,
21,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12782,
796,
14631,
8019,
66,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21412,
11,
5072,
796,
269,
19199,
6783,
395,
13,
9288,
7,
25677,
62,
2536,
11,
12782,
28,
75,
11127,
11,
477,
62,
50145,
28,
17821,
8,
628,
220,
220,
220,
825,
1332,
62,
31369,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
15001,
319,
10688,
62,
12543,
2733,
13,
9078,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
31369,
7,
17,
828,
10688,
13,
31369,
7,
17,
4008,
628,
220,
220,
220,
825,
1332,
62,
31166,
17034,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
15001,
319,
10688,
62,
12543,
2733,
13,
9078,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
31166,
17034,
7,
19,
828,
362,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
21762,
2696,
7,
310,
9497,
13,
28100,
1713,
12331,
11,
1957,
62,
9288,
8,
628,
220,
220,
220,
825,
1332,
62,
14774,
62,
22046,
62,
8841,
62,
1662,
62,
17618,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
15001,
319,
10688,
62,
12543,
2733,
13,
9078,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
21762,
2696,
7,
310,
9497,
13,
28100,
1713,
12331,
11,
1957,
62,
9288,
8,
628,
220,
220,
220,
825,
1332,
62,
7266,
13345,
62,
31369,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
10688,
351,
7813,
7,
87,
8,
287,
257,
15021,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
21412,
13,
31369,
62,
9541,
62,
88,
7,
17,
11,
352,
828,
10688,
13,
31369,
7,
17,
8,
1343,
352,
8,
628,
628,
198,
4871,
5882,
25628,
14402,
7,
403,
715,
395,
13,
14402,
20448,
2599,
198,
220,
220,
220,
366,
14402,
3376,
32096,
290,
5270,
286,
705,
6511,
4274,
6,
2099,
1,
628,
220,
220,
220,
825,
900,
4933,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16580,
428,
318,
1444,
1752,
329,
1123,
1332,
9,
2446,
198,
220,
220,
220,
220,
220,
220,
220,
357,
270,
318,
407,
1444,
1752,
583,
1398,
737,
198,
220,
220,
220,
220,
220,
220,
220,
44855,
11682,
770,
318,
4622,
30904,
355,
340,
318,
1444,
1635,
1014,
9,
517,
1661,
621,
340,
2476,
284,
307,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13639,
62,
2536,
796,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2878,
22944,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
890,
4274,
318,
62,
5657,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
493,
257,
26,
198,
220,
220,
220,
220,
220,
220,
220,
18083,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21412,
11,
4808,
796,
269,
19199,
6783,
395,
13,
9288,
7,
25677,
62,
2536,
8,
220,
1303,
837,
477,
62,
50145,
28,
17821,
8,
628,
220,
220,
220,
825,
1332,
62,
6511,
23352,
62,
4906,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
318,
890,
4274,
318,
9380,
44267,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
198,
220,
220,
220,
220,
220,
220,
220,
2878,
62,
21943,
796,
8265,
13,
7249,
62,
21943,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2878,
62,
21943,
13557,
25747,
62,
11,
685,
7203,
271,
62,
5657,
1600,
269,
19199,
13,
66,
62,
6511,
23352,
828,
5855,
64,
1600,
269,
19199,
13,
66,
62,
600,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
198,
198,
4871,
791,
26752,
14402,
7,
403,
715,
395,
13,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
22743,
278,
257,
5434,
287,
352,
13,
15,
13,
15,
532,
4096,
2099,
5860,
286,
2163,
32007,
651,
5716,
355,
32007,
37811,
628,
220,
220,
220,
825,
900,
4933,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16580,
428,
318,
1444,
1752,
329,
1123,
1332,
9,
2446,
198,
220,
220,
220,
220,
220,
220,
220,
357,
270,
318,
407,
1444,
1752,
583,
1398,
737,
198,
220,
220,
220,
220,
220,
220,
220,
44855,
11682,
770,
318,
4622,
30904,
355,
340,
318,
1444,
1635,
1014,
9,
517,
1661,
621,
340,
2476,
284,
307,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13639,
62,
2536,
796,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
25683,
891,
493,
20789,
11246,
62,
4906,
62,
1659,
62,
41484,
5769,
19382,
9,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21412,
11,
2116,
13,
22915,
796,
269,
19199,
6783,
395,
13,
9288,
7,
25677,
62,
2536,
11,
477,
62,
50145,
28,
25101,
8,
628,
220,
220,
220,
825,
1332,
62,
403,
26752,
62,
38124,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
318,
2163,
2099,
7498,
4725,
50084,
1961,
357,
8818,
17562,
8024,
493,
8,
318,
12118,
9380,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
8265,
796,
2116,
13,
21412,
198,
220,
220,
220,
220,
220,
220,
220,
317,
796,
8265,
13,
11246,
62,
4906,
62,
1659,
62,
41484,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
32,
13,
2118,
2981,
11,
269,
19199,
13,
66,
62,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
32,
13,
853,
19199,
11,
357,
310,
9497,
13,
66,
62,
19382,
62,
79,
11,
4008,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
25064,
13,
37023,
7,
12417,
28955,
198
] | 2.215243 | 6,193 |
"""
control of LCD160CR display. See: https://docs.micropython.org/en/latest/library/lcd160cr.html
This module provides control of the MicroPython LCD160CR display.
"""
# source version: latest
# origin module:: micropython/docs/library/lcd160cr.rst
from typing import Any, Tuple
from .machine import SPI
# Orientations of the display, used by :meth:`LCD160CR.set_orient`.
PORTRAIT: Any
# Orientations of the display, used by :meth:`LCD160CR.set_orient`.
LANDSCAPE: Any
# Orientations of the display, used by :meth:`LCD160CR.set_orient`.
PORTRAIT_UPSIDEDOWN: Any
# Orientations of the display, used by :meth:`LCD160CR.set_orient`.
LANDSCAPE_UPSIDEDOWN: Any
# Types of start-up decoration, can be OR'ed together, used by
# :meth:`LCD160CR.set_startup_deco`.
STARTUP_DECO_NONE: Any
# Types of start-up decoration, can be OR'ed together, used by
# :meth:`LCD160CR.set_startup_deco`.
STARTUP_DECO_MLOGO: Any
# Types of start-up decoration, can be OR'ed together, used by
# :meth:`LCD160CR.set_startup_deco`.
STARTUP_DECO_INFO: Any
class LCD160CR:
"""
Construct an LCD160CR object. The parameters are:
- *connect* is a string specifying the physical connection of the LCD
display to the board; valid values are "X", "Y", "XY", "YX".
Use "X" when the display is connected to a pyboard in the X-skin
position, and "Y" when connected in the Y-skin position. "XY"
and "YX" are used when the display is connected to the right or
left side of the pyboard, respectively.
- *pwr* is a Pin object connected to the LCD's power/enabled pin.
- *i2c* is an I2C object connected to the LCD's I2C interface.
- *spi* is an SPI object connected to the LCD's SPI interface.
- *i2c_addr* is the I2C address of the display.
One must specify either a valid *connect* or all of *pwr*, *i2c* and *spi*.
If a valid *connect* is given then any of *pwr*, *i2c* or *spi* which are
not passed as parameters (i.e. they are ``None``) will be created based on the
value of *connect*. This allows to override the default interface to the
display if needed.
The default values are:
- "X" is for the X-skin and uses:
``pwr=Pin("X4")``, ``i2c=I2C("X")``, ``spi=SPI("X")``
- "Y" is for the Y-skin and uses:
``pwr=Pin("Y4")``, ``i2c=I2C("Y")``, ``spi=SPI("Y")``
- "XY" is for the right-side and uses:
``pwr=Pin("X4")``, ``i2c=I2C("Y")``, ``spi=SPI("X")``
- "YX" is for the left-side and uses:
``pwr=Pin("Y4")``, ``i2c=I2C("X")``, ``spi=SPI("Y")``
See `this image <http://micropython.org/resources/LCD160CRv10-positions.jpg>`_
for how the display can be connected to the pyboard.
"""
w: Any
# The width and height of the display, respectively, in pixels. These
# members are updated when calling :meth:`LCD160CR.set_orient` and should
# be considered read-only.
h: Any
@staticmethod
def rgb(r, g, b) -> int:
"""
Return a 16-bit integer representing the given rgb color values. The
16-bit value can be used to set the font color (see
:meth:`LCD160CR.set_text_color`) pen color (see :meth:`LCD160CR.set_pen`)
and draw individual pixels.
"""
...
@staticmethod
def clip_line(data, w, h) -> Any:
"""
Clip the given line data. This is for internal use.
"""
...
def set_power(self, on) -> None:
"""
Turn the display on or off, depending on the given value of *on*: 0 or ``False``
will turn the display off, and 1 or ``True`` will turn it on.
"""
...
def set_orient(self, orient) -> None:
"""
Set the orientation of the display. The *orient* parameter can be one
of `PORTRAIT`, `LANDSCAPE`, `PORTRAIT_UPSIDEDOWN`, `LANDSCAPE_UPSIDEDOWN`.
"""
...
def set_brightness(self, value) -> None:
"""
Set the brightness of the display, between 0 and 31.
"""
...
def set_i2c_addr(self, addr) -> None:
"""
Set the I2C address of the display. The *addr* value must have the
lower 2 bits cleared.
"""
...
def set_uart_baudrate(self, baudrate) -> None:
"""
Set the baudrate of the UART interface.
"""
...
def set_startup_deco(self, value) -> None:
"""
Set the start-up decoration of the display. The *value* parameter can be a
logical or of `STARTUP_DECO_NONE`, `STARTUP_DECO_MLOGO`, `STARTUP_DECO_INFO`.
"""
...
def save_to_flash(self) -> Any:
"""
Save the following parameters to flash so they persist on restart and power up:
initial decoration, orientation, brightness, UART baud rate, I2C address.
"""
...
def set_pixel(self, x, y, c) -> None:
"""
Set the specified pixel to the given color. The color should be a 16-bit
integer and can be created by :meth:`LCD160CR.rgb`.
"""
...
def get_pixel(self, x, y) -> Any:
"""
Get the 16-bit value of the specified pixel.
"""
...
def get_line(self, x, y, buf) -> Any:
"""
Low-level method to get a line of pixels into the given buffer.
To read *n* pixels *buf* should be *2*n+1* bytes in length. The first byte
is a dummy byte and should be ignored, and subsequent bytes represent the
pixels in the line starting at coordinate *(x, y)*.
"""
...
def screen_dump(self, buf, x=0, y=0, w=None, h=None) -> Any:
"""
Dump the contents of the screen to the given buffer. The parameters *x* and *y*
specify the starting coordinate, and *w* and *h* the size of the region. If *w*
or *h* are ``None`` then they will take on their maximum values, set by the size
of the screen minus the given *x* and *y* values. *buf* should be large enough
to hold ``2*w*h`` bytes. If it's smaller then only the initial horizontal lines
will be stored.
"""
...
def screen_load(self, buf) -> None:
"""
Load the entire screen from the given buffer.
"""
...
def set_pos(self, x, y) -> None:
"""
Set the position for text output using :meth:`LCD160CR.write`. The position
is the upper-left corner of the text.
"""
...
def set_text_color(self, fg, bg) -> None:
"""
Set the foreground and background color of the text.
"""
...
def set_font(self, font, scale=0, bold=0, trans=0, scroll=0) -> None:
"""
Set the font for the text. Subsequent calls to `write` will use the newly
configured font. The parameters are:
- *font* is the font family to use, valid values are 0, 1, 2, 3.
- *scale* is a scaling value for each character pixel, where the pixels
are drawn as a square with side length equal to *scale + 1*. The value
can be between 0 and 63.
- *bold* controls the number of pixels to overdraw each character pixel,
making a bold effect. The lower 2 bits of *bold* are the number of
pixels to overdraw in the horizontal direction, and the next 2 bits are
for the vertical direction. For example, a *bold* value of 5 will
overdraw 1 pixel in both the horizontal and vertical directions.
- *trans* can be either 0 or 1 and if set to 1 the characters will be
drawn with a transparent background.
- *scroll* can be either 0 or 1 and if set to 1 the display will do a
soft scroll if the text moves to the next line.
"""
...
def write(self, s) -> None:
"""
Write text to the display, using the current position, color and font.
As text is written the position is automatically incremented. The
display supports basic VT100 control codes such as newline and backspace.
"""
...
def set_pen(self, line, fill) -> None:
"""
Set the line and fill color for primitive shapes.
"""
...
def erase(self) -> Any:
"""
Erase the entire display to the pen fill color.
"""
...
def dot(self, x, y) -> None:
"""
Draw a single pixel at the given location using the pen line color.
"""
...
def rect_interior(self, x, y, w, h) -> None:
"""
Draw a rectangle at the given location and size using the pen line
color for the outline, and the pen fill color for the interior.
The `rect` method draws the outline and interior, while the other methods
just draw one or the other.
"""
...
def line(self, x1, y1, x2, y2) -> None:
"""
Draw a line between the given coordinates using the pen line color.
"""
...
def line_no_clip(self, x1, y1, x2, y2) -> Any:
"""
These methods are as above but don't do any clipping on the input
coordinates. They are faster than the clipping versions and can be
used when you know that the coordinates are within the display.
"""
...
def poly_dot(self, data) -> None:
"""
Draw a sequence of dots using the pen line color.
The *data* should be a buffer of bytes, with each successive pair of
bytes corresponding to coordinate pairs (x, y).
"""
...
def poly_line(self, data) -> Any:
"""
Similar to :meth:`LCD160CR.poly_dot` but draws lines between the dots.
"""
...
def touch_config(self, calib=False, save=False, irq=None) -> None:
"""
Configure the touch panel:
- If *calib* is ``True`` then the call will trigger a touch calibration of
the resistive touch sensor. This requires the user to touch various
parts of the screen.
- If *save* is ``True`` then the touch parameters will be saved to NVRAM
to persist across reset/power up.
- If *irq* is ``True`` then the display will be configured to pull the IRQ
line low when a touch force is detected. If *irq* is ``False`` then this
feature is disabled. If *irq* is ``None`` (the default value) then no
change is made to this setting.
"""
...
def is_touched(self) -> bool:
"""
Returns a boolean: ``True`` if there is currently a touch force on the screen,
``False`` otherwise.
"""
...
def get_touch(self) -> Tuple:
"""
Returns a 3-tuple of: *(active, x, y)*. If there is currently a touch force
on the screen then *active* is 1, otherwise it is 0. The *x* and *y* values
indicate the position of the current or most recent touch.
"""
...
def set_spi_win(self, x, y, w, h) -> None:
"""
Set the window that SPI data is written to.
"""
...
def fast_spi(self, flush=True) -> SPI:
"""
Ready the display to accept RGB pixel data on the SPI bus, resetting the location
of the first byte to go to the top-left corner of the window set by
:meth:`LCD160CR.set_spi_win`.
The method returns an SPI object which can be used to write the pixel data.
Pixels should be sent as 16-bit RGB values in the 5-6-5 format. The destination
counter will increase as data is sent, and data can be sent in arbitrary sized
chunks. Once the destination counter reaches the end of the window specified by
:meth:`LCD160CR.set_spi_win` it will wrap around to the top-left corner of that window.
"""
...
def show_framebuf(self, buf) -> None:
"""
Show the given buffer on the display. *buf* should be an array of bytes containing
the 16-bit RGB values for the pixels, and they will be written to the area
specified by :meth:`LCD160CR.set_spi_win`, starting from the top-left corner.
The `framebuf <framebuf.html>`_ module can be used to construct frame buffers
and provides drawing primitives. Using a frame buffer will improve
performance of animations when compared to drawing directly to the screen.
"""
...
def set_scroll(self, on) -> None:
"""
Turn scrolling on or off. This controls globally whether any window regions will
scroll.
"""
...
def set_scroll_win(self, win, x=-1, y=0, w=0, h=0, vec=0, pat=0, fill=0x07E0, color=0) -> None:
"""
Configure a window region for scrolling:
- *win* is the window id to configure. There are 0..7 standard windows for
general purpose use. Window 8 is the text scroll window (the ticker).
- *x*, *y*, *w*, *h* specify the location of the window in the display.
- *vec* specifies the direction and speed of scroll: it is a 16-bit value
of the form ``0bF.ddSSSSSSSSSSSS``. *dd* is 0, 1, 2, 3 for +x, +y, -x,
-y scrolling. *F* sets the speed format, with 0 meaning that the window
is shifted *S % 256* pixel every frame, and 1 meaning that the window
is shifted 1 pixel every *S* frames.
- *pat* is a 16-bit pattern mask for the background.
- *fill* is the fill color.
- *color* is the extra color, either of the text or pattern foreground.
"""
...
def set_scroll_win_param(self, win, param, value) -> Any:
"""
Set a single parameter of a scrolling window region:
- *win* is the window id, 0..8.
- *param* is the parameter number to configure, 0..7, and corresponds
to the parameters in the `set_scroll_win` method.
- *value* is the value to set.
"""
...
def set_scroll_buf(self, s) -> None:
"""
Set the string for scrolling in window 8. The parameter *s* must be a string
with length 32 or less.
"""
...
def jpeg(self, buf) -> None:
"""
Display a JPEG. *buf* should contain the entire JPEG data. JPEG data should
not include EXIF information. The following encodings are supported: Baseline
DCT, Huffman coding, 8 bits per sample, 3 color components, YCbCr4:2:2.
The origin of the JPEG is set by :meth:`LCD160CR.set_pos`.
"""
...
def jpeg_data(self, buf) -> None:
"""
Display a JPEG with the data split across multiple buffers. There must be
a single call to `jpeg_start` to begin with, specifying the total number of
bytes in the JPEG. Then this number of bytes must be transferred to the
display using one or more calls to the `jpeg_data` command.
"""
...
def feed_wdt(self) -> Any:
"""
The first call to this method will start the display's internal watchdog
timer. Subsequent calls will feed the watchdog. The timeout is roughly 30
seconds.
"""
...
def reset(self) -> None:
"""
Reset the display.
"""
...
| [
37811,
198,
13716,
286,
23598,
14198,
9419,
3359,
13,
4091,
25,
3740,
1378,
31628,
13,
9383,
1773,
7535,
13,
2398,
14,
268,
14,
42861,
14,
32016,
14,
75,
10210,
14198,
6098,
13,
6494,
198,
198,
1212,
8265,
3769,
1630,
286,
262,
4527,
37906,
23598,
14198,
9419,
3359,
13,
198,
37811,
198,
198,
2,
2723,
2196,
25,
3452,
198,
2,
8159,
8265,
3712,
12314,
1773,
7535,
14,
31628,
14,
32016,
14,
75,
10210,
14198,
6098,
13,
81,
301,
198,
6738,
19720,
1330,
4377,
11,
309,
29291,
198,
6738,
764,
30243,
1330,
49091,
198,
198,
2,
220,
220,
220,
35275,
602,
286,
262,
3359,
11,
973,
416,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
13989,
44646,
198,
15490,
3861,
2043,
25,
4377,
198,
2,
220,
220,
220,
35275,
602,
286,
262,
3359,
11,
973,
416,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
13989,
44646,
198,
25697,
5258,
33177,
36,
25,
4377,
198,
2,
220,
220,
220,
35275,
602,
286,
262,
3359,
11,
973,
416,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
13989,
44646,
198,
15490,
3861,
2043,
62,
52,
3705,
2389,
1961,
14165,
25,
4377,
198,
2,
220,
220,
220,
35275,
602,
286,
262,
3359,
11,
973,
416,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
13989,
44646,
198,
25697,
5258,
33177,
36,
62,
52,
3705,
2389,
1961,
14165,
25,
4377,
198,
2,
220,
220,
220,
24897,
286,
923,
12,
929,
42050,
11,
460,
307,
6375,
6,
276,
1978,
11,
973,
416,
198,
2,
220,
220,
220,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
9688,
929,
62,
12501,
78,
44646,
198,
2257,
7227,
8577,
62,
41374,
46,
62,
45,
11651,
25,
4377,
198,
2,
220,
220,
220,
24897,
286,
923,
12,
929,
42050,
11,
460,
307,
6375,
6,
276,
1978,
11,
973,
416,
198,
2,
220,
220,
220,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
9688,
929,
62,
12501,
78,
44646,
198,
2257,
7227,
8577,
62,
41374,
46,
62,
5805,
7730,
46,
25,
4377,
198,
2,
220,
220,
220,
24897,
286,
923,
12,
929,
42050,
11,
460,
307,
6375,
6,
276,
1978,
11,
973,
416,
198,
2,
220,
220,
220,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
9688,
929,
62,
12501,
78,
44646,
198,
2257,
7227,
8577,
62,
41374,
46,
62,
10778,
25,
4377,
628,
198,
4871,
23598,
14198,
9419,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
28407,
281,
23598,
14198,
9419,
2134,
13,
220,
383,
10007,
389,
25,
628,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
8443,
9,
318,
257,
4731,
31577,
262,
3518,
4637,
286,
262,
23598,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3359,
284,
262,
3096,
26,
4938,
3815,
389,
366,
55,
1600,
366,
56,
1600,
366,
34278,
1600,
366,
56,
55,
1911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5765,
366,
55,
1,
618,
262,
3359,
318,
5884,
284,
257,
12972,
3526,
287,
262,
1395,
12,
20407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2292,
11,
290,
366,
56,
1,
618,
5884,
287,
262,
575,
12,
20407,
2292,
13,
220,
366,
34278,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
366,
56,
55,
1,
389,
973,
618,
262,
3359,
318,
5884,
284,
262,
826,
393,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1364,
1735,
286,
262,
12972,
3526,
11,
8148,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
79,
18351,
9,
318,
257,
13727,
2134,
5884,
284,
262,
23598,
338,
1176,
14,
25616,
6757,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
72,
17,
66,
9,
318,
281,
314,
17,
34,
2134,
5884,
284,
262,
23598,
338,
314,
17,
34,
7071,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
2777,
72,
9,
318,
281,
49091,
2134,
5884,
284,
262,
23598,
338,
49091,
7071,
13,
198,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
72,
17,
66,
62,
29851,
9,
318,
262,
314,
17,
34,
2209,
286,
262,
3359,
13,
628,
220,
220,
220,
1881,
1276,
11986,
2035,
257,
4938,
1635,
8443,
9,
393,
477,
286,
1635,
79,
18351,
25666,
1635,
72,
17,
66,
9,
290,
1635,
2777,
72,
24620,
198,
220,
220,
220,
1002,
257,
4938,
1635,
8443,
9,
318,
1813,
788,
597,
286,
1635,
79,
18351,
25666,
1635,
72,
17,
66,
9,
393,
1635,
2777,
72,
9,
543,
389,
198,
220,
220,
220,
407,
3804,
355,
10007,
357,
72,
13,
68,
13,
484,
389,
7559,
14202,
15506,
8,
481,
307,
2727,
1912,
319,
262,
198,
220,
220,
220,
1988,
286,
1635,
8443,
24620,
220,
770,
3578,
284,
20957,
262,
4277,
7071,
284,
262,
198,
220,
220,
220,
3359,
611,
2622,
13,
628,
220,
220,
220,
383,
4277,
3815,
389,
25,
628,
220,
220,
220,
220,
220,
220,
220,
532,
366,
55,
1,
318,
329,
262,
1395,
12,
20407,
290,
3544,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
79,
18351,
28,
28348,
7203,
55,
19,
4943,
15506,
11,
7559,
72,
17,
66,
28,
40,
17,
34,
7203,
55,
4943,
15506,
11,
7559,
2777,
72,
28,
4303,
40,
7203,
55,
4943,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
532,
366,
56,
1,
318,
329,
262,
575,
12,
20407,
290,
3544,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
79,
18351,
28,
28348,
7203,
56,
19,
4943,
15506,
11,
7559,
72,
17,
66,
28,
40,
17,
34,
7203,
56,
4943,
15506,
11,
7559,
2777,
72,
28,
4303,
40,
7203,
56,
4943,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
532,
366,
34278,
1,
318,
329,
262,
826,
12,
1589,
290,
3544,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
79,
18351,
28,
28348,
7203,
55,
19,
4943,
15506,
11,
7559,
72,
17,
66,
28,
40,
17,
34,
7203,
56,
4943,
15506,
11,
7559,
2777,
72,
28,
4303,
40,
7203,
55,
4943,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
532,
366,
56,
55,
1,
318,
329,
262,
1364,
12,
1589,
290,
3544,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
79,
18351,
28,
28348,
7203,
56,
19,
4943,
15506,
11,
7559,
72,
17,
66,
28,
40,
17,
34,
7203,
55,
4943,
15506,
11,
7559,
2777,
72,
28,
4303,
40,
7203,
56,
4943,
15506,
628,
220,
220,
220,
4091,
4600,
5661,
2939,
1279,
4023,
1378,
9383,
1773,
7535,
13,
2398,
14,
37540,
14,
5639,
35,
14198,
9419,
85,
940,
12,
1930,
1756,
13,
9479,
29,
63,
62,
198,
220,
220,
220,
329,
703,
262,
3359,
460,
307,
5884,
284,
262,
12972,
3526,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
266,
25,
4377,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
383,
9647,
290,
6001,
286,
262,
3359,
11,
8148,
11,
287,
17848,
13,
220,
2312,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
1866,
389,
6153,
618,
4585,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
13989,
63,
290,
815,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
307,
3177,
1100,
12,
8807,
13,
198,
220,
220,
220,
289,
25,
4377,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
46140,
7,
81,
11,
308,
11,
275,
8,
4613,
493,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
257,
1467,
12,
2545,
18253,
10200,
262,
1813,
46140,
3124,
3815,
13,
220,
383,
198,
220,
220,
220,
220,
220,
220,
220,
1467,
12,
2545,
1988,
460,
307,
973,
284,
900,
262,
10369,
3124,
357,
3826,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
5239,
62,
8043,
63,
8,
3112,
3124,
357,
3826,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
3617,
63,
8,
198,
220,
220,
220,
220,
220,
220,
220,
290,
3197,
1981,
17848,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
10651,
62,
1370,
7,
7890,
11,
266,
11,
289,
8,
4613,
4377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
42512,
262,
1813,
1627,
1366,
13,
220,
770,
318,
329,
5387,
779,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
6477,
7,
944,
11,
319,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
6756,
262,
3359,
319,
393,
572,
11,
6906,
319,
262,
1813,
1988,
286,
1635,
261,
47026,
657,
393,
7559,
25101,
15506,
198,
220,
220,
220,
220,
220,
220,
220,
481,
1210,
262,
3359,
572,
11,
290,
352,
393,
7559,
17821,
15506,
481,
1210,
340,
319,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
13989,
7,
944,
11,
11367,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
12852,
286,
262,
3359,
13,
220,
383,
1635,
13989,
9,
11507,
460,
307,
530,
198,
220,
220,
220,
220,
220,
220,
220,
286,
4600,
15490,
3861,
2043,
47671,
4600,
25697,
5258,
33177,
36,
47671,
4600,
15490,
3861,
2043,
62,
52,
3705,
2389,
1961,
14165,
47671,
4600,
25697,
5258,
33177,
36,
62,
52,
3705,
2389,
1961,
14165,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
29199,
1108,
7,
944,
11,
1988,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
22204,
286,
262,
3359,
11,
1022,
657,
290,
3261,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
72,
17,
66,
62,
29851,
7,
944,
11,
37817,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
314,
17,
34,
2209,
286,
262,
3359,
13,
220,
383,
1635,
29851,
9,
1988,
1276,
423,
262,
198,
220,
220,
220,
220,
220,
220,
220,
2793,
362,
10340,
12539,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
19986,
62,
65,
3885,
4873,
7,
944,
11,
275,
3885,
4873,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
275,
3885,
4873,
286,
262,
471,
7227,
7071,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
9688,
929,
62,
12501,
78,
7,
944,
11,
1988,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
923,
12,
929,
42050,
286,
262,
3359,
13,
220,
383,
1635,
8367,
9,
11507,
460,
307,
257,
198,
220,
220,
220,
220,
220,
220,
220,
12219,
393,
286,
4600,
2257,
7227,
8577,
62,
41374,
46,
62,
45,
11651,
47671,
4600,
2257,
7227,
8577,
62,
41374,
46,
62,
5805,
7730,
46,
47671,
4600,
2257,
7227,
8577,
62,
41374,
46,
62,
10778,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
3613,
62,
1462,
62,
34167,
7,
944,
8,
4613,
4377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
12793,
262,
1708,
10007,
284,
7644,
523,
484,
21160,
319,
15765,
290,
1176,
510,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4238,
42050,
11,
12852,
11,
22204,
11,
471,
7227,
275,
3885,
2494,
11,
314,
17,
34,
2209,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
32515,
7,
944,
11,
2124,
11,
331,
11,
269,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
7368,
17465,
284,
262,
1813,
3124,
13,
220,
383,
3124,
815,
307,
257,
1467,
12,
2545,
198,
220,
220,
220,
220,
220,
220,
220,
18253,
290,
460,
307,
2727,
416,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
81,
22296,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
651,
62,
32515,
7,
944,
11,
2124,
11,
331,
8,
4613,
4377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
262,
1467,
12,
2545,
1988,
286,
262,
7368,
17465,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
651,
62,
1370,
7,
944,
11,
2124,
11,
331,
11,
42684,
8,
4613,
4377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
7754,
12,
5715,
2446,
284,
651,
257,
1627,
286,
17848,
656,
262,
1813,
11876,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1675,
1100,
1635,
77,
9,
17848,
1635,
29325,
9,
815,
307,
1635,
17,
9,
77,
10,
16,
9,
9881,
287,
4129,
13,
220,
383,
717,
18022,
198,
220,
220,
220,
220,
220,
220,
220,
318,
257,
31548,
18022,
290,
815,
307,
9514,
11,
290,
8840,
9881,
2380,
262,
198,
220,
220,
220,
220,
220,
220,
220,
17848,
287,
262,
1627,
3599,
379,
20435,
1635,
7,
87,
11,
331,
8,
24620,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
3159,
62,
39455,
7,
944,
11,
42684,
11,
2124,
28,
15,
11,
331,
28,
15,
11,
266,
28,
14202,
11,
289,
28,
14202,
8,
4613,
4377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
360,
931,
262,
10154,
286,
262,
3159,
284,
262,
1813,
11876,
13,
220,
383,
10007,
1635,
87,
9,
290,
1635,
88,
9,
198,
220,
220,
220,
220,
220,
220,
220,
11986,
262,
3599,
20435,
11,
290,
1635,
86,
9,
290,
1635,
71,
9,
262,
2546,
286,
262,
3814,
13,
220,
1002,
1635,
86,
9,
198,
220,
220,
220,
220,
220,
220,
220,
393,
1635,
71,
9,
389,
7559,
14202,
15506,
788,
484,
481,
1011,
319,
511,
5415,
3815,
11,
900,
416,
262,
2546,
198,
220,
220,
220,
220,
220,
220,
220,
286,
262,
3159,
20208,
262,
1813,
1635,
87,
9,
290,
1635,
88,
9,
3815,
13,
220,
1635,
29325,
9,
815,
307,
1588,
1576,
198,
220,
220,
220,
220,
220,
220,
220,
284,
1745,
7559,
17,
9,
86,
9,
71,
15506,
9881,
13,
220,
1002,
340,
338,
4833,
788,
691,
262,
4238,
16021,
3951,
198,
220,
220,
220,
220,
220,
220,
220,
481,
307,
8574,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
3159,
62,
2220,
7,
944,
11,
42684,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8778,
262,
2104,
3159,
422,
262,
1813,
11876,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
1930,
7,
944,
11,
2124,
11,
331,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
2292,
329,
2420,
5072,
1262,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
13564,
44646,
220,
383,
2292,
198,
220,
220,
220,
220,
220,
220,
220,
318,
262,
6727,
12,
9464,
5228,
286,
262,
2420,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
5239,
62,
8043,
7,
944,
11,
277,
70,
11,
275,
70,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
36282,
290,
4469,
3124,
286,
262,
2420,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
10331,
7,
944,
11,
10369,
11,
5046,
28,
15,
11,
10758,
28,
15,
11,
1007,
28,
15,
11,
10743,
28,
15,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
10369,
329,
262,
2420,
13,
220,
3834,
44399,
3848,
284,
4600,
13564,
63,
481,
779,
262,
8308,
198,
220,
220,
220,
220,
220,
220,
220,
17839,
10369,
13,
220,
383,
10007,
389,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
10331,
9,
318,
262,
10369,
1641,
284,
779,
11,
4938,
3815,
389,
657,
11,
352,
11,
362,
11,
513,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
9888,
9,
318,
257,
20796,
1988,
329,
1123,
2095,
17465,
11,
810,
262,
17848,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
389,
7428,
355,
257,
6616,
351,
1735,
4129,
4961,
284,
1635,
9888,
1343,
352,
24620,
220,
383,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
460,
307,
1022,
657,
290,
8093,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
36575,
9,
6973,
262,
1271,
286,
17848,
284,
14904,
1831,
1123,
2095,
17465,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1642,
257,
10758,
1245,
13,
220,
383,
2793,
362,
10340,
286,
1635,
36575,
9,
389,
262,
1271,
286,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17848,
284,
14904,
1831,
287,
262,
16021,
4571,
11,
290,
262,
1306,
362,
10340,
389,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
262,
11723,
4571,
13,
220,
1114,
1672,
11,
257,
1635,
36575,
9,
1988,
286,
642,
481,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14904,
1831,
352,
17465,
287,
1111,
262,
16021,
290,
11723,
11678,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
7645,
9,
460,
307,
2035,
657,
393,
352,
290,
611,
900,
284,
352,
262,
3435,
481,
307,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7428,
351,
257,
13245,
4469,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
48728,
9,
460,
307,
2035,
657,
393,
352,
290,
611,
900,
284,
352,
262,
3359,
481,
466,
257,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2705,
10743,
611,
262,
2420,
6100,
284,
262,
1306,
1627,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
3551,
7,
944,
11,
264,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19430,
2420,
284,
262,
3359,
11,
1262,
262,
1459,
2292,
11,
3124,
290,
10369,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1081,
2420,
318,
3194,
262,
2292,
318,
6338,
1253,
12061,
13,
220,
383,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
6971,
4096,
32751,
3064,
1630,
12416,
884,
355,
649,
1370,
290,
736,
13200,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
3617,
7,
944,
11,
1627,
11,
6070,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
1627,
290,
6070,
3124,
329,
20049,
15268,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
28602,
7,
944,
8,
4613,
4377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5256,
589,
262,
2104,
3359,
284,
262,
3112,
6070,
3124,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
16605,
7,
944,
11,
2124,
11,
331,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
15315,
257,
2060,
17465,
379,
262,
1813,
4067,
1262,
262,
3112,
1627,
3124,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
13621,
62,
3849,
1504,
7,
944,
11,
2124,
11,
331,
11,
266,
11,
289,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
15315,
257,
35991,
379,
262,
1813,
4067,
290,
2546,
1262,
262,
3112,
1627,
198,
220,
220,
220,
220,
220,
220,
220,
3124,
329,
262,
19001,
11,
290,
262,
3112,
6070,
3124,
329,
262,
11087,
13,
198,
220,
220,
220,
220,
220,
220,
220,
383,
4600,
2554,
63,
2446,
14293,
262,
19001,
290,
11087,
11,
981,
262,
584,
5050,
198,
220,
220,
220,
220,
220,
220,
220,
655,
3197,
530,
393,
262,
584,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
1627,
7,
944,
11,
2124,
16,
11,
331,
16,
11,
2124,
17,
11,
331,
17,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
15315,
257,
1627,
1022,
262,
1813,
22715,
1262,
262,
3112,
1627,
3124,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
1627,
62,
3919,
62,
15036,
7,
944,
11,
2124,
16,
11,
331,
16,
11,
2124,
17,
11,
331,
17,
8,
4613,
4377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2312,
5050,
389,
355,
2029,
475,
836,
470,
466,
597,
45013,
319,
262,
5128,
198,
220,
220,
220,
220,
220,
220,
220,
22715,
13,
220,
1119,
389,
5443,
621,
262,
45013,
6300,
290,
460,
307,
198,
220,
220,
220,
220,
220,
220,
220,
973,
618,
345,
760,
326,
262,
22715,
389,
1626,
262,
3359,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
7514,
62,
26518,
7,
944,
11,
1366,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
15315,
257,
8379,
286,
22969,
1262,
262,
3112,
1627,
3124,
13,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1635,
7890,
9,
815,
307,
257,
11876,
286,
9881,
11,
351,
1123,
25175,
5166,
286,
198,
220,
220,
220,
220,
220,
220,
220,
9881,
11188,
284,
20435,
14729,
357,
87,
11,
331,
737,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
7514,
62,
1370,
7,
944,
11,
1366,
8,
4613,
4377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
11014,
284,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
35428,
62,
26518,
63,
475,
14293,
3951,
1022,
262,
22969,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
3638,
62,
11250,
7,
944,
11,
27417,
28,
25101,
11,
3613,
28,
25101,
11,
4173,
80,
28,
14202,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
17056,
495,
262,
3638,
6103,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1002,
1635,
9948,
571,
9,
318,
7559,
17821,
15506,
788,
262,
869,
481,
7616,
257,
3638,
36537,
286,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
4180,
425,
3638,
12694,
13,
220,
770,
4433,
262,
2836,
284,
3638,
2972,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3354,
286,
262,
3159,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1002,
1635,
21928,
9,
318,
7559,
17821,
15506,
788,
262,
3638,
10007,
481,
307,
7448,
284,
399,
13024,
2390,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
21160,
1973,
13259,
14,
6477,
510,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1002,
1635,
343,
80,
9,
318,
7559,
17821,
15506,
788,
262,
3359,
481,
307,
17839,
284,
2834,
262,
14826,
48,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
1877,
618,
257,
3638,
2700,
318,
12326,
13,
220,
1002,
1635,
343,
80,
9,
318,
7559,
25101,
15506,
788,
428,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3895,
318,
10058,
13,
220,
1002,
1635,
343,
80,
9,
318,
7559,
14202,
15506,
357,
1169,
4277,
1988,
8,
788,
645,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1487,
318,
925,
284,
428,
4634,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
318,
62,
83,
30075,
7,
944,
8,
4613,
20512,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
257,
25131,
25,
7559,
17821,
15506,
611,
612,
318,
3058,
257,
3638,
2700,
319,
262,
3159,
11,
198,
220,
220,
220,
220,
220,
220,
220,
7559,
25101,
15506,
4306,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
651,
62,
29332,
7,
944,
8,
4613,
309,
29291,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
257,
513,
12,
83,
29291,
286,
25,
1635,
7,
5275,
11,
2124,
11,
331,
8,
24620,
220,
1002,
612,
318,
3058,
257,
3638,
2700,
198,
220,
220,
220,
220,
220,
220,
220,
319,
262,
3159,
788,
1635,
5275,
9,
318,
352,
11,
4306,
340,
318,
657,
13,
220,
383,
1635,
87,
9,
290,
1635,
88,
9,
3815,
198,
220,
220,
220,
220,
220,
220,
220,
7603,
262,
2292,
286,
262,
1459,
393,
749,
2274,
3638,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
2777,
72,
62,
5404,
7,
944,
11,
2124,
11,
331,
11,
266,
11,
289,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
4324,
326,
49091,
1366,
318,
3194,
284,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
3049,
62,
2777,
72,
7,
944,
11,
24773,
28,
17821,
8,
4613,
49091,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
23432,
262,
3359,
284,
2453,
25228,
17465,
1366,
319,
262,
49091,
1323,
11,
13259,
889,
262,
4067,
198,
220,
220,
220,
220,
220,
220,
220,
286,
262,
717,
18022,
284,
467,
284,
262,
1353,
12,
9464,
5228,
286,
262,
4324,
900,
416,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
2777,
72,
62,
5404,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2446,
5860,
281,
49091,
2134,
543,
460,
307,
973,
284,
3551,
262,
17465,
1366,
13,
628,
220,
220,
220,
220,
220,
220,
220,
350,
14810,
815,
307,
1908,
355,
1467,
12,
2545,
25228,
3815,
287,
262,
642,
12,
21,
12,
20,
5794,
13,
220,
383,
10965,
198,
220,
220,
220,
220,
220,
220,
220,
3753,
481,
2620,
355,
1366,
318,
1908,
11,
290,
1366,
460,
307,
1908,
287,
14977,
19943,
198,
220,
220,
220,
220,
220,
220,
220,
22716,
13,
220,
4874,
262,
10965,
3753,
12229,
262,
886,
286,
262,
4324,
7368,
416,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
2777,
72,
62,
5404,
63,
340,
481,
14441,
1088,
284,
262,
1353,
12,
9464,
5228,
286,
326,
4324,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
905,
62,
14535,
29325,
7,
944,
11,
42684,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5438,
262,
1813,
11876,
319,
262,
3359,
13,
220,
1635,
29325,
9,
815,
307,
281,
7177,
286,
9881,
7268,
198,
220,
220,
220,
220,
220,
220,
220,
262,
1467,
12,
2545,
25228,
3815,
329,
262,
17848,
11,
290,
484,
481,
307,
3194,
284,
262,
1989,
198,
220,
220,
220,
220,
220,
220,
220,
7368,
416,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
2777,
72,
62,
5404,
47671,
3599,
422,
262,
1353,
12,
9464,
5228,
13,
628,
220,
220,
220,
220,
220,
220,
220,
383,
4600,
14535,
29325,
1279,
14535,
29325,
13,
6494,
29,
63,
62,
8265,
460,
307,
973,
284,
5678,
5739,
39334,
198,
220,
220,
220,
220,
220,
220,
220,
290,
3769,
8263,
2684,
20288,
13,
8554,
257,
5739,
11876,
481,
2987,
198,
220,
220,
220,
220,
220,
220,
220,
2854,
286,
22407,
618,
3688,
284,
8263,
3264,
284,
262,
3159,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
48728,
7,
944,
11,
319,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
6756,
28659,
319,
393,
572,
13,
220,
770,
6973,
18309,
1771,
597,
4324,
7652,
481,
198,
220,
220,
220,
220,
220,
220,
220,
10743,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
48728,
62,
5404,
7,
944,
11,
1592,
11,
2124,
10779,
16,
11,
331,
28,
15,
11,
266,
28,
15,
11,
289,
28,
15,
11,
43030,
28,
15,
11,
1458,
28,
15,
11,
6070,
28,
15,
87,
2998,
36,
15,
11,
3124,
28,
15,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
17056,
495,
257,
4324,
3814,
329,
28659,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
5404,
9,
318,
262,
4324,
4686,
284,
17425,
13,
220,
1318,
389,
657,
492,
22,
3210,
9168,
329,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2276,
4007,
779,
13,
220,
26580,
807,
318,
262,
2420,
10743,
4324,
357,
1169,
4378,
263,
737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
87,
25666,
1635,
88,
25666,
1635,
86,
25666,
1635,
71,
9,
11986,
262,
4067,
286,
262,
4324,
287,
262,
3359,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
35138,
9,
26052,
262,
4571,
290,
2866,
286,
10743,
25,
340,
318,
257,
1467,
12,
2545,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
286,
262,
1296,
7559,
15,
65,
37,
13,
1860,
5432,
5432,
5432,
5432,
5432,
5432,
15506,
13,
220,
1635,
1860,
9,
318,
657,
11,
352,
11,
362,
11,
513,
329,
1343,
87,
11,
1343,
88,
11,
532,
87,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
88,
28659,
13,
1635,
37,
9,
5621,
262,
2866,
5794,
11,
351,
657,
3616,
326,
262,
4324,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
14869,
1635,
50,
4064,
17759,
9,
17465,
790,
5739,
11,
290,
352,
3616,
326,
262,
4324,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
14869,
352,
17465,
790,
1635,
50,
9,
13431,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
8071,
9,
318,
257,
1467,
12,
2545,
3912,
9335,
329,
262,
4469,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
20797,
9,
318,
262,
6070,
3124,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
8043,
9,
318,
262,
3131,
3124,
11,
2035,
286,
262,
2420,
393,
3912,
36282,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
48728,
62,
5404,
62,
17143,
7,
944,
11,
1592,
11,
5772,
11,
1988,
8,
4613,
4377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
257,
2060,
11507,
286,
257,
28659,
4324,
3814,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
5404,
9,
318,
262,
4324,
4686,
11,
657,
492,
23,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
17143,
9,
318,
262,
11507,
1271,
284,
17425,
11,
657,
492,
22,
11,
290,
24866,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
262,
10007,
287,
262,
4600,
2617,
62,
48728,
62,
5404,
63,
2446,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1635,
8367,
9,
318,
262,
1988,
284,
900,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
900,
62,
48728,
62,
29325,
7,
944,
11,
264,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
4731,
329,
28659,
287,
4324,
807,
13,
220,
383,
11507,
1635,
82,
9,
1276,
307,
257,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
351,
4129,
3933,
393,
1342,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
474,
22071,
7,
944,
11,
42684,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16531,
257,
48561,
13,
220,
1635,
29325,
9,
815,
3994,
262,
2104,
48561,
1366,
13,
48561,
1366,
815,
198,
220,
220,
220,
220,
220,
220,
220,
407,
2291,
7788,
5064,
1321,
13,
383,
1708,
2207,
375,
654,
389,
4855,
25,
6455,
4470,
198,
220,
220,
220,
220,
220,
220,
220,
360,
4177,
11,
14721,
805,
19617,
11,
807,
10340,
583,
6291,
11,
513,
3124,
6805,
11,
575,
34,
65,
13916,
19,
25,
17,
25,
17,
13,
198,
220,
220,
220,
220,
220,
220,
220,
383,
8159,
286,
262,
48561,
318,
900,
416,
1058,
76,
2788,
25,
63,
5639,
35,
14198,
9419,
13,
2617,
62,
1930,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
474,
22071,
62,
7890,
7,
944,
11,
42684,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16531,
257,
48561,
351,
262,
1366,
6626,
1973,
3294,
39334,
13,
220,
1318,
1276,
307,
198,
220,
220,
220,
220,
220,
220,
220,
257,
2060,
869,
284,
4600,
73,
22071,
62,
9688,
63,
284,
2221,
351,
11,
31577,
262,
2472,
1271,
286,
198,
220,
220,
220,
220,
220,
220,
220,
9881,
287,
262,
48561,
13,
220,
3244,
428,
1271,
286,
9881,
1276,
307,
11172,
284,
262,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
1262,
530,
393,
517,
3848,
284,
262,
4600,
73,
22071,
62,
7890,
63,
3141,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
3745,
62,
16993,
83,
7,
944,
8,
4613,
4377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
383,
717,
869,
284,
428,
2446,
481,
923,
262,
3359,
338,
5387,
26856,
198,
220,
220,
220,
220,
220,
220,
220,
19781,
13,
220,
3834,
44399,
3848,
481,
3745,
262,
26856,
13,
220,
383,
26827,
318,
7323,
1542,
198,
220,
220,
220,
220,
220,
220,
220,
4201,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
628,
220,
220,
220,
825,
13259,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
30027,
262,
3359,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2644,
198
] | 2.431815 | 6,387 |
import torch.nn as nn
import torch
import torch.nn.functional as F
# net=Convnet4(2,64,z_dim=32)
# t=torch.randn((5,2,320,300))
# output=net(t)
# output.shape
| [
198,
11748,
28034,
13,
20471,
355,
299,
77,
198,
11748,
28034,
198,
11748,
28034,
13,
20471,
13,
45124,
355,
376,
198,
198,
2,
2010,
28,
3103,
85,
3262,
19,
7,
17,
11,
2414,
11,
89,
62,
27740,
28,
2624,
8,
198,
2,
256,
28,
13165,
354,
13,
25192,
77,
19510,
20,
11,
17,
11,
19504,
11,
6200,
4008,
198,
2,
5072,
28,
3262,
7,
83,
8,
198,
2,
5072,
13,
43358,
628,
198
] | 2.232877 | 73 |
#! /usr/bin/env python
import sys
def check_python():
"Check if the correct python version is installed"
if sys.version_info < (3, 0):
raise SystemExit("Python2 is not supported. Try rerunning with python3 or download the latest **64-bit** version from https://www.python.org/downloads/")
if sys.maxsize <= 2**32:
raise SystemExit("Only Python **64-bit** version is supported. Please uninstall the current version and install the latest Python3 64-bit version")
if sys.version_info < (3, 8, 0):
raise SystemExit("Python version %d.%d.%d is unsupported. Please upgrade to a version >= 3.8.0" % (sys.version_info[:3]))
try:
import tkinter
tcl_tk_installed = True
except ImportError:
tcl_tk_installed = False
if not tcl_tk_installed:
raise SystemExit("Python isn't installed with Tcl/Tk support enabled")
if __name__ == "__main__":
main()
| [
2,
0,
1220,
14629,
14,
8800,
14,
24330,
21015,
198,
11748,
25064,
198,
198,
4299,
2198,
62,
29412,
33529,
198,
197,
1,
9787,
611,
262,
3376,
21015,
2196,
318,
6589,
1,
198,
197,
361,
25064,
13,
9641,
62,
10951,
1279,
357,
18,
11,
657,
2599,
198,
197,
197,
40225,
4482,
30337,
7203,
37906,
17,
318,
407,
4855,
13,
9993,
302,
20270,
351,
21015,
18,
393,
4321,
262,
3452,
12429,
2414,
12,
2545,
1174,
2196,
422,
3740,
1378,
2503,
13,
29412,
13,
2398,
14,
15002,
82,
14,
4943,
198,
197,
361,
25064,
13,
9806,
7857,
19841,
362,
1174,
2624,
25,
198,
197,
197,
40225,
4482,
30337,
7203,
10049,
11361,
12429,
2414,
12,
2545,
1174,
2196,
318,
4855,
13,
4222,
43194,
262,
1459,
2196,
290,
2721,
262,
3452,
11361,
18,
5598,
12,
2545,
2196,
4943,
198,
197,
361,
25064,
13,
9641,
62,
10951,
1279,
357,
18,
11,
807,
11,
657,
2599,
198,
197,
197,
40225,
4482,
30337,
7203,
37906,
2196,
4064,
67,
13,
4,
67,
13,
4,
67,
318,
24222,
13,
4222,
8515,
284,
257,
2196,
18189,
513,
13,
23,
13,
15,
1,
4064,
357,
17597,
13,
9641,
62,
10951,
58,
25,
18,
60,
4008,
628,
197,
28311,
25,
198,
197,
197,
11748,
256,
74,
3849,
198,
197,
197,
83,
565,
62,
30488,
62,
37050,
796,
6407,
198,
197,
16341,
17267,
12331,
25,
198,
197,
197,
83,
565,
62,
30488,
62,
37050,
796,
10352,
628,
197,
361,
407,
256,
565,
62,
30488,
62,
37050,
25,
198,
197,
197,
40225,
4482,
30337,
7203,
37906,
2125,
470,
6589,
351,
309,
565,
14,
51,
74,
1104,
9343,
4943,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
197,
12417,
3419,
198
] | 3.078571 | 280 |
from typing import Dict
from transformers.pipelines.base import GenericTensor, Pipeline
class NewFeatureExtractionPipeline(Pipeline):
"""
Feature extraction pipeline using no model head. This pipeline extracts the hidden states from the base
transformer, which can be used as features in downstream tasks.
This feature extraction pipeline can currently be loaded from [`pipeline`] using the task identifier:
`"feature-extraction"`.
All models may be used for this pipeline. See a list of all models, including community-contributed models on
[huggingface.co/models](https://huggingface.co/models).
Arguments:
model ([`PreTrainedModel`] or [`TFPreTrainedModel`]):
The model that will be used by the pipeline to make predictions. This needs to be a model inheriting from
[`PreTrainedModel`] for PyTorch and [`TFPreTrainedModel`] for TensorFlow.
tokenizer ([`PreTrainedTokenizer`]):
The tokenizer that will be used by the pipeline to encode data for the model. This object inherits from
[`PreTrainedTokenizer`].
modelcard (`str` or [`ModelCard`], *optional*):
Model card attributed to the model for this pipeline.
framework (`str`, *optional*):
The framework to use, either `"pt"` for PyTorch or `"tf"` for TensorFlow. The specified framework must be
installed.
If no framework is specified, will default to the one currently installed. If no framework is specified and
both frameworks are installed, will default to the framework of the `model`, or to PyTorch if no model is
provided.
task (`str`, defaults to `""`):
A task-identifier for the pipeline.
args_parser ([`~pipelines.ArgumentHandler`], *optional*):
Reference to the object in charge of parsing supplied pipeline parameters.
device (`int`, *optional*, defaults to -1):
Device ordinal for CPU/GPU supports. Setting this to -1 will leverage CPU, a positive will run the model on
the associated CUDA device id.
"""
def __call__(self, *args, **kwargs):
"""
Extract the features of the input(s).
Args:
args (`str` or `List[str]`): One or several texts (or one list of texts) to get the features of.
Return:
A nested list of `float`: The features computed by the model.
"""
return super().__call__(*args, **kwargs)
| [
6738,
19720,
1330,
360,
713,
198,
6738,
6121,
364,
13,
79,
541,
20655,
13,
8692,
1330,
42044,
51,
22854,
11,
37709,
198,
198,
4871,
968,
38816,
11627,
7861,
47,
541,
4470,
7,
47,
541,
4470,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
27018,
22236,
11523,
1262,
645,
2746,
1182,
13,
770,
11523,
32139,
262,
7104,
2585,
422,
262,
2779,
198,
220,
220,
220,
47385,
11,
543,
460,
307,
973,
355,
3033,
287,
33218,
8861,
13,
198,
220,
220,
220,
770,
3895,
22236,
11523,
460,
3058,
307,
9639,
422,
685,
63,
79,
541,
4470,
63,
60,
1262,
262,
4876,
27421,
25,
198,
220,
220,
220,
4600,
1,
30053,
12,
2302,
7861,
1,
44646,
198,
220,
220,
220,
1439,
4981,
743,
307,
973,
329,
428,
11523,
13,
4091,
257,
1351,
286,
477,
4981,
11,
1390,
2055,
12,
3642,
6169,
4981,
319,
198,
220,
220,
220,
685,
71,
1018,
2667,
2550,
13,
1073,
14,
27530,
16151,
5450,
1378,
71,
1018,
2667,
2550,
13,
1073,
14,
27530,
737,
198,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
29565,
63,
6719,
2898,
1328,
17633,
63,
60,
393,
685,
63,
51,
5837,
260,
2898,
1328,
17633,
63,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2746,
326,
481,
307,
973,
416,
262,
11523,
284,
787,
16277,
13,
770,
2476,
284,
307,
257,
2746,
10639,
1780,
422,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
63,
6719,
2898,
1328,
17633,
63,
60,
329,
9485,
15884,
354,
290,
685,
63,
51,
5837,
260,
2898,
1328,
17633,
63,
60,
329,
309,
22854,
37535,
13,
198,
220,
220,
220,
220,
220,
220,
220,
11241,
7509,
29565,
63,
6719,
2898,
1328,
30642,
7509,
63,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
11241,
7509,
326,
481,
307,
973,
416,
262,
11523,
284,
37773,
1366,
329,
262,
2746,
13,
770,
2134,
10639,
896,
422,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
63,
6719,
2898,
1328,
30642,
7509,
63,
4083,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
9517,
357,
63,
2536,
63,
393,
685,
63,
17633,
16962,
63,
4357,
1635,
25968,
9,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9104,
2657,
14183,
284,
262,
2746,
329,
428,
11523,
13,
198,
220,
220,
220,
220,
220,
220,
220,
9355,
357,
63,
2536,
47671,
1635,
25968,
9,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
9355,
284,
779,
11,
2035,
4600,
1,
457,
1,
63,
329,
9485,
15884,
354,
393,
4600,
1,
27110,
1,
63,
329,
309,
22854,
37535,
13,
383,
7368,
9355,
1276,
307,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6589,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1002,
645,
9355,
318,
7368,
11,
481,
4277,
284,
262,
530,
3058,
6589,
13,
1002,
645,
9355,
318,
7368,
290,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1111,
29251,
389,
6589,
11,
481,
4277,
284,
262,
9355,
286,
262,
4600,
19849,
47671,
393,
284,
9485,
15884,
354,
611,
645,
2746,
318,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2810,
13,
198,
220,
220,
220,
220,
220,
220,
220,
4876,
357,
63,
2536,
47671,
26235,
284,
4600,
15931,
63,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
4876,
12,
738,
7483,
329,
262,
11523,
13,
198,
220,
220,
220,
220,
220,
220,
220,
26498,
62,
48610,
29565,
63,
93,
79,
541,
20655,
13,
28100,
1713,
25060,
63,
4357,
1635,
25968,
9,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20984,
284,
262,
2134,
287,
3877,
286,
32096,
14275,
11523,
10007,
13,
198,
220,
220,
220,
220,
220,
220,
220,
3335,
357,
63,
600,
47671,
1635,
25968,
25666,
26235,
284,
532,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16232,
2760,
1292,
329,
9135,
14,
33346,
6971,
13,
25700,
428,
284,
532,
16,
481,
16094,
9135,
11,
257,
3967,
481,
1057,
262,
2746,
319,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
3917,
29369,
5631,
3335,
4686,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
13345,
834,
7,
944,
11,
1635,
22046,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
29677,
262,
3033,
286,
262,
5128,
7,
82,
737,
198,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
357,
63,
2536,
63,
393,
4600,
8053,
58,
2536,
60,
63,
2599,
1881,
393,
1811,
13399,
357,
273,
530,
1351,
286,
13399,
8,
284,
651,
262,
3033,
286,
13,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
28376,
1351,
286,
4600,
22468,
63,
25,
383,
3033,
29231,
416,
262,
2746,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2208,
22446,
834,
13345,
834,
46491,
22046,
11,
12429,
46265,
22046,
8,
198
] | 2.806271 | 893 |
import pytest
from decimal import Decimal
@pytest.fixture
@pytest.fixture
@pytest.fixture
@pytest.fixture
@pytest.fixture
@pytest.fixture
| [
11748,
12972,
9288,
198,
6738,
32465,
1330,
4280,
4402,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
198
] | 2.586207 | 58 |
import os,sys
import numpy as np
from generate_synthetic_data import *
sys.path.insert(0, '../../fair_classification/') # the code for fair classification is in this directory
import utils as ut
import funcs_disp_mist as fdm
import plot_syn_boundaries as psb
def test_synthetic_data():
""" Generate the synthetic data """
data_type = 1
X, y, x_control = generate_synthetic_data(data_type=data_type, plot_data=True) # set plot_data to False to skip the data plot
sensitive_attrs = x_control.keys()
""" Split the data into train and test """
train_fold_size = 0.5
x_train, y_train, x_control_train, x_test, y_test, x_control_test = ut.split_into_train_test(X, y, x_control, train_fold_size)
cons_params = None # constraint parameters, will use them later
loss_function = "logreg" # perform the experiments with logistic regression
EPS = 1e-4
""" Classify the data while optimizing for accuracy """
print
print "== Unconstrained (original) classifier =="
w_uncons, acc_uncons, s_attr_to_fp_fn_test_uncons = train_test_classifier()
print "\n-----------------------------------------------------------------------------------\n"
""" Now classify such that we optimize for accuracy while achieving perfect fairness """
print
print "== Classifier with fairness constraint =="
print "\n\n=== Constraints on FPR ===" # setting parameter for constraints
cons_type = 1 # FPR constraint -- just change the cons_type, the rest of parameters should stay the same
tau = 5.0
mu = 1.2
sensitive_attrs_to_cov_thresh = {"s1": {0:{0:0, 1:0}, 1:{0:0, 1:0}, 2:{0:0, 1:0}}} # zero covariance threshold, means try to get the fairest solution
cons_params = {"cons_type": cons_type,
"tau": tau,
"mu": mu,
"sensitive_attrs_to_cov_thresh": sensitive_attrs_to_cov_thresh}
w_cons, acc_cons, s_attr_to_fp_fn_test_cons = train_test_classifier()
psb.plot_boundaries(X, y, x_control, [w_uncons, w_cons], [acc_uncons, acc_cons], [s_attr_to_fp_fn_test_uncons["s1"], s_attr_to_fp_fn_test_cons["s1"]], "img/syn_cons_dtype_%d_cons_type_%d.png"%(data_type, cons_type) )
print "\n-----------------------------------------------------------------------------------\n"
print "\n\n=== Constraints on FNR ==="
cons_type = 2
cons_params["cons_type"] = cons_type # FNR constraint -- just change the cons_type, the rest of parameters should stay the same
w_cons, acc_cons, s_attr_to_fp_fn_test_cons = train_test_classifier()
psb.plot_boundaries(X, y, x_control, [w_uncons, w_cons], [acc_uncons, acc_cons], [s_attr_to_fp_fn_test_uncons["s1"], s_attr_to_fp_fn_test_cons["s1"]], "img/syn_cons_dtype_%d_cons_type_%d.png"%(data_type, cons_type) )
print "\n-----------------------------------------------------------------------------------\n"
print "\n\n=== Constraints on both FPR and FNR ==="
cons_type = 4
cons_params["cons_type"] = cons_type # both FPR and FNR constraints
w_cons, acc_cons, s_attr_to_fp_fn_test_cons = train_test_classifier()
psb.plot_boundaries(X, y, x_control, [w_uncons, w_cons], [acc_uncons, acc_cons], [s_attr_to_fp_fn_test_uncons["s1"], s_attr_to_fp_fn_test_cons["s1"]], "img/syn_cons_dtype_%d_cons_type_%d.png"%(data_type, cons_type) )
print "\n-----------------------------------------------------------------------------------\n"
return
if __name__ == '__main__':
main() | [
11748,
28686,
11,
17597,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
7716,
62,
1837,
429,
6587,
62,
7890,
1330,
1635,
198,
17597,
13,
6978,
13,
28463,
7,
15,
11,
705,
40720,
40720,
22043,
62,
4871,
2649,
14,
11537,
1303,
262,
2438,
329,
3148,
17923,
318,
287,
428,
8619,
198,
11748,
3384,
4487,
355,
3384,
198,
11748,
1257,
6359,
62,
6381,
79,
62,
37980,
355,
277,
36020,
198,
11748,
7110,
62,
28869,
62,
7784,
3166,
355,
26692,
65,
628,
198,
198,
4299,
1332,
62,
1837,
429,
6587,
62,
7890,
33529,
198,
197,
198,
197,
37811,
2980,
378,
262,
18512,
1366,
37227,
198,
197,
7890,
62,
4906,
796,
352,
198,
197,
55,
11,
331,
11,
2124,
62,
13716,
796,
7716,
62,
1837,
429,
6587,
62,
7890,
7,
7890,
62,
4906,
28,
7890,
62,
4906,
11,
7110,
62,
7890,
28,
17821,
8,
1303,
900,
7110,
62,
7890,
284,
10352,
284,
14267,
262,
1366,
7110,
198,
197,
30176,
62,
1078,
3808,
796,
2124,
62,
13716,
13,
13083,
3419,
628,
197,
37811,
27758,
262,
1366,
656,
4512,
290,
1332,
37227,
198,
197,
27432,
62,
11379,
62,
7857,
796,
657,
13,
20,
198,
197,
87,
62,
27432,
11,
331,
62,
27432,
11,
2124,
62,
13716,
62,
27432,
11,
2124,
62,
9288,
11,
331,
62,
9288,
11,
2124,
62,
13716,
62,
9288,
796,
3384,
13,
35312,
62,
20424,
62,
27432,
62,
9288,
7,
55,
11,
331,
11,
2124,
62,
13716,
11,
4512,
62,
11379,
62,
7857,
8,
628,
197,
5936,
62,
37266,
796,
6045,
1303,
32315,
10007,
11,
481,
779,
606,
1568,
198,
197,
22462,
62,
8818,
796,
366,
6404,
2301,
1,
1303,
1620,
262,
10256,
351,
2604,
2569,
20683,
198,
197,
36,
3705,
796,
352,
68,
12,
19,
198,
197,
197,
628,
197,
37811,
5016,
1958,
262,
1366,
981,
45780,
329,
9922,
37227,
198,
197,
4798,
198,
197,
4798,
366,
855,
791,
1102,
2536,
1328,
357,
14986,
8,
1398,
7483,
796,
2625,
198,
197,
86,
62,
403,
5936,
11,
697,
62,
403,
5936,
11,
264,
62,
35226,
62,
1462,
62,
46428,
62,
22184,
62,
9288,
62,
403,
5936,
796,
4512,
62,
9288,
62,
4871,
7483,
3419,
198,
197,
4798,
37082,
77,
10097,
1783,
6329,
59,
77,
1,
628,
197,
37811,
2735,
36509,
884,
326,
356,
27183,
329,
9922,
981,
16937,
2818,
22692,
37227,
198,
197,
198,
197,
4798,
198,
197,
4798,
366,
855,
5016,
7483,
351,
22692,
32315,
796,
2625,
628,
198,
197,
4798,
37082,
77,
59,
77,
18604,
1482,
2536,
6003,
319,
376,
4805,
24844,
1,
197,
2,
4634,
11507,
329,
17778,
198,
197,
5936,
62,
4906,
796,
352,
1303,
376,
4805,
32315,
1377,
655,
1487,
262,
762,
62,
4906,
11,
262,
1334,
286,
10007,
815,
2652,
262,
976,
198,
197,
83,
559,
796,
642,
13,
15,
198,
197,
30300,
796,
352,
13,
17,
198,
197,
30176,
62,
1078,
3808,
62,
1462,
62,
66,
709,
62,
400,
3447,
796,
19779,
82,
16,
1298,
1391,
15,
29164,
15,
25,
15,
11,
352,
25,
15,
5512,
352,
29164,
15,
25,
15,
11,
352,
25,
15,
5512,
362,
29164,
15,
25,
15,
11,
352,
25,
15,
42535,
1303,
6632,
44829,
590,
11387,
11,
1724,
1949,
284,
651,
262,
37063,
301,
4610,
198,
197,
5936,
62,
37266,
796,
19779,
5936,
62,
4906,
1298,
762,
62,
4906,
11,
220,
198,
197,
197,
197,
197,
197,
1,
83,
559,
1298,
256,
559,
11,
220,
198,
197,
197,
197,
197,
197,
1,
30300,
1298,
38779,
11,
220,
198,
197,
197,
197,
197,
197,
1,
30176,
62,
1078,
3808,
62,
1462,
62,
66,
709,
62,
400,
3447,
1298,
8564,
62,
1078,
3808,
62,
1462,
62,
66,
709,
62,
400,
3447,
92,
628,
197,
86,
62,
5936,
11,
697,
62,
5936,
11,
264,
62,
35226,
62,
1462,
62,
46428,
62,
22184,
62,
9288,
62,
5936,
220,
796,
4512,
62,
9288,
62,
4871,
7483,
3419,
198,
197,
862,
65,
13,
29487,
62,
7784,
3166,
7,
55,
11,
331,
11,
2124,
62,
13716,
11,
685,
86,
62,
403,
5936,
11,
266,
62,
5936,
4357,
685,
4134,
62,
403,
5936,
11,
697,
62,
5936,
4357,
685,
82,
62,
35226,
62,
1462,
62,
46428,
62,
22184,
62,
9288,
62,
403,
5936,
14692,
82,
16,
33116,
264,
62,
35226,
62,
1462,
62,
46428,
62,
22184,
62,
9288,
62,
5936,
14692,
82,
16,
8973,
4357,
366,
9600,
14,
28869,
62,
5936,
62,
67,
4906,
62,
4,
67,
62,
5936,
62,
4906,
62,
4,
67,
13,
11134,
1,
4,
7,
7890,
62,
4906,
11,
762,
62,
4906,
8,
1267,
198,
197,
4798,
37082,
77,
10097,
1783,
6329,
59,
77,
1,
628,
197,
4798,
37082,
77,
59,
77,
18604,
1482,
2536,
6003,
319,
376,
24723,
24844,
1,
198,
197,
5936,
62,
4906,
796,
362,
198,
197,
5936,
62,
37266,
14692,
5936,
62,
4906,
8973,
796,
762,
62,
4906,
1303,
376,
24723,
32315,
1377,
655,
1487,
262,
762,
62,
4906,
11,
262,
1334,
286,
10007,
815,
2652,
262,
976,
198,
197,
86,
62,
5936,
11,
697,
62,
5936,
11,
264,
62,
35226,
62,
1462,
62,
46428,
62,
22184,
62,
9288,
62,
5936,
220,
796,
4512,
62,
9288,
62,
4871,
7483,
3419,
198,
197,
862,
65,
13,
29487,
62,
7784,
3166,
7,
55,
11,
331,
11,
2124,
62,
13716,
11,
685,
86,
62,
403,
5936,
11,
266,
62,
5936,
4357,
685,
4134,
62,
403,
5936,
11,
697,
62,
5936,
4357,
685,
82,
62,
35226,
62,
1462,
62,
46428,
62,
22184,
62,
9288,
62,
403,
5936,
14692,
82,
16,
33116,
264,
62,
35226,
62,
1462,
62,
46428,
62,
22184,
62,
9288,
62,
5936,
14692,
82,
16,
8973,
4357,
366,
9600,
14,
28869,
62,
5936,
62,
67,
4906,
62,
4,
67,
62,
5936,
62,
4906,
62,
4,
67,
13,
11134,
1,
4,
7,
7890,
62,
4906,
11,
762,
62,
4906,
8,
1267,
198,
197,
4798,
37082,
77,
10097,
1783,
6329,
59,
77,
1,
628,
628,
197,
4798,
37082,
77,
59,
77,
18604,
1482,
2536,
6003,
319,
1111,
376,
4805,
290,
376,
24723,
24844,
1,
198,
197,
5936,
62,
4906,
796,
604,
198,
197,
5936,
62,
37266,
14692,
5936,
62,
4906,
8973,
796,
762,
62,
4906,
1303,
1111,
376,
4805,
290,
376,
24723,
17778,
198,
197,
86,
62,
5936,
11,
697,
62,
5936,
11,
264,
62,
35226,
62,
1462,
62,
46428,
62,
22184,
62,
9288,
62,
5936,
220,
796,
4512,
62,
9288,
62,
4871,
7483,
3419,
198,
197,
862,
65,
13,
29487,
62,
7784,
3166,
7,
55,
11,
331,
11,
2124,
62,
13716,
11,
685,
86,
62,
403,
5936,
11,
266,
62,
5936,
4357,
685,
4134,
62,
403,
5936,
11,
697,
62,
5936,
4357,
685,
82,
62,
35226,
62,
1462,
62,
46428,
62,
22184,
62,
9288,
62,
403,
5936,
14692,
82,
16,
33116,
264,
62,
35226,
62,
1462,
62,
46428,
62,
22184,
62,
9288,
62,
5936,
14692,
82,
16,
8973,
4357,
366,
9600,
14,
28869,
62,
5936,
62,
67,
4906,
62,
4,
67,
62,
5936,
62,
4906,
62,
4,
67,
13,
11134,
1,
4,
7,
7890,
62,
4906,
11,
762,
62,
4906,
8,
1267,
198,
197,
4798,
37082,
77,
10097,
1783,
6329,
59,
77,
1,
628,
198,
197,
7783,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
197,
12417,
3419
] | 2.826271 | 1,180 |
from flask import Flask, render_template, redirect
from flask_pymongo import PyMongo
import scrape_mars
app = Flask(__name__)
#use flask_pymongo to set up mongo connection
app.config ["MONGO_URI"] = "mongodb://localhost:27017/mars_app"
mongo = PyMongo(app)
@app.route("/")
@app.route("/scrape")
if __name__ =="__main__":
app.run(debug = True)
| [
6738,
42903,
1330,
46947,
11,
8543,
62,
28243,
11,
18941,
198,
6738,
42903,
62,
79,
4948,
25162,
1330,
9485,
44,
25162,
198,
11748,
42778,
62,
76,
945,
198,
198,
1324,
796,
46947,
7,
834,
3672,
834,
8,
198,
198,
2,
1904,
42903,
62,
79,
4948,
25162,
284,
900,
510,
285,
25162,
4637,
198,
1324,
13,
11250,
14631,
27857,
11230,
62,
47269,
8973,
796,
366,
31059,
375,
65,
1378,
36750,
25,
1983,
29326,
14,
76,
945,
62,
1324,
1,
198,
76,
25162,
796,
9485,
44,
25162,
7,
1324,
8,
198,
198,
31,
1324,
13,
38629,
7203,
14,
4943,
198,
198,
31,
1324,
13,
38629,
7203,
14,
1416,
13484,
4943,
198,
198,
361,
11593,
3672,
834,
796,
2625,
834,
12417,
834,
1298,
198,
220,
220,
220,
598,
13,
5143,
7,
24442,
796,
6407,
8,
198
] | 2.646617 | 133 |
# For local development
#from utils.mock_di_api import mock_api
#api = mock_api(__file__,False)
import pandas as pd
import copy
import zipfile
import re
import io
from datetime import datetime
CREATE_SQL = False
api.set_port_callback('input',on_input) # datatype: message
| [
2,
1114,
1957,
2478,
198,
2,
6738,
3384,
4487,
13,
76,
735,
62,
10989,
62,
15042,
1330,
15290,
62,
15042,
198,
2,
15042,
796,
15290,
62,
15042,
7,
834,
7753,
834,
11,
25101,
8,
628,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
4866,
198,
11748,
19974,
7753,
198,
11748,
302,
198,
11748,
33245,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
198,
43387,
6158,
62,
17861,
796,
10352,
628,
198,
15042,
13,
2617,
62,
634,
62,
47423,
10786,
15414,
3256,
261,
62,
15414,
8,
220,
220,
1303,
4818,
265,
2981,
25,
3275,
628
] | 2.947368 | 95 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from json import JSONDecodeError, loads
from os import makedirs
from os.path import exists, isdir
from urllib.error import HTTPError
from cache import Cache
from config import Config, ConfigNotValidError, load_config
from logger import InfoLogger
from mapper import Mapper
from sparql import SPARQL
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
6738,
33918,
1330,
19449,
10707,
1098,
12331,
11,
15989,
198,
6738,
28686,
1330,
285,
4335,
17062,
198,
6738,
28686,
13,
6978,
1330,
7160,
11,
318,
15908,
198,
6738,
2956,
297,
571,
13,
18224,
1330,
14626,
12331,
198,
198,
6738,
12940,
1330,
34088,
198,
6738,
4566,
1330,
17056,
11,
17056,
3673,
47139,
12331,
11,
3440,
62,
11250,
198,
6738,
49706,
1330,
14151,
11187,
1362,
198,
6738,
285,
11463,
1330,
337,
11463,
198,
6738,
37331,
13976,
1330,
6226,
1503,
9711,
628
] | 3.378641 | 103 |
#
import sys
import com.example.utils.commons as commons
from pyspark.sql import SparkSession
if __name__ == "__main__":
if len(sys.argv) != 1:
print("Usages: spark-file <in-path> <out-path>")
sys.exit(-1)
#
spark = SparkSession \
.builder \
.master("spark://spark-master:7077")\
.appName("PythonRDD-Filter") \
.getOrCreate()
data = [
("James", "Sales", "NY", 90000, 34, 10000),
("Kenith", "Marketing", "CA", 66000, 36, 40000),
("Michael", "Sales", "NY", 86000, 56, 20000),
("Robert", "Sales", "CA", 81000, 30, 23000),
("Maria", "Finance", "CA", 90000, 24, 23000),
("Raman", "Finance", "CA", 99000, 40, 24000),
("Scott", "Finance", "NY", 83000, 36, 19000),
("Jen", "Finance", "NY", 79000, 53, 15000),
("Jeff", "Marketing", "CA", 80000, 25, 18000),
("Shelly", "Marketing", "NY", 60000, 15, 18000),
("Kumar", "Marketing", "NY", 91000, 50, 21000)
]
rdd_1 = spark.sparkContext.parallelize(data)
print("RDD-1 Partition Count : %i " % (rdd_1.getNumPartitions()))
print("RDD-1 Record Count : %i " % (rdd_1.count()))
commons.print_separator()
rdd_2 = rdd_1.filter(lambda x: x[4] > 30)
print(rdd_2.collect())
print("RDD-2 Partition Count : %i " % (rdd_2.getNumPartitions()))
print("RDD-2 Record Count : %i " % (rdd_2.count()))
commons.print_separator()
rdd_3 = rdd_1.filter(m_filter)
print(rdd_3.collect())
print("RDD-3 Partition Count : %i " % (rdd_3.getNumPartitions()))
print("RDD-3 Record Count : %i " % (rdd_3.count()))
commons.print_separator()
print("Details available at http://localhost:4040")
#option = input("Do You Want to Kill Spark Job Process Y/N : ")
#
spark.stop()
| [
2,
198,
11748,
25064,
198,
11748,
401,
13,
20688,
13,
26791,
13,
9503,
684,
355,
36523,
198,
6738,
279,
893,
20928,
13,
25410,
1330,
17732,
36044,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
611,
18896,
7,
17597,
13,
853,
85,
8,
14512,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
5842,
1095,
25,
9009,
12,
7753,
1279,
259,
12,
6978,
29,
1279,
448,
12,
6978,
29,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
32590,
16,
8,
628,
198,
2,
198,
2777,
668,
796,
17732,
36044,
3467,
198,
220,
220,
220,
764,
38272,
3467,
198,
220,
220,
220,
764,
9866,
7203,
2777,
668,
1378,
2777,
668,
12,
9866,
25,
2154,
3324,
4943,
59,
198,
220,
220,
220,
764,
1324,
5376,
7203,
37906,
49,
16458,
12,
22417,
4943,
3467,
198,
220,
220,
220,
764,
1136,
5574,
16447,
3419,
198,
198,
7890,
796,
685,
198,
220,
220,
220,
5855,
14731,
1600,
366,
44490,
1600,
366,
12805,
1600,
860,
2388,
11,
4974,
11,
33028,
828,
198,
220,
220,
220,
5855,
27827,
342,
1600,
366,
9704,
13629,
1600,
366,
8141,
1600,
7930,
830,
11,
4570,
11,
604,
2388,
828,
198,
220,
220,
220,
5855,
13256,
1600,
366,
44490,
1600,
366,
12805,
1600,
9849,
830,
11,
7265,
11,
939,
405,
828,
198,
220,
220,
220,
5855,
19156,
1600,
366,
44490,
1600,
366,
8141,
1600,
9773,
830,
11,
1542,
11,
2242,
830,
828,
198,
220,
220,
220,
5855,
46827,
1600,
366,
37,
14149,
1600,
366,
8141,
1600,
860,
2388,
11,
1987,
11,
2242,
830,
828,
198,
220,
220,
220,
5855,
49,
10546,
1600,
366,
37,
14149,
1600,
366,
8141,
1600,
7388,
830,
11,
2319,
11,
1987,
830,
828,
198,
220,
220,
220,
5855,
19040,
1600,
366,
37,
14149,
1600,
366,
12805,
1600,
9698,
830,
11,
4570,
11,
678,
830,
828,
198,
220,
220,
220,
5855,
44875,
1600,
366,
37,
14149,
1600,
366,
12805,
1600,
9225,
830,
11,
7192,
11,
1315,
830,
828,
198,
220,
220,
220,
5855,
19139,
1600,
366,
9704,
13629,
1600,
366,
8141,
1600,
807,
2388,
11,
1679,
11,
1248,
830,
828,
198,
220,
220,
220,
5855,
3347,
12810,
1600,
366,
9704,
13629,
1600,
366,
12805,
1600,
718,
2388,
11,
1315,
11,
1248,
830,
828,
198,
220,
220,
220,
5855,
42,
44844,
1600,
366,
9704,
13629,
1600,
366,
12805,
1600,
10495,
830,
11,
2026,
11,
2310,
830,
8,
198,
60,
198,
198,
81,
1860,
62,
16,
796,
9009,
13,
2777,
668,
21947,
13,
1845,
29363,
1096,
7,
7890,
8,
198,
4798,
7203,
49,
16458,
12,
16,
2142,
653,
2764,
1058,
4064,
72,
366,
4064,
357,
81,
1860,
62,
16,
13,
1136,
33111,
7841,
1756,
3419,
4008,
198,
4798,
7203,
49,
16458,
12,
16,
13266,
2764,
1058,
4064,
72,
366,
4064,
357,
81,
1860,
62,
16,
13,
9127,
3419,
4008,
198,
198,
9503,
684,
13,
4798,
62,
25512,
1352,
3419,
198,
81,
1860,
62,
17,
796,
374,
1860,
62,
16,
13,
24455,
7,
50033,
2124,
25,
2124,
58,
19,
60,
1875,
1542,
8,
198,
4798,
7,
81,
1860,
62,
17,
13,
33327,
28955,
198,
4798,
7203,
49,
16458,
12,
17,
2142,
653,
2764,
1058,
4064,
72,
366,
4064,
357,
81,
1860,
62,
17,
13,
1136,
33111,
7841,
1756,
3419,
4008,
198,
4798,
7203,
49,
16458,
12,
17,
13266,
2764,
1058,
4064,
72,
366,
4064,
357,
81,
1860,
62,
17,
13,
9127,
3419,
4008,
198,
198,
9503,
684,
13,
4798,
62,
25512,
1352,
3419,
198,
198,
81,
1860,
62,
18,
796,
374,
1860,
62,
16,
13,
24455,
7,
76,
62,
24455,
8,
198,
4798,
7,
81,
1860,
62,
18,
13,
33327,
28955,
198,
4798,
7203,
49,
16458,
12,
18,
2142,
653,
2764,
1058,
4064,
72,
366,
4064,
357,
81,
1860,
62,
18,
13,
1136,
33111,
7841,
1756,
3419,
4008,
198,
4798,
7203,
49,
16458,
12,
18,
13266,
2764,
1058,
4064,
72,
366,
4064,
357,
81,
1860,
62,
18,
13,
9127,
3419,
4008,
198,
198,
9503,
684,
13,
4798,
62,
25512,
1352,
3419,
198,
198,
4798,
7203,
24259,
1695,
379,
2638,
1378,
36750,
25,
1821,
1821,
4943,
198,
2,
18076,
796,
5128,
7203,
5211,
921,
16168,
284,
12265,
17732,
15768,
10854,
575,
14,
45,
1058,
366,
8,
198,
2,
198,
2777,
668,
13,
11338,
3419,
628
] | 2.356941 | 706 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.