Line data Source code
1 : /******************************************************************************
2 : * $Id$
3 : *
4 : * Project: Arc/Info Binary Grid Translator
5 : * Purpose: Code for decoding CCITT RLE (G1) compressed data.
6 : * Author: Frank Warmerdam, warmerdam@pobox.com
7 : * Code derived from libtiff (tif_fax3), which originally was
8 : * derived from code by Frank Cringle in viewfax.
9 : *
10 : ******************************************************************************
11 : * Copyright (c) 2002 Frank Warmerdam <warmerdam@pobox.com>
12 : * Copyright (c) 1990-1997 Sam Leffler
13 : * Copyright (c) 1991-1997 Silicon Graphics, Inc.
14 : * Copyright (c) 2009-2013, Even Rouault <even dot rouault at spatialys.com>
15 : *
16 : * Permission to use, copy, modify, distribute, and sell this software and
17 : * its documentation for any purpose is hereby granted without fee, provided
18 : * that (i) the above copyright notices and this permission notice appear in
19 : * all copies of the software and related documentation, and (ii) the names of
20 : * Sam Leffler and Silicon Graphics may not be used in any advertising or
21 : * publicity relating to the software without the specific, prior written
22 : * permission of Sam Leffler and Silicon Graphics.
23 : *
24 : * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
25 : * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
26 : * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
27 : *
28 : * IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
29 : * ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
30 : * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
31 : * WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
32 : * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
33 : * OF THIS SOFTWARE.
34 : ****************************************************************************/
35 :
36 : #include <assert.h>
37 : #include "aigrid.h"
38 :
39 : /* ==================================================================== */
40 : /* Various declarations for the decompression state machine */
41 : /* cribbed from tif_fax3.h in libtiff. */
42 : /* ==================================================================== */
43 :
44 : #define FAXMODE_CLASSIC 0x0000 /* default, include RTC */
45 : #define FAXMODE_NORTC 0x0001 /* no RTC at end of data */
46 : #define FAXMODE_NOEOL 0x0002 /* no EOL code at end of row */
47 : #define FAXMODE_BYTEALIGN 0x0004 /* byte align row */
48 : #define FAXMODE_WORDALIGN 0x0008 /* word align row */
49 : #define FAXMODE_CLASSF FAXMODE_NORTC /* TIFF Class F */
50 :
51 : /*
52 : * To override the default routine used to image decoded
53 : * spans one can use the pseudo tag TIFFTAG_FAXFILLFUNC.
54 : * The routine must have the type signature given below;
55 : * for example:
56 : *
57 : * fillruns(unsigned char* buf, uint32* runs, uint32* erun, uint32 lastx)
58 : *
59 : * where buf is place to set the bits, runs is the array of b&w run
60 : * lengths (white then black), erun is the last run in the array, and
61 : * lastx is the width of the row in pixels. Fill routines can assume
62 : * the run array has room for at least lastx runs and can overwrite
63 : * data in the run array as needed (e.g. to append zero runs to bring
64 : * the count up to a nice multiple).
65 : */
66 : typedef void (*TIFFFaxFillFunc)(unsigned char *, GUInt32 *, GUInt32 *, GUInt32);
67 :
68 : /* finite state machine codes */
69 :
70 : #define S_Null 0
71 : #define S_Pass 1
72 : #define S_Horiz 2
73 : #define S_V0 3
74 : #define S_VR 4
75 : #define S_VL 5
76 : #define S_Ext 6
77 : #define S_TermW 7
78 : #define S_TermB 8
79 : #define S_MakeUpW 9
80 : #define S_MakeUpB 10
81 : #define S_MakeUp 11
82 : #define S_EOL 12
83 :
84 : typedef struct
85 : { /* state table entry */
86 : unsigned char State; /* see above */
87 : unsigned char Width; /* width of code in bits */
88 : GUInt16 Param; /* unsigned 16-bit run length in bits */
89 : } TIFFFaxTabEnt;
90 :
91 : #if 0 /* Unused */
92 : static const TIFFFaxTabEnt aig_TIFFFaxMainTable[128] = {
93 : {12,7,0},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},{1,4,0},{3,1,0},{5,3,1},{3,1,0},
94 : {2,3,0},{3,1,0},{4,3,1},{3,1,0},{5,6,2},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},
95 : {1,4,0},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},{5,7,3},{3,1,0},{5,3,1},{3,1,0},
96 : {2,3,0},{3,1,0},{4,3,1},{3,1,0},{1,4,0},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},
97 : {4,6,2},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},{1,4,0},{3,1,0},{5,3,1},{3,1,0},
98 : {2,3,0},{3,1,0},{4,3,1},{3,1,0},{6,7,0},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},
99 : {1,4,0},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},{5,6,2},{3,1,0},{5,3,1},{3,1,0},
100 : {2,3,0},{3,1,0},{4,3,1},{3,1,0},{1,4,0},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},
101 : {4,7,3},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},{1,4,0},{3,1,0},{5,3,1},{3,1,0},
102 : {2,3,0},{3,1,0},{4,3,1},{3,1,0},{4,6,2},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},
103 : {1,4,0},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0}
104 : };
105 : #endif /* Unused */
106 :
107 : static const TIFFFaxTabEnt aig_TIFFFaxWhiteTable[4096] = {
108 : {12, 11, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
109 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
110 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
111 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
112 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
113 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
114 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
115 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
116 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
117 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
118 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
119 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
120 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1472}, {7, 4, 5},
121 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1216}, {7, 4, 6},
122 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
123 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
124 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
125 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
126 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
127 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
128 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
129 : {7, 8, 41}, {7, 6, 16}, {9, 9, 960}, {7, 4, 6},
130 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
131 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
132 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
133 : {7, 7, 26}, {7, 5, 9}, {9, 9, 704}, {7, 4, 6},
134 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
135 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
136 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
137 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
138 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
139 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
140 : {11, 11, 1792}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
141 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
142 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
143 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
144 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
145 : {7, 8, 40}, {7, 6, 16}, {9, 9, 832}, {7, 4, 6},
146 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
147 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
148 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
149 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
150 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
151 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
152 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1600}, {7, 4, 5},
153 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1344}, {7, 4, 6},
154 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
155 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
156 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
157 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
158 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
159 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
160 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
161 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1088}, {7, 4, 6},
162 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
163 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
164 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
165 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
166 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
167 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
168 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
169 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
170 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
171 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
172 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
173 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
174 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
175 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
176 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
177 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
178 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
179 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
180 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
181 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
182 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
183 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
184 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1536}, {7, 4, 5},
185 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1280}, {7, 4, 6},
186 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
187 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
188 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
189 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
190 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
191 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
192 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
193 : {7, 8, 41}, {7, 6, 16}, {9, 9, 1024}, {7, 4, 6},
194 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
195 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
196 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
197 : {7, 7, 26}, {7, 5, 9}, {9, 9, 768}, {7, 4, 6},
198 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
199 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
200 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
201 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
202 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
203 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
204 : {11, 11, 1856}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
205 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
206 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
207 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
208 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
209 : {7, 8, 40}, {7, 6, 16}, {9, 9, 896}, {7, 4, 6},
210 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
211 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
212 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
213 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
214 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
215 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
216 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1728}, {7, 4, 5},
217 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1408}, {7, 4, 6},
218 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
219 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
220 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
221 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
222 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
223 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
224 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
225 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1152}, {7, 4, 6},
226 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
227 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
228 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
229 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
230 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
231 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
232 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
233 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
234 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
235 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
236 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
237 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
238 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
239 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
240 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
241 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
242 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
243 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
244 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
245 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
246 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
247 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
248 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1472}, {7, 4, 5},
249 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1216}, {7, 4, 6},
250 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
251 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
252 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
253 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
254 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
255 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
256 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
257 : {7, 8, 41}, {7, 6, 16}, {9, 9, 960}, {7, 4, 6},
258 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
259 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
260 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
261 : {7, 7, 26}, {7, 5, 9}, {9, 9, 704}, {7, 4, 6},
262 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
263 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
264 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
265 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
266 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
267 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
268 : {11, 12, 2112}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
269 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
270 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
271 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
272 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
273 : {7, 8, 40}, {7, 6, 16}, {9, 9, 832}, {7, 4, 6},
274 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
275 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
276 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
277 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
278 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
279 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
280 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1600}, {7, 4, 5},
281 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1344}, {7, 4, 6},
282 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
283 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
284 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
285 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
286 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
287 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
288 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
289 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1088}, {7, 4, 6},
290 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
291 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
292 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
293 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
294 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
295 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
296 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
297 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
298 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
299 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
300 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
301 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
302 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
303 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
304 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
305 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
306 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
307 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
308 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
309 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
310 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
311 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
312 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1536}, {7, 4, 5},
313 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1280}, {7, 4, 6},
314 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
315 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
316 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
317 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
318 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
319 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
320 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
321 : {7, 8, 41}, {7, 6, 16}, {9, 9, 1024}, {7, 4, 6},
322 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
323 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
324 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
325 : {7, 7, 26}, {7, 5, 9}, {9, 9, 768}, {7, 4, 6},
326 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
327 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
328 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
329 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
330 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
331 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
332 : {11, 12, 2368}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
333 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
334 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
335 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
336 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
337 : {7, 8, 40}, {7, 6, 16}, {9, 9, 896}, {7, 4, 6},
338 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
339 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
340 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
341 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
342 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
343 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
344 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1728}, {7, 4, 5},
345 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1408}, {7, 4, 6},
346 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
347 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
348 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
349 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
350 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
351 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
352 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
353 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1152}, {7, 4, 6},
354 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
355 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
356 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
357 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
358 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
359 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
360 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
361 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
362 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
363 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
364 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
365 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
366 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
367 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
368 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
369 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
370 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
371 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
372 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
373 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
374 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
375 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
376 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1472}, {7, 4, 5},
377 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1216}, {7, 4, 6},
378 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
379 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
380 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
381 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
382 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
383 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
384 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
385 : {7, 8, 41}, {7, 6, 16}, {9, 9, 960}, {7, 4, 6},
386 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
387 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
388 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
389 : {7, 7, 26}, {7, 5, 9}, {9, 9, 704}, {7, 4, 6},
390 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
391 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
392 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
393 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
394 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
395 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
396 : {11, 12, 1984}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
397 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
398 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
399 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
400 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
401 : {7, 8, 40}, {7, 6, 16}, {9, 9, 832}, {7, 4, 6},
402 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
403 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
404 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
405 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
406 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
407 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
408 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1600}, {7, 4, 5},
409 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1344}, {7, 4, 6},
410 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
411 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
412 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
413 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
414 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
415 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
416 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
417 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1088}, {7, 4, 6},
418 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
419 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
420 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
421 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
422 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
423 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
424 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
425 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
426 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
427 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
428 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
429 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
430 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
431 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
432 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
433 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
434 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
435 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
436 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
437 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
438 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
439 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
440 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1536}, {7, 4, 5},
441 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1280}, {7, 4, 6},
442 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
443 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
444 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
445 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
446 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
447 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
448 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
449 : {7, 8, 41}, {7, 6, 16}, {9, 9, 1024}, {7, 4, 6},
450 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
451 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
452 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
453 : {7, 7, 26}, {7, 5, 9}, {9, 9, 768}, {7, 4, 6},
454 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
455 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
456 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
457 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
458 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
459 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
460 : {11, 11, 1920}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
461 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
462 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
463 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
464 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
465 : {7, 8, 40}, {7, 6, 16}, {9, 9, 896}, {7, 4, 6},
466 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
467 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
468 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
469 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
470 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
471 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
472 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1728}, {7, 4, 5},
473 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1408}, {7, 4, 6},
474 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
475 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
476 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
477 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
478 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
479 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
480 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
481 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1152}, {7, 4, 6},
482 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
483 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
484 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
485 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
486 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
487 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
488 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
489 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
490 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
491 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
492 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
493 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
494 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
495 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
496 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
497 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
498 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
499 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
500 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
501 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
502 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
503 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
504 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1472}, {7, 4, 5},
505 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1216}, {7, 4, 6},
506 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
507 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
508 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
509 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
510 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
511 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
512 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
513 : {7, 8, 41}, {7, 6, 16}, {9, 9, 960}, {7, 4, 6},
514 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
515 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
516 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
517 : {7, 7, 26}, {7, 5, 9}, {9, 9, 704}, {7, 4, 6},
518 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
519 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
520 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
521 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
522 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
523 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
524 : {11, 12, 2240}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
525 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
526 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
527 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
528 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
529 : {7, 8, 40}, {7, 6, 16}, {9, 9, 832}, {7, 4, 6},
530 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
531 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
532 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
533 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
534 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
535 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
536 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1600}, {7, 4, 5},
537 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1344}, {7, 4, 6},
538 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
539 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
540 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
541 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
542 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
543 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
544 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
545 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1088}, {7, 4, 6},
546 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
547 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
548 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
549 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
550 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
551 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
552 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
553 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
554 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
555 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
556 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
557 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
558 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
559 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
560 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
561 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
562 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
563 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
564 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
565 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
566 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
567 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
568 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1536}, {7, 4, 5},
569 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1280}, {7, 4, 6},
570 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
571 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
572 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
573 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
574 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
575 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
576 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
577 : {7, 8, 41}, {7, 6, 16}, {9, 9, 1024}, {7, 4, 6},
578 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
579 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
580 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
581 : {7, 7, 26}, {7, 5, 9}, {9, 9, 768}, {7, 4, 6},
582 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
583 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
584 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
585 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
586 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
587 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
588 : {11, 12, 2496}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
589 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
590 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
591 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
592 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
593 : {7, 8, 40}, {7, 6, 16}, {9, 9, 896}, {7, 4, 6},
594 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
595 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
596 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
597 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
598 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
599 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
600 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1728}, {7, 4, 5},
601 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1408}, {7, 4, 6},
602 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
603 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
604 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
605 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
606 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
607 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
608 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
609 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1152}, {7, 4, 6},
610 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
611 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
612 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
613 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
614 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
615 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
616 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
617 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
618 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
619 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
620 : {12, 11, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
621 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
622 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
623 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
624 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
625 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
626 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
627 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
628 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
629 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
630 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
631 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
632 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1472}, {7, 4, 5},
633 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1216}, {7, 4, 6},
634 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
635 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
636 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
637 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
638 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
639 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
640 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
641 : {7, 8, 41}, {7, 6, 16}, {9, 9, 960}, {7, 4, 6},
642 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
643 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
644 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
645 : {7, 7, 26}, {7, 5, 9}, {9, 9, 704}, {7, 4, 6},
646 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
647 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
648 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
649 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
650 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
651 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
652 : {11, 11, 1792}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
653 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
654 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
655 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
656 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
657 : {7, 8, 40}, {7, 6, 16}, {9, 9, 832}, {7, 4, 6},
658 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
659 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
660 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
661 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
662 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
663 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
664 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1600}, {7, 4, 5},
665 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1344}, {7, 4, 6},
666 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
667 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
668 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
669 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
670 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
671 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
672 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
673 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1088}, {7, 4, 6},
674 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
675 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
676 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
677 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
678 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
679 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
680 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
681 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
682 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
683 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
684 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
685 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
686 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
687 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
688 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
689 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
690 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
691 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
692 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
693 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
694 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
695 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
696 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1536}, {7, 4, 5},
697 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1280}, {7, 4, 6},
698 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
699 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
700 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
701 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
702 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
703 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
704 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
705 : {7, 8, 41}, {7, 6, 16}, {9, 9, 1024}, {7, 4, 6},
706 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
707 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
708 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
709 : {7, 7, 26}, {7, 5, 9}, {9, 9, 768}, {7, 4, 6},
710 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
711 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
712 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
713 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
714 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
715 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
716 : {11, 11, 1856}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
717 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
718 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
719 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
720 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
721 : {7, 8, 40}, {7, 6, 16}, {9, 9, 896}, {7, 4, 6},
722 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
723 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
724 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
725 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
726 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
727 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
728 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1728}, {7, 4, 5},
729 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1408}, {7, 4, 6},
730 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
731 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
732 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
733 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
734 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
735 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
736 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
737 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1152}, {7, 4, 6},
738 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
739 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
740 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
741 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
742 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
743 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
744 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
745 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
746 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
747 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
748 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
749 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
750 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
751 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
752 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
753 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
754 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
755 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
756 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
757 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
758 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
759 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
760 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1472}, {7, 4, 5},
761 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1216}, {7, 4, 6},
762 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
763 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
764 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
765 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
766 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
767 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
768 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
769 : {7, 8, 41}, {7, 6, 16}, {9, 9, 960}, {7, 4, 6},
770 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
771 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
772 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
773 : {7, 7, 26}, {7, 5, 9}, {9, 9, 704}, {7, 4, 6},
774 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
775 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
776 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
777 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
778 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
779 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
780 : {11, 12, 2176}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
781 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
782 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
783 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
784 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
785 : {7, 8, 40}, {7, 6, 16}, {9, 9, 832}, {7, 4, 6},
786 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
787 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
788 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
789 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
790 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
791 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
792 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1600}, {7, 4, 5},
793 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1344}, {7, 4, 6},
794 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
795 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
796 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
797 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
798 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
799 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
800 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
801 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1088}, {7, 4, 6},
802 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
803 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
804 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
805 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
806 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
807 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
808 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
809 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
810 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
811 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
812 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
813 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
814 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
815 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
816 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
817 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
818 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
819 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
820 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
821 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
822 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
823 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
824 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1536}, {7, 4, 5},
825 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1280}, {7, 4, 6},
826 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
827 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
828 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
829 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
830 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
831 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
832 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
833 : {7, 8, 41}, {7, 6, 16}, {9, 9, 1024}, {7, 4, 6},
834 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
835 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
836 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
837 : {7, 7, 26}, {7, 5, 9}, {9, 9, 768}, {7, 4, 6},
838 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
839 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
840 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
841 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
842 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
843 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
844 : {11, 12, 2432}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
845 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
846 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
847 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
848 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
849 : {7, 8, 40}, {7, 6, 16}, {9, 9, 896}, {7, 4, 6},
850 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
851 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
852 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
853 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
854 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
855 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
856 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1728}, {7, 4, 5},
857 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1408}, {7, 4, 6},
858 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
859 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
860 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
861 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
862 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
863 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
864 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
865 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1152}, {7, 4, 6},
866 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
867 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
868 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
869 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
870 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
871 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
872 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
873 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
874 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
875 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
876 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
877 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
878 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
879 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
880 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
881 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
882 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
883 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
884 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
885 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
886 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
887 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
888 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1472}, {7, 4, 5},
889 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1216}, {7, 4, 6},
890 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
891 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
892 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
893 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
894 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
895 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
896 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
897 : {7, 8, 41}, {7, 6, 16}, {9, 9, 960}, {7, 4, 6},
898 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
899 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
900 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
901 : {7, 7, 26}, {7, 5, 9}, {9, 9, 704}, {7, 4, 6},
902 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
903 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
904 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
905 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
906 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
907 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
908 : {11, 12, 2048}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
909 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
910 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
911 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
912 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
913 : {7, 8, 40}, {7, 6, 16}, {9, 9, 832}, {7, 4, 6},
914 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
915 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
916 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
917 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
918 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
919 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
920 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1600}, {7, 4, 5},
921 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1344}, {7, 4, 6},
922 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
923 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
924 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
925 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
926 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
927 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
928 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
929 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1088}, {7, 4, 6},
930 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
931 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
932 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
933 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
934 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
935 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
936 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
937 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
938 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
939 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
940 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
941 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
942 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
943 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
944 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
945 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
946 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
947 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
948 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
949 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
950 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
951 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
952 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1536}, {7, 4, 5},
953 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1280}, {7, 4, 6},
954 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
955 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
956 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
957 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
958 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
959 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
960 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
961 : {7, 8, 41}, {7, 6, 16}, {9, 9, 1024}, {7, 4, 6},
962 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
963 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
964 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
965 : {7, 7, 26}, {7, 5, 9}, {9, 9, 768}, {7, 4, 6},
966 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
967 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
968 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
969 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
970 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
971 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
972 : {11, 11, 1920}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
973 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
974 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
975 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
976 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
977 : {7, 8, 40}, {7, 6, 16}, {9, 9, 896}, {7, 4, 6},
978 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
979 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
980 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
981 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
982 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
983 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
984 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1728}, {7, 4, 5},
985 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1408}, {7, 4, 6},
986 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
987 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
988 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
989 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
990 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
991 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
992 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
993 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1152}, {7, 4, 6},
994 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
995 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
996 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
997 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
998 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
999 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1000 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
1001 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
1002 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
1003 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1004 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1005 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
1006 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
1007 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1008 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
1009 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
1010 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
1011 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1012 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1013 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
1014 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
1015 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1016 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1472}, {7, 4, 5},
1017 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1216}, {7, 4, 6},
1018 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
1019 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1020 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1021 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
1022 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
1023 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1024 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
1025 : {7, 8, 41}, {7, 6, 16}, {9, 9, 960}, {7, 4, 6},
1026 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
1027 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1028 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1029 : {7, 7, 26}, {7, 5, 9}, {9, 9, 704}, {7, 4, 6},
1030 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
1031 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1032 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
1033 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
1034 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
1035 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1036 : {11, 12, 2304}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1037 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
1038 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
1039 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1040 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
1041 : {7, 8, 40}, {7, 6, 16}, {9, 9, 832}, {7, 4, 6},
1042 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
1043 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1044 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1045 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
1046 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
1047 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1048 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1600}, {7, 4, 5},
1049 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1344}, {7, 4, 6},
1050 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
1051 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1052 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1053 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
1054 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
1055 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1056 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
1057 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1088}, {7, 4, 6},
1058 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
1059 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1060 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1061 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
1062 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
1063 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1064 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
1065 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
1066 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
1067 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1068 : {0, 0, 0}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1069 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
1070 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
1071 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1072 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
1073 : {7, 8, 39}, {7, 6, 16}, {9, 8, 576}, {7, 4, 6},
1074 : {7, 7, 19}, {7, 5, 8}, {7, 8, 55}, {9, 5, 64},
1075 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1076 : {7, 8, 45}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1077 : {7, 8, 53}, {7, 5, 9}, {9, 8, 448}, {7, 4, 6},
1078 : {7, 8, 35}, {9, 5, 128}, {7, 8, 51}, {7, 6, 15},
1079 : {7, 8, 63}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1080 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1536}, {7, 4, 5},
1081 : {7, 8, 43}, {7, 6, 17}, {9, 9, 1280}, {7, 4, 6},
1082 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
1083 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1084 : {7, 8, 29}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1085 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
1086 : {7, 8, 33}, {9, 5, 128}, {7, 8, 49}, {7, 6, 14},
1087 : {7, 8, 61}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1088 : {7, 8, 47}, {7, 4, 3}, {7, 8, 59}, {7, 4, 5},
1089 : {7, 8, 41}, {7, 6, 16}, {9, 9, 1024}, {7, 4, 6},
1090 : {7, 8, 31}, {7, 5, 8}, {7, 8, 57}, {9, 5, 64},
1091 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1092 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1093 : {7, 7, 26}, {7, 5, 9}, {9, 9, 768}, {7, 4, 6},
1094 : {7, 8, 37}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
1095 : {9, 8, 320}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1096 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
1097 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
1098 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
1099 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1100 : {11, 12, 2560}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1101 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
1102 : {7, 7, 20}, {9, 5, 128}, {7, 7, 24}, {7, 6, 14},
1103 : {7, 7, 28}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1104 : {7, 7, 23}, {7, 4, 3}, {7, 7, 27}, {7, 4, 5},
1105 : {7, 8, 40}, {7, 6, 16}, {9, 9, 896}, {7, 4, 6},
1106 : {7, 7, 19}, {7, 5, 8}, {7, 8, 56}, {9, 5, 64},
1107 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1108 : {7, 8, 46}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1109 : {7, 8, 54}, {7, 5, 9}, {9, 8, 512}, {7, 4, 6},
1110 : {7, 8, 36}, {9, 5, 128}, {7, 8, 52}, {7, 6, 15},
1111 : {7, 8, 0}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1112 : {7, 6, 13}, {7, 4, 3}, {9, 9, 1728}, {7, 4, 5},
1113 : {7, 8, 44}, {7, 6, 17}, {9, 9, 1408}, {7, 4, 6},
1114 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
1115 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1116 : {7, 8, 30}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1117 : {7, 6, 12}, {7, 5, 9}, {9, 6, 1664}, {7, 4, 6},
1118 : {7, 8, 34}, {9, 5, 128}, {7, 8, 50}, {7, 6, 14},
1119 : {7, 8, 62}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1120 : {7, 8, 48}, {7, 4, 3}, {7, 8, 60}, {7, 4, 5},
1121 : {7, 8, 42}, {7, 6, 16}, {9, 9, 1152}, {7, 4, 6},
1122 : {7, 8, 32}, {7, 5, 8}, {7, 8, 58}, {9, 5, 64},
1123 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1124 : {7, 7, 22}, {7, 4, 3}, {7, 5, 11}, {7, 4, 5},
1125 : {7, 7, 26}, {7, 5, 9}, {9, 8, 640}, {7, 4, 6},
1126 : {7, 8, 38}, {9, 5, 128}, {7, 7, 25}, {7, 6, 15},
1127 : {9, 8, 384}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7},
1128 : {7, 6, 13}, {7, 4, 3}, {7, 7, 18}, {7, 4, 5},
1129 : {7, 7, 21}, {7, 6, 17}, {9, 7, 256}, {7, 4, 6},
1130 : {7, 6, 1}, {7, 5, 8}, {9, 6, 192}, {9, 5, 64},
1131 : {7, 5, 10}, {7, 4, 4}, {7, 4, 2}, {7, 4, 7}};
1132 : static const TIFFFaxTabEnt aig_TIFFFaxBlackTable[8192] = {
1133 : {12, 11, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1134 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1135 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1136 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1137 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1138 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1139 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1140 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1141 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1142 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1143 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1144 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1145 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1146 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1147 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1148 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1149 : {8, 10, 18}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1150 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1151 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1152 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1153 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1154 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1155 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1156 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1157 : {8, 10, 17}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1158 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1159 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1160 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1161 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1162 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1163 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1164 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1165 : {11, 11, 1792}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1166 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1167 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1168 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1169 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1170 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1171 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1172 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1173 : {8, 11, 23}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1174 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1175 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1176 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1177 : {8, 11, 20}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1178 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1179 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1180 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1181 : {8, 11, 25}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1182 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1183 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1184 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1185 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1186 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1187 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1188 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1189 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1190 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1191 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1192 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1193 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1194 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1195 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1196 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1197 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1198 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1199 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1200 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1201 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1202 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1203 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1204 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1205 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1206 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1207 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1208 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1209 : {10, 12, 128}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1210 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1211 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1212 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1213 : {8, 12, 56}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1214 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1215 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1216 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1217 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1218 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1219 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1220 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1221 : {8, 12, 30}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1222 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1223 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1224 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1225 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1226 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1227 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1228 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1229 : {11, 11, 1856}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1230 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1231 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1232 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1233 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1234 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1235 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1236 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1237 : {8, 12, 57}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1238 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1239 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1240 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1241 : {8, 11, 21}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1242 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1243 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1244 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1245 : {8, 12, 54}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1246 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1247 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1248 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1249 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1250 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1251 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1252 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1253 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1254 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1255 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1256 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1257 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1258 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1259 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1260 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1261 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1262 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1263 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1264 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1265 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1266 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1267 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1268 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1269 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1270 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1271 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1272 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1273 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1274 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1275 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1276 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1277 : {8, 12, 52}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1278 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1279 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1280 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1281 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1282 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1283 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1284 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1285 : {8, 12, 48}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1286 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1287 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1288 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1289 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1290 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1291 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1292 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1293 : {11, 12, 2112}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1294 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1295 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1296 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1297 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1298 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1299 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1300 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1301 : {8, 12, 44}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1302 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1303 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1304 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1305 : {8, 12, 36}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1306 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1307 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1308 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1309 : {10, 12, 384}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1310 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1311 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1312 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1313 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1314 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1315 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1316 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1317 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1318 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1319 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1320 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1321 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1322 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1323 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1324 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1325 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1326 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1327 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1328 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1329 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1330 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1331 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1332 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1333 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1334 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1335 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1336 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1337 : {8, 12, 28}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1338 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1339 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1340 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1341 : {8, 12, 60}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1342 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1343 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1344 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1345 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1346 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1347 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1348 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1349 : {8, 12, 40}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1350 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1351 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1352 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1353 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1354 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1355 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1356 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1357 : {11, 12, 2368}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1358 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1359 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1360 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1361 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1362 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1363 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1364 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1365 : {8, 10, 16}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1366 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1367 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1368 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1369 : {8, 10, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1370 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1371 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1372 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1373 : {10, 10, 64}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1374 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1375 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1376 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1377 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1378 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1379 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1380 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1381 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1382 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1383 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1384 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1385 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1386 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1387 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1388 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1389 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1390 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1391 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1392 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1393 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1394 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1395 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1396 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1397 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1398 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1399 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1400 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1401 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1402 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1403 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1404 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1405 : {8, 10, 18}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1406 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1407 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1408 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1409 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1410 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1411 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1412 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1413 : {8, 10, 17}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1414 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1415 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1416 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1417 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1418 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1419 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1420 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1421 : {11, 12, 1984}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1422 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1423 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1424 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1425 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1426 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1427 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1428 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1429 : {8, 12, 50}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1430 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1431 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1432 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1433 : {8, 12, 34}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1434 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1435 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1436 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1437 : {10, 13, 1664}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1438 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1439 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1440 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1441 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1442 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1443 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1444 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1445 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1446 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1447 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1448 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1449 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1450 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1451 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1452 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1453 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1454 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1455 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1456 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1457 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1458 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1459 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1460 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1461 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1462 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1463 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1464 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1465 : {8, 12, 26}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1466 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1467 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1468 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1469 : {10, 13, 1408}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1470 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1471 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1472 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1473 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1474 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1475 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1476 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1477 : {8, 12, 32}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1478 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1479 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1480 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1481 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1482 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1483 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1484 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1485 : {11, 11, 1920}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1486 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1487 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1488 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1489 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1490 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1491 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1492 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1493 : {8, 12, 61}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1494 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1495 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1496 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1497 : {8, 12, 42}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1498 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1499 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1500 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1501 : {10, 13, 1024}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1502 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1503 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1504 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1505 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1506 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1507 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1508 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1509 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1510 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1511 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1512 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1513 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1514 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1515 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1516 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1517 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1518 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1519 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1520 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1521 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1522 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1523 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1524 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1525 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1526 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1527 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1528 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1529 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1530 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1531 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1532 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1533 : {10, 13, 768}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1534 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1535 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1536 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1537 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1538 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1539 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1540 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1541 : {8, 12, 62}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1542 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1543 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1544 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1545 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1546 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1547 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1548 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1549 : {11, 12, 2240}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1550 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1551 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1552 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1553 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1554 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1555 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1556 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1557 : {8, 12, 46}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1558 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1559 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1560 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1561 : {8, 12, 38}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1562 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1563 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1564 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1565 : {10, 13, 512}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1566 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1567 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1568 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1569 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1570 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1571 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1572 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1573 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1574 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1575 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1576 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1577 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1578 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1579 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1580 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1581 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1582 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1583 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1584 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1585 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1586 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1587 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1588 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1589 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1590 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1591 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1592 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1593 : {8, 11, 19}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1594 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1595 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1596 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1597 : {8, 11, 24}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1598 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1599 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1600 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1601 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1602 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1603 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1604 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1605 : {8, 11, 22}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1606 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1607 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1608 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1609 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1610 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1611 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1612 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1613 : {11, 12, 2496}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1614 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1615 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1616 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1617 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1618 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1619 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1620 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1621 : {8, 10, 16}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1622 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1623 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1624 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1625 : {8, 10, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1626 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1627 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1628 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1629 : {10, 10, 64}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1630 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1631 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1632 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1633 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1634 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1635 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1636 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1637 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1638 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1639 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1640 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1641 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1642 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1643 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1644 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1645 : {12, 11, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1646 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1647 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1648 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1649 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1650 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1651 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1652 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1653 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1654 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1655 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1656 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1657 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1658 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1659 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1660 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1661 : {8, 10, 18}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1662 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1663 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1664 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1665 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1666 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1667 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1668 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1669 : {8, 10, 17}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1670 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1671 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1672 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1673 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1674 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1675 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1676 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1677 : {11, 11, 1792}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1678 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1679 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1680 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1681 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1682 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1683 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1684 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1685 : {8, 11, 23}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1686 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1687 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1688 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1689 : {8, 11, 20}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1690 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1691 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1692 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1693 : {8, 11, 25}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1694 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1695 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1696 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1697 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1698 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1699 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1700 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1701 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1702 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1703 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1704 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1705 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1706 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1707 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1708 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1709 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1710 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1711 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1712 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1713 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1714 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1715 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1716 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1717 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1718 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1719 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1720 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1721 : {10, 12, 192}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1722 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1723 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1724 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1725 : {10, 13, 1280}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1726 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1727 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1728 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1729 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1730 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1731 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1732 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1733 : {8, 12, 31}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1734 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1735 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1736 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1737 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1738 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1739 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1740 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1741 : {11, 11, 1856}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1742 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1743 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1744 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1745 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1746 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1747 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1748 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1749 : {8, 12, 58}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1750 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1751 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1752 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1753 : {8, 11, 21}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1754 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1755 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1756 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1757 : {10, 13, 896}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1758 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1759 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1760 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1761 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1762 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1763 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1764 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1765 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1766 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1767 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1768 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1769 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1770 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1771 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1772 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1773 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1774 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1775 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1776 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1777 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1778 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1779 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1780 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1781 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1782 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1783 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1784 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1785 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1786 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1787 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1788 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1789 : {10, 13, 640}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1790 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1791 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1792 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1793 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1794 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1795 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1796 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1797 : {8, 12, 49}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1798 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1799 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1800 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1801 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1802 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1803 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1804 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1805 : {11, 12, 2176}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1806 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1807 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1808 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1809 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1810 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1811 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1812 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1813 : {8, 12, 45}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1814 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1815 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1816 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1817 : {8, 12, 37}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1818 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1819 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1820 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1821 : {10, 12, 448}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1822 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1823 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1824 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1825 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1826 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1827 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1828 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1829 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1830 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1831 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1832 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1833 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1834 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1835 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1836 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1837 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1838 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1839 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1840 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1841 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1842 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1843 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1844 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1845 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1846 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1847 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1848 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1849 : {8, 12, 29}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1850 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1851 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1852 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1853 : {10, 13, 1536}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1854 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1855 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1856 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1857 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1858 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1859 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1860 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1861 : {8, 12, 41}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1862 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1863 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1864 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1865 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1866 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1867 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1868 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1869 : {11, 12, 2432}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1870 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1871 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1872 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1873 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1874 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1875 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1876 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1877 : {8, 10, 16}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1878 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1879 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1880 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1881 : {8, 10, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1882 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1883 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1884 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1885 : {10, 10, 64}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1886 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1887 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1888 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1889 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1890 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1891 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1892 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1893 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1894 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1895 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1896 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1897 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1898 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1899 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1900 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1901 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1902 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1903 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1904 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1905 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1906 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1907 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1908 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1909 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1910 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1911 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1912 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1913 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1914 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1915 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1916 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1917 : {8, 10, 18}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1918 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1919 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1920 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1921 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1922 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1923 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1924 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1925 : {8, 10, 17}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1926 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1927 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1928 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1929 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1930 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1931 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1932 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1933 : {11, 12, 2048}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1934 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1935 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1936 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1937 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1938 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1939 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1940 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1941 : {8, 12, 51}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1942 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1943 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1944 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1945 : {8, 12, 35}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1946 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1947 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1948 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1949 : {10, 12, 320}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1950 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1951 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1952 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1953 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1954 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1955 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1956 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1957 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1958 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1959 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1960 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1961 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1962 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1963 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1964 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1965 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1966 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1967 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1968 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1969 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1970 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1971 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1972 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1973 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1974 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1975 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1976 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1977 : {8, 12, 27}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1978 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1979 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1980 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1981 : {8, 12, 59}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1982 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1983 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1984 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1985 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1986 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1987 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1988 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1989 : {8, 12, 33}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1990 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1991 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1992 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1993 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1994 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1995 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1996 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1997 : {11, 11, 1920}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
1998 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
1999 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2000 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2001 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2002 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2003 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2004 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2005 : {10, 12, 256}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2006 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2007 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2008 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2009 : {8, 12, 43}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2010 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2011 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2012 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2013 : {10, 13, 1152}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2014 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2015 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2016 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2017 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2018 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2019 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2020 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2021 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2022 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2023 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2024 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2025 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2026 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2027 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2028 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2029 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2030 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2031 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2032 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2033 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2034 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2035 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2036 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2037 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2038 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2039 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2040 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2041 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2042 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2043 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2044 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2045 : {8, 12, 55}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2046 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2047 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2048 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2049 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2050 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2051 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2052 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2053 : {8, 12, 63}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2054 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2055 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2056 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2057 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2058 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2059 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2060 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2061 : {11, 12, 2304}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2062 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2063 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2064 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2065 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2066 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2067 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2068 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2069 : {8, 12, 47}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2070 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2071 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2072 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2073 : {8, 12, 39}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2074 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2075 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2076 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2077 : {8, 12, 53}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2078 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2079 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2080 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2081 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2082 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2083 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2084 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2085 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2086 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2087 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2088 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2089 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2090 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2091 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2092 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2093 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2094 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2095 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2096 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2097 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2098 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2099 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2100 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2101 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2102 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2103 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2104 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2105 : {8, 11, 19}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2106 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2107 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2108 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2109 : {8, 11, 24}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2110 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2111 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2112 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2113 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2114 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2115 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2116 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2117 : {8, 11, 22}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2118 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2119 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2120 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2121 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2122 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2123 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2124 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2125 : {11, 12, 2560}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2126 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2127 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2128 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2129 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2130 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2131 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2132 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2133 : {8, 10, 16}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2134 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2135 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2136 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2137 : {8, 10, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2138 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2139 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2140 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2141 : {10, 10, 64}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2142 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2143 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2144 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2145 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2146 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2147 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2148 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2149 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2150 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2151 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2152 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2153 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2154 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2155 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2156 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2157 : {12, 11, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2158 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2159 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2160 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2161 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2162 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2163 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2164 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2165 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2166 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2167 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2168 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2169 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2170 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2171 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2172 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2173 : {8, 10, 18}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2174 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2175 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2176 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2177 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2178 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2179 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2180 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2181 : {8, 10, 17}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2182 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2183 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2184 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2185 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2186 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2187 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2188 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2189 : {11, 11, 1792}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2190 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2191 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2192 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2193 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2194 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2195 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2196 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2197 : {8, 11, 23}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2198 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2199 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2200 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2201 : {8, 11, 20}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2202 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2203 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2204 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2205 : {8, 11, 25}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2206 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2207 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2208 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2209 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2210 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2211 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2212 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2213 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2214 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2215 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2216 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2217 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2218 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2219 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2220 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2221 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2222 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2223 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2224 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2225 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2226 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2227 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2228 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2229 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2230 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2231 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2232 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2233 : {10, 12, 128}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2234 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2235 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2236 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2237 : {8, 12, 56}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2238 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2239 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2240 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2241 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2242 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2243 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2244 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2245 : {8, 12, 30}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2246 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2247 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2248 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2249 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2250 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2251 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2252 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2253 : {11, 11, 1856}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2254 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2255 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2256 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2257 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2258 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2259 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2260 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2261 : {8, 12, 57}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2262 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2263 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2264 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2265 : {8, 11, 21}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2266 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2267 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2268 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2269 : {8, 12, 54}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2270 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2271 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2272 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2273 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2274 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2275 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2276 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2277 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2278 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2279 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2280 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2281 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2282 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2283 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2284 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2285 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2286 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2287 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2288 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2289 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2290 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2291 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2292 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2293 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2294 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2295 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2296 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2297 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2298 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2299 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2300 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2301 : {8, 12, 52}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2302 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2303 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2304 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2305 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2306 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2307 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2308 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2309 : {8, 12, 48}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2310 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2311 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2312 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2313 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2314 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2315 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2316 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2317 : {11, 12, 2112}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2318 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2319 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2320 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2321 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2322 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2323 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2324 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2325 : {8, 12, 44}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2326 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2327 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2328 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2329 : {8, 12, 36}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2330 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2331 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2332 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2333 : {10, 12, 384}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2334 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2335 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2336 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2337 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2338 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2339 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2340 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2341 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2342 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2343 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2344 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2345 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2346 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2347 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2348 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2349 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2350 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2351 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2352 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2353 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2354 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2355 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2356 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2357 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2358 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2359 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2360 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2361 : {8, 12, 28}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2362 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2363 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2364 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2365 : {8, 12, 60}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2366 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2367 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2368 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2369 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2370 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2371 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2372 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2373 : {8, 12, 40}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2374 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2375 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2376 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2377 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2378 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2379 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2380 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2381 : {11, 12, 2368}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2382 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2383 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2384 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2385 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2386 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2387 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2388 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2389 : {8, 10, 16}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2390 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2391 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2392 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2393 : {8, 10, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2394 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2395 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2396 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2397 : {10, 10, 64}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2398 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2399 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2400 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2401 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2402 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2403 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2404 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2405 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2406 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2407 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2408 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2409 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2410 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2411 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2412 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2413 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2414 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2415 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2416 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2417 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2418 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2419 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2420 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2421 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2422 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2423 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2424 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2425 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2426 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2427 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2428 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2429 : {8, 10, 18}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2430 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2431 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2432 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2433 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2434 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2435 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2436 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2437 : {8, 10, 17}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2438 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2439 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2440 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2441 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2442 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2443 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2444 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2445 : {11, 12, 1984}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2446 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2447 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2448 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2449 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2450 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2451 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2452 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2453 : {8, 12, 50}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2454 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2455 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2456 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2457 : {8, 12, 34}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2458 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2459 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2460 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2461 : {10, 13, 1728}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2462 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2463 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2464 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2465 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2466 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2467 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2468 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2469 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2470 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2471 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2472 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2473 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2474 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2475 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2476 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2477 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2478 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2479 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2480 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2481 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2482 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2483 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2484 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2485 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2486 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2487 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2488 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2489 : {8, 12, 26}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2490 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2491 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2492 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2493 : {10, 13, 1472}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2494 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2495 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2496 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2497 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2498 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2499 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2500 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2501 : {8, 12, 32}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2502 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2503 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2504 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2505 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2506 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2507 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2508 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2509 : {11, 11, 1920}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2510 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2511 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2512 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2513 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2514 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2515 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2516 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2517 : {8, 12, 61}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2518 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2519 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2520 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2521 : {8, 12, 42}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2522 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2523 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2524 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2525 : {10, 13, 1088}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2526 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2527 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2528 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2529 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2530 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2531 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2532 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2533 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2534 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2535 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2536 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2537 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2538 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2539 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2540 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2541 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2542 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2543 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2544 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2545 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2546 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2547 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2548 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2549 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2550 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2551 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2552 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2553 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2554 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2555 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2556 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2557 : {10, 13, 832}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2558 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2559 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2560 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2561 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2562 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2563 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2564 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2565 : {8, 12, 62}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2566 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2567 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2568 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2569 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2570 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2571 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2572 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2573 : {11, 12, 2240}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2574 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2575 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2576 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2577 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2578 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2579 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2580 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2581 : {8, 12, 46}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2582 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2583 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2584 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2585 : {8, 12, 38}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2586 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2587 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2588 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2589 : {10, 13, 576}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2590 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2591 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2592 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2593 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2594 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2595 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2596 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2597 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2598 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2599 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2600 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2601 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2602 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2603 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2604 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2605 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2606 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2607 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2608 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2609 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2610 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2611 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2612 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2613 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2614 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2615 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2616 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2617 : {8, 11, 19}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2618 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2619 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2620 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2621 : {8, 11, 24}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2622 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2623 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2624 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2625 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2626 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2627 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2628 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2629 : {8, 11, 22}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2630 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2631 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2632 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2633 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2634 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2635 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2636 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2637 : {11, 12, 2496}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2638 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2639 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2640 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2641 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2642 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2643 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2644 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2645 : {8, 10, 16}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2646 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2647 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2648 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2649 : {8, 10, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2650 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2651 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2652 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2653 : {10, 10, 64}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2654 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2655 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2656 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2657 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2658 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2659 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2660 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2661 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2662 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2663 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2664 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2665 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2666 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2667 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2668 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2669 : {12, 11, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2670 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2671 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2672 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2673 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2674 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2675 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2676 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2677 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2678 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2679 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2680 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2681 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2682 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2683 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2684 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2685 : {8, 10, 18}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2686 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2687 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2688 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2689 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2690 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2691 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2692 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2693 : {8, 10, 17}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2694 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2695 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2696 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2697 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2698 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2699 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2700 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2701 : {11, 11, 1792}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2702 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2703 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2704 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2705 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2706 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2707 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2708 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2709 : {8, 11, 23}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2710 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2711 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2712 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2713 : {8, 11, 20}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2714 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2715 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2716 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2717 : {8, 11, 25}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2718 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2719 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2720 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2721 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2722 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2723 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2724 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2725 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2726 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2727 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2728 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2729 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2730 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2731 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2732 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2733 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2734 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2735 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2736 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2737 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2738 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2739 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2740 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2741 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2742 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2743 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2744 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2745 : {10, 12, 192}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2746 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2747 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2748 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2749 : {10, 13, 1344}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2750 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2751 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2752 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2753 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2754 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2755 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2756 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2757 : {8, 12, 31}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2758 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2759 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2760 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2761 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2762 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2763 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2764 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2765 : {11, 11, 1856}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2766 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2767 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2768 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2769 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2770 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2771 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2772 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2773 : {8, 12, 58}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2774 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2775 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2776 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2777 : {8, 11, 21}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2778 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2779 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2780 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2781 : {10, 13, 960}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2782 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2783 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2784 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2785 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2786 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2787 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2788 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2789 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2790 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2791 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2792 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2793 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2794 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2795 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2796 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2797 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2798 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2799 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2800 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2801 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2802 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2803 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2804 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2805 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2806 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2807 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2808 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2809 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2810 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2811 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2812 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2813 : {10, 13, 704}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2814 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2815 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2816 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2817 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2818 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2819 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2820 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2821 : {8, 12, 49}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2822 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2823 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2824 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2825 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2826 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2827 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2828 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2829 : {11, 12, 2176}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2830 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2831 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2832 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2833 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2834 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2835 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2836 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2837 : {8, 12, 45}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2838 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2839 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2840 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2841 : {8, 12, 37}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2842 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2843 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2844 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2845 : {10, 12, 448}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2846 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2847 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2848 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2849 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2850 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2851 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2852 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2853 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2854 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2855 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2856 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2857 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2858 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2859 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2860 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2861 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2862 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2863 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2864 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2865 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2866 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2867 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2868 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2869 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2870 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2871 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2872 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2873 : {8, 12, 29}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2874 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2875 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2876 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2877 : {10, 13, 1600}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2878 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2879 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2880 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2881 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2882 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2883 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2884 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2885 : {8, 12, 41}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2886 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2887 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2888 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2889 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2890 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2891 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2892 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2893 : {11, 12, 2432}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2894 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2895 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2896 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2897 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2898 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2899 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2900 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2901 : {8, 10, 16}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2902 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2903 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2904 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2905 : {8, 10, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2906 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2907 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2908 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2909 : {10, 10, 64}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2910 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2911 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2912 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2913 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2914 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2915 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2916 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2917 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2918 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2919 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2920 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2921 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2922 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2923 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2924 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2925 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2926 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2927 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2928 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2929 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2930 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2931 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2932 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2933 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2934 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2935 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2936 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2937 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2938 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2939 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2940 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2941 : {8, 10, 18}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2942 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2943 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2944 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2945 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2946 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2947 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2948 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2949 : {8, 10, 17}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2950 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2951 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2952 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2953 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2954 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2955 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2956 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2957 : {11, 12, 2048}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2958 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2959 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2960 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2961 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2962 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2963 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2964 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2965 : {8, 12, 51}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2966 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2967 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2968 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2969 : {8, 12, 35}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2970 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2971 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2972 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2973 : {10, 12, 320}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2974 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2975 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2976 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2977 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2978 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2979 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2980 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2981 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2982 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2983 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2984 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2985 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2986 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2987 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2988 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2989 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2990 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2991 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2992 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2993 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2994 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2995 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2996 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2997 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
2998 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
2999 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3000 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3001 : {8, 12, 27}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3002 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3003 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3004 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3005 : {8, 12, 59}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3006 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3007 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3008 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3009 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3010 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3011 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3012 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3013 : {8, 12, 33}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3014 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3015 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3016 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3017 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3018 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3019 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3020 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3021 : {11, 11, 1920}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3022 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3023 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3024 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3025 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3026 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3027 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3028 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3029 : {10, 12, 256}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3030 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3031 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3032 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3033 : {8, 12, 43}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3034 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3035 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3036 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3037 : {10, 13, 1216}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3038 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3039 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3040 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3041 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3042 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3043 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3044 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3045 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3046 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3047 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3048 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3049 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3050 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3051 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3052 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3053 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3054 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3055 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3056 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3057 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3058 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3059 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3060 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3061 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3062 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3063 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3064 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3065 : {8, 9, 15}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3066 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3067 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3068 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3069 : {8, 12, 55}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3070 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3071 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3072 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3073 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3074 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3075 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3076 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3077 : {8, 12, 63}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3078 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3079 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3080 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3081 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3082 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3083 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3084 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3085 : {11, 12, 2304}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3086 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3087 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3088 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3089 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3090 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3091 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3092 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3093 : {8, 12, 47}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3094 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3095 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3096 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3097 : {8, 12, 39}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3098 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3099 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3100 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3101 : {8, 12, 53}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3102 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3103 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3104 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3105 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3106 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3107 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3108 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3109 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3110 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3111 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3112 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3113 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3114 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3115 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3116 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3117 : {0, 0, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3118 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3119 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3120 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3121 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3122 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3123 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3124 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3125 : {8, 8, 13}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3126 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3127 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3128 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3129 : {8, 11, 19}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3130 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3131 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3132 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3133 : {8, 11, 24}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3134 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3135 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3136 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3137 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3138 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3139 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3140 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3141 : {8, 11, 22}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3142 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3143 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3144 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3145 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3146 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3147 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3148 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3149 : {11, 12, 2560}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3150 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3151 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3152 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3153 : {8, 7, 10}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3154 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3155 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3156 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3157 : {8, 10, 16}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3158 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3159 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3160 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3161 : {8, 10, 0}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3162 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3163 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3164 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3165 : {10, 10, 64}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3166 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3167 : {8, 6, 9}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3168 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3169 : {8, 7, 11}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3170 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3171 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3172 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3173 : {8, 8, 14}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3174 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3175 : {8, 6, 8}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3176 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3177 : {8, 7, 12}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3178 : {8, 4, 6}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2},
3179 : {8, 5, 7}, {8, 2, 3}, {8, 3, 1}, {8, 2, 2},
3180 : {8, 4, 5}, {8, 2, 3}, {8, 3, 4}, {8, 2, 2}};
3181 :
3182 : static const unsigned char aig_TIFFBitRevTable[256] = {
3183 : 0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0, 0x10, 0x90, 0x50, 0xd0,
3184 : 0x30, 0xb0, 0x70, 0xf0, 0x08, 0x88, 0x48, 0xc8, 0x28, 0xa8, 0x68, 0xe8,
3185 : 0x18, 0x98, 0x58, 0xd8, 0x38, 0xb8, 0x78, 0xf8, 0x04, 0x84, 0x44, 0xc4,
3186 : 0x24, 0xa4, 0x64, 0xe4, 0x14, 0x94, 0x54, 0xd4, 0x34, 0xb4, 0x74, 0xf4,
3187 : 0x0c, 0x8c, 0x4c, 0xcc, 0x2c, 0xac, 0x6c, 0xec, 0x1c, 0x9c, 0x5c, 0xdc,
3188 : 0x3c, 0xbc, 0x7c, 0xfc, 0x02, 0x82, 0x42, 0xc2, 0x22, 0xa2, 0x62, 0xe2,
3189 : 0x12, 0x92, 0x52, 0xd2, 0x32, 0xb2, 0x72, 0xf2, 0x0a, 0x8a, 0x4a, 0xca,
3190 : 0x2a, 0xaa, 0x6a, 0xea, 0x1a, 0x9a, 0x5a, 0xda, 0x3a, 0xba, 0x7a, 0xfa,
3191 : 0x06, 0x86, 0x46, 0xc6, 0x26, 0xa6, 0x66, 0xe6, 0x16, 0x96, 0x56, 0xd6,
3192 : 0x36, 0xb6, 0x76, 0xf6, 0x0e, 0x8e, 0x4e, 0xce, 0x2e, 0xae, 0x6e, 0xee,
3193 : 0x1e, 0x9e, 0x5e, 0xde, 0x3e, 0xbe, 0x7e, 0xfe, 0x01, 0x81, 0x41, 0xc1,
3194 : 0x21, 0xa1, 0x61, 0xe1, 0x11, 0x91, 0x51, 0xd1, 0x31, 0xb1, 0x71, 0xf1,
3195 : 0x09, 0x89, 0x49, 0xc9, 0x29, 0xa9, 0x69, 0xe9, 0x19, 0x99, 0x59, 0xd9,
3196 : 0x39, 0xb9, 0x79, 0xf9, 0x05, 0x85, 0x45, 0xc5, 0x25, 0xa5, 0x65, 0xe5,
3197 : 0x15, 0x95, 0x55, 0xd5, 0x35, 0xb5, 0x75, 0xf5, 0x0d, 0x8d, 0x4d, 0xcd,
3198 : 0x2d, 0xad, 0x6d, 0xed, 0x1d, 0x9d, 0x5d, 0xdd, 0x3d, 0xbd, 0x7d, 0xfd,
3199 : 0x03, 0x83, 0x43, 0xc3, 0x23, 0xa3, 0x63, 0xe3, 0x13, 0x93, 0x53, 0xd3,
3200 : 0x33, 0xb3, 0x73, 0xf3, 0x0b, 0x8b, 0x4b, 0xcb, 0x2b, 0xab, 0x6b, 0xeb,
3201 : 0x1b, 0x9b, 0x5b, 0xdb, 0x3b, 0xbb, 0x7b, 0xfb, 0x07, 0x87, 0x47, 0xc7,
3202 : 0x27, 0xa7, 0x67, 0xe7, 0x17, 0x97, 0x57, 0xd7, 0x37, 0xb7, 0x77, 0xf7,
3203 : 0x0f, 0x8f, 0x4f, 0xcf, 0x2f, 0xaf, 0x6f, 0xef, 0x1f, 0x9f, 0x5f, 0xdf,
3204 : 0x3f, 0xbf, 0x7f, 0xff};
3205 :
3206 : #if 0 /* Unused */
3207 : static const unsigned char aig_TIFFNoBitRevTable[256] = {
3208 : 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
3209 : 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
3210 : 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
3211 : 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
3212 : 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
3213 : 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
3214 : 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
3215 : 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
3216 : 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
3217 : 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
3218 : 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
3219 : 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
3220 : 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
3221 : 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
3222 : 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
3223 : 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
3224 : 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
3225 : 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
3226 : 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
3227 : 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
3228 : 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
3229 : 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
3230 : 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
3231 : 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
3232 : 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
3233 : 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
3234 : 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
3235 : 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
3236 : 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
3237 : 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
3238 : 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
3239 : 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff,
3240 : };
3241 : #endif /* Unused */
3242 :
3243 : /*
3244 : * The following macros define the majority of the G3/G4 decoder
3245 : * algorithm using the state tables defined elsewhere. To build
3246 : * a decoder you need some setup code and some glue code. Note
3247 : * that you may also need/want to change the way the NeedBits*
3248 : * macros get input data if, for example, you know the data to be
3249 : * decoded is properly aligned and oriented (doing so before running
3250 : * the decoder can be a big performance win).
3251 : *
3252 : * Consult the decoder in the TIFF library for an idea of what you
3253 : * need to define and setup to make use of these definitions.
3254 : *
3255 : * NB: to enable a debugging version of these macros define FAX3_DEBUG
3256 : * before including this file. Trace output goes to stdout.
3257 : */
3258 :
3259 : #ifndef EndOfData
3260 : #define EndOfData() (cp >= ep)
3261 : #endif
3262 : /*
3263 : * Need <=8 or <=16 bits of input data. Unlike viewfax we
3264 : * cannot use/assume a word-aligned, properly bit swizzled
3265 : * input data set because data may come from an arbitrarily
3266 : * aligned, read-only source such as a memory-mapped file.
3267 : * Note also that the viewfax decoder does not check for
3268 : * running off the end of the input data buffer. This is
3269 : * possible for G3-encoded data because it prescans the input
3270 : * data to count EOL markers, but can cause problems for G4
3271 : * data. In any event, we don't prescan and must watch for
3272 : * running out of data since we can't permit the library to
3273 : * scan past the end of the input data buffer.
3274 : *
3275 : * Finally, note that we must handle remaindered data at the end
3276 : * of a strip specially. The coder asks for a fixed number of
3277 : * bits when scanning for the next code. This may be more bits
3278 : * than are actually present in the data stream. If we appear
3279 : * to run out of data but still have some number of valid bits
3280 : * remaining then we makeup the requested amount with zeros and
3281 : * return successfully. If the returned data is incorrect then
3282 : * we should be called again and get a premature EOF error;
3283 : * otherwise we should get the right answer.
3284 : */
3285 : #ifndef NeedBits8
3286 : #define NeedBits8(n, eoflab) \
3287 : do \
3288 : { \
3289 : if (BitsAvail < (n)) \
3290 : { \
3291 : if (EndOfData()) \
3292 : { \
3293 : if (BitsAvail == 0) /* no valid bits */ \
3294 : goto eoflab; \
3295 : BitsAvail = (n); /* pad with zeros */ \
3296 : } \
3297 : else \
3298 : { \
3299 : BitAcc |= ((GUInt32)bitmap[*cp++]) << BitsAvail; \
3300 : BitsAvail += 8; \
3301 : } \
3302 : } \
3303 : } while (0)
3304 : #endif
3305 : #ifndef NeedBits16
3306 : #define NeedBits16(n, eoflab) \
3307 : do \
3308 : { \
3309 : if (BitsAvail < (n)) \
3310 : { \
3311 : if (EndOfData()) \
3312 : { \
3313 : if (BitsAvail == 0) /* no valid bits */ \
3314 : goto eoflab; \
3315 : BitsAvail = (n); /* pad with zeros */ \
3316 : } \
3317 : else \
3318 : { \
3319 : BitAcc |= ((GUInt32)bitmap[*cp++]) << BitsAvail; \
3320 : if ((BitsAvail += 8) < (n)) \
3321 : { \
3322 : if (EndOfData()) \
3323 : { \
3324 : /* NB: we know BitsAvail is non-zero here */ \
3325 : BitsAvail = (n); /* pad with zeros */ \
3326 : } \
3327 : else \
3328 : { \
3329 : BitAcc |= ((GUInt32)bitmap[*cp++]) << BitsAvail; \
3330 : BitsAvail += 8; \
3331 : } \
3332 : } \
3333 : } \
3334 : } \
3335 : } while (0)
3336 : #endif
3337 : #define GetBits(n) (BitAcc & ((1 << (n)) - 1))
3338 : #define ClrBits(n) \
3339 : do \
3340 : { \
3341 : BitsAvail -= (n); \
3342 : BitAcc >>= (n); \
3343 : } while (0)
3344 :
3345 : #ifdef FAX3_DEBUG
3346 : static const char *StateNames[] = {
3347 : "Null ", "Pass ", "Horiz ", "V0 ", "VR ", "VL ", "Ext ",
3348 : "TermW ", "TermB ", "MakeUpW", "MakeUpB", "MakeUp ", "EOL ",
3349 : };
3350 : #define DEBUG_SHOW putchar(BitAcc & (1 << t) ? '1' : '0')
3351 : #define LOOKUP8(wid, tab, eoflab) \
3352 : do \
3353 : { \
3354 : int t; \
3355 : NeedBits8(wid, eoflab); \
3356 : TabEnt = tab + GetBits(wid); \
3357 : printf("%08lX/%d: %s%5d\t", (long)BitAcc, BitsAvail, /*ok*/ \
3358 : StateNames[TabEnt->State], TabEnt->Param); \
3359 : for (t = 0; t < TabEnt->Width; t++) \
3360 : DEBUG_SHOW; \
3361 : putchar('\n'); \
3362 : fflush(stdout); \
3363 : ClrBits(TabEnt->Width); \
3364 : } while (0)
3365 : #define LOOKUP16(wid, tab, eoflab) \
3366 : do \
3367 : { \
3368 : int t; \
3369 : NeedBits16(wid, eoflab); \
3370 : TabEnt = tab + GetBits(wid); \
3371 : printf("%08lX/%d: %s%5d\t", (long)BitAcc, BitsAvail, /*ok*/ \
3372 : StateNames[TabEnt->State], TabEnt->Param); \
3373 : for (t = 0; t < TabEnt->Width; t++) \
3374 : DEBUG_SHOW; \
3375 : putchar('\n'); \
3376 : fflush(stdout); \
3377 : ClrBits(TabEnt->Width); \
3378 : } while (0)
3379 :
3380 : #define SETVAL(x) \
3381 : do \
3382 : { \
3383 : *pa++ = RunLength + (x); \
3384 : printf("SETVAL: %d\t%d\n", RunLength + (x), a0); /*ok*/ \
3385 : a0 += x; \
3386 : RunLength = 0; \
3387 : } while (0)
3388 : #else
3389 : #define LOOKUP8(wid, tab, eoflab) \
3390 : do \
3391 : { \
3392 : NeedBits8(wid, eoflab); \
3393 : TabEnt = tab + GetBits(wid); \
3394 : ClrBits(TabEnt->Width); \
3395 : } while (0)
3396 : #define LOOKUP16(wid, tab, eoflab) \
3397 : do \
3398 : { \
3399 : NeedBits16(wid, eoflab); \
3400 : TabEnt = tab + GetBits(wid); \
3401 : ClrBits(TabEnt->Width); \
3402 : } while (0)
3403 :
3404 : /*
3405 : * Append a run to the run length array for the
3406 : * current row and reset decoding state.
3407 : */
3408 : #define SETVAL(x) \
3409 : do \
3410 : { \
3411 : *pa++ = RunLength + (x); \
3412 : a0 += (x); \
3413 : RunLength = 0; \
3414 : } while (0)
3415 : #endif
3416 :
3417 : /*
3418 : * Synchronize input decoding at the start of each
3419 : * row by scanning for an EOL (if appropriate) and
3420 : * skipping any trash data that might be present
3421 : * after a decoding error. Note that the decoding
3422 : * done elsewhere that recognizes an EOL only consumes
3423 : * 11 consecutive zero bits. This means that if EOLcnt
3424 : * is non-zero then we still need to scan for the final flag
3425 : * bit that is part of the EOL code.
3426 : */
3427 : #define SYNC_EOL(eoflab) \
3428 : do \
3429 : { \
3430 : if (EOLcnt == 0) \
3431 : { \
3432 : for (;;) \
3433 : { \
3434 : NeedBits16(11, eoflab); \
3435 : if (GetBits(11) == 0) \
3436 : break; \
3437 : ClrBits(1); \
3438 : } \
3439 : } \
3440 : for (;;) \
3441 : { \
3442 : NeedBits8(8, eoflab); \
3443 : if (GetBits(8)) \
3444 : break; \
3445 : ClrBits(8); \
3446 : } \
3447 : while (GetBits(1) == 0) \
3448 : ClrBits(1); \
3449 : ClrBits(1); /* EOL bit */ \
3450 : EOLcnt = 0; /* reset EOL counter/flag */ \
3451 : } while (0)
3452 :
3453 : /*
3454 : * Cleanup the array of runs after decoding a row.
3455 : * We adjust final runs to insure the user buffer is not
3456 : * overwritten and/or undecoded area is white filled.
3457 : */
3458 : #define CLEANUP_RUNS() \
3459 : do \
3460 : { \
3461 : if (RunLength) \
3462 : SETVAL(0); \
3463 : if (a0 != lastx) \
3464 : { \
3465 : badlength(a0, lastx); \
3466 : while (a0 > lastx && pa > thisrun) \
3467 : a0 -= *--pa; \
3468 : if (a0 < lastx) \
3469 : { \
3470 : if (a0 < 0) \
3471 : a0 = 0; \
3472 : if ((pa - thisrun) & 1) \
3473 : SETVAL(0); \
3474 : SETVAL(lastx - a0); \
3475 : } \
3476 : else if (a0 > lastx) \
3477 : { \
3478 : SETVAL(lastx); \
3479 : SETVAL(0); \
3480 : } \
3481 : } \
3482 : } while (0)
3483 :
3484 : /*
3485 : * Decode a line of 1D-encoded data.
3486 : *
3487 : * The line expanders are written as macros so that they can be reused
3488 : * but still have direct access to the local variables of the "calling"
3489 : * function.
3490 : *
3491 : * Note that unlike the original version we have to explicitly test for
3492 : * a0 >= lastx after each black/white run is decoded. This is because
3493 : * the original code depended on the input data being zero-padded to
3494 : * insure the decoder recognized an EOL before running out of data.
3495 : */
3496 :
3497 : /*
3498 : * Update the value of b1 using the array
3499 : * of runs for the reference line.
3500 : */
3501 : #define CHECK_b1 \
3502 : do \
3503 : { \
3504 : if (pa != thisrun) \
3505 : while (b1 <= a0 && b1 < lastx) \
3506 : { \
3507 : b1 += pb[0] + pb[1]; \
3508 : pb += 2; \
3509 : } \
3510 : } while (0)
3511 :
3512 : /* ==================================================================== */
3513 : /* Declarations from tif_fax3.c */
3514 : /* ==================================================================== */
3515 :
3516 : /*
3517 : * Compression+decompression state blocks are
3518 : * derived from this ``base state'' block.
3519 : */
3520 : typedef struct
3521 : {
3522 : int rw_mode; /* O_RDONLY for decode, else encode */
3523 : int mode; /* operating mode */
3524 : GUInt32 rowbytes; /* bytes in a decoded scanline */
3525 : GUInt32 rowpixels; /* pixels in a scanline */
3526 :
3527 : GUInt16 cleanfaxdata; /* CleanFaxData tag */
3528 : GUInt32 badfaxrun; /* BadFaxRun tag */
3529 : GUInt32 badfaxlines; /* BadFaxLines tag */
3530 : GUInt32 groupoptions; /* Group 3/4 options tag */
3531 : GUInt32 recvparams; /* encoded Class 2 session params */
3532 : char *subaddress; /* subaddress string */
3533 : GUInt32 recvtime; /* time spent receiving (secs) */
3534 : } Fax3BaseState;
3535 :
3536 : #define Fax3State(tif) ((Fax3BaseState *)tif)
3537 :
3538 : typedef struct
3539 : {
3540 : Fax3BaseState b;
3541 : const unsigned char *bitmap; /* bit reversal table */
3542 : GUInt32 data; /* current i/o byte/word */
3543 : int bit; /* current i/o bit in byte */
3544 : int EOLcnt; /* count of EOL codes recognized */
3545 : TIFFFaxFillFunc fill; /* fill routine */
3546 : GUInt32 *runs; /* b&w runs for current/previous row */
3547 : GUInt32 *refruns; /* runs for reference line */
3548 : GUInt32 *curruns; /* runs for current line */
3549 : } Fax3DecodeState;
3550 :
3551 : #define DecoderState(tif) ((Fax3DecodeState *)Fax3State(tif))
3552 :
3553 : typedef enum
3554 : {
3555 : G3_1D,
3556 : G3_2D
3557 : } Ttag;
3558 : #ifdef notdef
3559 : typedef struct
3560 : {
3561 : Fax3BaseState b;
3562 : int data; /* current i/o byte */
3563 : int bit; /* current i/o bit in byte */
3564 : Ttag tag; /* encoding state */
3565 : unsigned char *refline; /* reference line for 2d decoding */
3566 : int k; /* #rows left that can be 2d encoded */
3567 : int maxk; /* max #rows that can be 2d encoded */
3568 : } Fax3EncodeState;
3569 :
3570 : #define EncoderState(tif) ((Fax3EncodeState *)Fax3State(tif))
3571 : #endif
3572 :
3573 : #define is2DEncoding(sp) (sp->b.groupoptions & GROUP3OPT_2DENCODING)
3574 : #define isAligned(p, t) ((((size_t)(p)) & (sizeof(t) - 1)) == 0)
3575 :
3576 : /*
3577 : * Group 3 and Group 4 Decoding.
3578 : */
3579 :
3580 : /*
3581 : * These macros glue the TIFF library state to
3582 : * the state expected by Frank's decoder.
3583 : */
3584 : #define DECLARE_STATE(tif, sp) \
3585 : Fax3DecodeState *sp = DecoderState(tif); \
3586 : int a0; /* reference element */ \
3587 : int lastx = sp->b.rowpixels; /* last element in row */ \
3588 : GUInt32 BitAcc; /* bit accumulator */ \
3589 : int BitsAvail; /* # valid bits in BitAcc */ \
3590 : int RunLength; /* length of current run */ \
3591 : unsigned char *cp; /* next byte of input data */ \
3592 : unsigned char *ep; /* end of input data */ \
3593 : GUInt32 *pa; /* place to stuff next run */ \
3594 : GUInt32 *thisrun; /* current row's run array */ \
3595 : int EOLcnt; /* # EOL codes recognized */ \
3596 : const unsigned char *bitmap = sp->bitmap; /* input data bit reverser */ \
3597 : const TIFFFaxTabEnt *TabEnt
3598 :
3599 : #define DECLARE_STATE_2D(tif, sp, mod) \
3600 : DECLARE_STATE(tif, sp, mod); \
3601 : int b1; /* next change on prev line */ \
3602 : GUInt32 *pb /* next run in reference line */
3603 :
3604 : /**
3605 : * Load any state that may be hanged during decoding.
3606 : */
3607 : #define CACHE_STATE(sp) \
3608 : do \
3609 : { \
3610 : BitAcc = sp->data; \
3611 : BitsAvail = sp->bit; \
3612 : EOLcnt = sp->EOLcnt; \
3613 : cp = (unsigned char *)rawcp; \
3614 : ep = cp + rawcc; \
3615 : } while (0)
3616 : /*
3617 : * Save state possibly changed during decoding.
3618 : */
3619 : #define UNCACHE_STATE(sp) \
3620 : do \
3621 : { \
3622 : sp->bit = BitsAvail; \
3623 : sp->data = BitAcc; \
3624 : sp->EOLcnt = EOLcnt; \
3625 : /* below updates not needed in AIG case */ \
3626 : /* rawcc -= (int)((unsigned char *) cp - rawcp); */ \
3627 : /* rawcp = (unsigned char *) cp; */ \
3628 : } while (0)
3629 :
3630 : /*
3631 : * Routine for handling various errors/conditions.
3632 : * Note how they are "glued into the decoder" by
3633 : * overriding the definitions used by the decoder.
3634 : */
3635 :
3636 0 : static void Fax3Unexpected()
3637 : {
3638 0 : CPLError(CE_Failure, CPLE_AppDefined, "Bad code word");
3639 0 : }
3640 :
3641 : #define unexpected(table, a0) Fax3Unexpected()
3642 :
3643 0 : static void Fax3BadLength(GUInt32 a0, GUInt32 lastx)
3644 : {
3645 0 : CPLError(CE_Warning, CPLE_AppDefined, "%s (got %lu, expected %lu)",
3646 : a0 < lastx ? "Premature EOL" : "Line length mismatch",
3647 : (unsigned long)a0, (unsigned long)lastx);
3648 0 : }
3649 :
3650 : #define badlength(a0, lastx) Fax3BadLength(a0, lastx)
3651 :
3652 0 : static void Fax3PrematureEOF()
3653 : {
3654 0 : CPLError(CE_Warning, CPLE_AppDefined, "Premature EOF");
3655 0 : }
3656 :
3657 : #define prematureEOF(a0) Fax3PrematureEOF()
3658 :
3659 : #define Nop
3660 :
3661 : /*
3662 : * The ZERO & FILL macros must handle spans < 2*sizeof(long) bytes.
3663 : * For machines with 64-bit longs this is <16 bytes; otherwise
3664 : * this is <8 bytes. We optimize the code here to reflect the
3665 : * machine characteristics.
3666 : */
3667 :
3668 : #if __GNUC__ >= 7
3669 : #pragma GCC diagnostic push
3670 : #pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
3671 : #endif
3672 :
3673 : #if SIZEOF_UNSIGNED_LONG == 8
3674 : #define FILL(n, cp) \
3675 : switch (n) \
3676 : { \
3677 : case 15: \
3678 : (cp)[14] = 0xff; \
3679 : case 14: \
3680 : (cp)[13] = 0xff; \
3681 : case 13: \
3682 : (cp)[12] = 0xff; \
3683 : case 12: \
3684 : (cp)[11] = 0xff; \
3685 : case 11: \
3686 : (cp)[10] = 0xff; \
3687 : case 10: \
3688 : (cp)[9] = 0xff; \
3689 : case 9: \
3690 : (cp)[8] = 0xff; \
3691 : case 8: \
3692 : (cp)[7] = 0xff; \
3693 : case 7: \
3694 : (cp)[6] = 0xff; \
3695 : case 6: \
3696 : (cp)[5] = 0xff; \
3697 : case 5: \
3698 : (cp)[4] = 0xff; \
3699 : case 4: \
3700 : (cp)[3] = 0xff; \
3701 : case 3: \
3702 : (cp)[2] = 0xff; \
3703 : case 2: \
3704 : (cp)[1] = 0xff; \
3705 : case 1: \
3706 : (cp)[0] = 0xff; \
3707 : (cp) += (n); \
3708 : case 0:; \
3709 : }
3710 : #define ZERO(n, cp) \
3711 : switch (n) \
3712 : { \
3713 : case 15: \
3714 : (cp)[14] = 0; \
3715 : case 14: \
3716 : (cp)[13] = 0; \
3717 : case 13: \
3718 : (cp)[12] = 0; \
3719 : case 12: \
3720 : (cp)[11] = 0; \
3721 : case 11: \
3722 : (cp)[10] = 0; \
3723 : case 10: \
3724 : (cp)[9] = 0; \
3725 : case 9: \
3726 : (cp)[8] = 0; \
3727 : case 8: \
3728 : (cp)[7] = 0; \
3729 : case 7: \
3730 : (cp)[6] = 0; \
3731 : case 6: \
3732 : (cp)[5] = 0; \
3733 : case 5: \
3734 : (cp)[4] = 0; \
3735 : case 4: \
3736 : (cp)[3] = 0; \
3737 : case 3: \
3738 : (cp)[2] = 0; \
3739 : case 2: \
3740 : (cp)[1] = 0; \
3741 : case 1: \
3742 : (cp)[0] = 0; \
3743 : (cp) += (n); \
3744 : case 0:; \
3745 : }
3746 : #else
3747 : #define FILL(n, cp) \
3748 : switch (n) \
3749 : { \
3750 : case 7: \
3751 : (cp)[6] = 0xff; \
3752 : case 6: \
3753 : (cp)[5] = 0xff; \
3754 : case 5: \
3755 : (cp)[4] = 0xff; \
3756 : case 4: \
3757 : (cp)[3] = 0xff; \
3758 : case 3: \
3759 : (cp)[2] = 0xff; \
3760 : case 2: \
3761 : (cp)[1] = 0xff; \
3762 : case 1: \
3763 : (cp)[0] = 0xff; \
3764 : (cp) += (n); \
3765 : case 0:; \
3766 : }
3767 : #define ZERO(n, cp) \
3768 : switch (n) \
3769 : { \
3770 : case 7: \
3771 : (cp)[6] = 0; \
3772 : case 6: \
3773 : (cp)[5] = 0; \
3774 : case 5: \
3775 : (cp)[4] = 0; \
3776 : case 4: \
3777 : (cp)[3] = 0; \
3778 : case 3: \
3779 : (cp)[2] = 0; \
3780 : case 2: \
3781 : (cp)[1] = 0; \
3782 : case 1: \
3783 : (cp)[0] = 0; \
3784 : (cp) += (n); \
3785 : case 0:; \
3786 : }
3787 : #endif
3788 :
3789 : /************************************************************************/
3790 : /* _TIFFFax3fillruns() */
3791 : /* */
3792 : /* Bit-fill a row according to the white/black */
3793 : /* runs generated during G3/G4 decoding. */
3794 : /************************************************************************/
3795 :
3796 0 : static void aig_TIFFFax3fillruns(unsigned char *buf, GUInt32 *runs,
3797 : GUInt32 *erun, GUInt32 lastx)
3798 : {
3799 : static const unsigned char _fillmasks[] = {0x00, 0x80, 0xc0, 0xe0, 0xf0,
3800 : 0xf8, 0xfc, 0xfe, 0xff};
3801 : unsigned char *cp;
3802 : GUInt32 x, bx, run;
3803 : GInt32 n, nw;
3804 : long *lp;
3805 :
3806 0 : if ((erun - runs) & 1)
3807 0 : *erun++ = 0;
3808 0 : x = 0;
3809 0 : for (; runs < erun; runs += 2)
3810 : {
3811 0 : run = runs[0];
3812 0 : if (x + run > lastx || run > lastx)
3813 0 : run = runs[0] = (GUInt32)(lastx - x);
3814 0 : if (run)
3815 : {
3816 0 : cp = buf + (x >> 3);
3817 0 : bx = x & 7;
3818 0 : if (run > 8 - bx)
3819 : {
3820 0 : if (bx)
3821 : { /* align to byte boundary */
3822 0 : *cp++ &= 0xff << (8 - bx);
3823 0 : run -= 8 - bx;
3824 : }
3825 0 : if ((n = run >> 3) != 0)
3826 : { /* multiple bytes to fill */
3827 0 : if ((n / sizeof(long)) > 1)
3828 : {
3829 : /*
3830 : * Align to longword boundary and fill.
3831 : */
3832 0 : for (; n && !isAligned(cp, long); n--)
3833 0 : *cp++ = 0x00;
3834 0 : lp = (long *)(void *)cp;
3835 0 : nw = (GInt32)(n / sizeof(long));
3836 0 : n -= nw * sizeof(long);
3837 : do
3838 : {
3839 0 : *lp++ = 0L;
3840 0 : } while (--nw);
3841 0 : cp = (unsigned char *)(void *)lp;
3842 : }
3843 0 : ZERO(n, cp);
3844 0 : run &= 7;
3845 : }
3846 0 : if (run)
3847 0 : cp[0] &= 0xff >> run;
3848 : }
3849 : else
3850 0 : cp[0] &= ~(_fillmasks[run] >> bx);
3851 0 : x += runs[0];
3852 : }
3853 0 : run = runs[1];
3854 0 : if (x + run > lastx || run > lastx)
3855 0 : run = runs[1] = lastx - x;
3856 0 : if (run)
3857 : {
3858 0 : cp = buf + (x >> 3);
3859 0 : bx = x & 7;
3860 0 : if (run > 8 - bx)
3861 : {
3862 0 : if (bx)
3863 : { /* align to byte boundary */
3864 0 : *cp++ |= 0xff >> bx;
3865 0 : run -= 8 - bx;
3866 : }
3867 0 : if ((n = run >> 3) != 0)
3868 : { /* multiple bytes to fill */
3869 0 : if ((n / sizeof(long)) > 1)
3870 : {
3871 : /*
3872 : * Align to longword boundary and fill.
3873 : */
3874 0 : for (; n && !isAligned(cp, long); n--)
3875 0 : *cp++ = 0xff;
3876 0 : lp = (long *)(void *)cp;
3877 0 : nw = (GInt32)(n / sizeof(long));
3878 0 : n -= nw * sizeof(long);
3879 : do
3880 : {
3881 0 : *lp++ = -1L;
3882 0 : } while (--nw);
3883 0 : cp = (unsigned char *)(void *)lp;
3884 : }
3885 0 : FILL(n, cp);
3886 0 : run &= 7;
3887 : }
3888 0 : if (run)
3889 0 : cp[0] |= 0xff00 >> run;
3890 : }
3891 : else
3892 0 : cp[0] |= _fillmasks[run] >> bx;
3893 0 : x += runs[1];
3894 : }
3895 : }
3896 0 : assert(x == lastx);
3897 0 : }
3898 :
3899 : #undef ZERO
3900 : #undef FILL
3901 :
3902 : #if __GNUC__ >= 7
3903 : #pragma GCC diagnostic pop
3904 : #endif
3905 :
3906 : /************************************************************************/
3907 : /* Fax3DecodeRLE() */
3908 : /* */
3909 : /* Decode the requested amount of RLE-encoded data. */
3910 : /************************************************************************/
3911 :
3912 0 : static int Fax3DecodeRLE(Fax3BaseState *tif, unsigned char *buf, int occ,
3913 : unsigned char *rawcp, int rawcc)
3914 : {
3915 0 : DECLARE_STATE(tif, sp);
3916 0 : int mode = sp->b.mode;
3917 0 : if (occ % sp->b.rowbytes)
3918 : {
3919 0 : CPLError(CE_Failure, CPLE_AppDefined,
3920 : "Fractional scanlines cannot be read");
3921 0 : return (-1);
3922 : }
3923 :
3924 0 : CACHE_STATE(sp);
3925 0 : thisrun = sp->curruns;
3926 0 : while ((long)occ > 0)
3927 : {
3928 0 : a0 = 0;
3929 0 : RunLength = 0;
3930 0 : pa = thisrun;
3931 : #ifdef FAX3_DEBUG
3932 : printf("\nBitAcc=%08X, BitsAvail = %d\n", BitAcc, BitsAvail); /*ok*/
3933 : printf("-------------------- \n"); /*ok*/
3934 : fflush(stdout);
3935 : #endif
3936 :
3937 : /* --------------------------------------------------------------------
3938 : */
3939 : /* EXPAND1D() */
3940 : /* */
3941 : /* */
3942 : /* Decode a line of 1D-encoded data. */
3943 : /* */
3944 : /* The line expanders are written as macros so that they can */
3945 : /* be reused but still have direct access to the local */
3946 : /* variables of the "calling" function. */
3947 : /* */
3948 : /* Note that unlike the original version we have to explicitly */
3949 : /* test for a0 >= lastx after each black/white run is decoded. */
3950 : /* This is because the original code depended on the input data */
3951 : /* being zero-padded to insure the decoder recognized an EOL */
3952 : /* before running out of data. */
3953 : /* --------------------------------------------------------------------
3954 : */
3955 : do
3956 : {
3957 0 : for (;;)
3958 : {
3959 : for (;;)
3960 : {
3961 0 : LOOKUP16(12, aig_TIFFFaxWhiteTable, eof1d);
3962 0 : switch (TabEnt->State)
3963 : {
3964 0 : case S_EOL:
3965 0 : EOLcnt = 1;
3966 0 : goto done1d;
3967 0 : case S_TermW:
3968 0 : SETVAL(TabEnt->Param);
3969 0 : goto doneWhite1d;
3970 0 : case S_MakeUpW:
3971 : case S_MakeUp:
3972 0 : a0 += TabEnt->Param;
3973 0 : RunLength += TabEnt->Param;
3974 0 : break;
3975 0 : default:
3976 0 : unexpected("WhiteTable", a0);
3977 0 : goto done1d;
3978 : }
3979 : }
3980 0 : doneWhite1d:
3981 0 : if (a0 >= lastx)
3982 0 : goto done1d;
3983 : for (;;)
3984 : {
3985 0 : LOOKUP16(13, aig_TIFFFaxBlackTable, eof1d);
3986 0 : switch (TabEnt->State)
3987 : {
3988 0 : case S_EOL:
3989 0 : EOLcnt = 1;
3990 0 : goto done1d;
3991 0 : case S_TermB:
3992 0 : SETVAL(TabEnt->Param);
3993 0 : goto doneBlack1d;
3994 0 : case S_MakeUpB:
3995 : case S_MakeUp:
3996 0 : a0 += TabEnt->Param;
3997 0 : RunLength += TabEnt->Param;
3998 0 : break;
3999 0 : default:
4000 0 : unexpected("BlackTable", a0);
4001 0 : goto done1d;
4002 : }
4003 : }
4004 0 : doneBlack1d:
4005 0 : if (a0 >= lastx)
4006 0 : goto done1d;
4007 0 : if (*(pa - 1) == 0 && *(pa - 2) == 0)
4008 0 : pa -= 2;
4009 : }
4010 0 : eof1d:
4011 0 : prematureEOF(a0);
4012 0 : CLEANUP_RUNS();
4013 0 : goto EOFRLE;
4014 0 : done1d:
4015 0 : CLEANUP_RUNS();
4016 : } while (0);
4017 :
4018 : /* --------------------------------------------------------------------
4019 : */
4020 : /* Fill */
4021 : /* --------------------------------------------------------------------
4022 : */
4023 0 : (*sp->fill)(buf, thisrun, pa, lastx);
4024 : /*
4025 : * Cleanup at the end of the row.
4026 : */
4027 0 : if (mode & FAXMODE_BYTEALIGN)
4028 : {
4029 0 : int n = BitsAvail - (BitsAvail & ~7);
4030 0 : ClrBits(n);
4031 : }
4032 0 : else if (mode & FAXMODE_WORDALIGN)
4033 : {
4034 0 : int n = BitsAvail - (BitsAvail & ~15);
4035 0 : ClrBits(n);
4036 0 : if (BitsAvail == 0 && !isAligned(cp, GUInt16))
4037 0 : cp++;
4038 : }
4039 0 : buf += sp->b.rowbytes;
4040 0 : occ -= sp->b.rowbytes;
4041 : #ifdef notdef
4042 : if (occ != 0)
4043 : tif->tif_row++;
4044 : #endif
4045 0 : continue;
4046 0 : EOFRLE: /* premature EOF */
4047 0 : (*sp->fill)(buf, thisrun, pa, lastx);
4048 0 : UNCACHE_STATE(sp);
4049 0 : return (-1);
4050 : }
4051 0 : UNCACHE_STATE(sp);
4052 :
4053 0 : return (1);
4054 : }
4055 :
4056 : /************************************************************************/
4057 : /* DecompressCCITTRLETile() */
4058 : /************************************************************************/
4059 :
4060 0 : CPLErr DecompressCCITTRLETile(unsigned char *pabySrcData, int nSrcBytes,
4061 : unsigned char *pabyDstData, int nDstBytes,
4062 : int nBlockXSize, CPL_UNUSED int nBlockYSize)
4063 : {
4064 : Fax3DecodeState sDecoderState;
4065 0 : Fax3BaseState *sp = (Fax3BaseState *)&sDecoderState;
4066 : unsigned char runs_buf[4000];
4067 : long rowbytes, rowpixels;
4068 :
4069 0 : memset(&sDecoderState, 0, sizeof(sDecoderState));
4070 :
4071 0 : sp->groupoptions = 0;
4072 0 : sp->recvparams = 0;
4073 0 : sp->subaddress = NULL;
4074 :
4075 0 : DecoderState(sp)->runs = NULL;
4076 0 : DecoderState(sp)->fill = aig_TIFFFax3fillruns;
4077 :
4078 0 : if (sizeof(runs_buf) < (size_t)(nBlockXSize * 2 + 3))
4079 : {
4080 0 : CPLError(CE_Failure, CPLE_AppDefined, "Run buffer too small");
4081 0 : return CE_Failure;
4082 : }
4083 :
4084 : /* -------------------------------------------------------------------- */
4085 : /* */
4086 : /* -------------------------------------------------------------------- */
4087 : /*
4088 : * Calculate the scanline/tile widths.
4089 : */
4090 0 : rowbytes = (nBlockXSize + 7) / 8;
4091 0 : rowpixels = nBlockXSize;
4092 :
4093 0 : sp->rowbytes = (GUInt32)rowbytes;
4094 0 : sp->rowpixels = (GUInt32)rowpixels;
4095 0 : sp->mode |= FAXMODE_BYTEALIGN;
4096 : /*
4097 : * Allocate any additional space required for decoding/encoding.
4098 : */
4099 : {
4100 0 : Fax3DecodeState *dsp = DecoderState(sp);
4101 :
4102 0 : dsp->runs = (GUInt32 *)runs_buf;
4103 0 : dsp->curruns = dsp->runs;
4104 0 : dsp->refruns = NULL;
4105 : }
4106 :
4107 : /* -------------------------------------------------------------------- */
4108 : /* */
4109 : /* -------------------------------------------------------------------- */
4110 0 : DecoderState(sp)->bit = 0; /* force initial read */
4111 0 : DecoderState(sp)->data = 0;
4112 0 : DecoderState(sp)->EOLcnt = 0; /* force initial scan for EOL */
4113 :
4114 0 : DecoderState(sp)->bitmap = aig_TIFFBitRevTable;
4115 :
4116 0 : if (DecoderState(sp)->refruns)
4117 : { /* init reference line to white */
4118 0 : DecoderState(sp)->refruns[0] = (GUInt32)DecoderState(sp)->b.rowpixels;
4119 0 : DecoderState(sp)->refruns[1] = 0;
4120 : }
4121 :
4122 0 : if (Fax3DecodeRLE(sp, pabyDstData, nDstBytes, pabySrcData, nSrcBytes) == 1)
4123 0 : return CE_None;
4124 : else
4125 0 : return CE_Failure;
4126 : }
|