-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgrid.py
61 lines (50 loc) · 40.1 KB
/
grid.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
grid = [[(213, 10), (223, 10), (233, 10), (243, 10), (253, 10), (263, 10), (273, 10), (283, 10), (293, 10), (303, 10), (313, 10), (323, 10), (333, 10), (343, 10), (353, 10), (363, 10), (373, 10), (383, 10), (393, 10), (403, 10), (413, 10), (423, 10), (433, 10), (443, 10), (453, 10), (463, 10), (473, 10), (483, 10), (493, 10), (503, 10), (513, 10), (523, 10), (533, 10), (543, 10), (553, 10), (563, 10), (573, 10), (583, 10), (593, 10), (603, 10), (613, 10), (623, 10), (633, 10)], [(213, 20), (223, 20), (233, 20), (243, 20), (253, 20), (263, 20), (273, 20), (283, 20), (293, 20), (303, 20), (313, 20), (323, 20), (333, 20), (343, 20), (353, 20), (363, 20), (373, 20), (383, 20), (393, 20), (403, 20), (413, 20), (423, 20), (433, 20), (443, 20), (453, 20), (463, 20), (473, 20), (483, 20), (493, 20), (503, 20), (513, 20), (523, 20), (533, 20), (543, 20), (553, 20), (563, 20), (573, 20), (583, 20), (593, 20), (603, 20), (613, 20), (623, 20), (633, 20)], [(213, 30), (223, 30), (233, 30), (243, 30), (253, 30), (263, 30), (273, 30), (283, 30), (293, 30), (303, 30), (313, 30), (323, 30), (333, 30), (343, 30), (353, 30), (363, 30), (373, 30), (383, 30), (393, 30), (403, 30), (413, 30), (423, 30), (433, 30), (443, 30), (453, 30), (463, 30), (473, 30), (483, 30), (493, 30), (503, 30), (513, 30), (523, 30), (533, 30), (543, 30), (553, 30), (563, 30), (573, 30), (583, 30), (593, 30), (603, 30), (613, 30), (623, 30), (633, 30)], [(213, 40), (223, 40), (233, 40), (243, 40), (253, 40), (263, 40), (273, 40), (283, 40), (293, 40), (303, 40), (313, 40), (323, 40), (333, 40), (343, 40), (353, 40), (363, 40), (373, 40), (383, 40), (393, 40), (403, 40), (413, 40), (423, 40), (433, 40), (443, 40), (453, 40), (463, 40), (473, 40), (483, 40), (493, 40), (503, 40), (513, 40), (523, 40), (533, 40), (543, 40), (553, 40), (563, 40), (573, 40), (583, 40), (593, 40), (603, 40), (613, 40), (623, 40), (633, 40)], [(213, 50), (223, 50), (233, 50), (243, 50), (253, 50), (263, 50), (273, 50), (283, 50), (293, 50), (303, 50), (313, 50), (323, 50), (333, 50), (343, 50), (353, 50), (363, 50), (373, 50), (383, 50), (393, 50), (403, 50), (413, 50), (423, 50), (433, 50), (443, 50), (453, 50), (463, 50), (473, 50), (483, 50), (493, 50), (503, 50), (513, 50), (523, 50), (533, 50), (543, 50), (553, 50), (563, 50), (573, 50), (583, 50), (593, 50), (603, 50), (613, 50), (623, 50), (633, 50)], [(213, 60), (223, 60), (233, 60), (243, 60), (253, 60), (263, 60), (273, 60), (283, 60), (293, 60), (303, 60), (313, 60), (323, 60), (333, 60), (343, 60), (353, 60), (363, 60), (373, 60), (383, 60), (393, 60), (403, 60), (413, 60), (423, 60), (433, 60), (443, 60), (453, 60), (463, 60), (473, 60), (483, 60), (493, 60), (503, 60), (513, 60), (523, 60), (533, 60), (543, 60), (553, 60), (563, 60), (573, 60), (583, 60), (593, 60), (603, 60), (613, 60), (623, 60), (633, 60)], [(213, 70), (223, 70), (233, 70), (243, 70), (253, 70), (263, 70), (273, 70), (283, 70), (293, 70), (303, 70), (313, 70), (323, 70), (333, 70), (343, 70), (353, 70), (363, 70), (373, 70), (383, 70), (393, 70), (403, 70), (413, 70), (423, 70), (433, 70), (443, 70), (453, 70), (463, 70), (473, 70), (483, 70), (493, 70), (503, 70), (513, 70), (523, 70), (533, 70), (543, 70), (553, 70), (563, 70), (573, 70), (583, 70), (593, 70), (603, 70), (613, 70), (623, 70), (633, 70)], [(213, 80), (223, 80), (233, 80), (243, 80), (253, 80), (263, 80), (273, 80), (283, 80), (293, 80), (303, 80), (313, 80), (323, 80), (333, 80), (343, 80), (353, 80), (363, 80), (373, 80), (383, 80), (393, 80), (403, 80), (413, 80), (423, 80), (433, 80), (443, 80), (453, 80), (463, 80), (473, 80), (483, 80), (493, 80), (503, 80), (513, 80), (523, 80), (533, 80), (543, 80), (553, 80), (563, 80), (573, 80), (583, 80), (593, 80), (603, 80), (613, 80), (623, 80), (633, 80)], [(213, 90), (223, 90), (233, 90), (243, 90), (253, 90), (263, 90), (273, 90), (283, 90), (293, 90), (303, 90), (313, 90), (323, 90), (333, 90), (343, 90), (353, 90), (363, 90), (373, 90), (383, 90), (393, 90), (403, 90), (413, 90), (423, 90), (433, 90), (443, 90), (453, 90), (463, 90), (473, 90), (483, 90), (493, 90), (503, 90), (513, 90), (523, 90), (533, 90), (543, 90), (553, 90), (563, 90), (573, 90), (583, 90), (593, 90), (603, 90), (613, 90), (623, 90), (633, 90)], [(213, 100), (223, 100), (233, 100), (243, 100), (253, 100), (263, 100), (273, 100), (283, 100), (293, 100), (303, 100), (313, 100), (323, 100), (333, 100), (343, 100), (353, 100), (363, 100), (373, 100), (383, 100), (393, 100), (403, 100), (413, 100), (423, 100), (433, 100), (443, 100), (453, 100), (463, 100), (473, 100), (483, 100), (493, 100), (503, 100), (513, 100), (523, 100), (533, 100), (543, 100), (553, 100), (563, 100), (573, 100), (583, 100), (593, 100), (603, 100), (613, 100), (623, 100), (633, 100)], [(213, 110), (223, 110), (233, 110), (243, 110), (253, 110), (263, 110), (273, 110), (283, 110), (293, 110), (303, 110), (313, 110), (323, 110), (333, 110), (343, 110), (353, 110), (363, 110), (373, 110), (383, 110), (393, 110), (403, 110), (413, 110), (423, 110), (433, 110), (443, 110), (453, 110), (463, 110), (473, 110), (483, 110), (493, 110), (503, 110), (513, 110), (523, 110), (533, 110), (543, 110), (553, 110), (563, 110), (573, 110), (583, 110), (593, 110), (603, 110), (613, 110), (623, 110), (633, 110)], [(213, 120), (223, 120), (233, 120), (243, 120), (253, 120), (263, 120), (273, 120), (283, 120), (293, 120), (303, 120), (313, 120), (323, 120), (333, 120), (343, 120), (353, 120), (363, 120), (373, 120), (383, 120), (393, 120), (403, 120), (413, 120), (423, 120), (433, 120), (443, 120), (453, 120), (463, 120), (473, 120), (483, 120), (493, 120), (503, 120), (513, 120), (523, 120), (533, 120), (543, 120), (553, 120), (563, 120), (573, 120), (583, 120), (593, 120), (603, 120), (613, 120), (623, 120), (633, 120)], [(213, 130), (223, 130), (233, 130), (243, 130), (253, 130), (263, 130), (273, 130), (283, 130), (293, 130), (303, 130), (313, 130), (323, 130), (333, 130), (343, 130), (353, 130), (363, 130), (373, 130), (383, 130), (393, 130), (403, 130), (413, 130), (423, 130), (433, 130), (443, 130), (453, 130), (463, 130), (473, 130), (483, 130), (493, 130), (503, 130), (513, 130), (523, 130), (533, 130), (543, 130), (553, 130), (563, 130), (573, 130), (583, 130), (593, 130), (603, 130), (613, 130), (623, 130), (633, 130)], [(213, 140), (223, 140), (233, 140), (243, 140), (253, 140), (263, 140), (273, 140), (283, 140), (293, 140), (303, 140), (313, 140), (323, 140), (333, 140), (343, 140), (353, 140), (363, 140), (373, 140), (383, 140), (393, 140), (403, 140), (413, 140), (423, 140), (433, 140), (443, 140), (453, 140), (463, 140), (473, 140), (483, 140), (493, 140), (503, 140), (513, 140), (523, 140), (533, 140), (543, 140), (553, 140), (563, 140), (573, 140), (583, 140), (593, 140), (603, 140), (613, 140), (623, 140), (633, 140)], [(213, 150), (223, 150), (233, 150), (243, 150), (253, 150), (263, 150), (273, 150), (283, 150), (293, 150), (303, 150), (313, 150), (323, 150), (333, 150), (343, 150), (353, 150), (363, 150), (373, 150), (383, 150), (393, 150), (403, 150), (413, 150), (423, 150), (433, 150), (443, 150), (453, 150), (463, 150), (473, 150), (483, 150), (493, 150), (503, 150), (513, 150), (523, 150), (533, 150), (543, 150), (553, 150), (563, 150), (573, 150), (583, 150), (593, 150), (603, 150), (613, 150), (623, 150), (633, 150)], [(213, 160), (223, 160), (233, 160), (243, 160), (253, 160), (263, 160), (273, 160), (283, 160), (293, 160), (303, 160), (313, 160), (323, 160), (333, 160), (343, 160), (353, 160), (363, 160), (373, 160), (383, 160), (393, 160), (403, 160), (413, 160), (423, 160), (433, 160), (443, 160), (453, 160), (463, 160), (473, 160), (483, 160), (493, 160), (503, 160), (513, 160), (523, 160), (533, 160), (543, 160), (553, 160), (563, 160), (573, 160), (583, 160), (593, 160), (603, 160), (613, 160), (623, 160), (633, 160)], [(213, 170), (223, 170), (233, 170), (243, 170), (253, 170), (263, 170), (273, 170), (283, 170), (293, 170), (303, 170), (313, 170), (323, 170), (333, 170), (343, 170), (353, 170), (363, 170), (373, 170), (383, 170), (393, 170), (403, 170), (413, 170), (423, 170), (433, 170), (443, 170), (453, 170), (463, 170), (473, 170), (483, 170), (493, 170), (503, 170), (513, 170), (523, 170), (533, 170), (543, 170), (553, 170), (563, 170), (573, 170), (583, 170), (593, 170), (603, 170), (613, 170), (623, 170), (633, 170)], [(213, 180), (223, 180), (233, 180), (243, 180), (253, 180), (263, 180), (273, 180), (283, 180), (293, 180), (303, 180), (313, 180), (323, 180), (333, 180), (343, 180), (353, 180), (363, 180), (373, 180), (383, 180), (393, 180), (403, 180), (413, 180), (423, 180), (433, 180), (443, 180), (453, 180), (463, 180), (473, 180), (483, 180), (493, 180), (503, 180), (513, 180), (523, 180), (533, 180), (543, 180), (553, 180), (563, 180), (573, 180), (583, 180), (593, 180), (603, 180), (613, 180), (623, 180), (633, 180)], [(213, 190), (223, 190), (233, 190), (243, 190), (253, 190), (263, 190), (273, 190), (283, 190), (293, 190), (303, 190), (313, 190), (323, 190), (333, 190), (343, 190), (353, 190), (363, 190), (373, 190), (383, 190), (393, 190), (403, 190), (413, 190), (423, 190), (433, 190), (443, 190), (453, 190), (463, 190), (473, 190), (483, 190), (493, 190), (503, 190), (513, 190), (523, 190), (533, 190), (543, 190), (553, 190), (563, 190), (573, 190), (583, 190), (593, 190), (603, 190), (613, 190), (623, 190), (633, 190)], [(213, 200), (223, 200), (233, 200), (243, 200), (253, 200), (263, 200), (273, 200), (283, 200), (293, 200), (303, 200), (313, 200), (323, 200), (333, 200), (343, 200), (353, 200), (363, 200), (373, 200), (383, 200), (393, 200), (403, 200), (413, 200), (423, 200), (433, 200), (443, 200), (453, 200), (463, 200), (473, 200), (483, 200), (493, 200), (503, 200), (513, 200), (523, 200), (533, 200), (543, 200), (553, 200), (563, 200), (573, 200), (583, 200), (593, 200), (603, 200), (613, 200), (623, 200), (633, 200)], [(213, 210), (223, 210), (233, 210), (243, 210), (253, 210), (263, 210), (273, 210), (283, 210), (293, 210), (303, 210), (313, 210), (323, 210), (333, 210), (343, 210), (353, 210), (363, 210), (373, 210), (383, 210), (393, 210), (403, 210), (413, 210), (423, 210), (433, 210), (443, 210), (453, 210), (463, 210), (473, 210), (483, 210), (493, 210), (503, 210), (513, 210), (523, 210), (533, 210), (543, 210), (553, 210), (563, 210), (573, 210), (583, 210), (593, 210), (603, 210), (613, 210), (623, 210), (633, 210)], [(213, 220), (223, 220), (233, 220), (243, 220), (253, 220), (263, 220), (273, 220), (283, 220), (293, 220), (303, 220), (313, 220), (323, 220), (333, 220), (343, 220), (353, 220), (363, 220), (373, 220), (383, 220), (393, 220), (403, 220), (413, 220), (423, 220), (433, 220), (443, 220), (453, 220), (463, 220), (473, 220), (483, 220), (493, 220), (503, 220), (513, 220), (523, 220), (533, 220), (543, 220), (553, 220), (563, 220), (573, 220), (583, 220), (593, 220), (603, 220), (613, 220), (623, 220), (633, 220)], [(213, 230), (223, 230), (233, 230), (243, 230), (253, 230), (263, 230), (273, 230), (283, 230), (293, 230), (303, 230), (313, 230), (323, 230), (333, 230), (343, 230), (353, 230), (363, 230), (373, 230), (383, 230), (393, 230), (403, 230), (413, 230), (423, 230), (433, 230), (443, 230), (453, 230), (463, 230), (473, 230), (483, 230), (493, 230), (503, 230), (513, 230), (523, 230), (533, 230), (543, 230), (553, 230), (563, 230), (573, 230), (583, 230), (593, 230), (603, 230), (613, 230), (623, 230), (633, 230)], [(213, 240), (223, 240), (233, 240), (243, 240), (253, 240), (263, 240), (273, 240), (283, 240), (293, 240), (303, 240), (313, 240), (323, 240), (333, 240), (343, 240), (353, 240), (363, 240), (373, 240), (383, 240), (393, 240), (403, 240), (413, 240), (423, 240), (433, 240), (443, 240), (453, 240), (463, 240), (473, 240), (483, 240), (493, 240), (503, 240), (513, 240), (523, 240), (533, 240), (543, 240), (553, 240), (563, 240), (573, 240), (583, 240), (593, 240), (603, 240), (613, 240), (623, 240), (633, 240)], [(213, 250), (223, 250), (233, 250), (243, 250), (253, 250), (263, 250), (273, 250), (283, 250), (293, 250), (303, 250), (313, 250), (323, 250), (333, 250), (343, 250), (353, 250), (363, 250), (373, 250), (383, 250), (393, 250), (403, 250), (413, 250), (423, 250), (433, 250), (443, 250), (453, 250), (463, 250), (473, 250), (483, 250), (493, 250), (503, 250), (513, 250), (523, 250), (533, 250), (543, 250), (553, 250), (563, 250), (573, 250), (583, 250), (593, 250), (603, 250), (613, 250), (623, 250), (633, 250)], [(213, 260), (223, 260), (233, 260), (243, 260), (253, 260), (263, 260), (273, 260), (283, 260), (293, 260), (303, 260), (313, 260), (323, 260), (333, 260), (343, 260), (353, 260), (363, 260), (373, 260), (383, 260), (393, 260), (403, 260), (413, 260), (423, 260), (433, 260), (443, 260), (453, 260), (463, 260), (473, 260), (483, 260), (493, 260), (503, 260), (513, 260), (523, 260), (533, 260), (543, 260), (553, 260), (563, 260), (573, 260), (583, 260), (593, 260), (603, 260), (613, 260), (623, 260), (633, 260)], [(213, 270), (223, 270), (233, 270), (243, 270), (253, 270), (263, 270), (273, 270), (283, 270), (293, 270), (303, 270), (313, 270), (323, 270), (333, 270), (343, 270), (353, 270), (363, 270), (373, 270), (383, 270), (393, 270), (403, 270), (413, 270), (423, 270), (433, 270), (443, 270), (453, 270), (463, 270), (473, 270), (483, 270), (493, 270), (503, 270), (513, 270), (523, 270), (533, 270), (543, 270), (553, 270), (563, 270), (573, 270), (583, 270), (593, 270), (603, 270), (613, 270), (623, 270), (633, 270)], [(213, 280), (223, 280), (233, 280), (243, 280), (253, 280), (263, 280), (273, 280), (283, 280), (293, 280), (303, 280), (313, 280), (323, 280), (333, 280), (343, 280), (353, 280), (363, 280), (373, 280), (383, 280), (393, 280), (403, 280), (413, 280), (423, 280), (433, 280), (443, 280), (453, 280), (463, 280), (473, 280), (483, 280), (493, 280), (503, 280), (513, 280), (523, 280), (533, 280), (543, 280), (553, 280), (563, 280), (573, 280), (583, 280), (593, 280), (603, 280), (613, 280), (623, 280), (633, 280)], [(213, 290), (223, 290), (233, 290), (243, 290), (253, 290), (263, 290), (273, 290), (283, 290), (293, 290), (303, 290), (313, 290), (323, 290), (333, 290), (343, 290), (353, 290), (363, 290), (373, 290), (383, 290), (393, 290), (403, 290), (413, 290), (423, 290), (433, 290), (443, 290), (453, 290), (463, 290), (473, 290), (483, 290), (493, 290), (503, 290), (513, 290), (523, 290), (533, 290), (543, 290), (553, 290), (563, 290), (573, 290), (583, 290), (593, 290), (603, 290), (613, 290), (623, 290), (633, 290)], [(213, 300), (223, 300), (233, 300), (243, 300), (253, 300), (263, 300), (273, 300), (283, 300), (293, 300), (303, 300), (313, 300), (323, 300), (333, 300), (343, 300), (353, 300), (363, 300), (373, 300), (383, 300), (393, 300), (403, 300), (413, 300), (423, 300), (433, 300), (443, 300), (453, 300), (463, 300), (473, 300), (483, 300), (493, 300), (503, 300), (513, 300), (523, 300), (533, 300), (543, 300), (553, 300), (563, 300), (573, 300), (583, 300), (593, 300), (603, 300), (613, 300), (623, 300), (633, 300)], [(213, 310), (223, 310), (233, 310), (243, 310), (253, 310), (263, 310), (273, 310), (283, 310), (293, 310), (303, 310), (313, 310), (323, 310), (333, 310), (343, 310), (353, 310), (363, 310), (373, 310), (383, 310), (393, 310), (403, 310), (413, 310), (423, 310), (433, 310), (443, 310), (453, 310), (463, 310), (473, 310), (483, 310), (493, 310), (503, 310), (513, 310), (523, 310), (533, 310), (543, 310), (553, 310), (563, 310), (573, 310), (583, 310), (593, 310), (603, 310), (613, 310), (623, 310), (633, 310)], [(213, 320), (223, 320), (233, 320), (243, 320), (253, 320), (263, 320), (273, 320), (283, 320), (293, 320), (303, 320), (313, 320), (323, 320), (333, 320), (343, 320), (353, 320), (363, 320), (373, 320), (383, 320), (393, 320), (403, 320), (413, 320), (423, 320), (433, 320), (443, 320), (453, 320), (463, 320), (473, 320), (483, 320), (493, 320), (503, 320), (513, 320), (523, 320), (533, 320), (543, 320), (553, 320), (563, 320), (573, 320), (583, 320), (593, 320), (603, 320), (613, 320), (623, 320), (633, 320)], [(213, 330), (223, 330), (233, 330), (243, 330), (253, 330), (263, 330), (273, 330), (283, 330), (293, 330), (303, 330), (313, 330), (323, 330), (333, 330), (343, 330), (353, 330), (363, 330), (373, 330), (383, 330), (393, 330), (403, 330), (413, 330), (423, 330), (433, 330), (443, 330), (453, 330), (463, 330), (473, 330), (483, 330), (493, 330), (503, 330), (513, 330), (523, 330), (533, 330), (543, 330), (553, 330), (563, 330), (573, 330), (583, 330), (593, 330), (603, 330), (613, 330), (623, 330), (633, 330)], [(213, 340), (223, 340), (233, 340), (243, 340), (253, 340), (263, 340), (273, 340), (283, 340), (293, 340), (303, 340), (313, 340), (323, 340), (333, 340), (343, 340), (353, 340), (363, 340), (373, 340), (383, 340), (393, 340), (403, 340), (413, 340), (423, 340), (433, 340), (443, 340), (453, 340), (463, 340), (473, 340), (483, 340), (493, 340), (503, 340), (513, 340), (523, 340), (533, 340), (543, 340), (553, 340), (563, 340), (573, 340), (583, 340), (593, 340), (603, 340), (613, 340), (623, 340), (633, 340)], [(213, 350), (223, 350), (233, 350), (243, 350), (253, 350), (263, 350), (273, 350), (283, 350), (293, 350), (303, 350), (313, 350), (323, 350), (333, 350), (343, 350), (353, 350), (363, 350), (373, 350), (383, 350), (393, 350), (403, 350), (413, 350), (423, 350), (433, 350), (443, 350), (453, 350), (463, 350), (473, 350), (483, 350), (493, 350), (503, 350), (513, 350), (523, 350), (533, 350), (543, 350), (553, 350), (563, 350), (573, 350), (583, 350), (593, 350), (603, 350), (613, 350), (623, 350), (633, 350)], [(213, 360), (223, 360), (233, 360), (243, 360), (253, 360), (263, 360), (273, 360), (283, 360), (293, 360), (303, 360), (313, 360), (323, 360), (333, 360), (343, 360), (353, 360), (363, 360), (373, 360), (383, 360), (393, 360), (403, 360), (413, 360), (423, 360), (433, 360), (443, 360), (453, 360), (463, 360), (473, 360), (483, 360), (493, 360), (503, 360), (513, 360), (523, 360), (533, 360), (543, 360), (553, 360), (563, 360), (573, 360), (583, 360), (593, 360), (603, 360), (613, 360), (623, 360), (633, 360)], [(213, 370), (223, 370), (233, 370), (243, 370), (253, 370), (263, 370), (273, 370), (283, 370), (293, 370), (303, 370), (313, 370), (323, 370), (333, 370), (343, 370), (353, 370), (363, 370), (373, 370), (383, 370), (393, 370), (403, 370), (413, 370), (423, 370), (433, 370), (443, 370), (453, 370), (463, 370), (473, 370), (483, 370), (493, 370), (503, 370), (513, 370), (523, 370), (533, 370), (543, 370), (553, 370), (563, 370), (573, 370), (583, 370), (593, 370), (603, 370), (613, 370), (623, 370), (633, 370)], [(213, 380), (223, 380), (233, 380), (243, 380), (253, 380), (263, 380), (273, 380), (283, 380), (293, 380), (303, 380), (313, 380), (323, 380), (333, 380), (343, 380), (353, 380), (363, 380), (373, 380), (383, 380), (393, 380), (403, 380), (413, 380), (423, 380), (433, 380), (443, 380), (453, 380), (463, 380), (473, 380), (483, 380), (493, 380), (503, 380), (513, 380), (523, 380), (533, 380), (543, 380), (553, 380), (563, 380), (573, 380), (583, 380), (593, 380), (603, 380), (613, 380), (623, 380), (633, 380)], [(213, 390), (223, 390), (233, 390), (243, 390), (253, 390), (263, 390), (273, 390), (283, 390), (293, 390), (303, 390), (313, 390), (323, 390), (333, 390), (343, 390), (353, 390), (363, 390), (373, 390), (383, 390), (393, 390), (403, 390), (413, 390), (423, 390), (433, 390), (443, 390), (453, 390), (463, 390), (473, 390), (483, 390), (493, 390), (503, 390), (513, 390), (523, 390), (533, 390), (543, 390), (553, 390), (563, 390), (573, 390), (583, 390), (593, 390), (603, 390), (613, 390), (623, 390), (633, 390)], [(213, 400), (223, 400), (233, 400), (243, 400), (253, 400), (263, 400), (273, 400), (283, 400), (293, 400), (303, 400), (313, 400), (323, 400), (333, 400), (343, 400), (353, 400), (363, 400), (373, 400), (383, 400), (393, 400), (403, 400), (413, 400), (423, 400), (433, 400), (443, 400), (453, 400), (463, 400), (473, 400), (483, 400), (493, 400), (503, 400), (513, 400), (523, 400), (533, 400), (543, 400), (553, 400), (563, 400), (573, 400), (583, 400), (593, 400), (603, 400), (613, 400), (623, 400), (633, 400)], [(213, 410), (223, 410), (233, 410), (243, 410), (253, 410), (263, 410), (273, 410), (283, 410), (293, 410), (303, 410), (313, 410), (323, 410), (333, 410), (343, 410), (353, 410), (363, 410), (373, 410), (383, 410), (393, 410), (403, 410), (413, 410), (423, 410), (433, 410), (443, 410), (453, 410), (463, 410), (473, 410), (483, 410), (493, 410), (503, 410), (513, 410), (523, 410), (533, 410), (543, 410), (553, 410), (563, 410), (573, 410), (583, 410), (593, 410), (603, 410), (613, 410), (623, 410), (633, 410)], [(213, 420), (223, 420), (233, 420), (243, 420), (253, 420), (263, 420), (273, 420), (283, 420), (293, 420), (303, 420), (313, 420), (323, 420), (333, 420), (343, 420), (353, 420), (363, 420), (373, 420), (383, 420), (393, 420), (403, 420), (413, 420), (423, 420), (433, 420), (443, 420), (453, 420), (463, 420), (473, 420), (483, 420), (493, 420), (503, 420), (513, 420), (523, 420), (533, 420), (543, 420), (553, 420), (563, 420), (573, 420), (583, 420), (593, 420), (603, 420), (613, 420), (623, 420), (633, 420)], [(213, 430), (223, 430), (233, 430), (243, 430), (253, 430), (263, 430), (273, 430), (283, 430), (293, 430), (303, 430), (313, 430), (323, 430), (333, 430), (343, 430), (353, 430), (363, 430), (373, 430), (383, 430), (393, 430), (403, 430), (413, 430), (423, 430), (433, 430), (443, 430), (453, 430), (463, 430), (473, 430), (483, 430), (493, 430), (503, 430), (513, 430), (523, 430), (533, 430), (543, 430), (553, 430), (563, 430), (573, 430), (583, 430), (593, 430), (603, 430), (613, 430), (623, 430), (633, 430)]]
grid_hex = [[[313, 17], [323, 17], [333, 17], [343, 17], [353, 17], [363, 17], [373, 17], [383, 17], [393, 17], [403, 17], [413, 17], [423, 17], [433, 17], [443, 17], [453, 17], [463, 17], [473, 17], [483, 17], [493, 17], [503, 17], [513, 17], [523, 17], [533, 17]], [[308, 26], [318, 26], [328, 26], [338, 26], [348, 26], [358, 26], [368, 26], [378, 26], [388, 26], [398, 26], [408, 26], [418, 26], [428, 26], [438, 26], [448, 26], [458, 26], [468, 26], [478, 26], [488, 26], [498, 26], [508, 26], [518, 26], [528, 26], [538, 26]], [[303, 35], [313, 35], [323, 35], [333, 35], [343, 35], [353, 35], [363, 35], [373, 35], [383, 35], [393, 35], [403, 35], [413, 35], [423, 35], [433, 35], [443, 35], [453, 35], [463, 35], [473, 35], [483, 35], [493, 35], [503, 35], [513, 35], [523, 35], [533, 35], [543, 35]], [[298, 44], [308, 44], [318, 44], [328, 44], [338, 44], [348, 44], [358, 44], [368, 44], [378, 44], [388, 44], [398, 44], [408, 44], [418, 44], [428, 44], [438, 44], [448, 44], [458, 44], [468, 44], [478, 44], [488, 44], [498, 44], [508, 44], [518, 44], [528, 44], [538, 44], [548, 44]], [[293, 53], [303, 53], [313, 53], [323, 53], [333, 53], [343, 53], [353, 53], [363, 53], [373, 53], [383, 53], [393, 53], [403, 53], [413, 53], [423, 53], [433, 53], [443, 53], [453, 53], [463, 53], [473, 53], [483, 53], [493, 53], [503, 53], [513, 53], [523, 53], [533, 53], [543, 53], [553, 53]], [[288, 62], [298, 62], [308, 62], [318, 62], [328, 62], [338, 62], [348, 62], [358, 62], [368, 62], [378, 62], [388, 62], [398, 62], [408, 62], [418, 62], [428, 62], [438, 62], [448, 62], [458, 62], [468, 62], [478, 62], [488, 62], [498, 62], [508, 62], [518, 62], [528, 62], [538, 62], [548, 62], [558, 62]], [[283, 71], [293, 71], [303, 71], [313, 71], [323, 71], [333, 71], [343, 71], [353, 71], [363, 71], [373, 71], [383, 71], [393, 71], [403, 71], [413, 71], [423, 71], [433, 71], [443, 71], [453, 71], [463, 71], [473, 71], [483, 71], [493, 71], [503, 71], [513, 71], [523, 71], [533, 71], [543, 71], [553, 71], [563, 71]], [[278, 80], [288, 80], [298, 80], [308, 80], [318, 80], [328, 80], [338, 80], [348, 80], [358, 80], [368, 80], [378, 80], [388, 80], [398, 80], [408, 80], [418, 80], [428, 80], [438, 80], [448, 80], [458, 80], [468, 80], [478, 80], [488, 80], [498, 80], [508, 80], [518, 80], [528, 80], [538, 80], [548, 80], [558, 80], [568, 80]], [[273, 89], [283, 89], [293, 89], [303, 89], [313, 89], [323, 89], [333, 89], [343, 89], [353, 89], [363, 89], [373, 89], [383, 89], [393, 89], [403, 89], [413, 89], [423, 89], [433, 89], [443, 89], [453, 89], [463, 89], [473, 89], [483, 89], [493, 89], [503, 89], [513, 89], [523, 89], [533, 89], [543, 89], [553, 89], [563, 89], [573, 89]], [[268, 98], [278, 98], [288, 98], [298, 98], [308, 98], [318, 98], [328, 98], [338, 98], [348, 98], [358, 98], [368, 98], [378, 98], [388, 98], [398, 98], [408, 98], [418, 98], [428, 98], [438, 98], [448, 98], [458, 98], [468, 98], [478, 98], [488, 98], [498, 98], [508, 98], [518, 98], [528, 98], [538, 98], [548, 98], [558, 98], [568, 98], [578, 98]], [[263, 107], [273, 107], [283, 107], [293, 107], [303, 107], [313, 107], [323, 107], [333, 107], [343, 107], [353, 107], [363, 107], [373, 107], [383, 107], [393, 107], [403, 107], [413, 107], [423, 107], [433, 107], [443, 107], [453, 107], [463, 107], [473, 107], [483, 107], [493, 107], [503, 107], [513, 107], [523, 107], [533, 107], [543, 107], [553, 107], [563, 107], [573, 107], [583, 107]], [[258, 116], [268, 116], [278, 116], [288, 116], [298, 116], [308, 116], [318, 116], [328, 116], [338, 116], [348, 116], [358, 116], [368, 116], [378, 116], [388, 116], [398, 116], [408, 116], [418, 116], [428, 116], [438, 116], [448, 116], [458, 116], [468, 116], [478, 116], [488, 116], [498, 116], [508, 116], [518, 116], [528, 116], [538, 116], [548, 116], [558, 116], [568, 116], [578, 116], [588, 116]], [[253, 125], [263, 125], [273, 125], [283, 125], [293, 125], [303, 125], [313, 125], [323, 125], [333, 125], [343, 125], [353, 125], [363, 125], [373, 125], [383, 125], [393, 125], [403, 125], [413, 125], [423, 125], [433, 125], [443, 125], [453, 125], [463, 125], [473, 125], [483, 125], [493, 125], [503, 125], [513, 125], [523, 125], [533, 125], [543, 125], [553, 125], [563, 125], [573, 125], [583, 125], [593, 125]], [[248, 134], [258, 134], [268, 134], [278, 134], [288, 134], [298, 134], [308, 134], [318, 134], [328, 134], [338, 134], [348, 134], [358, 134], [368, 134], [378, 134], [388, 134], [398, 134], [408, 134], [418, 134], [428, 134], [438, 134], [448, 134], [458, 134], [468, 134], [478, 134], [488, 134], [498, 134], [508, 134], [518, 134], [528, 134], [538, 134], [548, 134], [558, 134], [568, 134], [578, 134], [588, 134], [598, 134]], [[243, 143], [253, 143], [263, 143], [273, 143], [283, 143], [293, 143], [303, 143], [313, 143], [323, 143], [333, 143], [343, 143], [353, 143], [363, 143], [373, 143], [383, 143], [393, 143], [403, 143], [413, 143], [423, 143], [433, 143], [443, 143], [453, 143], [463, 143], [473, 143], [483, 143], [493, 143], [503, 143], [513, 143], [523, 143], [533, 143], [543, 143], [553, 143], [563, 143], [573, 143], [583, 143], [593, 143], [603, 143]], [[238, 152], [248, 152], [258, 152], [268, 152], [278, 152], [288, 152], [298, 152], [308, 152], [318, 152], [328, 152], [338, 152], [348, 152], [358, 152], [368, 152], [378, 152], [388, 152], [398, 152], [408, 152], [418, 152], [428, 152], [438, 152], [448, 152], [458, 152], [468, 152], [478, 152], [488, 152], [498, 152], [508, 152], [518, 152], [528, 152], [538, 152], [548, 152], [558, 152], [568, 152], [578, 152], [588, 152], [598, 152], [608, 152]], [[233, 161], [243, 161], [253, 161], [263, 161], [273, 161], [283, 161], [293, 161], [303, 161], [313, 161], [323, 161], [333, 161], [343, 161], [353, 161], [363, 161], [373, 161], [383, 161], [393, 161], [403, 161], [413, 161], [423, 161], [433, 161], [443, 161], [453, 161], [463, 161], [473, 161], [483, 161], [493, 161], [503, 161], [513, 161], [523, 161], [533, 161], [543, 161], [553, 161], [563, 161], [573, 161], [583, 161], [593, 161], [603, 161], [613, 161]], [[228, 170], [238, 170], [248, 170], [258, 170], [268, 170], [278, 170], [288, 170], [298, 170], [308, 170], [318, 170], [328, 170], [338, 170], [348, 170], [358, 170], [368, 170], [378, 170], [388, 170], [398, 170], [408, 170], [418, 170], [428, 170], [438, 170], [448, 170], [458, 170], [468, 170], [478, 170], [488, 170], [498, 170], [508, 170], [518, 170], [528, 170], [538, 170], [548, 170], [558, 170], [568, 170], [578, 170], [588, 170], [598, 170], [608, 170], [618, 170]], [[223, 179], [233, 179], [243, 179], [253, 179], [263, 179], [273, 179], [283, 179], [293, 179], [303, 179], [313, 179], [323, 179], [333, 179], [343, 179], [353, 179], [363, 179], [373, 179], [383, 179], [393, 179], [403, 179], [413, 179], [423, 179], [433, 179], [443, 179], [453, 179], [463, 179], [473, 179], [483, 179], [493, 179], [503, 179], [513, 179], [523, 179], [533, 179], [543, 179], [553, 179], [563, 179], [573, 179], [583, 179], [593, 179], [603, 179], [613, 179], [623, 179]], [[218, 188], [228, 188], [238, 188], [248, 188], [258, 188], [268, 188], [278, 188], [288, 188], [298, 188], [308, 188], [318, 188], [328, 188], [338, 188], [348, 188], [358, 188], [368, 188], [378, 188], [388, 188], [398, 188], [408, 188], [418, 188], [428, 188], [438, 188], [448, 188], [458, 188], [468, 188], [478, 188], [488, 188], [498, 188], [508, 188], [518, 188], [528, 188], [538, 188], [548, 188], [558, 188], [568, 188], [578, 188], [588, 188], [598, 188], [608, 188], [618, 188], [628, 188]], [[213, 197], [223, 197], [233, 197], [243, 197], [253, 197], [263, 197], [273, 197], [283, 197], [293, 197], [303, 197], [313, 197], [323, 197], [333, 197], [343, 197], [353, 197], [363, 197], [373, 197], [383, 197], [393, 197], [403, 197], [413, 197], [423, 197], [433, 197], [443, 197], [453, 197], [463, 197], [473, 197], [483, 197], [493, 197], [503, 197], [513, 197], [523, 197], [533, 197], [543, 197], [553, 197], [563, 197], [573, 197], [583, 197], [593, 197], [603, 197], [613, 197], [623, 197], [633, 197]], [[208, 206], [218, 206], [228, 206], [238, 206], [248, 206], [258, 206], [268, 206], [278, 206], [288, 206], [298, 206], [308, 206], [318, 206], [328, 206], [338, 206], [348, 206], [358, 206], [368, 206], [378, 206], [388, 206], [398, 206], [408, 206], [418, 206], [428, 206], [438, 206], [448, 206], [458, 206], [468, 206], [478, 206], [488, 206], [498, 206], [508, 206], [518, 206], [528, 206], [538, 206], [548, 206], [558, 206], [568, 206], [578, 206], [588, 206], [598, 206], [608, 206], [618, 206], [628, 206], [638, 206]], [[203, 215], [213, 215], [223, 215], [233, 215], [243, 215], [253, 215], [263, 215], [273, 215], [283, 215], [293, 215], [303, 215], [313, 215], [323, 215], [333, 215], [343, 215], [353, 215], [363, 215], [373, 215], [383, 215], [393, 215], [403, 215], [413, 215], [423, 215], [433, 215], [443, 215], [453, 215], [463, 215], [473, 215], [483, 215], [493, 215], [503, 215], [513, 215], [523, 215], [533, 215], [543, 215], [553, 215], [563, 215], [573, 215], [583, 215], [593, 215], [603, 215], [613, 215], [623, 215], [633, 215], [643, 215]], [[208, 224], [218, 224], [228, 224], [238, 224], [248, 224], [258, 224], [268, 224], [278, 224], [288, 224], [298, 224], [308, 224], [318, 224], [328, 224], [338, 224], [348, 224], [358, 224], [368, 224], [378, 224], [388, 224], [398, 224], [408, 224], [418, 224], [428, 224], [438, 224], [448, 224], [458, 224], [468, 224], [478, 224], [488, 224], [498, 224], [508, 224], [518, 224], [528, 224], [538, 224], [548, 224], [558, 224], [568, 224], [578, 224], [588, 224], [598, 224], [608, 224], [618, 224], [628, 224], [638, 224]], [[213, 233], [223, 233], [233, 233], [243, 233], [253, 233], [263, 233], [273, 233], [283, 233], [293, 233], [303, 233], [313, 233], [323, 233], [333, 233], [343, 233], [353, 233], [363, 233], [373, 233], [383, 233], [393, 233], [403, 233], [413, 233], [423, 233], [433, 233], [443, 233], [453, 233], [463, 233], [473, 233], [483, 233], [493, 233], [503, 233], [513, 233], [523, 233], [533, 233], [543, 233], [553, 233], [563, 233], [573, 233], [583, 233], [593, 233], [603, 233], [613, 233], [623, 233], [633, 233]], [[218, 242], [228, 242], [238, 242], [248, 242], [258, 242], [268, 242], [278, 242], [288, 242], [298, 242], [308, 242], [318, 242], [328, 242], [338, 242], [348, 242], [358, 242], [368, 242], [378, 242], [388, 242], [398, 242], [408, 242], [418, 242], [428, 242], [438, 242], [448, 242], [458, 242], [468, 242], [478, 242], [488, 242], [498, 242], [508, 242], [518, 242], [528, 242], [538, 242], [548, 242], [558, 242], [568, 242], [578, 242], [588, 242], [598, 242], [608, 242], [618, 242], [628, 242]], [[223, 251], [233, 251], [243, 251], [253, 251], [263, 251], [273, 251], [283, 251], [293, 251], [303, 251], [313, 251], [323, 251], [333, 251], [343, 251], [353, 251], [363, 251], [373, 251], [383, 251], [393, 251], [403, 251], [413, 251], [423, 251], [433, 251], [443, 251], [453, 251], [463, 251], [473, 251], [483, 251], [493, 251], [503, 251], [513, 251], [523, 251], [533, 251], [543, 251], [553, 251], [563, 251], [573, 251], [583, 251], [593, 251], [603, 251], [613, 251], [623, 251]], [[228, 260], [238, 260], [248, 260], [258, 260], [268, 260], [278, 260], [288, 260], [298, 260], [308, 260], [318, 260], [328, 260], [338, 260], [348, 260], [358, 260], [368, 260], [378, 260], [388, 260], [398, 260], [408, 260], [418, 260], [428, 260], [438, 260], [448, 260], [458, 260], [468, 260], [478, 260], [488, 260], [498, 260], [508, 260], [518, 260], [528, 260], [538, 260], [548, 260], [558, 260], [568, 260], [578, 260], [588, 260], [598, 260], [608, 260], [618, 260]], [[233, 269], [243, 269], [253, 269], [263, 269], [273, 269], [283, 269], [293, 269], [303, 269], [313, 269], [323, 269], [333, 269], [343, 269], [353, 269], [363, 269], [373, 269], [383, 269], [393, 269], [403, 269], [413, 269], [423, 269], [433, 269], [443, 269], [453, 269], [463, 269], [473, 269], [483, 269], [493, 269], [503, 269], [513, 269], [523, 269], [533, 269], [543, 269], [553, 269], [563, 269], [573, 269], [583, 269], [593, 269], [603, 269], [613, 269]], [[238, 278], [248, 278], [258, 278], [268, 278], [278, 278], [288, 278], [298, 278], [308, 278], [318, 278], [328, 278], [338, 278], [348, 278], [358, 278], [368, 278], [378, 278], [388, 278], [398, 278], [408, 278], [418, 278], [428, 278], [438, 278], [448, 278], [458, 278], [468, 278], [478, 278], [488, 278], [498, 278], [508, 278], [518, 278], [528, 278], [538, 278], [548, 278], [558, 278], [568, 278], [578, 278], [588, 278], [598, 278], [608, 278]], [[243, 287], [253, 287], [263, 287], [273, 287], [283, 287], [293, 287], [303, 287], [313, 287], [323, 287], [333, 287], [343, 287], [353, 287], [363, 287], [373, 287], [383, 287], [393, 287], [403, 287], [413, 287], [423, 287], [433, 287], [443, 287], [453, 287], [463, 287], [473, 287], [483, 287], [493, 287], [503, 287], [513, 287], [523, 287], [533, 287], [543, 287], [553, 287], [563, 287], [573, 287], [583, 287], [593, 287], [603, 287]], [[248, 296], [258, 296], [268, 296], [278, 296], [288, 296], [298, 296], [308, 296], [318, 296], [328, 296], [338, 296], [348, 296], [358, 296], [368, 296], [378, 296], [388, 296], [398, 296], [408, 296], [418, 296], [428, 296], [438, 296], [448, 296], [458, 296], [468, 296], [478, 296], [488, 296], [498, 296], [508, 296], [518, 296], [528, 296], [538, 296], [548, 296], [558, 296], [568, 296], [578, 296], [588, 296], [598, 296]], [[253, 305], [263, 305], [273, 305], [283, 305], [293, 305], [303, 305], [313, 305], [323, 305], [333, 305], [343, 305], [353, 305], [363, 305], [373, 305], [383, 305], [393, 305], [403, 305], [413, 305], [423, 305], [433, 305], [443, 305], [453, 305], [463, 305], [473, 305], [483, 305], [493, 305], [503, 305], [513, 305], [523, 305], [533, 305], [543, 305], [553, 305], [563, 305], [573, 305], [583, 305], [593, 305]], [[258, 314], [268, 314], [278, 314], [288, 314], [298, 314], [308, 314], [318, 314], [328, 314], [338, 314], [348, 314], [358, 314], [368, 314], [378, 314], [388, 314], [398, 314], [408, 314], [418, 314], [428, 314], [438, 314], [448, 314], [458, 314], [468, 314], [478, 314], [488, 314], [498, 314], [508, 314], [518, 314], [528, 314], [538, 314], [548, 314], [558, 314], [568, 314], [578, 314], [588, 314]], [[263, 323], [273, 323], [283, 323], [293, 323], [303, 323], [313, 323], [323, 323], [333, 323], [343, 323], [353, 323], [363, 323], [373, 323], [383, 323], [393, 323], [403, 323], [413, 323], [423, 323], [433, 323], [443, 323], [453, 323], [463, 323], [473, 323], [483, 323], [493, 323], [503, 323], [513, 323], [523, 323], [533, 323], [543, 323], [553, 323], [563, 323], [573, 323], [583, 323]], [[268, 332], [278, 332], [288, 332], [298, 332], [308, 332], [318, 332], [328, 332], [338, 332], [348, 332], [358, 332], [368, 332], [378, 332], [388, 332], [398, 332], [408, 332], [418, 332], [428, 332], [438, 332], [448, 332], [458, 332], [468, 332], [478, 332], [488, 332], [498, 332], [508, 332], [518, 332], [528, 332], [538, 332], [548, 332], [558, 332], [568, 332], [578, 332]], [[273, 341], [283, 341], [293, 341], [303, 341], [313, 341], [323, 341], [333, 341], [343, 341], [353, 341], [363, 341], [373, 341], [383, 341], [393, 341], [403, 341], [413, 341], [423, 341], [433, 341], [443, 341], [453, 341], [463, 341], [473, 341], [483, 341], [493, 341], [503, 341], [513, 341], [523, 341], [533, 341], [543, 341], [553, 341], [563, 341], [573, 341]], [[278, 350], [288, 350], [298, 350], [308, 350], [318, 350], [328, 350], [338, 350], [348, 350], [358, 350], [368, 350], [378, 350], [388, 350], [398, 350], [408, 350], [418, 350], [428, 350], [438, 350], [448, 350], [458, 350], [468, 350], [478, 350], [488, 350], [498, 350], [508, 350], [518, 350], [528, 350], [538, 350], [548, 350], [558, 350], [568, 350]], [[283, 359], [293, 359], [303, 359], [313, 359], [323, 359], [333, 359], [343, 359], [353, 359], [363, 359], [373, 359], [383, 359], [393, 359], [403, 359], [413, 359], [423, 359], [433, 359], [443, 359], [453, 359], [463, 359], [473, 359], [483, 359], [493, 359], [503, 359], [513, 359], [523, 359], [533, 359], [543, 359], [553, 359], [563, 359]], [[288, 368], [298, 368], [308, 368], [318, 368], [328, 368], [338, 368], [348, 368], [358, 368], [368, 368], [378, 368], [388, 368], [398, 368], [408, 368], [418, 368], [428, 368], [438, 368], [448, 368], [458, 368], [468, 368], [478, 368], [488, 368], [498, 368], [508, 368], [518, 368], [528, 368], [538, 368], [548, 368], [558, 368]], [[293, 377], [303, 377], [313, 377], [323, 377], [333, 377], [343, 377], [353, 377], [363, 377], [373, 377], [383, 377], [393, 377], [403, 377], [413, 377], [423, 377], [433, 377], [443, 377], [453, 377], [463, 377], [473, 377], [483, 377], [493, 377], [503, 377], [513, 377], [523, 377], [533, 377], [543, 377], [553, 377]], [[298, 386], [308, 386], [318, 386], [328, 386], [338, 386], [348, 386], [358, 386], [368, 386], [378, 386], [388, 386], [398, 386], [408, 386], [418, 386], [428, 386], [438, 386], [448, 386], [458, 386], [468, 386], [478, 386], [488, 386], [498, 386], [508, 386], [518, 386], [528, 386], [538, 386], [548, 386]], [[303, 395], [313, 395], [323, 395], [333, 395], [343, 395], [353, 395], [363, 395], [373, 395], [383, 395], [393, 395], [403, 395], [413, 395], [423, 395], [433, 395], [443, 395], [453, 395], [463, 395], [473, 395], [483, 395], [493, 395], [503, 395], [513, 395], [523, 395], [533, 395], [543, 395]], [[308, 404], [318, 404], [328, 404], [338, 404], [348, 404], [358, 404], [368, 404], [378, 404], [388, 404], [398, 404], [408, 404], [418, 404], [428, 404], [438, 404], [448, 404], [458, 404], [468, 404], [478, 404], [488, 404], [498, 404], [508, 404], [518, 404], [528, 404], [538, 404]], [[313, 413], [323, 413], [333, 413], [343, 413], [353, 413], [363, 413], [373, 413], [383, 413], [393, 413], [403, 413], [413, 413], [423, 413], [433, 413], [443, 413], [453, 413], [463, 413], [473, 413], [483, 413], [493, 413], [503, 413], [513, 413], [523, 413], [533, 413]]]
"""
new_grid_coords = []
# Generating new grid positions.
square = 10
square_width = square
square_height = square
y = -square_height + 10
for i in range(0, 43):
y += square_height
x = -square_width + 213
new_grid_coords.append([])
for j in range(0, 43):
x += square_width
new_grid_coords[i].append((x,y))
"""
'''
# HOW TO DO TIMERS TO COMPARE ALGORHITMS
import time as t
from collections import Counter
eles = list(range(5000000)) + list(range(5000000))
eles.append(104933)
eles.append(104933)
eles.append(104933)
print('len list: ', len(eles))
print()
st = t.time()
print('Using Counter().most_common(): ')
print(Counter(eles).most_common(1)[0])
print('Time: ', t.time()-st)
print()
st = t.time()
def mosty(lst):
sort = sorted(lst)
count, maxi, last_ele = 0, 0, None
for ele in sort:
if(maxi < count):
results = (last_ele, count)
maxi = count
if last_ele == ele:
count += 1
else:
count = 1
last_ele = ele
return results
print('No counter')
print(mosty(eles))
print('Time: ', t.time()-st)
'''