forked from tkkcc/ArkLights
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.lua
388 lines (382 loc) · 58.6 KB
/
tag.lua
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
require("util")
tag = {"新手", "资深干员", "高级资深干员", "远程位", "近战位",
"先锋干员", "狙击干员", "医疗干员", "术师干员",
"近卫干员", "重装干员", "辅助干员", "特种干员", "治疗",
"支援", "输出", "群攻", "减速", "生存", "防护", "削弱",
"位移", "控场", "爆发", "召唤", "快速复活", "费用回复",
"支援机械"}
-- tagw = table.concat(tag)
tagw =
"位先减出击削助医卫发召员唤回场复存师干弱快战手护控援支攻新术机械治活深爆特狙生用疗种移程级群装费资辅输近远速重锋防高"
-- https://www.taptap.com/topic/5828806 5月1日
tag4 = [[
支援机械:5星
资深干员:5星
高级资深干员:6星
-
近战位+支援:杜宾(4星)、凛冬(5星)、诗怀雅(5星)
近战位+减速:霜叶(4星)、食铁兽(5星)
近战位+控场:德克萨斯(5星)、红(5星)
-
远程位+生存:杰西卡(4星)
远程位+支援:白面鸮(5星)、华法琳(5星)
远程位+控场:梅尔(5星)
-
输出+防护:雷蛇(5星)、火神(5星)
输出+重装:雷蛇(5星)、火神(5星)
输出+辅助:真理(5星)
输出+特种:狮蝎(5星)、崖心(5星)
输出+支援:杜宾(4星)、诗怀雅(5星)
输出+削弱:夜烟(4星)、流星(4星)
输出+减速:霜叶(4星)、真理(5星)
输出+位移:崖心(5星)
输出+治疗:夜魔(5星)
-
防护+特种:砾(4星)
防护+位移:可颂(5星)
防护+输出:雷蛇(5星)、火神(5星)
防护+生存:火神(5星)
-
生存+远程:杰西卡(4星)
生存+狙击:杰西卡(4星)
生存+特种:狮蝎(5星)
-
治疗+支援:白面鸮(5星)、华法琳(5星)
治疗+术师:夜魔(5星)
治疗+输出:夜魔(5星)
治疗+减速:夜魔(5星)
-
支援:杜宾(4星)、白面鸮(5星)、华法琳(5星)、凛冬(5星)、诗怀雅(5星)
支援+先锋:凛冬(5星)
支援+费用回复:凛冬(5星)
支援+近卫:杜宾(4星)、诗怀雅(5星)
支援+医疗:白面鸮(5星)、华法琳(5星)
支援+治疗:白面鸮(5星)、华法琳(5星)
支援+近战:杜宾(4星)、凛冬(5星)、诗怀雅(5星)
支援+远程:白面鸮(5星)、华法琳(5星)
支援+输出:杜宾(4星)、诗怀雅(5星)
-
快速复活:砾(4星)、红(5星)
快速复活+控场:红(5星)
快速复活+防护:砾(4星)
-
群攻+削弱:陨星(5星)
群攻+减速:白雪(4星)、格雷伊(4星)
-
召唤:梅尔(5星)
-
削弱:夜烟(4星)、流星(4星)、初雪(5星)、陨星(5星)
削弱+狙击:流星(4星)、陨星(5星)
削弱+术师:夜烟(4星)
削弱+辅助:初雪(5星)
削弱+输出:夜烟(4星)、流星(4星)
削弱+群攻:陨星(5星)
-
减速+狙击:白雪(4星)
减速+近卫:霜叶(4星)
减速+术师:夜魔(5星)、格雷伊(4星)
减速+特种:食铁兽(5星)
减速+近战:霜叶(4星)、食铁兽(5星)
减速+输出:霜叶(4星)、真理(5星)
减速+群攻:白雪(4星)、格雷伊(4星)
减速+治疗:夜魔(5星)
减速+位移:食铁兽(5星)
-
控场:德克萨斯(5星)、红(5星)、梅尔(5星)
控场+先锋:德克萨斯(5星)
控场+费用回复:德克萨斯(5星)
控场+特种:红(5星)
控场+辅助:梅尔(5星)
控场+近战:德克萨斯(5星)、红(5星)
控场+远程:梅尔(5星)
控场+快速复活:红(5星)
-
位移:暗索(4星)、阿消(4星)、崖心(5星)、食铁兽(5星)、可颂(5星)
位移+重装:可颂(5星)
位移+特种:暗索(4星)、阿消(4星)、崖心(5星)、食铁兽(5星)
位移+输出:崖心(5星)
位移+防护:可颂(5星)
位移+减速:食铁兽(5星)
-
爆发:守林人(5星)
-
狙击+削弱:流星(4星)、陨星(5星)
狙击+减速:白雪(4星)
狙击+爆发:守林人(5星)
狙击+生存:杰西卡(4星)
-
术师+削弱:夜烟(4星)
术师+治疗:夜魔(5星)
术师+减速:夜魔(5星)、格雷伊(4星)
-
先锋+支援:凛冬(5星)
先锋+控场:德克萨斯(5星)
费用回复+支援:凛冬(5星)
费用回复+控场:德克萨斯(5星)
-
近卫+减速:霜叶(4星)
近卫+支援:杜宾(4星)、诗怀雅(5星)
-
重装+位移:可颂(5星)
重装+输出:雷蛇(5星)、火神(5星)
重装+生存:火神(5星)
-
医疗+支援:白面鸮(5星)、华法琳(5星)
-
辅助+削弱:初雪(5星)
辅助+输出:真理(5星)
辅助+控场:梅尔(5星)
-
特种:砾(4星)、暗索(4星)、阿消(4星)、红(5星)、狮蝎(5星)、崖心(5星)、食铁兽(5星)
特种+输出:狮蝎(5星)、崖心(5星)
特种+防护:砾(4星)
特种+生存:狮蝎(5星)
特种+减速:食铁兽(5星)
特种+控场:红(5星)
特种+位移:暗索(4星)、阿消(4星)、崖心(5星)、食铁兽(5星)
]]
-- parse to key:value
tagk = {}
tagv = {}
for k, v in tag4:gmatch('([^\r\n%s]+):([^\r\n%s]+)') do
local t = {}
for i in k:gmatch("[^%+]+") do
i = table.find(tag, function(x) return x:startsWith(i) end)
if not i then log('tag map error', k) end
insert(t, tag[i])
end
-- ignore duplication
flag = true
for k, v in pairs(tagk) do
if #v == #t and
not table.any(v, function(x) return not table.includes(t, x) end) then
flag = false
break
end
end
if flag then
-- log(t)
insert(tagk, t)
insert(tagv, v)
end
end
-- for k, v in pairs(tagk) do log(v) end
-- return bottom/right blank line num
detect_blank_line = function(s, ah, aw)
local flag = true
local bza = 0 -- bottom zero line num
local rza = 0 -- right zero line num
for i = ah, 1, -1 do
for j = 1, aw do
if s[(i - 1) * aw + j] then
flag = false
break
end
end
if not flag then break end
bza = bza + 1
end
flag = true
for j = aw, 1, -1 do
for i = 1, ah do
if s[(i - 1) * aw + j] then
flag = false
break
end
end
if not flag then break end
rza = rza + 1
end
return {bza, rza}
end
fm_blank_line = {}
-- x: binary image
-- out: string
ocr = function(x)
-- bounding box of whole text
local h_noise_max = 6
local w_noise_max = h_noise_max * 2
local h, w = #x, #x[1]
local hs = {0}
local ws = {0}
repeat_last(hs, w - 1)
repeat_last(ws, h - 1)
for i = 1, h do
for j = 1, w do
hs[j] = hs[j] + x[i][j]
ws[i] = ws[i] + x[i][j]
end
end
for i = 1, w do if hs[i] < h_noise_max then hs[i] = 0 end end
for i = 1, h do if ws[i] < w_noise_max then ws[i] = 0 end end
local top = 1
local left = 1
local bottom = h
local right = w
while ws[top] == 0 do top = top + 1 end
while ws[bottom] == 0 do bottom = bottom - 1 end
while hs[left] == 0 do left = left + 1 end
while hs[right] == 0 do right = right - 1 end
-- single word size
local bh = 45
local bw = 31
local ah = 30
local aw = 28
local result = ''
-- loop each word
if bottom <= top or right <= left then return result end
-- offset
local of = {{-1, -1}, {-1, 0}, {-1, 1}, {0, -1}, {0, 0}, {0, 1}, {1, -1},
{1, 0}, {1, 1}}
of = {{-2, -2}, {-2, -1}, {-2, -0}, {-2, 1}, {-2, 2}, {-1, -2}, {-1, -1},
{-1, -0}, {-1, 1}, {-1, 2}, {-0, -2}, {-0, -1}, {-0, -0}, {-0, 1},
{-0, 2}, {1, -2}, {1, -1}, {1, -0}, {1, 1}, {1, 2}, {2, -2}, {2, -1},
{2, -0}, {2, 1}, {2, 2}}
-- of = {{-1, 0}, {0, 0}, {-2, 0}}
of = {{0, 0}}
local cps = 1 -- compare point step
local s, t, a, t1, err_min_total, target, err_min, err, dx, dy, cx, cy, ofa,
ofb, bza, bzb, rza, rzb, flag
for i = top, bottom - math.floor(ah / 2), bh do
for j = left, right - math.floor(aw / 2), bw do
t = {}
a = false
t1 = '\n'
for k = 0, ah - 1 do
for l = 0, aw - 1 do
a = x[i + k][j + l] == 1 and true or false
insert(t, a)
-- t1 = t1 .. x[i + k][j + l]
end
-- t1 = t1 .. '\n'
end
-- log(t1)
if #t ~= #fm.辅 then
log("error: single word size error ", #t)
lua_exit()
end
-- match bottom line of s and t
bzb, rzb = unpack(detect_blank_line(t, ah, aw))
-- cache blank of fm
if not fm_blank_line.辅 then
for k, v in pairs(fm) do
fm_blank_line[k] = detect_blank_line(v, ah, aw)
end
end
-- calulate sum
t1 = 0
for k = 1, #t do if t[k] then t1 = t1 + 1 end end
if t1 < 4 * aw then
target = ""
else
-- loop each target
err_min_total = 0x3f3f3f3f
for k, v in pairs(fm) do
-- calculator similarity
err_min = 0
s = fm[k]
bza, rza = unpack(fm_blank_line[k])
-- loop each offset
for l = 1, #of do
err = 0
dx, dy = of[l][1] - bzb + bza, of[l][2] - rzb + rza
for ki = 1, ah - bza, cps do
for kj = 1, aw - rza, cps do
cx, cy = dx + ki, dy + kj
if not (cx < 1 or cx > ah or cy < 1 or cy > aw) then
ofa = (ki - 1) * aw + kj
ofb = (cx - 1) * aw + cy
if s[ofa] ~= t[ofb] then err = err + 1 end
end
end
end
err_min = err_min + err
end
if err_min_total > err_min then
err_min_total = err_min
target = k
end
end
end
result = result .. target
end
end
return result
end
create_font_map = function()
local t = binarizeImage({
rect = {0, 500, 700, 1000},
diff = {"0xffffff-0x444444"},
})
ocr(t)
end
-- created tag map
fm = {
位 = "000000000000000001100000000000000011000000011110000000000000011110000000111000000000000001111000000011110000000000001111000000001111000000000000111100000000111000000000000111100111111111111111111000011110011111111111111111100011111001111111111111111110011111100011111111111111110001111110000000000000000000001111111000011110000001111000111111100001111000000111100011111110000111100000011110001111111000001110000001111000010111100000111000000111000000011110000011110000011100000001111000001111000001110000000111100000111100001111000000011110000011110000111100000001111000001111000011100000000111100000011100001110000000011110000001110000111000000001111000000111000111100000000111100000000000011110000000011110011111111111111111100001111011111111111111111111000111101111111111111111111100011110111111111111111111110001111000000000000000000000",
先 = "000000000000000000000000000000000110000011100000000000000000111100001110000000000000000011110000111000000000000000001111000011100000000000000000111111111111111111111000000111111111111111111111100000011111111111111111111110000011111111111111111111111000001111000000111000000000000001111000000011100000000000000111100000001110000000000000000100000000111000000000000000000000000011100000000000001111111111111111111111111110111111111111111111111111111011111111111111111111111111101111111111111111111111111110000000011110000111100000000000000001111000011110000000000000000111000001111000000000000000111100000111100000000000000011110000011110000000000000011111000001111000001110000011111000000111100000111100011111000000011110000011100111111100000000111100011110111111100000000011111111111011111100000000001111111111100111000000000000011111111000",
减 = "000000000000000000111000000000000000000000000011101110000000000000000000001110111100110000000000000000111001111011100000000000000011100011001110000000000000001111001100111100111111111111111111111101110011111111111111111111110111101111111111111111111111011110111100000000111100000000111011110111111101110001000010001111111111110111001110000000111111111111011100111000000011110000000001110011100000001111000000000111011110000000111101111111011101110000100011110111111101111111000011101111011111110111111100001110111001100011011111100001111011100110001101111110000111001110011000110011110000011100111001100011001111000011110011100111111100111000101111001110011111110111100011111001111001111111111111011111100111000110000111111101111110011100000000111101111111110011110000000111100011111001001110000000011100001111100000011000000000100000011100",
出 = "000000000000000000000000000000000000000111100000000000000000000000011110000000000000000111000001111000000111100000111100000111100000011110000011110000011110000001111000001111000001111000000111100000111100000111100000011110000011110000011110000001111000001111000001111000000111100000111100000111100000011110000011111111111111111111111000001111111111111111111111100000111111111111111111111110000011111111111111111111111000000000000001111000000000000000000000000111100000000000000111100000011110000000111100011110000001111000000011110001111000000111100000001111000111100000011110000000111100011110000001111000000011110001111000000111100000001111000111100000011110000000111100011110000001111000000011110001111111111111111111111111000111111111111111111111111100011111111111111111111111110001111111111111111111111111000000000000000000000000111100",
击 = "000000000000000000000000000000000000000011110000000000000000000000001111000000000000000000000000111100000000000000000000000011110000000000000011111111111111111111111000001111111111111111111111100000111111111111111111111110000011111111111111111111111000000000000000111100000000000000000000000011110000000000000000000000001111000000000000111111111111111111111111111011111111111111111111111111101111111111111111111111111110111111111111111111111111111000000000000011110000000000000000000000001111000000000000001111000000111100000111100000111100000011110000011110000011110000001111000001111000001111000000111100000111100000111100000011110000011110000011110000001111000001111000001111000000111100000111100000111111111111111111111110000011111111111111111111111000001111111111111111111111100000111111111111111111111110000000000000000000000001111000",
削 = "000000000000000000000000000000000111100000000000000111101100011110011110000000011110111001111001111000000001111011100111100111100110000111101111011110011100111100011110111101111011110011110001111001110111101110001111000111100110011110011000111100011110010001111000000011110001111011111111111111001111000111101111111111111100111100011110111111111111110011110001111011110000001111001111000111101111000000111100111100011110111111111111110011110001111011111111111111001111000111101111111111111100111100011110111100000011110011110001111011110000001111001111000111101111111111111100111100011110111111111111110011110001111011111111111111000000000111101111000000111100000000011110111100000011110000000001111011110000001111000000000111101111000000111100001111111110111100011111110000111111110011110001111110000011111111000111000011110000000111110000",
助 = "000000000000000000000000000000000000000000000111000000000111111111110000011100000000011111111111000001110000000001111111111100000111000000000111100011110000011100000000011100001111000001110000000001110000111100001111100000000111000011110111111111111110011111111111011111111111111001111111111101111111111111100111111111110000111100011110011100001111000011110001111001110000111100001111000111100111000011110000111100011110011111111111000011110001111001111111111100001111000111100111111111110000111000011110011100001111000111100001111001110000111100011110000111100111000011111001111000011110011100011111101111000001111001111111111111111100000111101111111111111111110000011100111111111110111110000001110011111110000011110000001111001110000000011111000000111100000000000011111000111111110000000000001111000011111110000000000000011000000111110000",
医 = "000000000000000000000000000000000000000000000000000000000111111111111111111111111110011111111111111111111111111001111111111111111111111111100111111111111111111111111110011100000111000000000000000001110000011110000000000000000111000011110000000000000000011100001111111111111111100001110001111111111111111110000111001111111111111111111000011100111100001111000000000001110000100000111100000000000111000000000011110000000000011101111111111111111111110001110111111111111111111111000111011111111111111111111100011100000000011111000000000001110000000011111111000000000111000000011111111110000000011100000011111001111110000001110001111111000011111100000111001111111000000011111000011100011110000000000111000001110001100000000000001000000111111111111111111111111111011111111111111111111111111101111111111111111111111111110111111111111111111111111110",
卫 = "000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111100001111111111111111111111110000111111111111111111111111000011111111111111111111111100000000000001111000000001110000000000000111100000000111000000000000011110000000011100000000000001111000000001110000000000000111100000000111000000000000011110000000011100000000000001111000000001110000000000000111100000000111000000000000011110000000011100000000000001111001111111110000000000000111100011111111000000000000011110001111111000000000000001111000011100000000000000000111100000000000000000000000011110000000000000000000000001111000000000000000000000000111100000000000000000000000011110000000000000000000000001111000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110",
发 = "000000000000100000000000000000000100000111110000110000000000111100011111000111100000000011110001111000011111000000011111000111100000111110000001111000011110000001111000000111100001111000000010000000111111111111111111111111100111111111111111111111111110011111111111111111111111111000111111111111111111111111100000000001111100000000000000000000000111100000000000000000000000111111111111111000000000000011111111111111111000000000001111111111111111100000000001111111111111111110000000001111111000000011110000000000111111100000011111000000000111111111000011111000000000111110011110001111000000000111111001111111111100000000111111000011111111100000000111111000000111111100000000111111000000111111111000000011111000001111111111111000001111000111111111111111111100010000111111111000111111111100000011111110000000111111100000000111000000000000011110",
召 = "000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111100001111111111111111111111110000111111111111111111111111000000000000111100000000111100000000000011110000000011110000000000011111000000001111000000000011111000000000111100000000011111000000000011110000000011111100000000011110000000111111100000111111111000001111111100000001111111100001111111100000000111111100000111111000000000000000000000011111000000000000000000000000101111111111111111111110000000111111111111111111111000000011111111111111111111100000001111000000000000011110000000111100000000000001111000000011110000000000000111100000001111000000000000011110000000111100000000000001111000000011110000000000000111100000001111111111111111111110000000111111111111111111111000000011111111111111111111100000001111000000000000011110000",
员 = "000000000000000000000000000000000000000000000000000000000000111111111111111111110000000011111111111111111111000000001111111111111111111100000000111000000000000011110000000011100000000000001111000000001111000000000000111100000000111111111111111111110000000011111111111111111111000000001111111111111111111100000000000000000000000000000000000000000000000000000000000000111111111111111111111110000011111111111111111111111000001111111111111111111111100000111100000000000000011110000011110000000000000001111000001111000001111000000111100000111100000111100000011110000011110000011110000001111000001111000001111000000111100000111100000111100000011110000011110000111110000001111000000111000111110011110000000000000001111110011111111000000000111111110001111111111000111111111110000000111111111001111111100000000000011111100111111000000000000000011100",
唤 = "000000000000000000000000000000000000000000111100000000000000000000000111100000000000000000000000011111111111000011111111000011111111111110001111111100011111111111111000111111110001111000001111000011100111001111000001111100001110011111111100000111100000111001110111111111111111110011100111001111111111111111001110011100011111111111111100111001110001110001110011110011100111000111000111001111001110011100011100011100111100111001110001110011110011110011100111000111001111001111001110011100011100111100111100111001110111111111111111111011100111011111111111111111101111111101111111111111111110111111110000000111110000000011111111000000111111100000001110000000000111111111000000111000000000111110011110000011100000000111110001111110000000000000111110000011111100000000001111110000000111111100000000111110000000000111100000000001100000000000001100",
回 = "000000000000000000000000000000000000000000000000000000001111111111111111111111111110111111111111111111111111111011111111111111111111111111101111111111111111111111111110111100000000000000000001111011110000000000000000000111101111000000000000000000011110111100011111111111110001111011110001111111111111000111101111000111111111111100011110111100011110000011110001111011110001111000001111000111101111000111100000111100011110111100011110000011110001111011110001111000001111000111101111000111100000111100011110111100011111111111110001111011110001111111111111000111101111000111111111111100011110111100000000000000000001111011110000000000000000000111101111000000000000000000011110111100000000000000000001111011111111111111111111111111101111111111111111111111111110111111111111111111111111111011111000000000000000001111101111000000000000000000011110",
场 = "000000000000000000000000000000011100000000000000000000000001110000111111111111110000000111000011111111111111100000011100001111111111111100000001110000000000011111100000000111000000000001111100000000011100000000011111100000001111111110000011111100000000111111111000011111000000000011111111100111111100000000001111111110111111111111111111000111000011111111111111111100011100000111111111111111100001110000000011100111101110000111000000011110011100111000011100000001111001110011100001110000001111001111001110000111000000111100111001111000011100100111100111100111100001111111111100011100011110001111111111100011110001111011111111111100001110000111101111111100000001111000011110111110000000001111000001111011100000000001111000001111000000000000001111100000111100000000000001111100111111110000000000000111100001111110000000000000001100000111110000",
复 = "000000000000000000000000000000000111100000000000000000000000111100000000000000000000000011111111111111111111111000011111111111111111111111100011111111111111111111111110011111000000000000000000000011111000000000000000000000001111111111111111111111110000111011111111111111111111000001001111000000000000111100000000111100000000000011110000000011111111111111111111000000001111111111111111111100000000111100000000000001110000000011110000000000001111000000001111111111111111111100000000111111111111111111110000000000011110000000000000000000000011111111111111111000000000111111111111111111110000000111111111111111111110000001111111110000000111110000000111100111110001111110000000001100001111111111110000000000000000011111111110000000000000011111111111111111110000111111111111111111111111111111111111111000000111111111101111110000000000000000111100",
存 = "000000000000000000000000000000000000011110000000000000000000000001111000000000000000000000000111100000000000000000000000111100000000000000001111111111111111111111111110111111111111111111111111111011111111111111111111111111101111111111111111111111111110000000111100000000000000000000000111110000000000000000000000011110011111111111111000000011111001111111111111110000011111000111111111111110000001111000000000000111110000001111100000000000111110000001111110000000000111110000001111111000000000011110000000111111100000000001110000000011111110011111111111111111111101111001111111111111111111000111100111111111111111111100011110000000001111100000000001111000000000011100000000000111100000000001110000000000011110000000000111000000000001111000000000011100000000000111100000111111110000000000011110000001111111000000000001111000000111111000000000",
师 = "000000000000000000000000000000000111100000000000000000000000011110111111111111111111000001111011111111111111111111110111101111111111111111111111011110000000011110000000111101111000000001110000000011110111100000000111000000001111011110000000011110000000111101111001111111111111111011110111100111111111111111101111011110011111111111111110111101111001110001110001111011110111100111000111000111101111011110011100011100011110111101111001110001110001111011110111100111000111000111101111011110011100011100011110111101111001110001110001111011110111000111000111000111100000011100011100011100011110000001110001110001110001111000001111000111000111000111100000111100011100011101111110000111100001110001110011110000011110000111000111001110000011110000000000011100000000011111000000000001110000000001111000000000000111000000000001000000000000011100000000",
干 = "000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111110001111111111111111111111111000111111111111111111111111100011111111111111111111111110000000000000111100000000000000000000000011110000000000000000000000001111000000000000000000000000111100000000000000000000000011110000000000000000000000001111000000000000011111111111111111111111111101111111111111111111111111110111111111111111111111111111011111111111111111111111111100000000000011110000000000000000000000001111000000000000000000000000111100000000000000000000000011110000000000000000000000001111000000000000000000000000111100000000000000000000000011110000000000000000000000001111000000000000000000000000111100000000000000000000000011110000000000000000000000001111000000000000000000000000111100000000000000000000000011110000000000000",
弱 = "000000000000000000000000000000000000000000000000000000001111111111110011111111111100111111111111001111111111110011111111111100111111111111000000000011110000000000011100000000001111000000000001110000000000111100000000001111000111111111110001111111111100011111111111000111111111110001111111111100011111111111000111100000000001110000000000011110000000000111000000000001111000000000011100000000000111111111111011111111111110011111111111101111111111111001111111111100111111111111100000000001110000000000011110011110000111000111100001111001111110011100111111100111100011111001110000111110011110000011111111000000111111111000001111111100000011111111000111111111110011111111111100111111111111001111111001110011111000111100111110001111001110000111110001000000111100000011111110000001111111110000000111111000000011111110000000011111000000001111110000",
快 = "000000000000000000000000000000011100000000011110000000000001110000000001111000000000000111000000000111100000000000011100000000011110000000000001110000000001111000000000000111110011111111111111110011111111101111111111111111001111111110111111111111111100111111111100000111100011110011111101110000011110001111001111110111000001111000111100110111001100000111100011110011011100000000011110001111001101110000000001111000111100110111000111111111111111111100011100011111111111111111110001110001111111111111111111000111000111111111111111111000011100000000111111100000000001110000000011111110000000000111000000001111111100000000011100000001111011111000000001110000001111100111100000000111000000111100011111000000011100000111100000111111000001110001111110000001111110000111001111110000000011111100011100111110000000000111100001110001100000000000001100",
战 = "000000000000000000000000000000000111000000000111100000000000011100000000011110011000000001110000000001111011110000000111000000000111100111000000011100000000011110011110000001111111110001111000110000000111111111000111100000000000011111111100001110000010000001110000000001111111111100000111000000111111111111110000011100000011111111111111000001110000001111111100000000000111000000000011100011000000111100000000001110001110111111111111110000111100111011111111111111000011110111101111111111111100001111011100111100000011110000111111110011110000001111000001111110001111000000111100000111111000111100000011110000011111000011110000001111000001111000101111000000111100001111100011111100000011110001111110011111111111111111001111111101111111111111111111111111111111111111111111111111100111111111110000001111011100001111101111000000011000000000011100",
手 = "000000000000000000000000000000000000000000000111111000000000000011111111111111110000011111111111111111111111000000111111111111111111100000000011111111111111000000000000000000000000111000000000000000000000000011100000000000000000000000001110000000000000001111111111111111111111100001111111111111111111111111000111111111111111111111111100011111111111111111111111110000000000000011100000000000000000000000001110000000000000000000000000111000000000000000000000000011100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000111000000000000000000000000011100000000000000000000000001110000000000000000000000000111000000000000000000000000011100000000000000000000000011110000000000000000001111111111000000000000000000011111111100000000000000000001111111100000000000000",
护 = "000000000000000000000000000000011110000000000111000000000001111000000000111110000000000111100000000001111000000000011110000000000011110000000001111000000000001110000000111111111001111111111111111011111111110111111111111111101111111111011111111111111110111111111101111000000001111000011110000111100000000111100001111000011110000000011110000111100001111000000001111000011110000111100000000111100001111111011111111111111110000111111101111111111111111011111111110111111111111111101111111110011111111111111110111111100001111000000001111011011110000111100000000000000001111000011110000000000000000111100001110000000000000000011110001111000000000000000001111000111100000000000000000111100011110000000000000000011110011110000000000000001111111001111000000000000000111111101111100000000000000001111100011100000000000000000111100000100000000000000000",
控 = "000110000000000000000000000000111100000000001110000000000011110000000000111100000000001111000000000011110000000000111100011111111111111111110011110001111111111111111111111111110111111111111111111111111111011110000000000011111111111101110000000000001111001111000111001110001100111000111100000001111001111000000011110000001111100111110000001111000001111100000111110000111100001111100000001111100011110000111100000000011110001111110011100000000000110000111111100100000000000010001111111110011111111111111100111111110001111111111111110011111100000111111111111111001111110000000000111100000000001111000000000011110000000000111100000000001111000000000011110000000000111100000000001111000000000011110000000000111100000000001111000000000011110011111111111111111111111111001111111111111111111111111000111111111111111111111111000000000000000000000000",
援 = "000000000000000000000000000000111100000000000000111110000011110001111111111111111100001111000111111111111111110000111100001111111110000100000011110000011000111000111100001111000001110011100011100011111111100111001110011110001111111110011100111001110000111111111011111111111111111000111100001111111111111111100011110000111111111111111110001111000000011110000000000000111100000001111000000000000011110001111111111111111111001111000111111111111111111100111111111111111111111111111111111110000111000000000000111111110000111111111111100011111100000011111111111111001111110000001111111111111000001111000001111110000111100000111100000111111100011100000011110000111111111011110000001111000011110011111110000000111100011110001111111000000011110011111000111111111000111111011111111111111111111111111101111011111110011111101111100011000111100000011110",
支 = "000000000000000000000000000000000000000111100000000000000000000000011110000000000000000000000001111000000000000000000000000111100000000000001111111111111111111111111110111111111111111111111111111011111111111111111111111111101111111111111111111111111100000000000001111000000000000000000000000111100000000000000000000000011110000000000000001111111111111111111110000000111111111111111111111100000011111111111111111111110000001111111111111111111111000000000111000000000001111000000000011110000000001111100000000001111100000001111100000000000011111000000111110000000000000111110001111110000000000000001111101111110000000000000000011111111110000000000000000001111111110000000000000000001111111111100000000000000111111111111111110000001111111111111111111111111110111111111110000011111111111011111111100000000011111111101111100000000000000000111100",
攻 = "000000000000000000000000000000000000000000111100000000000000000000000011110000000000000000000000001111000000000011111111111000111000000000001111111111100111100000000000111111111110011111111111111011111111111011111111111111110001111000001111111111111111000111100000111111111111111100011110000111110000001111000001111000011111000001111000000111100011111100000111100000011110011111111000011110000001111001111111100001110000000111100011001110001111000000011110000100111100111100000001111000000011110111100000000111100000000111111110000000011111111100011111110000000011111111110000111111000000111111111111000011111000000011111111100000001111110000001111110000000011111111100000110000000000011111111111000000000000000111111101111110000000000001111111100011111110000000001111111000000111111100000000111111000000001111100000000001110000000000001100",
新 = "000000000000000000000000000000001111000000000000000110000000111100000000000011111100000001111000000011111111111011111111111111011111111110001111111111111101111111000000111111111111110111100000000000111000011100011100000000000011100011110001110000000000001110001110000111000000000000111000111000011100000000001111111111111101111111111111111111111111110111111111111111111111111111011111111111110000011100000001111001111000000001110000000111000111100011111111111111011100011110001111111111111101110001111000111111111111110111000111100000000111100000011100011110000110011100110001110001111000011101110111000111000111100011110111001110111100011110001110011100111011110001111000111001110001111110000111100011000111000101111000011110000000011100000111100001111000000111110000011100000111100000011111000000110000011110000001111000000001000001111000",
术 = "000000000000000000000000000000000000000011110001000000000000000000001111001111000000000000000000111101111110000000000000000011110011111100000000000000001111000111110000000000000000111100001110000000000000000011110000010000001111111111111111111111111110111111111111111111111111111011111111111111111111111111101111111111111111111111111110000000000011111111000000000000000000001111111100000000000000000001111111111000000000000000001111111111110000000000000001111111111111100000000000000111111111011110000000000000111110111100111100000000000111110011110011111000000000111110001111000111110000001111110000111100001111110001111110000011110000011111101111110000001111000000111111111110000000111100000011111011110000000011110000000011000110000000001111000000000100000000000000111100000000000000000000000011110000000000000000000000001111000000000000",
机 = "000000000000000000000000000000001111000000000000000000000000111100000011111111110000000011110000011111111111000000001111000001111111111100000000111100000111111111110000000011110000011110000111000011111111111101111000011100001111111111110111100001110000111111111111011110000111000000011111000001111000011100000001111100000111100001110000000111110000011110000111000000011111000001111000011100000011111110000111100001110000001111111100011110000111000001111111111001111000011100000111111111110111000001110000111111111111011100000111000011101111011001110000011100001110111100001111000001110000110011110000111100000111000011001111000011110000011100111000111100011110000001110011100011110001111000000111001100001111001111100000011100110000111100111100000001111111000011110111110000000111111100001111011110000000011111110000111100010000000000111110",
械 = "000000000000000000000000000000011100000000000001110010000001110000000000000111011100000111000000000000011101111000011100000000000001110011100001110000000000000111001100000111000011111111111111111111111111101111111111111111111111111110111111111111111111111111111000000000011100000000011110000000011001110000000001111000011001110111000000001111110001100111011100111100111111000110011101110011100011111110011001110111001110011111111001110111011100111001111101111111111111111111100111110001111111111111111100111111000111111111111111110011111100000110011100111110001111110000111001110011111000110111000011100111001111100011011100001110011100111100001001110000111001110011110110000111000111100111011111011100011100011100011111111101110001110011110000011111110111000111001110000011111111111000011100011000001111001111100001110000000000011000011100",
治 = "000000000000000000000000000000010000000000111100000000000011110000000111110000000000011111110000011110000000000000111111100011111000010000000000111100001111000111000000000000100001111100011110000000000000000111100000111100000000000000111100000011111000000000000011110000000111100011100000011110000011111111001111100011111111111111111110111111101111111111111111111001111100111111111111111111110001110011111100000000001100000010000000000000000000000000000000000000000000000000000000000001111111111111111000000001100111111111111111100000000111011111111111111110000000111101111000000001111000000111110111100000000011100000011110011110000000001110000011111001111000000000111000001111000111100000000011100001111000011110000000011110001111100001111111111111111000111100000111111111111111100001110000011111111111111110000010000001111000000000111000",
活 = "000000000000000000000000000000110000000000000000011110000011110000000000011111111100011111100011111111111111110000111111001111111111111100000001111100111111111100000000000001100011110011110000000000000000000000001111000000000000000000000000111100000000000000000000000011110000000001000000111111111111111111111111000011111111111111111111111111001111111111111111111101111110011111111111111111100011110000000000111100000000000010000000000011110000000000000000000000001111000000000000000000000000111100000000000001100011111111111111110000001111001111111111111111000000111100111111111111111100000111100011110000000001110000011110001111000000000111000011110000111100000000011100001111000011110000000001110001111000001111000000000111001111100000111111111111111100111100000011111111111111110001110000001111111111111111000010000000111100000000011100",
深 = "000000000000000000000000000000100000000000000000000000000111100011111111111111111110111111101111111111111111111000111110111111111111111111100001110011100000000000011110000000001110000000001000111000000000111011110001110011100000000000001111000111100000000000000001111000001111000011000000001111000000111110001111000011111100000001111100111111001111100000000011110001111100011100001110000111000011100000000000111000000000000010000000000011100000000000000000111111111111111111100000000011111111111111111110000011001111111111111111111000011100000001111111110000000001111000000111111111000000001111000000111111111110000000111100000111111111111100000111100000111100111011111000011110000111110011100111110011110001111110001110001111101111001111110000111000011110111000011110000011100000110001100000100000001110000001000000000000000000111000000000",
爆 = "000000000000000000000000000000011100001111111111111111000001110000111111111111111100000111000011110000000001110000011100001111000000000111000001110000111111111111111100000111010011111111111111110011011101111110000000000111001101110110111111111111111100110111011011111111111111110011011111100001111000111000001101111100000111000011100000110111110111111111111111111011011100011111111111111111101001110000111111111111111100100111000000011100001110000000011100011111111111111111110011110001111111111111111111001111000111111111111111111000111100000111100000001111000011111001111100011100011110001111101111101001110000111101111111011011110111001101100111111100000111011101110000011100111000001111111110000011110011100011111111111000001110000100111111111111111000111000000111110001110111111011000000011100111111000111001100000000000011111000000000",
特 = "000000000000000000000000000000001111000000000011100000000000111100000000001110000000110011110000000001111000000011101111000011111111111111101110111100001111111111111110111011110000111111111111111011111111110000000011100000001111111111000000001110000000111111111111111111111000000011111111001111111111111111111100111100111111111111111111110011110011111111111111111111001111000000000000011110001100111100000000000001111000000011110000000000000111100000001111110111111111111111110001111111011111111111111111111111111101111111111111111111111111100000100000011110001111111100000111000001111000111011110000111100000111100000001111000001111000011110000000111100000011110001111000000011110000001111000111100000001111000000011000011110000000111100000000000001111000000011110000000001111111100000001111000000000111111100000000111100000000001111110000",
狙 = "000000000000000000000000000000100010000000000000000000000111001110001111111111111000011111111000111111111111100000111111000011111111111110000011111100001111000001111000001111100000111000000011100001111110000011100000001110001111111100001110000000111000111111110000111000000011100011110111000011111111111110001110011110001111111111111000000001111000111111111111100000000111100011100000011110000000111110001110000000111000000111111000111000000011100000011111100011100000001110000011111110001110000000111000011111111000111111111111100011110011100011111111111110001111001110001111111111111000111001111000111000000111100001000111100011100000001110000000011110001110000000111000000001111000111000000011100000000111000011100000001110000000111111111111111111111111011111110111111111111111111101111110011111111111111111110111110000000000000000000000",
生 = "000000000000000000000000000000001110000011100000000000000000111100001110000000000000000011110000111000000000000000011110000011100000000000000001111000001110000000000000000111111111111111111111110000111111111111111111111111000011111111111111111111111100011111111111111111111111110011111000000011100000000000001111000000001110000000000000111100000000111000000000000011100000000011100000000000000010000000001110000000000000000000000000111000000000000000011111111111111111111110000001111111111111111111111000000111111111111111111111100000001111111111111111111100000000000000001110000000000000000000000000111000000000000000000000000011100000000000000000000000001110000000000000000000000000111000000000000000000000000011100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110",
用 = "000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111110000111111111111111111111111000011111111111111111111111100001111111111111111111111110000111100000011110000001111000011110000001111000000111100001111000000111100000011110000111111111111111111111111000011111111111111111111111100001111111111111111111111110000111110000011110000001111000011110000001111000000111100001111000000111100000011110000111100000011110000001111000011110000011111000000111100001111111111111111111111110000111111111111111111111111000011111111111111111111111100001111000000111100000011110000111000000011110000001111000111100000001111000000111100011110000000111100000011110011110000000011110000001111001111000000001111000001111100111100000000111101111111110011100000000011110011111110000100000000001111001111110000",
疗 = "000000000000000000000000000000000000000000111000000000000000000000000011110000000000000000000000001111000000000000000000000000111110000000000000111111111111111111111111000011111111111111111111111101001111111111111111111111111100111000000000000000000000111011100000000000000000000011111110000000000000000000001111111001111111111111111100011111100111111111111111111001101110011111111111111111000000111000000000000111111000000011100000000000111111000000111110000000000111110000001111111000000000111110000000111111100000000011110000000011111110000000001111000000001101111000000000111100000000000111100000000011110000000000011100000000001111000000000011110000000000111100000000001111000000000011110000000001111000000000001111000000001111100000000000111100000000111100000001111111110000000001110000000111111110000000000010000000011111110000000000",
种 = "000000000000000000000000000000000001110000000111100000000000111111000000011110000000111111111110000001111000000011111111110000000111100000001111111000000000011110000000000011100000000001111000000000001110000111111111111111100000111000011111111111111110000111110001111111111111111011111111111111111111111111101111111111111110011110001110111111111111111001111000111000011110000111100111100011100001111100011110011110001110001111111001111001111000111000111111110111111111111111100111111111111111111111111110011111101111111111111111111011111110110111111111111111101110111000011110011110001110110011100001111001111000111011001110000000000111100000001000111000000000011110000000100011100000000001111000000000001110000000000111100000000000111000000000011110000000000011100000000001111000000000001110000000000111100000000000111000000000011110000000",
移 = "000000000000000000000000000000000001100000000111000000000000111110000000111100000000011111111100000111110000000011111111110000111111111111001111111000000111111111111100010111100001111111111111110000001110001111110000011110000000111000011101100011110000000111100000001111111111000011111111110000011111110000001111111111000001111110000000111111111100111111111000000000111110001111111111110000000011111100011111011111000000001111111001110001111111111001111111110000011111111111110111111111000011111111111110111111111100011111000001111011111110110111111000001111101110111000111111011000111100110011100001110011110111100011001110000010001111111110001000111000000000011111110000100011100000000001111110000000001110000000011111110000000000111000000111111100000000000011100011111111100000000000001110001111111000000000000000111000011100000000000000",
程 = "000000000000000000000000000000000001100000000000000000000000011111001111111111111100111111111110111111111111110011111111100011111111111111001111111000001111000000011100100011100000111100000001110000001110000011110000000111000000111000001111000000011100000111110000111111111111110011111111111011111111111111001111111111101111111111111100111111111110000000000000000000011110000000000000000000000001111100000000000000000000001111111001111111111111111000111111110111111111111111100111111111111111111111111110011111111110000001111000000011111110110000000111100000001110111000001111111111111110110011100000111111111111111011001110000011111111111111101000111000000000011110000000100011100000000001111000000000001110000000000111100000000000111000000000011110000000000011100011111111111111111100001110001111111111111111110000111000111111111111111111",
级 = "000000000000000000000000000000001110000000000000000000000000111100000000000000000000000111100011111111111111000000011110001111111111111100000011110000111111111111110000001111000000011110001111000001111001100001111000111100000111100111000111100011100000111100111100011110011110000011110011110001111001111000001111111110000111100111111110111111111000011110011111111011111111000001111011111111100001111000000111100000011110000111100000011111000001110000111101110011111100001111000111111111001111111000111100111111111100111111100011100011111111100011111111011110001111100000001110111111110000110000000101111001111111000000000001110111100011111000000000111111111100001111100000011111111111110001111111000011111111011111001111111110001111110001111001111111111110111100001111111111100011111110000000111100111100000111100000000000110001100000000100",
群 = "000000000000000000000000000000000000000000011100000111100111111111110001110000011110011111111111000111100001110001111111111100001110001111000000111001110000111000111000000011100111000011100011100011111111111111111111111111101111111111111111111111111110111111111111111111111111111000011110011100000001110000000001110001110000000111000000000111000111000000011100000001111111111100011111111111100111111111110001111111111110011111111111000111111111111000111100000000000001111000000111100000000000000111000000011111111111100000011100000011111111111110000001110000001111111111111011111111111111111111000111101111111111111111111100011110111111111111111111110001111000001111100000001111000111100000011100000000111100011110000001110000000011111111111000000111000000001111111111100000011100000000111111111110000001110000000011110000000000000111000000",
装 = "000000111000000001110000000000000011100000000111100000000110001110000000011110000000111100111000000001111000000011111011101111111111111111100011101110111111111111111110000100111011111111111111111000000011100000000111100000000000011110000000011110000000000111111000000001111000000001111111100000000111100000001111111110011111111111111110111100111001111111111111111011000011100111111111111111100000001110000010000000000000000000111001111000000000000000000000000111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000011111111100000011000000000111111001111000111110000011111110000011110111110001111111110000001111111110000111111111000000011111100000011110011100001110111111000000000011111111111001111111100000011111111111100001111111100001111111110000000011111100000111110000000000000001100",
费 = "000000000110000011000000000000000000011100011110000000000111111111111111111111111000011111111111111111111111100000000000111100011110001110000000000001110001111000111000001111111111111111111111100000111111111111111111111110000011100011110001111000000000001110001111000111100000000000111111111111111111111111100111111111111111111111111110000000111110000111100001111000000111110000011110000111100001111111000001111001111110111111111000000111100111110011111110000000000000000000000111111111111111111111110000000111111111111111111111000000011111111111111111111100000001111000000000000011110000000111100000111100001111000000011110000111100000111100000001111000011110000011110000000111100111110011001111000000001110111110011111110000000000111111110011111111111000111111111110000000111111111011111111100000000000011111101111100000000000000000011110",
资 = "000000000000000000000000000000000000000011110000000000000111100000001110000000000000011111100001111111111111110001111111000111111111111111100000111100111111111111111110000001100111100011110011110000000000111110011111001111000000000101110001111110111000000001111010001111111100000001111111100001111101111000001111111110001111100111111000111111000111111100001111111011110000011111100000001111100000000000111000000000001100000000000010000000000000000000011111111111111111111100000001111111111111111111110000000111111111111111111111000000011110000000000000111100000001111000001110000011110000000111100001111000001111000000011110000111100000111100000001111000111100100011110000000000000111110111110000000000000001111110111111111000000000111111110001111111111000111111111110000000111111111011111111100000000000011111001111110000000000000000011100",
辅 = "000000000000000000111000000000011110000000000011101110000001111000000000001110111100000111000000000000111001111011111111111000000011100011001111111111101111111111111111111111111110111111111111111100111100000011111111111111110011100000000000001110000000011111110000000000111000000001110111100011111111111111100111011110001111111111111110111101111000111111111111111011100111100011100011100011101111111111101110001110001110111111111110111111111111111011111111111011111111111111100000011110001111111111111110000001111000111000111000111000000111100011100011100011100000011111101111111111111110111111111110111111111111111011111111111011111111111111101111111111001111001110001110111101111000111000111000111000000111100011100011100011100000011110001110001110001110000001111000111000111011111000000111100011100011101111100000011110001110001110011100",
输 = "000000000000000000100000000000111100000000000111100000000011110000000000111110000000001110000000000111111100000011111111100000111111111000001111111110000111110111110000111111111001111110001111110001111000011111110000001111110111000001111111111111111111011101100011111111111111111001111110000011111111111110000111111000000000000000000000111011100000000000000000111011101110000111111110111011101111111110011111111011101110111111111001111111101110111011111111100110001110111011101000111100011111111011101110000011100001111111101110111000001110000111111110111011100000111111011000111011101110111111111101111111101110111011111111110111111110111011101111111100011111111011101110111011100001100011101110111000001110000110001110000011100000111000011000111000001110000011100001101111100111111000001110000110011110011111100000111000011001110001111100",
近 = "000000000000000000000000000000100000000000000011111111001111000000111111111111111110011110000011111111111111110000111100001111111111000000000011111000111100000000000000000111100011110000000000000000001100001111000000000000000000100000111100000000000000000000000011111000000000000000000000001111111111111111110000000000111111111111111111111111100011111111111111111111111110001111000001110000001111111000111100000111000000111111100011110000011100000000011110001111000001110000000001111000111100000111000000000111100111100000011100000000011110011110000001110000000001111001111000000111000000000111101111100000011100000000011110111100000001110000000001111001110000000111000000001111100010000000011100000011111111100000000000000000001111111111111111000011111111111000111111111111111111111111100000111111111111111111100100000000011111111111111110",
远 = "000000000000000000000000000000000000000000000000000000000010000000000000000000000000011100000011111111111111100011111000001111111111111110000111111000111111111111111000001111100000000000000000000000011110000000000000000000000000110000000000000000000000000000000000000000000000000000000000111111111111111111100000000011111111111111111110111111101111111111111111111011111110000011110011110000001111111000001111001111000000000111100000111100111100000000011110000011110011110000000001111000011110001111000000000111100001111000111100011000011110001111100011110011110001111001111100001111001110000111101111110000111111111000011111111110000001111111100001111011100000000111111100001111110100000000000000000001111111100000000000000000001111111111111110000011111111111100011111111111111111111111100000111111111111111111100100000000011111111111111110",
速 = "000000000000000000000000000000000000000000001110000000000110000000000000111000000000111110001111111111111111111001111100111111111111111111100011110011111111111111111110001111100000000011100000000000011100000000001110000000000000100001111111111111111100000000000111111111111111110000000000011111111111111111000000000001110000111000011100111111100111000011100001110011111110011100001110000111001111111001111111111111111100000111100111111111111111110000011110011111111111111111000001111000000111111111000000000111100000111111111110000000011110000111111111111100000001111000111110111011111100000111101111110011100011111000011110111110001110000111100001111011110000111000001100000111100100000011100000000001111111100000001110000000001111111111111000000000011111111100011111111111111111111111100000111111111111111111101100000000011111111111111110",
重 = "000000000000000000000000000000000000000001111111111000000011111111111111111111110000001111111111111111111110000000011111111111100000000000000000000000001110000000000000111111111111111111111111111011111111111111111111111111101111111111111111111111111110000000000000111000000000000000000000000111110000000000000001111111111111111111110000000111111111111111111111000000011100000011100000011100000001111111111111111111110000000111111111111111111111000000011100000111100000011100000001110000001110000001110000000111111111111111111111000000011111111111111111111100000000000000011111000000000000000000000000111000000000000000111111111111111111111111000011111111111111111111111100001111111111111111111111100000000000000011100000000000000000000000001110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
锋 = "000000000000000000000000000000111000000000001100000000000011100000000001111000000000011110000000001111000000000001111111110000111111111110001111111111000111111111111000111111111100111111111111100011100000001111111000111100001110000000111111110111110000110000000001100111111110000011111111100000011111110000000111111110000001111111100000011111111000111111111111110000011110011111111100111111110001111000111111011101111110000111100011100001110000111011111111110111111111111111001111111111011111111111111100111111111101111111111111110000011110000000000111000000000001111000001111111111111000000111100000111111111111100000011110110011111111111110000001111111000000011100000000000111111111111111111111111000011111111111111111111111100011111100111111111111111110001111100000000001110000000000011000000000000111000000000001000000000000011100000000",
防 = "000000000000000000000000000000000000000000001111000000001111111110000000011100000000111111111110000001111000000011111111110000000111100000001111001111000000011100000000111100111111111111111111111111110011101111111111111111111111001110111111111111111111111101111000001111000000000011110111000000111100000000001111011100000011110000000000111101110000001110000000000011110111100000111111111111001111001110000011111111111100111100111100001111111111110011110001110001111000001111001111000111000111100000111100111100011100011110000011110011110001110001111000001111001111001111000111000000111100111111111100111100000011110011110111100011110000001111001111011100011110000000111100111100000011111000000011100011110000011111000000001110001111000011111100000001111000111100011111100001111111100011110000111100000011111110001111000011100000001111110000",
高 = "000000000000000000000000000000000000000111100000000000000000000000011110000000000000000000000000111100000000000011111111111111111111111111101111111111111111111111111110111111111111111111111111111000000000000000000000000000000000111111111111111111100000000011111111111111111110000000001111000000000001111000000000111100000000000011100000000011110000000000011110000000001111111111111111111000000000111111111111111111100000000000000000000000000000000001111111111111111111111111000111111111111111111111111100011111111111111111111111110001110000000000000000000111000111000111111111111100011100011100011111111111110001110001110001111111111111000111000111000111000000011100011100011100011100000001110001110001110001111111111111000111000111000111111111111100011100011100011111111111111111110001110001110000000001111111000111000000000000000011111000",
}
-- string to bool table
for k, v in pairs(fm) do
fm[k] = {}
local a = false
for i = 1, #v do
a = v:sub(i, i) == '1' and true or false
insert(fm[k], a)
end
end