Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ChanMap.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ChanMap.h
1 #ifndef FEE_ANALYSIS_H
2 #define FEE_ANALYSIS_H
3 
4 #include <math.h>
6 //
7 // Conversion class (TPCR2Map)
8 //
9 // For FNAL beam test, Jun 11, 2019 (R2 module)
10 //
12 
13 
14 // Class definition
15 //
16 class TPCR2Map
17 {
18  //
19  // Conversion look up table
20  //
21  // Field:
22  // 1, FEE card
23  // 2, FEE channel (0-256)
24  // 3, Rpos-ind (0-15)
25  // 4, phipos-ind (0-127)
26  //
27  int ChanMap[2048][4]=
28  {{0, 0, 1, 10},
29  {0, 1, 1, 8},
30  {0, 2, 1, 11},
31  {0, 3, 1, 9},
32  {0, 4, 1, 15},
33  {0, 5, 1, 13},
34  {0, 6, 1, 12},
35  {0, 7, 1, 14},
36  {0, 8, 1, 0},
37  {0, 9, 1, 2},
38  {0, 10, 1, 3},
39  {0, 11, 1, 6},
40  {0, 12, 1, 7},
41  {0, 13, 1, 1},
42  {0, 14, 1, 4},
43  {0, 15, 1, 5},
44  {0, 16, 0, 12},
45  {0, 17, 0, 14},
46  {0, 18, 0, 7},
47  {0, 19, 0, 6},
48  {0, 20, 0, 15},
49  {0, 21, 0, 9},
50  {0, 22, 0, 3},
51  {0, 23, 0, 1},
52  {0, 24, 0, 8},
53  {0, 25, 0, 5},
54  {0, 26, 0, 0},
55  {0, 27, 0, 10},
56  {0, 28, 0, 4},
57  {0, 29, 0, 2},
58  {0, 30, 0, 13},
59  {0, 31, 0, 11},
60  {0, 32, 3, 10},
61  {0, 33, 3, 8},
62  {0, 34, 3, 11},
63  {0, 35, 3, 9},
64  {0, 36, 3, 15},
65  {0, 37, 3, 13},
66  {0, 38, 3, 12},
67  {0, 39, 3, 14},
68  {0, 40, 3, 0},
69  {0, 41, 3, 2},
70  {0, 42, 3, 3},
71  {0, 43, 3, 6},
72  {0, 44, 3, 7},
73  {0, 45, 3, 1},
74  {0, 46, 2, 9},
75  {0, 47, 3, 5},
76  {0, 48, 3, 4},
77  {0, 49, 2, 11},
78  {0, 50, 2, 8},
79  {0, 51, 2, 10},
80  {0, 52, 2, 14},
81  {0, 53, 2, 12},
82  {0, 54, 2, 15},
83  {0, 55, 2, 13},
84  {0, 56, 2, 3},
85  {0, 57, 2, 1},
86  {0, 58, 2, 0},
87  {0, 59, 2, 2},
88  {0, 60, 2, 4},
89  {0, 61, 2, 6},
90  {0, 62, 2, 7},
91  {0, 63, 2, 5},
92  {0, 64, 5, 3},
93  {0, 65, 5, 11},
94  {0, 66, 5, 7},
95  {0, 67, 5, 15},
96  {0, 68, 5, 2},
97  {0, 69, 5, 10},
98  {0, 70, 5, 14},
99  {0, 71, 5, 6},
100  {0, 72, 5, 13},
101  {0, 73, 5, 5},
102  {0, 74, 5, 1},
103  {0, 75, 5, 4},
104  {0, 76, 5, 0},
105  {0, 77, 5, 9},
106  {0, 78, 4, 8},
107  {0, 79, 5, 8},
108  {0, 80, 5, 12},
109  {0, 81, 4, 14},
110  {0, 82, 4, 13},
111  {0, 83, 4, 6},
112  {0, 84, 4, 12},
113  {0, 85, 4, 5},
114  {0, 86, 4, 10},
115  {0, 87, 4, 4},
116  {0, 88, 4, 9},
117  {0, 89, 4, 1},
118  {0, 90, 4, 2},
119  {0, 91, 4, 0},
120  {0, 92, 4, 3},
121  {0, 93, 4, 11},
122  {0, 94, 4, 15},
123  {0, 95, 4, 7},
124  {0, 96, 7, 8},
125  {0, 97, 7, 9},
126  {0, 98, 7, 1},
127  {0, 99, 7, 14},
128  {0, 100, 7, 11},
129  {0, 101, 7, 5},
130  {0, 102, 7, 3},
131  {0, 103, 7, 13},
132  {0, 104, 7, 7},
133  {0, 105, 7, 0},
134  {0, 106, 7, 12},
135  {0, 107, 7, 10},
136  {0, 108, 7, 4},
137  {0, 109, 7, 2},
138  {0, 110, 6, 6},
139  {0, 111, 7, 6},
140  {0, 112, 7, 15},
141  {0, 113, 6, 4},
142  {0, 114, 6, 7},
143  {0, 115, 6, 5},
144  {0, 116, 6, 1},
145  {0, 117, 6, 3},
146  {0, 118, 6, 0},
147  {0, 119, 6, 2},
148  {0, 120, 6, 12},
149  {0, 121, 6, 14},
150  {0, 122, 6, 15},
151  {0, 123, 6, 13},
152  {0, 124, 6, 11},
153  {0, 125, 6, 9},
154  {0, 126, 6, 8},
155  {0, 127, 6, 10},
156  {0, 128, 9, 9},
157  {0, 129, 9, 11},
158  {0, 130, 9, 8},
159  {0, 131, 9, 14},
160  {0, 132, 9, 12},
161  {0, 133, 9, 10},
162  {0, 134, 9, 7},
163  {0, 135, 9, 1},
164  {0, 136, 9, 15},
165  {0, 137, 9, 13},
166  {0, 138, 9, 4},
167  {0, 139, 9, 5},
168  {0, 140, 9, 0},
169  {0, 141, 9, 6},
170  {0, 142, 9, 3},
171  {0, 143, 9, 2},
172  {0, 144, 8, 7},
173  {0, 145, 8, 13},
174  {0, 146, 8, 4},
175  {0, 147, 8, 5},
176  {0, 148, 8, 12},
177  {0, 149, 8, 10},
178  {0, 150, 8, 0},
179  {0, 151, 8, 2},
180  {0, 152, 8, 11},
181  {0, 153, 8, 6},
182  {0, 154, 8, 15},
183  {0, 155, 8, 9},
184  {0, 156, 8, 3},
185  {0, 157, 8, 1},
186  {0, 158, 8, 14},
187  {0, 159, 8, 8},
188  {0, 160, 11, 2},
189  {0, 161, 11, 0},
190  {0, 162, 11, 3},
191  {0, 163, 11, 5},
192  {0, 164, 11, 7},
193  {0, 165, 11, 1},
194  {0, 166, 11, 12},
195  {0, 167, 11, 14},
196  {0, 168, 11, 4},
197  {0, 169, 11, 6},
198  {0, 170, 11, 11},
199  {0, 171, 11, 10},
200  {0, 172, 11, 15},
201  {0, 173, 11, 9},
202  {0, 174, 10, 6},
203  {0, 175, 11, 13},
204  {0, 176, 10, 7},
205  {0, 177, 10, 0},
206  {0, 178, 11, 8},
207  {0, 179, 10, 5},
208  {0, 180, 10, 1},
209  {0, 181, 10, 3},
210  {0, 182, 10, 4},
211  {0, 183, 10, 14},
212  {0, 184, 10, 12},
213  {0, 185, 10, 2},
214  {0, 186, 10, 15},
215  {0, 187, 10, 9},
216  {0, 188, 10, 11},
217  {0, 189, 10, 13},
218  {0, 190, 10, 8},
219  {0, 191, 10, 10},
220  {0, 192, 13, 6},
221  {0, 193, 13, 4},
222  {0, 194, 13, 7},
223  {0, 195, 13, 1},
224  {0, 196, 13, 3},
225  {0, 197, 13, 5},
226  {0, 198, 13, 12},
227  {0, 199, 13, 14},
228  {0, 200, 13, 0},
229  {0, 201, 13, 2},
230  {0, 202, 13, 11},
231  {0, 203, 13, 10},
232  {0, 204, 13, 15},
233  {0, 205, 13, 9},
234  {0, 206, 12, 5},
235  {0, 207, 13, 13},
236  {0, 208, 12, 4},
237  {0, 209, 12, 7},
238  {0, 210, 13, 8},
239  {0, 211, 12, 6},
240  {0, 212, 12, 2},
241  {0, 213, 12, 0},
242  {0, 214, 12, 3},
243  {0, 215, 12, 13},
244  {0, 216, 12, 15},
245  {0, 217, 12, 1},
246  {0, 218, 12, 8},
247  {0, 219, 12, 10},
248  {0, 220, 12, 12},
249  {0, 221, 12, 14},
250  {0, 222, 12, 11},
251  {0, 223, 12, 9},
252  {0, 224, 15, 12},
253  {0, 225, 15, 19},
254  {0, 226, 15, 11},
255  {0, 227, 15, 13},
256  {0, 228, 15, 8},
257  {0, 229, 15, 5},
258  {0, 230, 15, 0},
259  {0, 231, 15, 6},
260  {0, 232, 15, 4},
261  {0, 233, 15, 10},
262  {0, 234, 15, 7},
263  {0, 235, 15, 18},
264  {0, 236, 15, 3},
265  {0, 237, 15, 1},
266  {0, 238, 14, 5},
267  {0, 239, 15, 2},
268  {0, 240, 14, 4},
269  {0, 241, 14, 7},
270  {0, 242, 15, 9},
271  {0, 243, 14, 6},
272  {0, 244, 14, 2},
273  {0, 245, 14, 0},
274  {0, 246, 14, 3},
275  {0, 247, 14, 13},
276  {0, 248, 14, 15},
277  {0, 249, 14, 1},
278  {0, 250, 14, 8},
279  {0, 251, 14, 10},
280  {0, 252, 14, 12},
281  {0, 253, 14, 14},
282  {0, 254, 14, 11},
283  {0, 255, 14, 9},
284  {1, 0, 1, 26},
285  {1, 1, 1, 24},
286  {1, 2, 1, 27},
287  {1, 3, 1, 25},
288  {1, 4, 1, 31},
289  {1, 5, 1, 29},
290  {1, 6, 1, 28},
291  {1, 7, 1, 30},
292  {1, 8, 1, 16},
293  {1, 9, 1, 18},
294  {1, 10, 1, 19},
295  {1, 11, 1, 22},
296  {1, 12, 1, 23},
297  {1, 13, 1, 17},
298  {1, 14, 1, 20},
299  {1, 15, 1, 21},
300  {1, 16, 0, 28},
301  {1, 17, 0, 26},
302  {1, 18, 0, 23},
303  {1, 19, 0, 22},
304  {1, 20, 0, 27},
305  {1, 21, 0, 25},
306  {1, 22, 0, 19},
307  {1, 23, 0, 17},
308  {1, 24, 0, 24},
309  {1, 25, 0, 21},
310  {1, 26, 0, 16},
311  {1, 27, 0, 30},
312  {1, 28, 0, 20},
313  {1, 29, 0, 18},
314  {1, 30, 0, 29},
315  {1, 31, 0, 31},
316  {1, 32, 3, 26},
317  {1, 33, 3, 24},
318  {1, 34, 3, 27},
319  {1, 35, 3, 25},
320  {1, 36, 3, 31},
321  {1, 37, 3, 29},
322  {1, 38, 3, 28},
323  {1, 39, 3, 30},
324  {1, 40, 3, 16},
325  {1, 41, 3, 18},
326  {1, 42, 3, 19},
327  {1, 43, 3, 22},
328  {1, 44, 3, 23},
329  {1, 45, 3, 17},
330  {1, 46, 2, 25},
331  {1, 47, 3, 21},
332  {1, 48, 3, 20},
333  {1, 49, 2, 27},
334  {1, 50, 2, 24},
335  {1, 51, 2, 26},
336  {1, 52, 2, 30},
337  {1, 53, 2, 28},
338  {1, 54, 2, 31},
339  {1, 55, 2, 29},
340  {1, 56, 2, 19},
341  {1, 57, 2, 17},
342  {1, 58, 2, 16},
343  {1, 59, 2, 18},
344  {1, 60, 2, 20},
345  {1, 61, 2, 22},
346  {1, 62, 2, 23},
347  {1, 63, 2, 21},
348  {1, 64, 5, 19},
349  {1, 65, 5, 27},
350  {1, 66, 5, 23},
351  {1, 67, 5, 31},
352  {1, 68, 5, 22},
353  {1, 69, 5, 30},
354  {1, 70, 5, 26},
355  {1, 71, 5, 18},
356  {1, 72, 5, 25},
357  {1, 73, 5, 17},
358  {1, 74, 5, 21},
359  {1, 75, 5, 20},
360  {1, 76, 5, 16},
361  {1, 77, 5, 29},
362  {1, 78, 4, 16},
363  {1, 79, 5, 28},
364  {1, 80, 5, 24},
365  {1, 81, 4, 17},
366  {1, 82, 4, 25},
367  {1, 83, 4, 21},
368  {1, 84, 4, 28},
369  {1, 85, 4, 26},
370  {1, 86, 4, 24},
371  {1, 87, 4, 29},
372  {1, 88, 4, 30},
373  {1, 89, 4, 31},
374  {1, 90, 4, 22},
375  {1, 91, 4, 20},
376  {1, 92, 4, 23},
377  {1, 93, 4, 18},
378  {1, 94, 4, 27},
379  {1, 95, 4, 19},
380  {1, 96, 7, 24},
381  {1, 97, 7, 25},
382  {1, 98, 7, 17},
383  {1, 99, 7, 30},
384  {1, 100, 7, 27},
385  {1, 101, 7, 21},
386  {1, 102, 7, 19},
387  {1, 103, 7, 29},
388  {1, 104, 7, 23},
389  {1, 105, 7, 16},
390  {1, 106, 7, 28},
391  {1, 107, 7, 26},
392  {1, 108, 7, 20},
393  {1, 109, 7, 18},
394  {1, 110, 6, 22},
395  {1, 111, 7, 22},
396  {1, 112, 7, 31},
397  {1, 113, 6, 20},
398  {1, 114, 6, 23},
399  {1, 115, 6, 21},
400  {1, 116, 6, 17},
401  {1, 117, 6, 19},
402  {1, 118, 6, 16},
403  {1, 119, 6, 18},
404  {1, 120, 6, 28},
405  {1, 121, 6, 30},
406  {1, 122, 6, 31},
407  {1, 123, 6, 29},
408  {1, 124, 6, 27},
409  {1, 125, 6, 25},
410  {1, 126, 6, 24},
411  {1, 127, 6, 26},
412  {1, 128, 9, 25},
413  {1, 129, 9, 27},
414  {1, 130, 9, 24},
415  {1, 131, 9, 30},
416  {1, 132, 9, 28},
417  {1, 133, 9, 26},
418  {1, 134, 9, 23},
419  {1, 135, 9, 17},
420  {1, 136, 9, 31},
421  {1, 137, 9, 29},
422  {1, 138, 9, 20},
423  {1, 139, 9, 21},
424  {1, 140, 9, 16},
425  {1, 141, 9, 22},
426  {1, 142, 9, 19},
427  {1, 143, 9, 18},
428  {1, 144, 8, 23},
429  {1, 145, 8, 29},
430  {1, 146, 8, 20},
431  {1, 147, 8, 21},
432  {1, 148, 8, 28},
433  {1, 149, 8, 26},
434  {1, 150, 8, 16},
435  {1, 151, 8, 18},
436  {1, 152, 8, 31},
437  {1, 153, 8, 22},
438  {1, 154, 8, 27},
439  {1, 155, 8, 25},
440  {1, 156, 8, 19},
441  {1, 157, 8, 17},
442  {1, 158, 8, 30},
443  {1, 159, 8, 24},
444  {1, 160, 11, 18},
445  {1, 161, 11, 16},
446  {1, 162, 11, 19},
447  {1, 163, 11, 21},
448  {1, 164, 11, 23},
449  {1, 165, 11, 17},
450  {1, 166, 11, 28},
451  {1, 167, 11, 30},
452  {1, 168, 11, 20},
453  {1, 169, 11, 22},
454  {1, 170, 11, 27},
455  {1, 171, 11, 26},
456  {1, 172, 11, 31},
457  {1, 173, 11, 25},
458  {1, 174, 10, 22},
459  {1, 175, 11, 29},
460  {1, 176, 10, 23},
461  {1, 177, 10, 16},
462  {1, 178, 11, 24},
463  {1, 179, 10, 21},
464  {1, 180, 10, 17},
465  {1, 181, 10, 19},
466  {1, 182, 10, 20},
467  {1, 183, 10, 30},
468  {1, 184, 10, 28},
469  {1, 185, 10, 18},
470  {1, 186, 10, 31},
471  {1, 187, 10, 25},
472  {1, 188, 10, 27},
473  {1, 189, 10, 29},
474  {1, 190, 10, 24},
475  {1, 191, 10, 26},
476  {1, 192, 13, 22},
477  {1, 193, 13, 20},
478  {1, 194, 13, 23},
479  {1, 195, 13, 17},
480  {1, 196, 13, 19},
481  {1, 197, 13, 21},
482  {1, 198, 13, 28},
483  {1, 199, 13, 30},
484  {1, 200, 13, 16},
485  {1, 201, 13, 18},
486  {1, 202, 13, 27},
487  {1, 203, 13, 26},
488  {1, 204, 13, 31},
489  {1, 205, 13, 25},
490  {1, 206, 12, 21},
491  {1, 207, 13, 29},
492  {1, 208, 12, 20},
493  {1, 209, 12, 23},
494  {1, 210, 13, 24},
495  {1, 211, 12, 22},
496  {1, 212, 12, 18},
497  {1, 213, 12, 16},
498  {1, 214, 12, 19},
499  {1, 215, 12, 29},
500  {1, 216, 12, 31},
501  {1, 217, 12, 17},
502  {1, 218, 12, 24},
503  {1, 219, 12, 26},
504  {1, 220, 12, 28},
505  {1, 221, 12, 30},
506  {1, 222, 12, 27},
507  {1, 223, 12, 25},
508  {1, 224, 15, 28},
509  {1, 225, 15, 35},
510  {1, 226, 15, 27},
511  {1, 227, 15, 29},
512  {1, 228, 15, 24},
513  {1, 229, 15, 21},
514  {1, 230, 15, 16},
515  {1, 231, 15, 22},
516  {1, 232, 15, 20},
517  {1, 233, 15, 26},
518  {1, 234, 15, 23},
519  {1, 235, 15, 34},
520  {1, 236, 15, 15},
521  {1, 237, 15, 17},
522  {1, 238, 14, 21},
523  {1, 239, 15, 14},
524  {1, 240, 14, 20},
525  {1, 241, 14, 23},
526  {1, 242, 15, 25},
527  {1, 243, 14, 22},
528  {1, 244, 14, 18},
529  {1, 245, 14, 16},
530  {1, 246, 14, 19},
531  {1, 247, 14, 29},
532  {1, 248, 14, 31},
533  {1, 249, 14, 17},
534  {1, 250, 14, 24},
535  {1, 251, 14, 26},
536  {1, 252, 14, 28},
537  {1, 253, 14, 30},
538  {1, 254, 14, 27},
539  {1, 255, 14, 25},
540  {2, 0, 1, 46},
541  {2, 1, 1, 44},
542  {2, 2, 1, 47},
543  {2, 3, 1, 45},
544  {2, 4, 1, 43},
545  {2, 5, 1, 41},
546  {2, 6, 1, 40},
547  {2, 7, 1, 42},
548  {2, 8, 1, 32},
549  {2, 9, 1, 34},
550  {2, 10, 1, 35},
551  {2, 11, 1, 38},
552  {2, 12, 1, 39},
553  {2, 13, 1, 33},
554  {2, 14, 1, 36},
555  {2, 15, 1, 37},
556  {2, 16, 0, 44},
557  {2, 17, 0, 42},
558  {2, 18, 0, 35},
559  {2, 19, 0, 34},
560  {2, 20, 0, 43},
561  {2, 21, 0, 45},
562  {2, 22, 0, 39},
563  {2, 23, 0, 33},
564  {2, 24, 0, 40},
565  {2, 25, 0, 37},
566  {2, 26, 0, 32},
567  {2, 27, 0, 46},
568  {2, 28, 0, 36},
569  {2, 29, 0, 38},
570  {2, 30, 0, 41},
571  {2, 31, 0, 47},
572  {2, 32, 3, 42},
573  {2, 33, 3, 40},
574  {2, 34, 3, 47},
575  {2, 35, 3, 41},
576  {2, 36, 3, 43},
577  {2, 37, 3, 45},
578  {2, 38, 3, 44},
579  {2, 39, 3, 46},
580  {2, 40, 3, 32},
581  {2, 41, 3, 34},
582  {2, 42, 3, 35},
583  {2, 43, 3, 38},
584  {2, 44, 3, 39},
585  {2, 45, 3, 33},
586  {2, 46, 2, 41},
587  {2, 47, 3, 37},
588  {2, 48, 3, 36},
589  {2, 49, 2, 47},
590  {2, 50, 2, 40},
591  {2, 51, 2, 46},
592  {2, 52, 2, 42},
593  {2, 53, 2, 44},
594  {2, 54, 2, 43},
595  {2, 55, 2, 45},
596  {2, 56, 2, 35},
597  {2, 57, 2, 33},
598  {2, 58, 2, 32},
599  {2, 59, 2, 34},
600  {2, 60, 2, 36},
601  {2, 61, 2, 38},
602  {2, 62, 2, 39},
603  {2, 63, 2, 37},
604  {2, 64, 5, 35},
605  {2, 65, 5, 43},
606  {2, 66, 5, 39},
607  {2, 67, 5, 47},
608  {2, 68, 5, 38},
609  {2, 69, 5, 46},
610  {2, 70, 5, 42},
611  {2, 71, 5, 34},
612  {2, 72, 5, 45},
613  {2, 73, 5, 33},
614  {2, 74, 5, 37},
615  {2, 75, 5, 36},
616  {2, 76, 5, 32},
617  {2, 77, 5, 41},
618  {2, 78, 4, 36},
619  {2, 79, 5, 44},
620  {2, 80, 5, 40},
621  {2, 81, 4, 47},
622  {2, 82, 4, 33},
623  {2, 83, 4, 37},
624  {2, 84, 4, 44},
625  {2, 85, 4, 41},
626  {2, 86, 4, 40},
627  {2, 87, 4, 45},
628  {2, 88, 4, 46},
629  {2, 89, 4, 42},
630  {2, 90, 4, 38},
631  {2, 91, 4, 32},
632  {2, 92, 4, 35},
633  {2, 93, 4, 43},
634  {2, 94, 4, 34},
635  {2, 95, 4, 39},
636  {2, 96, 7, 40},
637  {2, 97, 7, 45},
638  {2, 98, 7, 33},
639  {2, 99, 7, 42},
640  {2, 100, 7, 47},
641  {2, 101, 7, 37},
642  {2, 102, 7, 39},
643  {2, 103, 7, 41},
644  {2, 104, 7, 35},
645  {2, 105, 7, 32},
646  {2, 106, 7, 44},
647  {2, 107, 7, 46},
648  {2, 108, 7, 36},
649  {2, 109, 7, 34},
650  {2, 110, 6, 38},
651  {2, 111, 7, 38},
652  {2, 112, 7, 43},
653  {2, 113, 6, 36},
654  {2, 114, 6, 39},
655  {2, 115, 6, 37},
656  {2, 116, 6, 33},
657  {2, 117, 6, 35},
658  {2, 118, 6, 32},
659  {2, 119, 6, 34},
660  {2, 120, 6, 44},
661  {2, 121, 6, 46},
662  {2, 122, 6, 43},
663  {2, 123, 6, 45},
664  {2, 124, 6, 47},
665  {2, 125, 6, 41},
666  {2, 126, 6, 40},
667  {2, 127, 6, 42},
668  {2, 128, 9, 41},
669  {2, 129, 9, 47},
670  {2, 130, 9, 40},
671  {2, 131, 9, 42},
672  {2, 132, 9, 44},
673  {2, 133, 9, 46},
674  {2, 134, 9, 39},
675  {2, 135, 9, 33},
676  {2, 136, 9, 43},
677  {2, 137, 9, 45},
678  {2, 138, 9, 36},
679  {2, 139, 9, 37},
680  {2, 140, 9, 32},
681  {2, 141, 9, 38},
682  {2, 142, 9, 35},
683  {2, 143, 9, 34},
684  {2, 144, 8, 39},
685  {2, 145, 8, 41},
686  {2, 146, 8, 36},
687  {2, 147, 8, 37},
688  {2, 148, 8, 44},
689  {2, 149, 8, 46},
690  {2, 150, 8, 32},
691  {2, 151, 8, 34},
692  {2, 152, 8, 47},
693  {2, 153, 8, 38},
694  {2, 154, 8, 43},
695  {2, 155, 8, 45},
696  {2, 156, 8, 35},
697  {2, 157, 8, 33},
698  {2, 158, 8, 42},
699  {2, 159, 8, 40},
700  {2, 160, 11, 34},
701  {2, 161, 11, 32},
702  {2, 162, 11, 35},
703  {2, 163, 11, 37},
704  {2, 164, 11, 39},
705  {2, 165, 11, 33},
706  {2, 166, 11, 44},
707  {2, 167, 11, 46},
708  {2, 168, 11, 36},
709  {2, 169, 11, 38},
710  {2, 170, 11, 43},
711  {2, 171, 11, 42},
712  {2, 172, 11, 47},
713  {2, 173, 11, 41},
714  {2, 174, 10, 38},
715  {2, 175, 11, 45},
716  {2, 176, 10, 39},
717  {2, 177, 10, 32},
718  {2, 178, 11, 40},
719  {2, 179, 10, 33},
720  {2, 180, 10, 37},
721  {2, 181, 10, 35},
722  {2, 182, 10, 36},
723  {2, 183, 10, 42},
724  {2, 184, 10, 44},
725  {2, 185, 10, 34},
726  {2, 186, 10, 47},
727  {2, 187, 10, 41},
728  {2, 188, 10, 43},
729  {2, 189, 10, 45},
730  {2, 190, 10, 40},
731  {2, 191, 10, 46},
732  {2, 192, 13, 38},
733  {2, 193, 13, 36},
734  {2, 194, 13, 39},
735  {2, 195, 13, 33},
736  {2, 196, 13, 35},
737  {2, 197, 13, 37},
738  {2, 198, 13, 44},
739  {2, 199, 13, 46},
740  {2, 200, 13, 32},
741  {2, 201, 13, 34},
742  {2, 202, 13, 43},
743  {2, 203, 13, 42},
744  {2, 204, 13, 47},
745  {2, 205, 13, 41},
746  {2, 206, 12, 37},
747  {2, 207, 13, 45},
748  {2, 208, 12, 36},
749  {2, 209, 12, 39},
750  {2, 210, 13, 40},
751  {2, 211, 12, 38},
752  {2, 212, 12, 34},
753  {2, 213, 12, 32},
754  {2, 214, 12, 35},
755  {2, 215, 12, 45},
756  {2, 216, 12, 43},
757  {2, 217, 12, 33},
758  {2, 218, 12, 40},
759  {2, 219, 12, 42},
760  {2, 220, 12, 44},
761  {2, 221, 12, 46},
762  {2, 222, 12, 47},
763  {2, 223, 12, 41},
764  {2, 224, 15, 44},
765  {2, 225, 15, 47},
766  {2, 226, 15, 39},
767  {2, 227, 15, 41},
768  {2, 228, 15, 40},
769  {2, 229, 15, 37},
770  {2, 230, 15, 32},
771  {2, 231, 15, 42},
772  {2, 232, 15, 36},
773  {2, 233, 15, 38},
774  {2, 234, 15, 43},
775  {2, 235, 15, 46},
776  {2, 236, 15, 31},
777  {2, 237, 15, 33},
778  {2, 238, 14, 37},
779  {2, 239, 15, 30},
780  {2, 240, 14, 36},
781  {2, 241, 14, 39},
782  {2, 242, 15, 45},
783  {2, 243, 14, 38},
784  {2, 244, 14, 34},
785  {2, 245, 14, 32},
786  {2, 246, 14, 35},
787  {2, 247, 14, 45},
788  {2, 248, 14, 43},
789  {2, 249, 14, 33},
790  {2, 250, 14, 40},
791  {2, 251, 14, 42},
792  {2, 252, 14, 44},
793  {2, 253, 14, 46},
794  {2, 254, 14, 47},
795  {2, 255, 14, 41},
796  {3, 0, 1, 62},
797  {3, 1, 1, 60},
798  {3, 2, 1, 63},
799  {3, 3, 1, 61},
800  {3, 4, 1, 59},
801  {3, 5, 1, 57},
802  {3, 6, 1, 56},
803  {3, 7, 1, 58},
804  {3, 8, 1, 52},
805  {3, 9, 1, 54},
806  {3, 10, 1, 55},
807  {3, 11, 1, 50},
808  {3, 12, 1, 51},
809  {3, 13, 1, 49},
810  {3, 14, 1, 48},
811  {3, 15, 1, 53},
812  {3, 16, 0, 56},
813  {3, 17, 0, 58},
814  {3, 18, 0, 51},
815  {3, 19, 0, 50},
816  {3, 20, 0, 63},
817  {3, 21, 0, 61},
818  {3, 22, 0, 55},
819  {3, 23, 0, 53},
820  {3, 24, 0, 60},
821  {3, 25, 0, 49},
822  {3, 26, 0, 52},
823  {3, 27, 0, 62},
824  {3, 28, 0, 48},
825  {3, 29, 0, 54},
826  {3, 30, 0, 57},
827  {3, 31, 0, 59},
828  {3, 32, 3, 62},
829  {3, 33, 3, 60},
830  {3, 34, 3, 63},
831  {3, 35, 3, 61},
832  {3, 36, 3, 59},
833  {3, 37, 3, 57},
834  {3, 38, 3, 56},
835  {3, 39, 3, 58},
836  {3, 40, 3, 48},
837  {3, 41, 3, 50},
838  {3, 42, 3, 51},
839  {3, 43, 3, 54},
840  {3, 44, 3, 55},
841  {3, 45, 3, 49},
842  {3, 46, 2, 61},
843  {3, 47, 3, 53},
844  {3, 48, 3, 52},
845  {3, 49, 2, 63},
846  {3, 50, 2, 60},
847  {3, 51, 2, 62},
848  {3, 52, 2, 58},
849  {3, 53, 2, 56},
850  {3, 54, 2, 59},
851  {3, 55, 2, 57},
852  {3, 56, 2, 51},
853  {3, 57, 2, 49},
854  {3, 58, 2, 48},
855  {3, 59, 2, 50},
856  {3, 60, 2, 52},
857  {3, 61, 2, 54},
858  {3, 62, 2, 55},
859  {3, 63, 2, 53},
860  {3, 64, 5, 51},
861  {3, 65, 5, 63},
862  {3, 66, 5, 55},
863  {3, 67, 5, 59},
864  {3, 68, 5, 54},
865  {3, 69, 5, 58},
866  {3, 70, 5, 62},
867  {3, 71, 5, 50},
868  {3, 72, 5, 61},
869  {3, 73, 5, 53},
870  {3, 74, 5, 49},
871  {3, 75, 5, 52},
872  {3, 76, 5, 48},
873  {3, 77, 5, 57},
874  {3, 78, 4, 48},
875  {3, 79, 5, 60},
876  {3, 80, 5, 56},
877  {3, 81, 4, 63},
878  {3, 82, 4, 61},
879  {3, 83, 4, 62},
880  {3, 84, 4, 60},
881  {3, 85, 4, 59},
882  {3, 86, 4, 52},
883  {3, 87, 4, 57},
884  {3, 88, 4, 58},
885  {3, 89, 4, 53},
886  {3, 90, 4, 49},
887  {3, 91, 4, 56},
888  {3, 92, 4, 51},
889  {3, 93, 4, 55},
890  {3, 94, 4, 54},
891  {3, 95, 4, 50},
892  {3, 96, 7, 60},
893  {3, 97, 7, 61},
894  {3, 98, 7, 53},
895  {3, 99, 7, 58},
896  {3, 100, 7, 63},
897  {3, 101, 7, 49},
898  {3, 102, 7, 55},
899  {3, 103, 7, 57},
900  {3, 104, 7, 51},
901  {3, 105, 7, 52},
902  {3, 106, 7, 56},
903  {3, 107, 7, 62},
904  {3, 108, 7, 48},
905  {3, 109, 7, 54},
906  {3, 110, 6, 50},
907  {3, 111, 7, 50},
908  {3, 112, 7, 59},
909  {3, 113, 6, 52},
910  {3, 114, 6, 51},
911  {3, 115, 6, 53},
912  {3, 116, 6, 49},
913  {3, 117, 6, 55},
914  {3, 118, 6, 48},
915  {3, 119, 6, 54},
916  {3, 120, 6, 56},
917  {3, 121, 6, 58},
918  {3, 122, 6, 59},
919  {3, 123, 6, 57},
920  {3, 124, 6, 63},
921  {3, 125, 6, 61},
922  {3, 126, 6, 60},
923  {3, 127, 6, 62},
924  {3, 128, 9, 61},
925  {3, 129, 9, 63},
926  {3, 130, 9, 60},
927  {3, 131, 9, 58},
928  {3, 132, 9, 56},
929  {3, 133, 9, 62},
930  {3, 134, 9, 55},
931  {3, 135, 9, 49},
932  {3, 136, 9, 59},
933  {3, 137, 9, 57},
934  {3, 138, 9, 52},
935  {3, 139, 9, 53},
936  {3, 140, 9, 48},
937  {3, 141, 9, 50},
938  {3, 142, 9, 51},
939  {3, 143, 9, 54},
940  {3, 144, 8, 55},
941  {3, 145, 8, 57},
942  {3, 146, 8, 48},
943  {3, 147, 8, 49},
944  {3, 148, 8, 56},
945  {3, 149, 8, 62},
946  {3, 150, 8, 52},
947  {3, 151, 8, 54},
948  {3, 152, 8, 63},
949  {3, 153, 8, 50},
950  {3, 154, 8, 59},
951  {3, 155, 8, 61},
952  {3, 156, 8, 51},
953  {3, 157, 8, 53},
954  {3, 158, 8, 58},
955  {3, 159, 8, 60},
956  {3, 160, 11, 50},
957  {3, 161, 11, 48},
958  {3, 162, 11, 51},
959  {3, 163, 11, 53},
960  {3, 164, 11, 55},
961  {3, 165, 11, 49},
962  {3, 166, 11, 60},
963  {3, 167, 11, 58},
964  {3, 168, 11, 52},
965  {3, 169, 11, 54},
966  {3, 170, 11, 63},
967  {3, 171, 11, 62},
968  {3, 172, 11, 59},
969  {3, 173, 11, 61},
970  {3, 174, 10, 54},
971  {3, 175, 11, 57},
972  {3, 176, 10, 55},
973  {3, 177, 10, 52},
974  {3, 178, 11, 56},
975  {3, 179, 10, 49},
976  {3, 180, 10, 53},
977  {3, 181, 10, 51},
978  {3, 182, 10, 48},
979  {3, 183, 10, 58},
980  {3, 184, 10, 56},
981  {3, 185, 10, 50},
982  {3, 186, 10, 63},
983  {3, 187, 10, 61},
984  {3, 188, 10, 59},
985  {3, 189, 10, 57},
986  {3, 190, 10, 60},
987  {3, 191, 10, 62},
988  {3, 192, 13, 54},
989  {3, 193, 13, 52},
990  {3, 194, 13, 51},
991  {3, 195, 13, 49},
992  {3, 196, 13, 55},
993  {3, 197, 13, 53},
994  {3, 198, 13, 56},
995  {3, 199, 13, 58},
996  {3, 200, 13, 48},
997  {3, 201, 13, 50},
998  {3, 202, 13, 63},
999  {3, 203, 13, 62},
1000  {3, 204, 13, 59},
1001  {3, 205, 13, 61},
1002  {3, 206, 12, 53},
1003  {3, 207, 13, 57},
1004  {3, 208, 12, 52},
1005  {3, 209, 12, 55},
1006  {3, 210, 13, 60},
1007  {3, 211, 12, 54},
1008  {3, 212, 12, 50},
1009  {3, 213, 12, 48},
1010  {3, 214, 12, 51},
1011  {3, 215, 12, 57},
1012  {3, 216, 12, 59},
1013  {3, 217, 12, 49},
1014  {3, 218, 12, 56},
1015  {3, 219, 12, 62},
1016  {3, 220, 12, 60},
1017  {3, 221, 12, 58},
1018  {3, 222, 12, 63},
1019  {3, 223, 12, 61},
1020  {3, 224, 15, 56},
1021  {3, 225, 15, 63},
1022  {3, 226, 15, 55},
1023  {3, 227, 15, 57},
1024  {3, 228, 15, 60},
1025  {3, 229, 15, 49},
1026  {3, 230, 15, 52},
1027  {3, 231, 15, 58},
1028  {3, 232, 15, 48},
1029  {3, 233, 15, 54},
1030  {3, 234, 15, 59},
1031  {3, 235, 15, 62},
1032  {3, 236, 15, 51},
1033  {3, 237, 15, 53},
1034  {3, 238, 14, 49},
1035  {3, 239, 15, 50},
1036  {3, 240, 14, 52},
1037  {3, 241, 14, 51},
1038  {3, 242, 15, 61},
1039  {3, 243, 14, 50},
1040  {3, 244, 14, 54},
1041  {3, 245, 14, 48},
1042  {3, 246, 14, 55},
1043  {3, 247, 14, 57},
1044  {3, 248, 14, 59},
1045  {3, 249, 14, 53},
1046  {3, 250, 14, 60},
1047  {3, 251, 14, 62},
1048  {3, 252, 14, 56},
1049  {3, 253, 14, 58},
1050  {3, 254, 14, 63},
1051  {3, 255, 14, 61},
1052  {4, 0, 1, 74},
1053  {4, 1, 1, 72},
1054  {4, 2, 1, 75},
1055  {4, 3, 1, 73},
1056  {4, 4, 1, 79},
1057  {4, 5, 1, 77},
1058  {4, 6, 1, 76},
1059  {4, 7, 1, 78},
1060  {4, 8, 1, 68},
1061  {4, 9, 1, 70},
1062  {4, 10, 1, 71},
1063  {4, 11, 1, 66},
1064  {4, 12, 1, 67},
1065  {4, 13, 1, 69},
1066  {4, 14, 1, 64},
1067  {4, 15, 1, 65},
1068  {4, 16, 0, 76},
1069  {4, 17, 0, 78},
1070  {4, 18, 0, 71},
1071  {4, 19, 0, 66},
1072  {4, 20, 0, 79},
1073  {4, 21, 0, 73},
1074  {4, 22, 0, 67},
1075  {4, 23, 0, 69},
1076  {4, 24, 0, 72},
1077  {4, 25, 0, 65},
1078  {4, 26, 0, 68},
1079  {4, 27, 0, 74},
1080  {4, 28, 0, 64},
1081  {4, 29, 0, 70},
1082  {4, 30, 0, 77},
1083  {4, 31, 0, 75},
1084  {4, 32, 3, 74},
1085  {4, 33, 3, 76},
1086  {4, 34, 3, 75},
1087  {4, 35, 3, 73},
1088  {4, 36, 3, 79},
1089  {4, 37, 3, 77},
1090  {4, 38, 3, 72},
1091  {4, 39, 3, 78},
1092  {4, 40, 3, 64},
1093  {4, 41, 3, 66},
1094  {4, 42, 3, 71},
1095  {4, 43, 3, 70},
1096  {4, 44, 3, 67},
1097  {4, 45, 3, 65},
1098  {4, 46, 2, 73},
1099  {4, 47, 3, 69},
1100  {4, 48, 3, 68},
1101  {4, 49, 2, 75},
1102  {4, 50, 2, 76},
1103  {4, 51, 2, 74},
1104  {4, 52, 2, 78},
1105  {4, 53, 2, 72},
1106  {4, 54, 2, 79},
1107  {4, 55, 2, 77},
1108  {4, 56, 2, 71},
1109  {4, 57, 2, 69},
1110  {4, 58, 2, 68},
1111  {4, 59, 2, 70},
1112  {4, 60, 2, 64},
1113  {4, 61, 2, 66},
1114  {4, 62, 2, 67},
1115  {4, 63, 2, 65},
1116  {4, 64, 5, 71},
1117  {4, 65, 5, 75},
1118  {4, 66, 5, 67},
1119  {4, 67, 5, 79},
1120  {4, 68, 5, 66},
1121  {4, 69, 5, 78},
1122  {4, 70, 5, 74},
1123  {4, 71, 5, 70},
1124  {4, 72, 5, 77},
1125  {4, 73, 5, 69},
1126  {4, 74, 5, 65},
1127  {4, 75, 5, 68},
1128  {4, 76, 5, 64},
1129  {4, 77, 5, 73},
1130  {4, 78, 4, 73},
1131  {4, 79, 5, 72},
1132  {4, 80, 5, 76},
1133  {4, 81, 4, 75},
1134  {4, 82, 4, 77},
1135  {4, 83, 4, 74},
1136  {4, 84, 4, 72},
1137  {4, 85, 4, 79},
1138  {4, 86, 4, 76},
1139  {4, 87, 4, 69},
1140  {4, 88, 4, 78},
1141  {4, 89, 4, 71},
1142  {4, 90, 4, 70},
1143  {4, 91, 4, 68},
1144  {4, 92, 4, 67},
1145  {4, 93, 4, 65},
1146  {4, 94, 4, 64},
1147  {4, 95, 4, 66},
1148  {4, 96, 7, 72},
1149  {4, 97, 7, 73},
1150  {4, 98, 7, 69},
1151  {4, 99, 7, 78},
1152  {4, 100, 7, 75},
1153  {4, 101, 7, 65},
1154  {4, 102, 7, 67},
1155  {4, 103, 7, 77},
1156  {4, 104, 7, 71},
1157  {4, 105, 7, 64},
1158  {4, 106, 7, 76},
1159  {4, 107, 7, 74},
1160  {4, 108, 7, 68},
1161  {4, 109, 7, 66},
1162  {4, 110, 6, 66},
1163  {4, 111, 7, 70},
1164  {4, 112, 7, 79},
1165  {4, 113, 6, 64},
1166  {4, 114, 6, 71},
1167  {4, 115, 6, 65},
1168  {4, 116, 6, 69},
1169  {4, 117, 6, 67},
1170  {4, 118, 6, 68},
1171  {4, 119, 6, 70},
1172  {4, 120, 6, 72},
1173  {4, 121, 6, 78},
1174  {4, 122, 6, 79},
1175  {4, 123, 6, 77},
1176  {4, 124, 6, 75},
1177  {4, 125, 6, 73},
1178  {4, 126, 6, 76},
1179  {4, 127, 6, 74},
1180  {4, 128, 9, 73},
1181  {4, 129, 9, 75},
1182  {4, 130, 9, 76},
1183  {4, 131, 9, 78},
1184  {4, 132, 9, 72},
1185  {4, 133, 9, 74},
1186  {4, 134, 9, 71},
1187  {4, 135, 9, 69},
1188  {4, 136, 9, 79},
1189  {4, 137, 9, 77},
1190  {4, 138, 9, 64},
1191  {4, 139, 9, 65},
1192  {4, 140, 9, 68},
1193  {4, 141, 9, 66},
1194  {4, 142, 9, 67},
1195  {4, 143, 9, 70},
1196  {4, 144, 8, 71},
1197  {4, 145, 8, 77},
1198  {4, 146, 8, 64},
1199  {4, 147, 8, 65},
1200  {4, 148, 8, 76},
1201  {4, 149, 8, 74},
1202  {4, 150, 8, 68},
1203  {4, 151, 8, 70},
1204  {4, 152, 8, 75},
1205  {4, 153, 8, 66},
1206  {4, 154, 8, 79},
1207  {4, 155, 8, 73},
1208  {4, 156, 8, 67},
1209  {4, 157, 8, 69},
1210  {4, 158, 8, 78},
1211  {4, 159, 8, 72},
1212  {4, 160, 11, 66},
1213  {4, 161, 11, 64},
1214  {4, 162, 11, 67},
1215  {4, 163, 11, 69},
1216  {4, 164, 11, 71},
1217  {4, 165, 11, 65},
1218  {4, 166, 11, 72},
1219  {4, 167, 11, 78},
1220  {4, 168, 11, 68},
1221  {4, 169, 11, 70},
1222  {4, 170, 11, 75},
1223  {4, 171, 11, 74},
1224  {4, 172, 11, 79},
1225  {4, 173, 11, 77},
1226  {4, 174, 10, 70},
1227  {4, 175, 11, 73},
1228  {4, 176, 10, 71},
1229  {4, 177, 10, 68},
1230  {4, 178, 11, 76},
1231  {4, 179, 10, 69},
1232  {4, 180, 10, 65},
1233  {4, 181, 10, 67},
1234  {4, 182, 10, 64},
1235  {4, 183, 10, 78},
1236  {4, 184, 10, 72},
1237  {4, 185, 10, 66},
1238  {4, 186, 10, 79},
1239  {4, 187, 10, 77},
1240  {4, 188, 10, 75},
1241  {4, 189, 10, 73},
1242  {4, 190, 10, 76},
1243  {4, 191, 10, 74},
1244  {4, 192, 13, 66},
1245  {4, 193, 13, 64},
1246  {4, 194, 13, 67},
1247  {4, 195, 13, 69},
1248  {4, 196, 13, 71},
1249  {4, 197, 13, 65},
1250  {4, 198, 13, 72},
1251  {4, 199, 13, 78},
1252  {4, 200, 13, 68},
1253  {4, 201, 13, 70},
1254  {4, 202, 13, 75},
1255  {4, 203, 13, 74},
1256  {4, 204, 13, 79},
1257  {4, 205, 13, 77},
1258  {4, 206, 12, 69},
1259  {4, 207, 13, 73},
1260  {4, 208, 12, 68},
1261  {4, 209, 12, 67},
1262  {4, 210, 13, 76},
1263  {4, 211, 12, 66},
1264  {4, 212, 12, 70},
1265  {4, 213, 12, 64},
1266  {4, 214, 12, 71},
1267  {4, 215, 12, 73},
1268  {4, 216, 12, 79},
1269  {4, 217, 12, 65},
1270  {4, 218, 12, 76},
1271  {4, 219, 12, 74},
1272  {4, 220, 12, 72},
1273  {4, 221, 12, 78},
1274  {4, 222, 12, 75},
1275  {4, 223, 12, 77},
1276  {4, 224, 15, 76},
1277  {4, 225, 15, 75},
1278  {4, 226, 15, 67},
1279  {4, 227, 15, 73},
1280  {4, 228, 15, 72},
1281  {4, 229, 15, 65},
1282  {4, 230, 15, 68},
1283  {4, 231, 15, 78},
1284  {4, 232, 15, 64},
1285  {4, 233, 15, 70},
1286  {4, 234, 15, 79},
1287  {4, 235, 15, 74},
1288  {4, 236, 15, 71},
1289  {4, 237, 15, 69},
1290  {4, 238, 14, 65},
1291  {4, 239, 15, 66},
1292  {4, 240, 14, 64},
1293  {4, 241, 14, 71},
1294  {4, 242, 15, 77},
1295  {4, 243, 14, 70},
1296  {4, 244, 14, 66},
1297  {4, 245, 14, 68},
1298  {4, 246, 14, 67},
1299  {4, 247, 14, 77},
1300  {4, 248, 14, 79},
1301  {4, 249, 14, 69},
1302  {4, 250, 14, 76},
1303  {4, 251, 14, 74},
1304  {4, 252, 14, 72},
1305  {4, 253, 14, 78},
1306  {4, 254, 14, 75},
1307  {4, 255, 14, 73},
1308  {5, 0, 1, 90},
1309  {5, 1, 1, 88},
1310  {5, 2, 1, 91},
1311  {5, 3, 1, 89},
1312  {5, 4, 1, 95},
1313  {5, 5, 1, 93},
1314  {5, 6, 1, 92},
1315  {5, 7, 1, 94},
1316  {5, 8, 1, 84},
1317  {5, 9, 1, 82},
1318  {5, 10, 1, 83},
1319  {5, 11, 1, 86},
1320  {5, 12, 1, 87},
1321  {5, 13, 1, 81},
1322  {5, 14, 1, 80},
1323  {5, 15, 1, 85},
1324  {5, 16, 0, 92},
1325  {5, 17, 0, 94},
1326  {5, 18, 0, 87},
1327  {5, 19, 0, 86},
1328  {5, 20, 0, 95},
1329  {5, 21, 0, 89},
1330  {5, 22, 0, 83},
1331  {5, 23, 0, 81},
1332  {5, 24, 0, 88},
1333  {5, 25, 0, 85},
1334  {5, 26, 0, 80},
1335  {5, 27, 0, 90},
1336  {5, 28, 0, 84},
1337  {5, 29, 0, 82},
1338  {5, 30, 0, 93},
1339  {5, 31, 0, 91},
1340  {5, 32, 3, 90},
1341  {5, 33, 3, 88},
1342  {5, 34, 3, 91},
1343  {5, 35, 3, 89},
1344  {5, 36, 3, 95},
1345  {5, 37, 3, 93},
1346  {5, 38, 3, 92},
1347  {5, 39, 3, 94},
1348  {5, 40, 3, 84},
1349  {5, 41, 3, 86},
1350  {5, 42, 3, 87},
1351  {5, 43, 3, 82},
1352  {5, 44, 3, 83},
1353  {5, 45, 3, 85},
1354  {5, 46, 2, 89},
1355  {5, 47, 3, 81},
1356  {5, 48, 3, 80},
1357  {5, 49, 2, 91},
1358  {5, 50, 2, 88},
1359  {5, 51, 2, 90},
1360  {5, 52, 2, 94},
1361  {5, 53, 2, 92},
1362  {5, 54, 2, 95},
1363  {5, 55, 2, 93},
1364  {5, 56, 2, 83},
1365  {5, 57, 2, 85},
1366  {5, 58, 2, 84},
1367  {5, 59, 2, 82},
1368  {5, 60, 2, 80},
1369  {5, 61, 2, 86},
1370  {5, 62, 2, 87},
1371  {5, 63, 2, 81},
1372  {5, 64, 5, 83},
1373  {5, 65, 5, 91},
1374  {5, 66, 5, 87},
1375  {5, 67, 5, 95},
1376  {5, 68, 5, 82},
1377  {5, 69, 5, 94},
1378  {5, 70, 5, 90},
1379  {5, 71, 5, 86},
1380  {5, 72, 5, 93},
1381  {5, 73, 5, 85},
1382  {5, 74, 5, 81},
1383  {5, 75, 5, 92},
1384  {5, 76, 5, 80},
1385  {5, 77, 5, 89},
1386  {5, 78, 4, 89},
1387  {5, 79, 5, 84},
1388  {5, 80, 5, 88},
1389  {5, 81, 4, 87},
1390  {5, 82, 4, 94},
1391  {5, 83, 4, 90},
1392  {5, 84, 4, 88},
1393  {5, 85, 4, 86},
1394  {5, 86, 4, 93},
1395  {5, 87, 4, 84},
1396  {5, 88, 4, 85},
1397  {5, 89, 4, 91},
1398  {5, 90, 4, 95},
1399  {5, 91, 4, 92},
1400  {5, 92, 4, 83},
1401  {5, 93, 4, 81},
1402  {5, 94, 4, 82},
1403  {5, 95, 4, 80},
1404  {5, 96, 7, 88},
1405  {5, 97, 7, 89},
1406  {5, 98, 7, 81},
1407  {5, 99, 7, 94},
1408  {5, 100, 7, 91},
1409  {5, 101, 7, 85},
1410  {5, 102, 7, 83},
1411  {5, 103, 7, 93},
1412  {5, 104, 7, 87},
1413  {5, 105, 7, 80},
1414  {5, 106, 7, 92},
1415  {5, 107, 7, 90},
1416  {5, 108, 7, 84},
1417  {5, 109, 7, 82},
1418  {5, 110, 6, 86},
1419  {5, 111, 7, 86},
1420  {5, 112, 7, 95},
1421  {5, 113, 6, 84},
1422  {5, 114, 6, 87},
1423  {5, 115, 6, 85},
1424  {5, 116, 6, 81},
1425  {5, 117, 6, 83},
1426  {5, 118, 6, 80},
1427  {5, 119, 6, 82},
1428  {5, 120, 6, 92},
1429  {5, 121, 6, 94},
1430  {5, 122, 6, 95},
1431  {5, 123, 6, 93},
1432  {5, 124, 6, 91},
1433  {5, 125, 6, 89},
1434  {5, 126, 6, 88},
1435  {5, 127, 6, 90},
1436  {5, 128, 9, 89},
1437  {5, 129, 9, 91},
1438  {5, 130, 9, 88},
1439  {5, 131, 9, 94},
1440  {5, 132, 9, 92},
1441  {5, 133, 9, 90},
1442  {5, 134, 9, 83},
1443  {5, 135, 9, 81},
1444  {5, 136, 9, 95},
1445  {5, 137, 9, 93},
1446  {5, 138, 9, 80},
1447  {5, 139, 9, 85},
1448  {5, 140, 9, 84},
1449  {5, 141, 9, 86},
1450  {5, 142, 9, 87},
1451  {5, 143, 9, 82},
1452  {5, 144, 8, 83},
1453  {5, 145, 8, 93},
1454  {5, 146, 8, 84},
1455  {5, 147, 8, 85},
1456  {5, 148, 8, 92},
1457  {5, 149, 8, 90},
1458  {5, 150, 8, 80},
1459  {5, 151, 8, 82},
1460  {5, 152, 8, 91},
1461  {5, 153, 8, 86},
1462  {5, 154, 8, 95},
1463  {5, 155, 8, 89},
1464  {5, 156, 8, 87},
1465  {5, 157, 8, 81},
1466  {5, 158, 8, 94},
1467  {5, 159, 8, 88},
1468  {5, 160, 11, 82},
1469  {5, 161, 11, 80},
1470  {5, 162, 11, 83},
1471  {5, 163, 11, 85},
1472  {5, 164, 11, 87},
1473  {5, 165, 11, 81},
1474  {5, 166, 11, 92},
1475  {5, 167, 11, 94},
1476  {5, 168, 11, 84},
1477  {5, 169, 11, 86},
1478  {5, 170, 11, 91},
1479  {5, 171, 11, 90},
1480  {5, 172, 11, 95},
1481  {5, 173, 11, 89},
1482  {5, 174, 10, 86},
1483  {5, 175, 11, 93},
1484  {5, 176, 10, 87},
1485  {5, 177, 10, 84},
1486  {5, 178, 11, 88},
1487  {5, 179, 10, 85},
1488  {5, 180, 10, 81},
1489  {5, 181, 10, 83},
1490  {5, 182, 10, 80},
1491  {5, 183, 10, 94},
1492  {5, 184, 10, 92},
1493  {5, 185, 10, 82},
1494  {5, 186, 10, 95},
1495  {5, 187, 10, 89},
1496  {5, 188, 10, 91},
1497  {5, 189, 10, 93},
1498  {5, 190, 10, 88},
1499  {5, 191, 10, 90},
1500  {5, 192, 13, 86},
1501  {5, 193, 13, 80},
1502  {5, 194, 13, 87},
1503  {5, 195, 13, 81},
1504  {5, 196, 13, 83},
1505  {5, 197, 13, 85},
1506  {5, 198, 13, 92},
1507  {5, 199, 13, 94},
1508  {5, 200, 13, 84},
1509  {5, 201, 13, 82},
1510  {5, 202, 13, 91},
1511  {5, 203, 13, 90},
1512  {5, 204, 13, 95},
1513  {5, 205, 13, 89},
1514  {5, 206, 12, 81},
1515  {5, 207, 13, 93},
1516  {5, 208, 12, 80},
1517  {5, 209, 12, 83},
1518  {5, 210, 13, 88},
1519  {5, 211, 12, 82},
1520  {5, 212, 12, 86},
1521  {5, 213, 12, 84},
1522  {5, 214, 12, 87},
1523  {5, 215, 12, 93},
1524  {5, 216, 12, 95},
1525  {5, 217, 12, 85},
1526  {5, 218, 12, 88},
1527  {5, 219, 12, 90},
1528  {5, 220, 12, 92},
1529  {5, 221, 12, 94},
1530  {5, 222, 12, 91},
1531  {5, 223, 12, 89},
1532  {5, 224, 15, 92},
1533  {5, 225, 15, 91},
1534  {5, 226, 15, 83},
1535  {5, 227, 15, 93},
1536  {5, 228, 15, 88},
1537  {5, 229, 15, 85},
1538  {5, 230, 15, 80},
1539  {5, 231, 15, 94},
1540  {5, 232, 15, 84},
1541  {5, 233, 15, 82},
1542  {5, 234, 15, 95},
1543  {5, 235, 15, 90},
1544  {5, 236, 15, 87},
1545  {5, 237, 15, 81},
1546  {5, 238, 14, 85},
1547  {5, 239, 15, 86},
1548  {5, 240, 14, 84},
1549  {5, 241, 14, 87},
1550  {5, 242, 15, 89},
1551  {5, 243, 14, 86},
1552  {5, 244, 14, 82},
1553  {5, 245, 14, 80},
1554  {5, 246, 14, 83},
1555  {5, 247, 14, 93},
1556  {5, 248, 14, 95},
1557  {5, 249, 14, 81},
1558  {5, 250, 14, 88},
1559  {5, 251, 14, 90},
1560  {5, 252, 14, 92},
1561  {5, 253, 14, 94},
1562  {5, 254, 14, 91},
1563  {5, 255, 14, 89},
1564  {6, 0, 1, 106},
1565  {6, 1, 1, 104},
1566  {6, 2, 1, 107},
1567  {6, 3, 1, 105},
1568  {6, 4, 1, 111},
1569  {6, 5, 1, 109},
1570  {6, 6, 1, 108},
1571  {6, 7, 1, 110},
1572  {6, 8, 1, 96},
1573  {6, 9, 1, 98},
1574  {6, 10, 1, 99},
1575  {6, 11, 1, 102},
1576  {6, 12, 1, 103},
1577  {6, 13, 1, 97},
1578  {6, 14, 1, 100},
1579  {6, 15, 1, 101},
1580  {6, 16, 0, 108},
1581  {6, 17, 0, 110},
1582  {6, 18, 0, 103},
1583  {6, 19, 0, 102},
1584  {6, 20, 0, 111},
1585  {6, 21, 0, 105},
1586  {6, 22, 0, 99},
1587  {6, 23, 0, 97},
1588  {6, 24, 0, 104},
1589  {6, 25, 0, 101},
1590  {6, 26, 0, 96},
1591  {6, 27, 0, 106},
1592  {6, 28, 0, 100},
1593  {6, 29, 0, 98},
1594  {6, 30, 0, 109},
1595  {6, 31, 0, 107},
1596  {6, 32, 3, 106},
1597  {6, 33, 3, 104},
1598  {6, 34, 3, 107},
1599  {6, 35, 3, 105},
1600  {6, 36, 3, 111},
1601  {6, 37, 3, 109},
1602  {6, 38, 3, 108},
1603  {6, 39, 3, 110},
1604  {6, 40, 3, 100},
1605  {6, 41, 3, 98},
1606  {6, 42, 3, 99},
1607  {6, 43, 3, 102},
1608  {6, 44, 3, 103},
1609  {6, 45, 3, 97},
1610  {6, 46, 2, 105},
1611  {6, 47, 3, 101},
1612  {6, 48, 3, 96},
1613  {6, 49, 2, 107},
1614  {6, 50, 2, 104},
1615  {6, 51, 2, 106},
1616  {6, 52, 2, 110},
1617  {6, 53, 2, 108},
1618  {6, 54, 2, 111},
1619  {6, 55, 2, 109},
1620  {6, 56, 2, 99},
1621  {6, 57, 2, 97},
1622  {6, 58, 2, 96},
1623  {6, 59, 2, 98},
1624  {6, 60, 2, 100},
1625  {6, 61, 2, 102},
1626  {6, 62, 2, 103},
1627  {6, 63, 2, 101},
1628  {6, 64, 5, 99},
1629  {6, 65, 5, 107},
1630  {6, 66, 5, 103},
1631  {6, 67, 5, 111},
1632  {6, 68, 5, 102},
1633  {6, 69, 5, 110},
1634  {6, 70, 5, 106},
1635  {6, 71, 5, 98},
1636  {6, 72, 5, 109},
1637  {6, 73, 5, 101},
1638  {6, 74, 5, 97},
1639  {6, 75, 5, 108},
1640  {6, 76, 5, 104},
1641  {6, 77, 5, 105},
1642  {6, 78, 4, 108},
1643  {6, 79, 5, 96},
1644  {6, 80, 5, 100},
1645  {6, 81, 4, 99},
1646  {6, 82, 4, 109},
1647  {6, 83, 4, 105},
1648  {6, 84, 4, 100},
1649  {6, 85, 4, 103},
1650  {6, 86, 4, 104},
1651  {6, 87, 4, 97},
1652  {6, 88, 4, 98},
1653  {6, 89, 4, 107},
1654  {6, 90, 4, 111},
1655  {6, 91, 4, 96},
1656  {6, 92, 4, 110},
1657  {6, 93, 4, 102},
1658  {6, 94, 4, 101},
1659  {6, 95, 4, 106},
1660  {6, 96, 7, 104},
1661  {6, 97, 7, 105},
1662  {6, 98, 7, 97},
1663  {6, 99, 7, 110},
1664  {6, 100, 7, 107},
1665  {6, 101, 7, 101},
1666  {6, 102, 7, 99},
1667  {6, 103, 7, 109},
1668  {6, 104, 7, 103},
1669  {6, 105, 7, 96},
1670  {6, 106, 7, 108},
1671  {6, 107, 7, 106},
1672  {6, 108, 7, 100},
1673  {6, 109, 7, 98},
1674  {6, 110, 6, 102},
1675  {6, 111, 7, 102},
1676  {6, 112, 7, 111},
1677  {6, 113, 6, 100},
1678  {6, 114, 6, 103},
1679  {6, 115, 6, 101},
1680  {6, 116, 6, 97},
1681  {6, 117, 6, 99},
1682  {6, 118, 6, 96},
1683  {6, 119, 6, 98},
1684  {6, 120, 6, 108},
1685  {6, 121, 6, 110},
1686  {6, 122, 6, 111},
1687  {6, 123, 6, 109},
1688  {6, 124, 6, 107},
1689  {6, 125, 6, 105},
1690  {6, 126, 6, 104},
1691  {6, 127, 6, 106},
1692  {6, 128, 9, 105},
1693  {6, 129, 9, 107},
1694  {6, 130, 9, 104},
1695  {6, 131, 9, 110},
1696  {6, 132, 9, 108},
1697  {6, 133, 9, 106},
1698  {6, 134, 9, 99},
1699  {6, 135, 9, 97},
1700  {6, 136, 9, 111},
1701  {6, 137, 9, 109},
1702  {6, 138, 9, 100},
1703  {6, 139, 9, 101},
1704  {6, 140, 9, 96},
1705  {6, 141, 9, 102},
1706  {6, 142, 9, 103},
1707  {6, 143, 9, 98},
1708  {6, 144, 8, 99},
1709  {6, 145, 8, 109},
1710  {6, 146, 8, 100},
1711  {6, 147, 8, 101},
1712  {6, 148, 8, 108},
1713  {6, 149, 8, 106},
1714  {6, 150, 8, 96},
1715  {6, 151, 8, 98},
1716  {6, 152, 8, 107},
1717  {6, 153, 8, 102},
1718  {6, 154, 8, 111},
1719  {6, 155, 8, 105},
1720  {6, 156, 8, 103},
1721  {6, 157, 8, 97},
1722  {6, 158, 8, 110},
1723  {6, 159, 8, 104},
1724  {6, 160, 11, 102},
1725  {6, 161, 11, 96},
1726  {6, 162, 11, 103},
1727  {6, 163, 11, 101},
1728  {6, 164, 11, 99},
1729  {6, 165, 11, 97},
1730  {6, 166, 11, 108},
1731  {6, 167, 11, 110},
1732  {6, 168, 11, 100},
1733  {6, 169, 11, 98},
1734  {6, 170, 11, 107},
1735  {6, 171, 11, 106},
1736  {6, 172, 11, 111},
1737  {6, 173, 11, 105},
1738  {6, 174, 10, 98},
1739  {6, 175, 11, 109},
1740  {6, 176, 10, 103},
1741  {6, 177, 10, 96},
1742  {6, 178, 11, 104},
1743  {6, 179, 10, 97},
1744  {6, 180, 10, 101},
1745  {6, 181, 10, 99},
1746  {6, 182, 10, 100},
1747  {6, 183, 10, 110},
1748  {6, 184, 10, 108},
1749  {6, 185, 10, 102},
1750  {6, 186, 10, 111},
1751  {6, 187, 10, 105},
1752  {6, 188, 10, 107},
1753  {6, 189, 10, 109},
1754  {6, 190, 10, 104},
1755  {6, 191, 10, 106},
1756  {6, 192, 13, 102},
1757  {6, 193, 13, 100},
1758  {6, 194, 13, 103},
1759  {6, 195, 13, 97},
1760  {6, 196, 13, 99},
1761  {6, 197, 13, 101},
1762  {6, 198, 13, 108},
1763  {6, 199, 13, 110},
1764  {6, 200, 13, 96},
1765  {6, 201, 13, 98},
1766  {6, 202, 13, 107},
1767  {6, 203, 13, 106},
1768  {6, 204, 13, 111},
1769  {6, 205, 13, 105},
1770  {6, 206, 12, 101},
1771  {6, 207, 13, 109},
1772  {6, 208, 12, 100},
1773  {6, 209, 12, 103},
1774  {6, 210, 13, 104},
1775  {6, 211, 12, 102},
1776  {6, 212, 12, 98},
1777  {6, 213, 12, 96},
1778  {6, 214, 12, 99},
1779  {6, 215, 12, 109},
1780  {6, 216, 12, 111},
1781  {6, 217, 12, 97},
1782  {6, 218, 12, 104},
1783  {6, 219, 12, 106},
1784  {6, 220, 12, 108},
1785  {6, 221, 12, 110},
1786  {6, 222, 12, 107},
1787  {6, 223, 12, 105},
1788  {6, 224, 15, 108},
1789  {6, 225, 15, 107},
1790  {6, 226, 15, 99},
1791  {6, 227, 15, 109},
1792  {6, 228, 15, 104},
1793  {6, 229, 15, 101},
1794  {6, 230, 15, 96},
1795  {6, 231, 15, 110},
1796  {6, 232, 15, 100},
1797  {6, 233, 15, 98},
1798  {6, 234, 15, 111},
1799  {6, 235, 15, 106},
1800  {6, 236, 15, 103},
1801  {6, 237, 15, 97},
1802  {6, 238, 14, 101},
1803  {6, 239, 15, 102},
1804  {6, 240, 14, 100},
1805  {6, 241, 14, 103},
1806  {6, 242, 15, 105},
1807  {6, 243, 14, 102},
1808  {6, 244, 14, 98},
1809  {6, 245, 14, 96},
1810  {6, 246, 14, 99},
1811  {6, 247, 14, 109},
1812  {6, 248, 14, 111},
1813  {6, 249, 14, 97},
1814  {6, 250, 14, 104},
1815  {6, 251, 14, 106},
1816  {6, 252, 14, 108},
1817  {6, 253, 14, 110},
1818  {6, 254, 14, 107},
1819  {6, 255, 14, 105},
1820  {7, 0, 1, 122},
1821  {7, 1, 1, 120},
1822  {7, 2, 1, 123},
1823  {7, 3, 1, 121},
1824  {7, 4, 1, 127},
1825  {7, 5, 1, 125},
1826  {7, 6, 1, 124},
1827  {7, 7, 1, 126},
1828  {7, 8, 1, 112},
1829  {7, 9, 1, 114},
1830  {7, 10, 1, 115},
1831  {7, 11, 1, 118},
1832  {7, 12, 1, 119},
1833  {7, 13, 1, 113},
1834  {7, 14, 1, 116},
1835  {7, 15, 1, 117},
1836  {7, 16, 0, 124},
1837  {7, 17, 0, 126},
1838  {7, 18, 0, 119},
1839  {7, 19, 0, 118},
1840  {7, 20, 0, 127},
1841  {7, 21, 0, 121},
1842  {7, 22, 0, 115},
1843  {7, 23, 0, 113},
1844  {7, 24, 0, 120},
1845  {7, 25, 0, 117},
1846  {7, 26, 0, 112},
1847  {7, 27, 0, 122},
1848  {7, 28, 0, 116},
1849  {7, 29, 0, 114},
1850  {7, 30, 0, 125},
1851  {7, 31, 0, 123},
1852  {7, 32, 3, 122},
1853  {7, 33, 3, 120},
1854  {7, 34, 3, 123},
1855  {7, 35, 3, 121},
1856  {7, 36, 3, 127},
1857  {7, 37, 3, 125},
1858  {7, 38, 3, 124},
1859  {7, 39, 3, 126},
1860  {7, 40, 3, 112},
1861  {7, 41, 3, 114},
1862  {7, 42, 3, 115},
1863  {7, 43, 3, 118},
1864  {7, 44, 3, 119},
1865  {7, 45, 3, 113},
1866  {7, 46, 2, 121},
1867  {7, 47, 3, 117},
1868  {7, 48, 3, 116},
1869  {7, 49, 2, 123},
1870  {7, 50, 2, 120},
1871  {7, 51, 2, 122},
1872  {7, 52, 2, 126},
1873  {7, 53, 2, 124},
1874  {7, 54, 2, 127},
1875  {7, 55, 2, 125},
1876  {7, 56, 2, 115},
1877  {7, 57, 2, 113},
1878  {7, 58, 2, 112},
1879  {7, 59, 2, 114},
1880  {7, 60, 2, 116},
1881  {7, 61, 2, 118},
1882  {7, 62, 2, 119},
1883  {7, 63, 2, 117},
1884  {7, 64, 5, 115},
1885  {7, 65, 5, 123},
1886  {7, 66, 5, 119},
1887  {7, 67, 5, 127},
1888  {7, 68, 5, 114},
1889  {7, 69, 5, 122},
1890  {7, 70, 5, 126},
1891  {7, 71, 5, 118},
1892  {7, 72, 5, 125},
1893  {7, 73, 5, 117},
1894  {7, 74, 5, 121},
1895  {7, 75, 5, 116},
1896  {7, 76, 5, 120},
1897  {7, 77, 5, 113},
1898  {7, 78, 4, 113},
1899  {7, 79, 5, 112},
1900  {7, 80, 5, 124},
1901  {7, 81, 4, 118},
1902  {7, 82, 4, 121},
1903  {7, 83, 4, 125},
1904  {7, 84, 4, 112},
1905  {7, 85, 4, 114},
1906  {7, 86, 4, 120},
1907  {7, 87, 4, 124},
1908  {7, 88, 4, 117},
1909  {7, 89, 4, 122},
1910  {7, 90, 4, 126},
1911  {7, 91, 4, 116},
1912  {7, 92, 4, 119},
1913  {7, 93, 4, 127},
1914  {7, 94, 4, 123},
1915  {7, 95, 4, 115},
1916  {7, 96, 7, 120},
1917  {7, 97, 7, 121},
1918  {7, 98, 7, 113},
1919  {7, 99, 7, 126},
1920  {7, 100, 7, 123},
1921  {7, 101, 7, 117},
1922  {7, 102, 7, 115},
1923  {7, 103, 7, 125},
1924  {7, 104, 7, 119},
1925  {7, 105, 7, 112},
1926  {7, 106, 7, 124},
1927  {7, 107, 7, 122},
1928  {7, 108, 7, 116},
1929  {7, 109, 7, 114},
1930  {7, 110, 6, 118},
1931  {7, 111, 7, 118},
1932  {7, 112, 7, 127},
1933  {7, 113, 6, 116},
1934  {7, 114, 6, 119},
1935  {7, 115, 6, 117},
1936  {7, 116, 6, 113},
1937  {7, 117, 6, 115},
1938  {7, 118, 6, 112},
1939  {7, 119, 6, 114},
1940  {7, 120, 6, 124},
1941  {7, 121, 6, 126},
1942  {7, 122, 6, 127},
1943  {7, 123, 6, 125},
1944  {7, 124, 6, 123},
1945  {7, 125, 6, 121},
1946  {7, 126, 6, 120},
1947  {7, 127, 6, 122},
1948  {7, 128, 9, 121},
1949  {7, 129, 9, 123},
1950  {7, 130, 9, 120},
1951  {7, 131, 9, 126},
1952  {7, 132, 9, 124},
1953  {7, 133, 9, 122},
1954  {7, 134, 9, 115},
1955  {7, 135, 9, 113},
1956  {7, 136, 9, 127},
1957  {7, 137, 9, 125},
1958  {7, 138, 9, 116},
1959  {7, 139, 9, 117},
1960  {7, 140, 9, 112},
1961  {7, 141, 9, 118},
1962  {7, 142, 9, 119},
1963  {7, 143, 9, 114},
1964  {7, 144, 8, 115},
1965  {7, 145, 8, 125},
1966  {7, 146, 8, 116},
1967  {7, 147, 8, 117},
1968  {7, 148, 8, 124},
1969  {7, 149, 8, 122},
1970  {7, 150, 8, 112},
1971  {7, 151, 8, 114},
1972  {7, 152, 8, 123},
1973  {7, 153, 8, 118},
1974  {7, 154, 8, 127},
1975  {7, 155, 8, 121},
1976  {7, 156, 8, 119},
1977  {7, 157, 8, 113},
1978  {7, 158, 8, 126},
1979  {7, 159, 8, 120},
1980  {7, 160, 11, 118},
1981  {7, 161, 11, 116},
1982  {7, 162, 11, 119},
1983  {7, 163, 11, 113},
1984  {7, 164, 11, 115},
1985  {7, 165, 11, 117},
1986  {7, 166, 11, 124},
1987  {7, 167, 11, 126},
1988  {7, 168, 11, 112},
1989  {7, 169, 11, 114},
1990  {7, 170, 11, 123},
1991  {7, 171, 11, 122},
1992  {7, 172, 11, 127},
1993  {7, 173, 11, 121},
1994  {7, 174, 10, 114},
1995  {7, 175, 11, 125},
1996  {7, 176, 10, 119},
1997  {7, 177, 10, 112},
1998  {7, 178, 11, 120},
1999  {7, 179, 10, 113},
2000  {7, 180, 10, 117},
2001  {7, 181, 10, 115},
2002  {7, 182, 10, 116},
2003  {7, 183, 10, 126},
2004  {7, 184, 10, 124},
2005  {7, 185, 10, 118},
2006  {7, 186, 10, 123},
2007  {7, 187, 10, 121},
2008  {7, 188, 10, 127},
2009  {7, 189, 10, 125},
2010  {7, 190, 10, 120},
2011  {7, 191, 10, 122},
2012  {7, 192, 13, 118},
2013  {7, 193, 13, 116},
2014  {7, 194, 13, 119},
2015  {7, 195, 13, 113},
2016  {7, 196, 13, 115},
2017  {7, 197, 13, 117},
2018  {7, 198, 13, 124},
2019  {7, 199, 13, 126},
2020  {7, 200, 13, 112},
2021  {7, 201, 13, 114},
2022  {7, 202, 13, 123},
2023  {7, 203, 13, 122},
2024  {7, 204, 13, 127},
2025  {7, 205, 13, 121},
2026  {7, 206, 12, 117},
2027  {7, 207, 13, 125},
2028  {7, 208, 12, 116},
2029  {7, 209, 12, 119},
2030  {7, 210, 13, 120},
2031  {7, 211, 12, 118},
2032  {7, 212, 12, 114},
2033  {7, 213, 12, 112},
2034  {7, 214, 12, 115},
2035  {7, 215, 12, 125},
2036  {7, 216, 12, 127},
2037  {7, 217, 12, 113},
2038  {7, 218, 12, 120},
2039  {7, 219, 12, 122},
2040  {7, 220, 12, 124},
2041  {7, 221, 12, 126},
2042  {7, 222, 12, 123},
2043  {7, 223, 12, 121},
2044  {7, 224, 15, 124},
2045  {7, 225, 15, 123},
2046  {7, 226, 15, 115},
2047  {7, 227, 15, 125},
2048  {7, 228, 15, 120},
2049  {7, 229, 15, 117},
2050  {7, 230, 15, 112},
2051  {7, 231, 15, 126},
2052  {7, 232, 15, 116},
2053  {7, 233, 15, 114},
2054  {7, 234, 15, 127},
2055  {7, 235, 15, 122},
2056  {7, 236, 15, 119},
2057  {7, 237, 15, 113},
2058  {7, 238, 14, 117},
2059  {7, 239, 15, 118},
2060  {7, 240, 14, 116},
2061  {7, 241, 14, 119},
2062  {7, 242, 15, 121},
2063  {7, 243, 14, 118},
2064  {7, 244, 14, 114},
2065  {7, 245, 14, 112},
2066  {7, 246, 14, 115},
2067  {7, 247, 14, 125},
2068  {7, 248, 14, 127},
2069  {7, 249, 14, 113},
2070  {7, 250, 14, 120},
2071  {7, 251, 14, 122},
2072  {7, 252, 14, 124},
2073  {7, 253, 14, 126},
2074  {7, 254, 14, 123},
2075  {7, 255, 14, 121}};
2076 
2077  public:
2078  // R-position in index
2079  int GetRpos(int card, int chan)
2080  { return ChanMap[card*256+chan][2];}
2081 
2082  // phi-position in index
2083  int Getphipos(int card, int chan)
2084  { return ChanMap[card*256+chan][3];}
2085 
2086  // R-position in real coordinate (mm)
2087  double GetRposReal(int card, int chan, double offset)
2088  { return (GetRpos(card,chan)+0.5)*200.0/16.0+offset;}
2089 
2090  // phi-position in real coordinate (radian)
2091  double GetphiposReal(int card, int chan, double offset)
2092  { return (Getphipos(card,chan)+0.5)*M_PI/12.0/128.0+offset;}
2093 
2094  // x-position in real coordinate (mm)
2095  double GetXpos(int card, int chan, double roffset, double phioffset){
2096  return GetRposReal(card,chan,roffset)*cos(GetphiposReal(card,chan,phioffset));
2097  }
2098 
2099  // y-position in real coordinate (mm)
2100  double GetYpos(int card, int chan, double roffset, double phioffset){
2101  return GetRposReal(card,chan,roffset)*sin(GetphiposReal(card,chan,phioffset));
2102  }
2103 };
2104 
2105 #endif