/* PJTBLS : Lookup tables for HP PaintJet printer for use with PICLAB.	170
** of the PaintJet's 330 colors have been included in these tables.  The first
** is a table of patterns representing the color of each of the 4 small dots
** that make up a color.  Each nibble of the word indicates one of the 8 base
** colors from which the 90-DPI dots are formed.  The next three tables have
** the red, green, and blue values for each of these colors on a 0-255 scale.
**
** The last table is used to find the closest PaintJet color to a given color
** value.  The RGB cube is divided into 4096 subcubes (16x16x16) and the table
** contains the closest PaintJet color to the point in the center of each
** subcube.  To match an incoming color, just reduce it to its subcube and use
** the color at that position of the array.  This isn't the most accurate way
** to color-match, but it is fast and quite adequate.
*/

#ifndef UTYPEDEFS
  #include "typedefs"
#endif

GLOBAL U16 pjpatterns[170]
#ifdef MAIN_MODULE
  = { 0x0000,0x0001,0x0002,0x0003,0x0004,0x0110,0x0130,0x0150,0x0220,0x0230,
  0x0330,0x0350,0x0370,0x0460,0x0660,0x0770,0x0111,0x0113,0x0116,0x3013,0x0135,
  0x0137,0x0145,0x0157,0x7017,0x0222,0x0223,0x0227,0x3023,0x0237,0x0257,0x6026,
  0x0267,0x7027,0x0333,0x0335,0x0337,0x0345,0x5035,0x0357,0x0367,0x7037,0x0446,
  0x5045,0x0555,0x0557,0x0567,0x7057,0x0666,0x0667,0x7067,0x0777,0x1111,0x1112,
  0x1113,0x1114,0x1115,0x1123,0x3113,0x3117,0x5115,0x5117,0x6116,0x7117,0x1223,
  0x3123,0x1236,0x1247,0x1267,0x7127,0x1333,0x1335,0x1337,0x5135,0x1356,0x1357,
  0x6136,0x1367,0x7137,0x1445,0x5145,0x7147,0x1555,0x1556,0x1557,0x7157,0x1667,
  0x7167,0x1777,0x2223,0x2227,0x3223,0x3226,0x3227,0x4224,0x4226,0x6226,0x6227,
  0x7227,0x2333,0x2335,0x2336,0x2337,0x5235,0x2356,0x2357,0x6236,0x2367,0x7237,
  0x2446,0x2457,0x7247,0x2567,0x7257,0x2666,0x2667,0x7267,0x2777,0x3333,0x3334,
  0x3335,0x3336,0x3337,0x4337,0x5335,0x5336,0x5337,0x6336,0x6337,0x7337,0x5345,
  0x3457,0x7347,0x3555,0x3556,0x3557,0x6356,0x3567,0x7357,0x3666,0x3667,0x7367,
  0x3777,0x4444,0x4446,0x5445,0x6446,0x7447,0x4557,0x4567,0x7457,0x4666,0x4667,
  0x7467,0x4777,0x5555,0x5556,0x5557,0x6556,0x6557,0x7557,0x5666,0x5667,0x7567,
  0x5777,0x6666,0x6667,0x7667,0x6777,0x7777 }
#endif
;

GLOBAL U8 pjrv[170]
#ifdef MAIN_MODULE
  = { 11,17,10,17,10,29,32,30,9,15,37,32,36,9,8,38,62,68,26,77,69,77,31,71,81,
  9,15,13,37,33,28,8,12,28,98,79,94,34,73,82,43,101,10,29,65,71,35,88,7,12,39,
  110,135,54,146,53,136,57,159,160,135,144,30,159,23,64,32,21,22,64,185,160,185,
  145,63,162,33,71,186,22,50,54,134,58,145,161,22,69,187,13,11,31,12,27,10,9,6,
  9,22,76,61,25,74,55,23,62,12,30,73,10,23,20,26,61,5,8,21,71,227,71,189,87,227,
  69,164,76,190,37,89,227,54,57,63,147,67,163,33,72,191,13,24,94,228,11,10,26,
  10,20,50,26,52,8,11,23,65,136,60,147,32,67,166,14,24,77,194,5,8,32,97,229 }
#endif
;

GLOBAL U8 pjgv[170]
#ifdef MAIN_MODULE
  = { 11,12,15,19,11,14,22,13,24,29,41,22,39,14,21,40,16,28,19,48,26,46,12,22,
  42,40,49,50,69,66,35,38,48,68,100,46,98,22,27,54,71,105,14,10,11,18,29,49,36,
  46,69,111,20,23,31,16,19,37,54,53,17,26,25,46,50,68,51,28,47,66,104,51,105,
  30,38,56,50,69,103,12,13,26,14,16,22,44,42,62,102,78,78,98,76,99,26,36,63,75,
  99,136,69,98,142,39,52,73,77,103,145,21,24,43,48,69,62,76,101,147,211,72,113,
  145,218,71,61,77,116,105,148,221,21,30,64,30,35,48,50,69,115,77,99,149,224,
  10,13,10,17,15,12,17,22,26,27,36,61,11,14,18,21,26,48,34,41,68,115,55,69,99,
  149,224 }
#endif
;

GLOBAL U8 pjbv[170]
#ifdef MAIN_MODULE
  = { 15,18,19,18,20,22,22,24,27,24,22,25,28,33,41,46,28,28,36,27,31,34,37,37,
  45,40,36,43,33,41,45,58,56,58,30,34,40,39,38,46,62,67,55,44,43,53,70,78,87,
  91,101,115,34,39,34,42,37,38,34,38,40,42,56,45,45,40,52,55,60,56,34,38,42,42,
  51,46,64,59,57,56,52,64,48,58,53,65,83,87,94,53,60,46,59,54,60,65,76,71,68,
  41,45,56,51,49,60,56,74,71,71,73,67,79,81,83,104,104,106,116,33,32,40,53,48,
  57,46,59,56,76,75,80,57,65,85,54,68,66,86,88,96,110,114,125,137,73,81,68,93,
  90,75,93,96,117,119,126,138,64,78,79,98,102,110,124,131,143,157,163,173,185,
  200,216 }
#endif
;

GLOBAL U8 pjtable2[4096]
#ifdef MAIN_MODULE
  = { 0,4,13,42,143,144,146,151,152,152,165,165,165,165,165,166,2,8,14,94,109,
  146,151,151,161,161,165,165,165,165,166,166,9,9,25,31,95,48,49,161,161,165,
  165,165,166,166,166,166,26,26,27,32,96,49,114,114,162,165,165,166,166,166,
  166,166,26,26,89,92,97,96,115,139,139,165,166,166,166,166,166,167,28,89,89,
  90,106,106,115,139,139,166,166,166,167,167,167,167,91,91,101,101,98,116,116,
  140,140,166,167,167,167,167,167,167,91,91,93,101,98,116,116,116,140,167,167,
  167,167,167,167,167,91,91,93,98,107,116,116,116,140,167,167,167,167,167,167,
  167,91,91,93,107,107,116,116,116,140,167,167,167,167,167,167,167,99,102,102,
  107,107,127,117,117,117,117,167,167,167,167,167,167,102,102,102,108,108,108,
  117,117,117,117,117,167,167,167,167,168,102,102,102,108,108,108,117,117,117,
  117,117,167,168,168,168,168,102,102,102,108,108,117,117,117,117,117,117,168,
  168,168,168,168,102,102,102,108,108,117,117,117,117,117,117,168,168,168,168,
  168,102,102,102,108,108,117,117,117,117,117,117,168,168,168,168,168,1,7,43,
  79,145,147,149,152,152,153,162,165,165,165,165,166,3,11,18,67,110,149,158,
  152,153,162,165,165,165,166,166,166,10,12,30,68,111,86,49,153,162,162,165,
  165,166,166,166,166,10,26,64,104,112,112,114,162,162,165,165,166,166,166,166,
  167,28,28,29,33,106,106,139,139,139,166,166,166,166,167,167,167,28,28,91,101,
  98,106,116,140,140,166,167,167,167,167,167,167,91,91,91,101,107,127,116,140,
  140,167,167,167,167,167,167,167,91,91,91,93,107,127,116,140,140,167,167,167,
  167,167,167,167,91,91,91,107,107,127,116,140,140,167,167,167,167,167,167,167,
  99,99,102,102,127,127,117,117,117,117,167,167,167,167,167,167,99,102,102,108,
  108,108,117,117,117,117,167,167,167,167,168,168,99,102,102,108,108,108,117,
  117,117,117,117,168,168,168,168,168,102,102,102,108,108,108,117,117,117,117,
  117,168,168,168,168,168,102,102,102,108,108,108,117,117,117,117,117,168,168,
  168,168,168,102,102,102,108,108,117,117,117,117,117,117,168,168,168,168,168,
  102,102,102,108,108,117,117,117,117,117,117,168,168,168,168,168,5,7,22,80,
  148,148,158,158,153,153,162,165,165,165,165,166,6,11,37,62,46,158,158,153,
  153,162,162,165,165,166,166,166,10,10,15,15,46,136,158,153,162,162,165,165,
  166,166,166,166,10,10,29,66,76,136,50,50,162,154,166,166,166,167,167,167,28,
  28,28,40,40,50,50,50,154,154,166,167,167,167,167,167,28,28,91,91,127,127,50,
  140,140,167,167,167,167,167,167,167,91,91,91,93,127,127,116,140,140,167,167,
  167,167,167,167,167,91,91,91,93,127,127,116,140,140,167,167,167,167,167,167,
  167,99,99,99,102,127,127,117,117,117,117,167,167,167,167,167,167,99,99,102,
  102,108,108,117,117,117,117,167,167,167,168,168,168,99,102,102,108,108,108,
  117,117,117,117,117,168,168,168,168,168,99,102,102,108,108,108,117,117,117,
  117,117,168,168,168,168,168,102,102,102,108,108,108,117,117,117,117,117,168,
  168,168,168,168,102,102,102,108,108,108,117,117,117,117,117,168,168,168,168,
  168,102,102,102,108,108,108,117,117,117,117,117,168,168,168,168,168,102,102,
  102,108,108,117,117,117,117,117,117,168,168,168,168,168,16,16,55,83,148,156,
  150,159,159,153,162,162,165,165,166,166,16,16,53,130,81,150,150,159,159,154,
  154,154,165,166,166,166,10,57,57,103,131,150,159,159,154,154,154,154,166,166,
  167,167,10,65,65,69,132,132,50,154,154,154,154,154,167,167,167,167,119,119,
  100,105,113,113,50,154,154,154,163,167,167,167,167,167,119,119,100,105,113,
  113,50,50,154,163,167,167,167,167,167,167,119,91,91,91,127,127,127,140,140,
  167,167,167,167,167,167,167,99,99,99,102,127,127,117,117,117,167,167,167,167,
  167,167,168,99,99,99,102,108,108,117,117,117,117,167,167,168,168,168,168,99,
  99,102,102,108,108,117,117,117,117,168,168,168,168,168,168,99,99,102,102,108,
  108,117,117,117,117,168,168,168,168,168,168,99,102,102,108,108,108,117,117,
  117,117,168,168,168,168,168,168,102,102,102,108,108,108,117,117,117,117,168,
  168,168,168,168,168,102,102,102,108,108,108,117,117,117,117,168,168,168,168,
  168,168,102,102,102,108,108,108,117,117,117,117,168,168,168,168,168,168,102,
  102,102,108,108,108,117,117,117,117,168,168,168,168,168,168,16,16,44,45,156,
  156,159,159,159,159,154,154,154,154,166,166,17,17,23,45,134,159,159,159,159,
  154,154,154,163,163,167,167,19,19,21,74,134,159,159,159,154,154,154,163,163,
  167,167,167,19,19,39,69,87,87,87,154,154,163,163,163,163,167,167,167,119,119,
  119,123,77,137,137,154,163,163,163,163,167,167,167,167,119,119,119,125,125,
  137,137,163,163,163,163,167,167,167,167,167,34,34,36,125,41,137,137,51,163,
  163,167,167,167,167,168,168,99,99,99,99,108,108,117,117,117,117,167,168,168,
  168,168,168,99,99,99,102,108,108,117,117,117,141,168,168,168,168,168,168,99,
  99,102,102,108,108,117,117,117,141,168,168,168,168,168,168,99,99,102,102,108,
  108,117,117,117,141,168,168,168,168,168,168,99,102,102,108,108,128,117,117,
  117,141,168,168,168,168,168,168,99,121,121,108,128,128,117,117,141,141,168,
  168,168,168,168,168,121,121,121,108,128,128,117,117,141,141,168,168,168,168,
  168,168,121,121,121,128,128,128,117,117,141,141,168,168,168,168,168,168,121,
  121,121,128,128,128,117,117,141,141,168,168,168,168,168,168,16,23,23,45,45,
  156,159,159,159,159,154,163,163,163,163,163,17,20,38,45,134,159,159,159,159,
  154,163,163,163,163,163,167,19,19,24,24,47,47,159,159,163,163,163,163,163,
  163,163,167,19,19,39,39,47,47,137,163,163,163,163,163,163,163,167,167,119,
  119,119,125,125,137,137,163,163,163,163,163,163,167,167,167,34,34,36,125,125,
  137,137,51,163,163,163,163,167,168,168,168,34,34,36,41,41,41,51,51,51,163,
  163,168,168,168,168,168,34,34,99,41,41,41,51,51,141,141,168,168,168,168,168,
  168,99,99,99,121,128,128,117,141,141,141,168,168,168,168,168,168,99,99,121,
  121,128,128,117,141,141,141,168,168,168,168,168,168,99,121,121,121,128,128,
  141,141,141,141,168,168,168,168,168,168,99,121,121,121,128,128,141,141,141,
  141,168,168,168,168,168,168,121,121,121,121,128,128,141,141,141,141,168,168,
  168,168,168,168,121,121,121,128,128,128,141,141,141,141,168,168,168,168,168,
  168,121,121,121,128,128,128,141,141,141,141,168,168,168,168,168,168,121,121,
  121,128,128,128,141,141,141,141,168,168,168,168,168,168,52,52,82,82,155,155,
  159,159,159,159,163,163,163,163,163,163,52,52,24,24,47,47,159,159,159,163,
  163,163,163,163,163,163,19,35,24,24,47,47,47,159,163,163,163,163,163,163,163,
  163,19,19,39,39,47,47,47,163,163,163,163,163,163,163,163,167,34,34,36,125,47,
  47,137,163,163,163,163,163,163,163,168,168,34,34,36,41,41,41,51,51,51,163,
  163,163,168,168,168,168,34,34,36,41,41,41,51,51,51,51,163,168,168,168,168,
  168,34,34,34,41,41,41,51,51,51,51,168,168,168,168,168,168,34,99,121,121,128,
  128,141,141,141,141,168,168,168,168,168,168,99,121,121,121,128,128,141,141,
  141,141,168,168,168,168,168,168,121,121,121,121,128,128,141,141,141,141,168,
  168,168,168,168,168,121,121,121,121,128,128,141,141,141,141,168,168,168,168,
  168,168,121,121,121,128,128,128,141,141,141,141,168,168,168,168,168,168,121,
  121,121,128,128,128,141,141,141,141,168,168,168,168,168,168,121,121,121,128,
  128,128,141,141,141,141,168,168,168,168,168,168,121,121,121,128,128,128,141,
  141,141,141,168,168,168,168,168,168,52,52,82,82,155,155,157,157,157,160,163,
  163,163,163,163,163,52,52,60,82,155,157,157,157,160,163,163,163,163,163,163,
  163,52,52,52,133,47,47,47,160,163,163,163,163,163,163,163,163,54,54,73,133,
  47,47,47,160,163,163,163,163,163,163,163,168,34,34,36,41,41,47,51,51,163,163,
  163,163,163,168,168,168,34,34,34,41,41,41,51,51,51,51,163,163,168,168,168,
  168,34,34,34,41,41,41,51,51,51,51,51,168,168,168,168,168,34,34,34,41,41,51,
  51,51,51,51,168,168,168,168,168,168,34,34,121,121,128,128,51,51,141,141,168,
  168,168,168,168,168,121,121,121,121,128,128,141,141,141,141,168,168,168,168,
  168,168,121,121,121,121,128,128,141,141,141,141,168,168,168,168,168,168,121,
  121,121,128,128,128,141,141,141,141,168,168,168,168,168,168,121,121,121,128,
  128,128,141,141,141,141,168,168,168,168,168,168,121,121,121,128,128,128,141,
  141,141,141,168,168,168,168,168,168,121,121,121,128,128,128,141,141,141,141,
  168,168,168,168,168,168,118,121,121,128,128,128,141,141,141,141,168,168,168,
  168,168,168,52,52,60,155,155,157,157,157,160,160,160,160,163,163,163,163,52,
  52,56,84,157,157,157,160,160,160,160,160,163,163,163,163,54,54,73,133,133,
  157,160,160,160,160,160,163,163,163,163,163,58,58,58,63,85,135,160,160,160,
  160,163,163,163,163,168,168,58,58,58,124,135,135,160,160,160,160,163,163,163,
  168,168,168,34,34,124,124,41,51,51,51,51,51,51,164,168,168,168,168,34,34,34,
  41,41,51,51,51,51,51,51,168,168,168,168,168,34,34,34,41,41,51,51,51,51,51,
  168,168,168,168,168,168,34,34,121,41,41,51,51,51,51,141,168,168,168,168,168,
  168,121,121,121,121,128,128,141,141,141,141,168,168,168,168,168,168,121,121,
  121,121,128,128,141,141,141,141,168,168,168,168,168,168,121,121,121,128,128,
  128,141,141,141,141,168,168,168,168,168,168,121,121,121,128,128,128,141,141,
  141,141,168,168,168,168,168,168,118,121,121,128,128,128,141,141,141,141,168,
  168,168,168,168,168,118,118,122,122,129,129,129,141,142,142,168,168,168,168,
  169,169,118,118,122,122,129,129,129,142,142,142,142,169,169,169,169,169,52,
  52,60,84,157,157,157,157,160,160,160,160,160,160,160,163,54,54,61,84,157,157,
  157,160,160,160,160,160,160,160,163,164,54,54,63,133,85,157,160,160,160,160,
  160,160,160,164,164,164,58,58,59,75,135,135,160,160,160,160,160,160,164,164,
  164,164,58,58,124,124,135,135,160,160,160,160,164,164,164,164,164,168,58,58,
  124,124,124,88,88,160,160,164,164,164,164,164,168,168,70,70,72,78,78,88,88,
  51,51,164,164,164,164,168,168,168,70,70,72,78,78,88,138,51,164,164,164,164,
  164,168,168,168,70,120,120,126,126,138,138,51,164,164,164,164,168,168,168,
  168,120,120,120,126,126,138,138,141,141,164,164,168,168,168,168,168,120,120,
  120,126,128,138,141,141,141,141,168,168,168,168,168,168,118,118,121,128,128,
  128,141,141,141,141,168,168,168,168,168,168,118,118,118,122,129,129,141,141,
  141,142,168,168,168,168,168,169,118,118,122,122,129,129,129,142,142,142,142,
  169,169,169,169,169,118,118,122,122,129,129,129,142,142,142,142,169,169,169,
  169,169,118,118,122,122,129,129,129,142,142,142,142,169,169,169,169,169,54,
  54,84,84,157,157,157,160,160,160,160,160,160,160,160,164,54,54,54,133,85,157,
  160,160,160,160,160,160,160,160,164,164,58,58,63,85,85,160,160,160,160,160,
  160,160,164,164,164,164,58,58,75,75,135,160,160,160,160,160,160,164,164,164,
  164,164,58,58,124,124,135,160,160,160,160,160,164,164,164,164,164,164,70,70,
  70,78,78,88,88,88,164,164,164,164,164,164,164,164,70,70,72,78,78,88,88,88,
  164,164,164,164,164,164,164,164,70,70,120,126,126,138,138,138,164,164,164,
  164,164,164,164,168,70,120,120,126,126,138,138,138,164,164,164,164,164,164,
  168,168,120,120,120,126,126,138,138,138,164,164,164,164,164,168,168,168,120,
  120,126,126,126,138,138,138,164,164,164,164,164,168,168,168,118,118,118,122,
  129,129,138,142,142,142,164,164,169,169,169,169,118,118,118,122,129,129,129,
  142,142,142,142,169,169,169,169,169,118,118,122,122,129,129,129,142,142,142,
  142,169,169,169,169,169,118,118,122,122,129,129,129,142,142,142,142,169,169,
  169,169,169,118,118,122,122,129,129,129,142,142,142,142,169,169,169,169,169,
  54,54,84,84,157,157,160,160,160,160,160,160,160,160,160,164,54,71,63,85,85,
  160,160,160,160,160,160,160,160,164,164,164,58,71,63,135,135,160,160,160,160,
  160,160,160,164,164,164,164,58,58,124,124,135,160,160,160,160,160,164,164,
  164,164,164,164,58,124,124,124,135,88,160,160,160,164,164,164,164,164,164,
  164,70,70,70,78,78,88,88,88,164,164,164,164,164,164,164,164,70,70,72,78,78,
  88,88,88,164,164,164,164,164,164,164,164,70,120,120,126,126,138,138,138,164,
  164,164,164,164,164,164,164,120,120,120,126,126,138,138,138,164,164,164,164,
  164,164,164,164,120,120,120,126,126,138,138,138,164,164,164,164,164,164,164,
  169,120,120,126,126,126,138,138,138,164,164,164,164,164,169,169,169,118,118,
  118,122,129,129,129,142,142,142,142,169,169,169,169,169,118,118,118,122,129,
  129,129,142,142,142,142,169,169,169,169,169,118,118,122,122,129,129,129,142,
  142,142,142,169,169,169,169,169,118,118,122,122,129,129,129,142,142,142,142,
  169,169,169,169,169,118,118,122,122,129,129,129,142,142,142,142,169,169,169,
  169,169,54,54,63,85,85,157,160,160,160,160,160,160,160,160,164,164,71,71,63,
  85,85,160,160,160,160,160,160,160,160,164,164,164,58,71,71,135,135,160,160,
  160,160,160,160,164,164,164,164,164,58,58,124,124,135,160,160,160,160,160,
  164,164,164,164,164,164,70,70,70,78,78,88,88,88,164,164,164,164,164,164,164,
  164,70,70,70,78,78,88,88,88,164,164,164,164,164,164,164,164,70,70,120,78,78,
  88,138,138,164,164,164,164,164,164,164,164,70,120,120,126,126,138,138,138,
  164,164,164,164,164,164,164,164,120,120,120,126,126,138,138,138,164,164,164,
  164,164,164,164,164,120,120,120,126,126,138,138,138,164,164,164,164,164,164,
  169,169,118,118,118,126,126,138,138,138,164,164,164,164,169,169,169,169,118,
  118,118,122,129,129,129,142,142,142,142,169,169,169,169,169,118,118,118,122,
  129,129,129,142,142,142,142,169,169,169,169,169,118,118,122,122,129,129,129,
  142,142,142,142,169,169,169,169,169,118,118,122,122,129,129,129,142,142,142,
  142,169,169,169,169,169,118,118,122,122,129,129,129,142,142,142,142,169,169,
  169,169,169,71,63,63,85,85,160,160,160,160,160,160,160,160,160,164,164,71,71,
  63,135,135,160,160,160,160,160,160,160,164,164,164,164,58,71,124,135,135,160,
  160,160,160,160,160,164,164,164,164,164,58,124,124,124,135,88,160,160,160,
  164,164,164,164,164,164,164,70,70,70,78,78,88,88,88,164,164,164,164,164,164,
  164,164,70,70,70,78,78,88,88,88,164,164,164,164,164,164,164,164,70,70,120,
  126,126,138,138,138,164,164,164,164,164,164,164,164,120,120,120,126,126,138,
  138,138,164,164,164,164,164,164,164,164,120,120,120,126,126,138,138,138,164,
  164,164,164,164,164,164,169,120,120,126,126,126,138,138,138,164,164,164,164,
  164,164,169,169,118,118,118,118,129,129,138,142,142,164,164,164,169,169,169,
  169,118,118,118,122,129,129,129,142,142,142,142,169,169,169,169,169,118,118,
  118,122,129,129,129,142,142,142,142,169,169,169,169,169,118,118,122,122,129,
  129,129,142,142,142,142,169,169,169,169,169,118,118,122,122,129,129,129,142,
  142,142,142,169,169,169,169,169,118,118,122,122,129,129,129,142,142,142,142,
  169,169,169,169,169,71,63,63,85,85,160,160,160,160,160,160,160,160,164,164,
  164,71,71,63,135,135,160,160,160,160,160,160,160,164,164,164,164,58,71,124,
  135,135,160,160,160,160,160,164,164,164,164,164,164,70,70,70,78,78,88,88,160,
  160,164,164,164,164,164,164,164,70,70,70,78,78,88,88,88,164,164,164,164,164,
  164,164,164,70,70,120,78,78,88,88,88,164,164,164,164,164,164,164,164,70,120,
  120,126,126,138,138,138,164,164,164,164,164,164,164,164,120,120,120,126,126,
  138,138,138,164,164,164,164,164,164,164,164,120,120,120,126,126,138,138,138,
  164,164,164,164,164,164,164,169,118,118,126,126,126,138,138,138,164,164,164,
  164,164,169,169,169,118,118,118,118,129,129,129,142,142,142,142,169,169,169,
  169,169,118,118,118,122,129,129,129,142,142,142,142,169,169,169,169,169,118,
  118,118,122,129,129,129,142,142,142,142,169,169,169,169,169,118,118,122,122,
  129,129,129,142,142,142,142,169,169,169,169,169,118,118,122,122,129,129,129,
  142,142,142,142,169,169,169,169,169,118,118,122,122,129,129,129,142,142,142,
  142,169,169,169,169,169,71,71,63,135,135,160,160,160,160,160,160,160,164,164,
  164,164,71,71,63,135,135,160,160,160,160,160,160,164,164,164,164,164,70,124,
  124,135,135,160,160,160,160,160,164,164,164,164,164,164,70,70,70,78,78,88,88,
  88,164,164,164,164,164,164,164,164,70,70,70,78,78,88,88,88,164,164,164,164,
  164,164,164,164,70,70,120,78,78,88,88,138,164,164,164,164,164,164,164,164,
  120,120,120,126,126,138,138,138,164,164,164,164,164,164,164,164,120,120,120,
  126,126,138,138,138,164,164,164,164,164,164,164,164,120,120,120,126,126,138,
  138,138,164,164,164,164,164,164,169,169,118,118,118,118,126,138,138,138,164,
  164,164,164,169,169,169,169,118,118,118,118,129,129,129,142,142,142,142,169,
  169,169,169,169,118,118,118,122,129,129,129,142,142,142,142,169,169,169,169,
  169,118,118,118,122,129,129,129,142,142,142,142,169,169,169,169,169,118,118,
  122,122,129,129,129,142,142,142,142,169,169,169,169,169,118,118,122,122,129,
  129,129,142,142,142,142,169,169,169,169,169,118,118,122,122,129,129,129,142,
  142,142,142,169,169,169,169,169 }
#endif
;
