Commit dc062b6f by Sanjay Krishnan

hw1 added

parent 9d154ccc
# Homework 1. Introduction to Python and File I/O
This homework assignment is meant to be an introduction to Python programming and introduces some basic concepts of encoding and decoding.
Due Date: *Friday April 15, 2020 11:59 pm*
## Initial Setup
These initial setup instructions assume you've done ``hw0``. Before you start an assingment you should sync your cloned repository with the online one:
```
$ cd cmsc13600-materials
$ git pull
```
Copy the folder ``hw1`` to your newly cloned submission repository. Enter that repository from the command line and enter the copied ``hw1`` folder. In this homework assignment, you will only modify ``encoding.py``. Once you are done, you must add 'encoding.py' to git:
```
$ git add encoding.py
```
After adding your files, to submit your code you must run:
```
$ git commit -m"My submission"
$ git push
```
We will NOT grade any code that is not added, committed, and pushed to your submission repository. You can confirm your submission by visiting the web interface[https://mit.cs.uchicago.edu/cmsc13600-spr-20/skr]
## Delta Encoding
Delta encoding is a way of storing or transmitting data in the form of differences (deltas) between sequential data rather than complete files.
In this first assignment, you will implement a delta encoding module in python.
The module will:
* Load a file of integers
* Delta encode them
* Write back a file in binary form
The instructions in this assignment are purposefully incomplete for you to read Python's API and to understand how the different functions work. All of the necessary parts that you need to write are marked with *TODO*.
## TODO 1. Loading the data file
In `encoding.py`, your first task is to write `load_orig_file`. This function reads from a specified filename and returns a list of integers in the file. You may assume the file is formatted like ``data.txt`` provided with the code, where each line contains a single integer number. The input of this function is a filename and the output is a list of numbers. If the file does not exist you must raise an exception.
## TODO 2. Compute the basic encoding
In `encoding.py`, your next task is to write `delta_encoding`. This function takes a list of numbers and computes the delta encoding. The delta encoding encodes the list in terms of successive differences from the previous element. The first element is kept as is in the encoding.
For example:
```
> data = [1,3,4,3]
> enc = delta_encoding(data)
1,2,1,-1
```
Or,
```
> data = [1,0,6,1]
> enc = delta_encoding(data)
1,-1,6,-5
```
Your job is to write a function that computes this encoding. Pay close attention to how python passes around references and where you make copies of lists v.s. modify a list in place.
## TODO 3. Integer Shifting
When we write this data to a file, we will want to represent each encoded value as an unsigned short integer (1 single byte of data). To do so, we have to "shift" all of the values upwards so there are no negatives. You will write a function `shift` that adds a pre-specified offset to each value.
## TODO 4. Write Encoding
Now, we are ready to write the encoded data to disk. In the function `write_encoding`, you will do the following steps:
* Open the specified filename in the function arguments for writing
* Convert the encoded list of numbers into a bytearray
* Write the bytearray to the file
* Close the file
Reading from such a file is a little tricky, so we've provided that function for you.
## TODO 5. Delta Decoding
Finally, you will write a function that takes a delta encoded list and recovers the original data. This should do the opposite of what you did before. Don't forget to unshift the data when you are testing!
For example:
```
> enc = [1,2,1,-1]
> data = delta_decoding(enc)
1,3,4,3
```
Or,
```
> data = [1,-1,6,-5]
> data = delta_decoding(enc)
1,0,6,1
```
import random
from encoding import *
def test_load():
data = load_orig_file('data.txt')
try:
assert(sum(data) == 1778744)
except AssertionError:
print('TODO 1. Failure check your load_orig_file function')
def test_encoding():
data = load_orig_file('data.txt')
encoded = delta_encoding(data)
try:
assert(sum(encoded) == data[-1])
assert(sum(encoded) == 26)
assert(len(data) == len(encoded))
except AssertionError:
print('TODO 2. Failure check your delta_encoding function')
def test_shift():
data = load_orig_file('data.txt')
encoded = delta_encoding(data)
N = len(data)
try:
assert(sum(shift(data, 10)) == N*10 + sum(data))
assert(all([d >=0 for d in shift(encoded,4)]))
except AssertionError:
print('TODO 3. Failure check your shift function')
def test_decoding():
data = load_orig_file('data.txt')
encoded = delta_encoding(data)
sencoded = shift(encoded ,4)
data_p = delta_decoding(unshift(sencoded,4))
try:
assert(data == data_p)
except AssertionError:
print('TODO 5. Cannot recover data with delta_decoding')
def generate_file(size, seed):
FILE_NAME = 'data.gen.txt'
f = open(FILE_NAME,'w')
initial = seed
for i in range(size):
f.write(str(initial) + '\n')
initial += random.randint(-4, 4)
def generate_random_tests():
SIZES = (1,1000,16,99)
SEEDS = (240,-3, 9, 1)
cnt = 0
for trials in range(10):
generate_file(random.choice(SIZES), random.choice(SEEDS))
data = load_orig_file('data.gen.txt')
encoded = delta_encoding(data)
sencoded = shift(encoded ,4)
write_encoding(sencoded, 'data_out.txt')
loaded = unshift(read_encoding('data_out.txt'),4)
decoded = delta_decoding(loaded)
cnt += (decoded == data)
try:
assert(cnt == 10)
except AssertionError:
print('Failed Random Tests', str(10-cnt), 'out of 10')
test_load()
test_encoding()
test_shift()
test_decoding()
generate_random_tests()
\ No newline at end of file
107
105
106
103
105
108
109
112
110
110
109
111
109
106
110
112
115
114
116
118
117
116
113
112
115
111
114
118
122
124
127
125
123
124
126
128
130
134
131
133
129
129
129
130
127
130
130
128
131
131
129
126
125
124
121
117
118
120
117
117
118
116
118
120
124
123
122
125
124
123
123
126
126
124
120
117
117
118
116
118
115
115
111
115
114
115
115
115
114
118
115
116
116
116
117
114
111
113
117
116
119
115
115
114
111
113
115
111
110
114
113
115
119
122
122
121
125
126
130
126
128
131
131
132
134
133
135
131
130
132
134
134
138
134
131
131
133
136
134
133
129
133
131
130
126
127
125
125
127
130
128
130
133
136
139
141
142
138
142
142
143
145
149
153
152
149
145
148
144
147
147
148
147
150
152
148
152
152
152
150
152
153
155
159
158
162
164
160
162
166
167
165
165
168
172
171
170
170
173
175
175
173
172
173
173
176
177
175
172
175
174
174
171
172
168
169
165
164
163
162
163
161
161
161
158
159
163
162
158
162
160
160
163
161
159
163
163
164
165
168
165
169
166
164
160
161
165
168
166
167
167
171
167
170
173
172
175
178
180
177
173
177
180
178
182
186
182
179
180
182
180
177
177
174
175
178
179
175
173
173
170
173
171
169
166
164
166
169
165
161
162
160
162
162
159
161
165
161
163
167
163
159
160
156
154
154
156
153
151
147
144
144
140
141
144
147
143
144
146
147
146
147
150
150
151
149
150
147
147
148
148
149
148
148
144
147
144
145
144
147
143
142
142
144
140
142
142
141
143
141
143
145
144
148
150
146
144
148
146
143
140
144
148
146
143
143
139
142
145
146
145
142
142
144
141
143
145
142
140
141
138
139
136
137
136
134
138
142
140
138
138
139
137
136
133
136
137
133
137
137
133
132
131
135
131
128
128
132
136
132
134
130
128
126
122
120
117
117
120
120
123
126
130
126
129
128
125
127
124
124
125
122
123
125
124
125
129
127
131
132
128
127
130
128
125
126
130
132
128
132
133
137
133
133
131
129
130
126
122
124
120
123
121
119
119
122
125
125
128
125
123
126
126
124
124
120
124
121
120
121
120
120
121
117
114
110
114
112
108
104
102
106
104
108
104
105
105
108
111
114
111
113
114
112
113
116
119
120
120
121
117
114
113
112
115
113
115
111
113
113
109
110
110
109
108
110
106
104
107
107
107
111
109
109
110
108
110
110
110
108
106
108
105
104
106
108
111
114
114
117
117
113
111
110
111
112
114
117
117
121
117
115
116
120
116
112
110
106
108
111
107
110
111
107
104
106
107
111
111
112
116
118
120
123
121
119
116
112
112
116
119
118
116
112
111
115
113
112
110
113
112
114
115
111
109
110
106
109
110
107
109
110
113
115
119
115
116
118
119
118
116
119
115
115
113
113
111
109
112
108
106
103
102
101
104
108
105
102
101
98
98
96
92
93
89
89
91
89
88
90
93
89
85
84
84
86
89
89
89
86
87
87
83
85
86
85
83
87
83
80
80
80
84
83
87
91
95
94
95
93
97
100
103
106
110
106
106
107
105
103
102
100
101
98
96
100
103
104
101
97
93
90
90
88
91
93
93
93
93
90
88
86
84
84
88
87
83
84
88
92
90
93
96
96
97
98
95
98
96
99
95
98
98
98
97
94
93
93
94
91
89
86
82
82
81
82
78
79
79
77
81
85
84
81
84
87
83
80
78
74
75
77
73
70
73
71
75
72
68
66
70
73
77
77
74
71
74
74
70
66
68
71
74
77
76
78
79
79
75
79
75
74
75
77
81
84
86
82
80
81
80
76
74
71
67
66
70
73
71
73
71
75
74
72
76
79
79
75
78
77
80
76
76
73
75
75
77
76
74
77
76
77
75
76
80
76
74
73
71
70
71
67
66
69
68
68
67
66
62
64
66
68
68
69
70
70
66
67
63
64
68
67
70
74
70
74
72
71
70
68
64
62
62
58
56
52
52
49
50
48
45
44
47
49
45
47
45
44
44
43
47
48
46
50
46
45
49
53
54
53
50
52
49
47
51
48
51
53
53
51
54
56
56
55
51
48
45
49
52
56
60
59
61
64
61
59
61
62
61
65
67
70
69
67
71
68
67
63
61
64
67
67
67
70
74
70
71
69
65
64
60
64
63
66
64
60
60
61
62
64
62
65
68
72
73
69
70
72
71
72
75
76
73
74
71
69
68
71
68
65
65
66
70
72
74
72
75
71
67
65
68
72
72
74
71
75
74
70
71
68
71
69
69
67
71
67
66
68
68
65
61
63
62
60
64
66
68
72
70
74
75
71
70
66
68
64
67
64
60
59
62
65
66
67
69
71
71
68
65
66
69
71
68
64
66
67
70
66
69
65
66
70
71
72
73
72
69
73
77
73
77
78
78
74
78
78
77
80
79
75
73
71
70
68
72
70
68
65
61
61
65
65
66
66
70
67
71
69
68
71
67
70
72
70
66
68
65
68
65
64
62
60
60
63
61
57
56
58
57
59
62
64
63
62
60
62
61
62
58
62
64
60
58
54
56
58
55
55
51
51
51
52
51
53
57
53
53
55
53
54
55
58
54
51
54
52
50
47
44
45
43
45
48
46
44
41
44
42
46
50
48
49
48
46
47
47
43
42
45
46
43
44
45
42
39
41
44
45
46
43
45
46
49
51
54
58
56
57
59
60
62
66
68
71
68
68
71
71
69
73
73
70
69
72
70
72
71
73
71
73
77
77
76
74
75
77
75
76
75
75
71
69
66
68
70
73
69
65
62
59
61
58
59
61
64
66
67
71
71
69
72
74
78
78
82
78
74
78
77
76
80
82
85
88
88
85
86
89
90
89
91
89
93
95
94
94
90
87
84
86
84
84
86
89
91
90
92
96
93
91
94
91
90
89
89
87
86
85
89
88
86
85
85
82
82
81
83
87
84
81
79
81
83
84
81
80
82
84
85
86
88
89
87
91
89
92
90
89
90
89
93
96
94
98
95
98
97
94
91
89
92
92
95
92
88
91
89
87
84
82
83
83
85
85
81
85
88
85
81
83
84
87
86
90
94
94
96
97
95
91
91
93
97
98
100
103
103
107
105
102
99
95
98
100
100
102
98
102
98
100
98
101
105
104
108
110
113
112
116
120
118
114
114
117
118
118
115
112
115
112
112
113
115
112
115
114
118
119
115
115
111
113
113
111
113
113
114
114
118
116
112
110
109
111
108
104
100
102
101
103
100
103
106
109
107
108
104
107
111
114
115
115
115
117
117
119
122
119
118
115
116
115
114
111
115
114
112
109
110
109
109
111
113
109
105
106
103
103
104
108
109
111
114
112
116
113
113
117
115
111
114
115
113
116
114
116
118
114
115
118
122
125
127
126
125
124
124
126
126
127
123
125
125
124
120
124
120
122
122
123
125
123
120
121
117
115
112
114
115
116
118
120
121
122
126
124
120
118
121
124
122
122
123
124
128
129
125
129
129
132
129
127
127
131
132
134
137
141
138
139
136
138
136
140
142
144
145
142
143
144
148
145
144
140
140
141
145
146
142
143
147
147
143
143
141
143
145
149
152
155
159
156
155
157
156
152
148
148
147
151
147
147
147
144
143
144
147
151
153
154
151
148
147
148
149
153
149
148
148
146
143
147
150
148
152
155
157
161
164
167
169
168
164
160
157
158
160
159
162
166
162
160
164
163
163
159
163
165
163
167
169
171
167
164
163
166
169
169
173
176
179
178
176
175
178
178
174
174
176
175
179
176
176
180
179
183
181
184
182
179
176
174
174
173
176
175
178
176
177
173
172
172
168
165
169
171
169
165
165
165
164
165
169
166
163
165
165
168
167
171
169
170
170
166
163
162
158
161
163
161
159
156
158
158
154
150
150
146
148
144
141
143
143
140
136
136
135
138
139
142
142
142
139
143
147
149
152
148
149
149
151
154
156
152
151
148
148
152
149
150
153
153
157
153
156
154
154
157
158
154
155
157
155
158
161
162
165
169
172
169
169
169
165
166
168
168
167
165
166
170
168
170
166
166
164
161
161
158
161
165
161
162
162
160
162
165
163
164
162
159
158
161
159
158
157
161
162
165
166
165
162
159
157
160
158
158
161
159
159
157
153
153
157
156
152
156
155
153
153
151
154
150
146
148
152
148
149
145
141
139
142
138
141
139
136
137
135
132
132
134
132
128
131
129
129
125
128
131
134
130
133
129
133
134
133
132
128
132
134
137
135
133
129
133
136
139
143
142
143
143
142
143
143
139
140
142
143
141
142
143
147
151
148
147
150
147
151
154
152
155
154
151
154
150
146
150
152
149
147
143
144
142
143
146
143
146
142
139
137
134
135
136
137
138
140
140
144
148
150
151
154
154
155
153
153
156
158
159
155
158
154
150
147
143
141
142
138
138
139
135
132
134
138
137
138
139
140
140
143
139
141
144
143
147
145
146
147
147
148
147
149
147
143
143
143
141
144
146
147
149
146
146
150
152
154
158
162
164
168
165
168
165
163
167
168
169
172
170
172
175
178
178
176
173
169
170
167
171
173
170
173
176
178
176
177
175
179
179
175
178
180
177
176
173
172
174
177
173
173
169
173
176
176
179
177
179
179
181
182
179
180
183
184
180
176
176
180
181
177
174
170
171
173
172
172
170
174
172
169
165
165
164
161
157
161
158
158
161
163
167
171
172
171
175
175
178
181
181
183
183
181
181
179
179
182
182
181
184
180
181
179
182
179
178
176
180
182
179
178
176
177
174
177
174
171
170
168
167
165
169
173
173
172
171
169
165
166
162
162
158
159
159
163
167
164
160
159
157
158
155
158
155
157
161
158
155
158
162
163
164
168
171
168
166
165
168
167
167
163
166
170
168
171
169
167
168
171
170
171
168
172
168
172
172
172
170
170
169
170
167
170
172
168
169
167
164
162
163
161
160
160
158
158
158
154
156
156
158
156
158
158
157
156
153
150
150
149
147
149
150
152
151
150
147
151
150
151
147
149
145
141
137
139
137
141
138
138
138
141
140
144
148
152
151
152
148
148
152
149
146
149
153
154
153
153
150
151
151
152
154
157
158
154
153
152
152
156
158
161
160
156
153
153
155
154
155
154
157
161
160
159
160
158
157
153
150
150
149
147
150
151
147
144
144
148
147
146
148
151
150
151
152
153
149
153
155
151
150
152
156
158
159
157
158
161
164
165
167
167
169
169
166
168
171
169
172
173
177
181
177
178
180
178
182
178
175
174
173
171
174
172
168
166
168
168
171
169
168
172
172
170
168
164
163
161
159
163
166
163
167
170
173
176
176
174
177
175
178
179
182
186
187
188
186
182
180
179
182
184
188
191
195
195
193
197
200
198
197
200
200
202
204
202
202
200
199
201
198
202
200
204
208
212
209
205
202
204
201
205
204
201
205
208
211
210
206
210
206
208
212
216
215
219
218
219
219
222
226
223
219
215
213
211
211
211
210
214
210
207
209
206
208
210
214
215
218
220
219
221
222
218
222
224
228
229
230
226
222
226
223
221
225
222
221
221
222
223
227
230
232
234
238
241
244
247
247
243
243
241
240
238
241
245
248
249
246
249
252
250
246
247
245
245
246
248
249
250
254
250
252
256
252
251
253
253
255
258
261
261
265
267
269
266
267
270
271
269
268
266
269
270
268
272
274
270
272
272
269
271
267
267
266
264
260
256
253
251
252
248
251
251
255
255
256
254
255
255
255
253
255
259
255
257
254
250
253
252
256
255
251
255
257
259
255
259
262
264
268
268
269
267
267
271
267
269
267
264
261
263
260
264
263
260
258
261
259
257
253
253
256
257
259
256
252
249
248
252
253
251
253
253
255
252
256
258
255
256
260
262
258
254
258
260
259
262
258
260
263
262
261
258
255
252
251
249
251
253
256
253
257
254
256
255
253
249
250
254
250
246
243
247
248
247
249
253
249
247
244
242
244
244
240
242
238
238
234
234
237
233
236
239
242
243
241
242
243
241
243
240
240
238
237
240
242
239
241
237
238
238
241
238
238
238
242
238
242
240
236
236
233
230
231
230
229
232
228
224
225
222
225
229
233
231
234
237
235
236
239
236
238
238
238
235
238
237
235
233
229
230
229
231
229
228
225
223
227
227
230
229
231
233
231
227
228
231
227
227
228
230
232
232
228
230
229
233
236
240
236
234
233
237
233
234
233
237
236
240
240
242
243
247
251
253
257
253
250
253
254
250
253
252
253
256
260
256
256
259
259
255
255
256
255
258
254
256
260
258
258
257
261
261
263
265
264
267
268
264
265
261
259
262
266
269
266
264
265
266
262
261
264
265
262
259
263
265
266
262
261
265
261
265
263
262
265
261
261
261
258
256
259
263
259
258
254
250
252
250
254
253
249
249
246
243
242
245
241
244
245
247
250
251
247
248
244
244
240
236
238
237
239
235
233
236
237
233
230
234
238
236
240
240
240
238
242
238
236
236
240
238
240
236
232
231
231
233
235
235
237
233
235
231
234
231
228
232
233
232
232
229
233
232
233
229
230
234
230
231
230
231
233
234
233
229
231
235
236
237
237
236
233
235
232
228
227
230
227
224
227
225
223
223
222
221
222
218
217
216
214
211
214
210
209
213
216
219
215
219
220
217
215
217
217
218
214
215
214
217
213
215
216
214
211
210
210
213
213
217
213
215
215
219
217
213
214
216
218
214
217
220
219
223
219
220
218
222
218
222
225
222
221
220
221
222
225
221
221
217
220
217
214
215
217
217
220
216
213
216
215
219
220
217
213
215
216
215
218
222
218
221
221
223
219
219
216
215
213
214
216
212
213
213
209
209
210
211
211
211
208
206
205
206
208
206
206
206
207
207
204
207
203
207
208
204
201
203
207
208
208
212
213
210
208
212
214
212
209
210
206
202
204
208
210
207
211
215
217
214
210
209
205
202
205
203
199
195
192
192
195
191
192
192
195
197
194
193
197
193
190
191
192
195
199
197
196
194
193
194
197
200
197
196
195
196
192
194
197
194
197
194
192
196
197
196
200
197
195
194
194
195
191
194
195
191
190
194
195
195
197
201
203
205
203
203
205
206
206
210
207
211
207
210
214
210
214
216
215
215
214
216
214
217
218
220
222
224
222
219
223
225
228
224
226
227
224
225
225
226
228
232
230
230
233
235
236
234
231
228
226
223
223
220
217
219
221
217
216
218
216
215
212
212
209
212
213
210
213
216
220
219
218
217
214
213
215
216
220
223
219
216
219
219
222
225
226
223
227
231
233
235
234
238
236
234
238
240
242
246
245
242
243
246
248
245
243
241
243
239
240
239
242
242
239
235
233
236
239
240
240
244
247
245
247
243
241
237
235
236
233
233
237
241
238
237
236
235
231
230
229
226
229
227
228
232
232
231
230
232
229
233
231
234
230
229
230
226
228
228
229
228
224
223
223
219
218
219
221
221
222
226
228
225
229
228
228
230
228
231
229
226
226
230
231
229
229
226
226
226
222
220
219
223
223
220
219
222
219
215
215
214
214
210
214
212
214
216
217
216
220
223
223
227
230
228
227
227
225
221
218
221
222
224
222
223
224
221
223
225
221
217
213
211
214
213
217
218
219
220
216
218
214
215
214
217
213
212
215
213
216
218
219
219
218
218
214
217
218
221
224
228
225
228
228
228
226
230
227
226
224
220
216
212
211
210
208
207
205
201
200
199
203
199
199
198
195
197
201
199
200
203
205
208
208
206
205
205
209
205
209
209
209
208
205
208
211
215
216
217
218
214
212
208
211
212
211
214
211
210
210
210
214
217
214
210
210
209
210
210
209
213
210
206
210
213
210
212
210
207
211
213
212
212
216
216
217
220
216
217
215
211
211
211
208
204
207
205
203
200
201
200
201
205
208
208
204
206
206
204
200
204
208
211
211
211
207
203
201
203
201
201
203
207
203
206
204
206
210
210
211
214
218
220
222
222
223
227
231
232
234
231
233
234
237
237
237
234
238
236
240
236
240
238
240
237
235
236
237
239
243
239
242
246
242
243
247
243
242
238
239
242
244
246
250
247
249
250
254
252
252
251
250
246
246
249
250
247
250
251
251
247
247
249
252
253
255
258
262
261
261
263
267
270
273
272
274
276
272
272
270
272
271
272
268
264
267
271
267
270
273
272
273
274
270
273
270
272
273
274
278
279
277
276
276
277
281
282
283
282
281
285
282
284
281
281
277
276
279
283
280
279
283
284
288
285
286
288
290
291
291
289
293
290
292
288
285
288
292
292
288
287
288
290
290
293
297
297
301
301
305
306
305
304
301
298
295
294
292
288
288
285
289
292
290
294
295
295
295
294
297
298
294
290
290
294
292
291
295
294
297
295
291
288
284
283
286
288
284
287
286
286
287
284
287
285
282
283
280
280
279
278
277
277
274
273
273
270
272
272
275
273
276
278
277
276
280
281
278
281
285
282
283
284
282
281
285
285
287
291
292
295
298
295
291
292
290
287
289
293
297
297
299
296
292
289
286
289
288
285
284
287
283
279
283
280
276
278
279
275
279
280
283
280
283
285
287
283
286
289
287
291
289
293
291
288
289
285
287
283
281
283
287
283
281
280
279
277
276
280
278
282
286
286
290
292
295
295
292
289
288
284
287
285
285
285
289
293
297
299
298
295
291
295
297
299
298
300
303
303
300
298
296
296
297
298
300
296
300
299
295
299
299
296
298
302
303
302
302
300
303
302
306
310
306
303
307
305
308
306
303
300
300
304
303
301
300
302
304
300
297
294
293
290
288
287
290
291
294
294
292
288
288
289
286
282
281
281
282
283
284
283
286
287
287
290
293
291
293
289
285
287
283
287
289
293
295
292
290
293
291
295
292
293
290
289
292
296
292
296
292
292
291
292
292
290
288
289
291
290
293
296
298
295
293
289
293
289
287
288
292
289
292
289
286
286
290
291
295
298
296
297
296
294
293
292
295
293
292
295
299
295
296
292
292
295
294
296
299
296
299
302
303
299
297
300
300
300
297
293
291
295
299
296
298
301
298
295
299
297
295
294
293
294
297
294
295
293
296
297
293
295
298
297
293
294
290
290
294
295
298
302
301
302
301
299
299
298
295
296
292
292
291
292
295
293
292
292
293
290
294
296
296
299
301
298
296
297
296
292
290
293
294
293
296
294
291
287
286
285
281
280
278
278
275
275
271
271
267
267
263
262
263
259
260
262
260
261
262
266
262
261
258
260
262
259
263
262
260
257
260
256
256
259
260
261
259
261
265
269
269
273
271
267
267
267
268
268
270
269
273
271
273
272
271
271
271
273
269
270
268
265
262
260
260
263
267
266
264
262
258
259
259
262
258
260
257
260
262