Fandom

Wikihack

Source:Vis tab.c (long form)

2,034pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Below is the full text to src/vis_tab.c from NetHack 3.4.3, as generated when the VISION_TABLES symbol is enabled at compile time. To link to a particular line, write [[vis_tab.c (long form)#line123]], for example.

/* This source file is generated by 'makedefs'.  Do not edit. */

A clean distribution of NetHack does not include this file. It is generated at compile time.

#include "config.h"
#ifdef VISION_TABLES
#include "vis_tab.h"

#ifndef FAR_TABLE_ONLY

close2d close_table[CLOSE_MAX_SB_DY] = {
/* DY =  1 (- 1)*/
  {{
  /* 0*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11},
  /* 1*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /* 2*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /* 3*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /* 4*/ { 5,13,21,29,37,45,53,61,69,77,81,99,99,99,99,99,99,99,99,99,99},
  /* 5*/ { 6,16,26,36,46,56,66,76,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /* 6*/ { 7,19,31,43,55,67,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /* 7*/ { 8,22,36,50,64,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /* 8*/ { 9,25,41,57,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /* 9*/ {10,28,46,64,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*10*/ {11,31,51,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*11*/ {12,34,56,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*12*/ {13,37,61,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*13*/ {14,40,66,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*14*/ {15,43,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*15*/ {16,46,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*16*/ {17,49,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*17*/ {18,52,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*18*/ {19,55,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*19*/ {20,58,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*20*/ {21,61,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*21*/ {22,64,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*22*/ {23,67,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*23*/ {24,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*24*/ {25,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*25*/ {26,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*26*/ {27,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*27*/ {28,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*28*/ {29,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*29*/ {30,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*30*/ {31,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*31*/ {32,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*32*/ {33,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*33*/ {34,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*34*/ {35,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*35*/ {36,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*36*/ {37,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*37*/ {38,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*38*/ {39,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*39*/ {40,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*40*/ {41,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*41*/ {42,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*42*/ {43,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*43*/ {44,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*44*/ {45,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*45*/ {46,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*46*/ {47,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*47*/ {48,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*48*/ {49,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*49*/ {50,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*50*/ {51,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*51*/ {52,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*52*/ {53,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*53*/ {54,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*54*/ {55,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*55*/ {56,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*56*/ {57,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*57*/ {58,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*58*/ {59,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*59*/ {60,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*60*/ {61,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*61*/ {62,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*62*/ {63,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*63*/ {64,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*64*/ {65,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*65*/ {66,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*66*/ {67,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*67*/ {68,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*68*/ {69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*69*/ {70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*70*/ {71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*71*/ {72,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*72*/ {73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*73*/ {74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*74*/ {75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*75*/ {76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*76*/ {77,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*77*/ {78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*78*/ {79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*79*/ {80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99}
  }},
/* DY =  2 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6},
  /* 1*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,11,11,12,13,14,14,15,16},
  /* 2*/ { 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,23,24,25,27,28},
  /* 3*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /* 4*/ { 2, 5, 7,10,13,15,18,21,23,26,29,31,34,37,39,42,45,47,50,53,55},
  /* 5*/ { 2, 6, 9,12,16,19,22,26,29,32,36,39,42,46,49,52,56,59,62,66,69},
  /* 6*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /* 7*/ { 3, 8,12,17,22,26,31,36,40,45,50,54,59,64,68,73,78,81,99,99,99},
  /* 8*/ { 3, 9,14,19,25,30,35,41,46,51,57,62,67,73,78,81,99,99,99,99,99},
  /* 9*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*10*/ { 4,11,17,24,31,37,44,51,57,64,71,77,81,99,99,99,99,99,99,99,99},
  /*11*/ { 4,12,19,26,34,41,48,56,63,70,78,81,99,99,99,99,99,99,99,99,99},
  /*12*/ { 5,13,21,29,37,45,53,61,69,77,81,99,99,99,99,99,99,99,99,99,99},
  /*13*/ { 5,14,22,31,40,48,57,66,74,81,99,99,99,99,99,99,99,99,99,99,99},
  /*14*/ { 5,15,24,33,43,52,61,71,80,81,99,99,99,99,99,99,99,99,99,99,99},
  /*15*/ { 6,16,26,36,46,56,66,76,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*16*/ { 6,17,27,38,49,59,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*17*/ { 6,18,29,40,52,63,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*18*/ { 7,19,31,43,55,67,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*19*/ { 7,20,32,45,58,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*20*/ { 7,21,34,47,61,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*21*/ { 8,22,36,50,64,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*22*/ { 8,23,37,52,67,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*23*/ { 8,24,39,54,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*24*/ { 9,25,41,57,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*25*/ { 9,26,42,59,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*26*/ { 9,27,44,61,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*27*/ {10,28,46,64,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*28*/ {10,29,47,66,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*29*/ {10,30,49,68,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*30*/ {11,31,51,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*31*/ {11,32,52,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*32*/ {11,33,54,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*33*/ {12,34,56,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*34*/ {12,35,57,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*35*/ {12,36,59,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*36*/ {13,37,61,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*37*/ {13,38,62,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*38*/ {13,39,64,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*39*/ {14,40,66,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*40*/ {14,41,67,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*41*/ {14,42,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*42*/ {15,43,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*43*/ {15,44,72,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*44*/ {15,45,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*45*/ {16,46,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*46*/ {16,47,77,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*47*/ {16,48,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*48*/ {17,49,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*49*/ {17,50,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*50*/ {17,51,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*51*/ {18,52,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*52*/ {18,53,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*53*/ {18,54,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*54*/ {19,55,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*55*/ {19,56,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*56*/ {19,57,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*57*/ {20,58,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*58*/ {20,59,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*59*/ {20,60,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*60*/ {21,61,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*61*/ {21,62,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*62*/ {21,63,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*63*/ {22,64,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*64*/ {22,65,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*65*/ {22,66,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*66*/ {23,67,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*67*/ {23,68,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*68*/ {23,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*69*/ {24,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*70*/ {24,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*71*/ {24,72,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*72*/ {25,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*73*/ {25,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*74*/ {25,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*75*/ {26,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*76*/ {26,77,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*77*/ {26,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*78*/ {27,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*79*/ {27,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99}
  }},
/* DY =  3 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4},
  /* 1*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11},
  /* 2*/ { 1, 2, 3, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,13,13,14,15,16,17,18},
  /* 3*/ { 1, 2, 4, 5, 6, 7, 8,10,11,12,13,14,16,17,18,19,20,22,23,24,25},
  /* 4*/ { 1, 3, 5, 6, 8, 9,11,13,14,16,17,19,21,22,24,25,27,29,30,32,33},
  /* 5*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /* 6*/ { 2, 4, 7, 9,11,14,16,19,21,23,26,28,31,33,35,38,40,43,45,47,50},
  /* 7*/ { 2, 5, 8,10,13,16,19,22,24,27,30,33,36,38,41,44,47,50,52,55,58},
  /* 8*/ { 2, 5, 9,12,15,18,21,25,28,31,34,37,41,44,47,50,53,57,60,63,66},
  /* 9*/ { 2, 6,10,13,17,20,24,28,31,35,38,42,46,49,53,56,60,64,67,71,74},
  /*10*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*11*/ { 3, 7,12,16,20,25,29,34,38,42,47,51,56,60,64,69,73,78,81,99,99},
  /*12*/ { 3, 8,13,17,22,27,32,37,41,46,51,56,61,65,70,75,80,81,99,99,99},
  /*13*/ { 3, 8,14,19,24,29,34,40,45,50,55,60,66,71,76,81,99,99,99,99,99},
  /*14*/ { 3, 9,15,20,26,31,37,43,48,54,59,65,71,76,81,99,99,99,99,99,99},
  /*15*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*16*/ { 4,10,17,23,29,36,42,49,55,61,68,74,81,99,99,99,99,99,99,99,99},
  /*17*/ { 4,11,18,24,31,38,45,52,58,65,72,79,81,99,99,99,99,99,99,99,99},
  /*18*/ { 4,11,19,26,33,40,47,55,62,69,76,81,99,99,99,99,99,99,99,99,99},
  /*19*/ { 4,12,20,27,35,42,50,58,65,73,80,81,99,99,99,99,99,99,99,99,99},
  /*20*/ { 5,13,21,29,37,45,53,61,69,77,81,99,99,99,99,99,99,99,99,99,99},
  /*21*/ { 5,13,22,30,38,47,55,64,72,80,81,99,99,99,99,99,99,99,99,99,99},
  /*22*/ { 5,14,23,31,40,49,58,67,75,81,99,99,99,99,99,99,99,99,99,99,99},
  /*23*/ { 5,14,24,33,42,51,60,70,79,81,99,99,99,99,99,99,99,99,99,99,99},
  /*24*/ { 5,15,25,34,44,53,63,73,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*25*/ { 6,16,26,36,46,56,66,76,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*26*/ { 6,16,27,37,47,58,68,79,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*27*/ { 6,17,28,38,49,60,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*28*/ { 6,17,29,40,51,62,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*29*/ { 6,18,30,41,53,64,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*30*/ { 7,19,31,43,55,67,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*31*/ { 7,19,32,44,56,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*32*/ { 7,20,33,45,58,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*33*/ { 7,20,34,47,60,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*34*/ { 7,21,35,48,62,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*35*/ { 8,22,36,50,64,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*36*/ { 8,22,37,51,65,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*37*/ { 8,23,38,52,67,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*38*/ { 8,23,39,54,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*39*/ { 8,24,40,55,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*40*/ { 9,25,41,57,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*41*/ { 9,25,42,58,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*42*/ { 9,26,43,59,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*43*/ { 9,26,44,61,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*44*/ { 9,27,45,62,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*45*/ {10,28,46,64,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*46*/ {10,28,47,65,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*47*/ {10,29,48,66,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*48*/ {10,29,49,68,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*49*/ {10,30,50,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*50*/ {11,31,51,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*51*/ {11,31,52,72,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*52*/ {11,32,53,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*53*/ {11,32,54,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*54*/ {11,33,55,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*55*/ {12,34,56,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*56*/ {12,34,57,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*57*/ {12,35,58,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*58*/ {12,35,59,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*59*/ {12,36,60,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*60*/ {13,37,61,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*61*/ {13,37,62,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*62*/ {13,38,63,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*63*/ {13,38,64,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*64*/ {13,39,65,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*65*/ {14,40,66,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*66*/ {14,40,67,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*67*/ {14,41,68,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*68*/ {14,41,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*69*/ {14,42,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*70*/ {15,43,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*71*/ {15,43,72,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*72*/ {15,44,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*73*/ {15,44,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*74*/ {15,45,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*75*/ {16,46,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*76*/ {16,46,77,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*77*/ {16,47,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*78*/ {16,47,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*79*/ {16,48,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99}
  }},
/* DY =  4 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3},
  /* 1*/ { 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 8, 8, 8},
  /* 2*/ { 1, 2, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 8, 9,10,10,11,12,12,13,13},
  /* 3*/ { 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,11,11,12,13,14,15,16,17,18,18},
  /* 4*/ { 1, 2, 3, 5, 6, 7, 8, 9,10,11,13,14,15,16,17,18,19,21,22,23,24},
  /* 5*/ { 1, 3, 4, 6, 7, 8,10,11,13,14,16,17,18,20,21,23,24,26,27,28,30},
  /* 6*/ { 1, 3, 5, 7, 8,10,12,13,15,17,19,20,22,24,25,27,29,31,32,34,36},
  /* 7*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /* 8*/ { 2, 4, 6, 9,11,13,15,18,20,22,25,27,29,31,34,36,38,41,43,45,47},
  /* 9*/ { 2, 4, 7,10,12,15,17,20,22,25,28,30,33,35,38,40,43,46,48,51,53},
  /*10*/ { 2, 5, 8,11,13,16,19,22,25,28,31,33,36,39,42,45,48,51,53,56,59},
  /*11*/ { 2, 5, 8,12,15,18,21,24,27,30,34,37,40,43,46,49,52,56,59,62,65},
  /*12*/ { 2, 6, 9,13,16,19,23,26,30,33,37,40,43,47,50,54,57,61,64,67,71},
  /*13*/ { 2, 6,10,14,17,21,25,28,32,36,40,43,47,51,54,58,62,66,69,73,77},
  /*14*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*15*/ { 3, 7,11,16,20,24,28,33,37,41,46,50,54,58,63,67,71,76,80,81,99},
  /*16*/ { 3, 7,12,17,21,26,30,35,39,44,49,53,58,62,67,71,76,81,99,99,99},
  /*17*/ { 3, 8,13,18,22,27,32,37,42,47,52,56,61,66,71,76,81,99,99,99,99},
  /*18*/ { 3, 8,13,19,24,29,34,39,44,49,55,60,65,70,75,80,81,99,99,99,99},
  /*19*/ { 3, 9,14,20,25,30,36,41,47,52,58,63,68,74,79,81,99,99,99,99,99},
  /*20*/ { 3, 9,15,21,26,32,38,43,49,55,61,66,72,78,81,99,99,99,99,99,99},
  /*21*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*22*/ { 4,10,16,23,29,35,41,48,54,60,67,73,79,81,99,99,99,99,99,99,99},
  /*23*/ { 4,10,17,24,30,37,43,50,56,63,70,76,81,99,99,99,99,99,99,99,99},
  /*24*/ { 4,11,18,25,31,38,45,52,59,66,73,79,81,99,99,99,99,99,99,99,99},
  /*25*/ { 4,11,18,26,33,40,47,54,61,68,76,81,99,99,99,99,99,99,99,99,99},
  /*26*/ { 4,12,19,27,34,41,49,56,64,71,79,81,99,99,99,99,99,99,99,99,99},
  /*27*/ { 4,12,20,28,35,43,51,58,66,74,81,99,99,99,99,99,99,99,99,99,99},
  /*28*/ { 5,13,21,29,37,45,53,61,69,77,81,99,99,99,99,99,99,99,99,99,99},
  /*29*/ { 5,13,21,30,38,46,54,63,71,79,81,99,99,99,99,99,99,99,99,99,99},
  /*30*/ { 5,13,22,31,39,48,56,65,73,81,99,99,99,99,99,99,99,99,99,99,99},
  /*31*/ { 5,14,23,32,40,49,58,67,76,81,99,99,99,99,99,99,99,99,99,99,99},
  /*32*/ { 5,14,23,33,42,51,60,69,78,81,99,99,99,99,99,99,99,99,99,99,99},
  /*33*/ { 5,15,24,34,43,52,62,71,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*34*/ { 5,15,25,35,44,54,64,73,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*35*/ { 6,16,26,36,46,56,66,76,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*36*/ { 6,16,26,37,47,57,67,78,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*37*/ { 6,16,27,38,48,59,69,80,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*38*/ { 6,17,28,39,49,60,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*39*/ { 6,17,28,40,51,62,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*40*/ { 6,18,29,41,52,63,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*41*/ { 6,18,30,42,53,65,77,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*42*/ { 7,19,31,43,55,67,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*43*/ { 7,19,31,44,56,68,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*44*/ { 7,19,32,45,57,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*45*/ { 7,20,33,46,58,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*46*/ { 7,20,33,47,60,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*47*/ { 7,21,34,48,61,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*48*/ { 7,21,35,49,62,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*49*/ { 8,22,36,50,64,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*50*/ { 8,22,36,51,65,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*51*/ { 8,22,37,52,66,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*52*/ { 8,23,38,53,67,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*53*/ { 8,23,38,54,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*54*/ { 8,24,39,55,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*55*/ { 8,24,40,56,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*56*/ { 9,25,41,57,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*57*/ { 9,25,41,58,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*58*/ { 9,25,42,59,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*59*/ { 9,26,43,60,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*60*/ { 9,26,43,61,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*61*/ { 9,27,44,62,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*62*/ { 9,27,45,63,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*63*/ {10,28,46,64,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*64*/ {10,28,46,65,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*65*/ {10,28,47,66,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*66*/ {10,29,48,67,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*67*/ {10,29,48,68,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*68*/ {10,30,49,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*69*/ {10,30,50,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*70*/ {11,31,51,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*71*/ {11,31,51,72,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*72*/ {11,31,52,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*73*/ {11,32,53,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*74*/ {11,32,53,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*75*/ {11,33,54,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*76*/ {11,33,55,77,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*77*/ {12,34,56,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*78*/ {12,34,56,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*79*/ {12,34,57,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99}
  }},
/* DY =  5 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3},
  /* 1*/ { 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 7, 7},
  /* 2*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11},
  /* 3*/ { 1, 2, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 9,10,11,11,12,13,14,14,15},
  /* 4*/ { 1, 2, 3, 4, 5, 5, 6, 7, 8, 9,10,11,12,13,14,14,15,16,17,18,19},
  /* 5*/ { 1, 2, 3, 4, 6, 7, 8, 9,10,11,12,13,14,16,17,18,19,20,21,22,23},
  /* 6*/ { 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,23,24,25,27,28},
  /* 7*/ { 1, 3, 4, 6, 8, 9,11,12,14,15,17,18,20,22,23,25,26,28,29,31,32},
  /* 8*/ { 1, 3, 5, 7, 9,10,12,14,16,17,19,21,23,25,26,28,30,32,33,35,37},
  /* 9*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*10*/ { 2, 4, 6, 8,11,13,15,17,19,22,24,26,28,31,33,35,37,39,42,44,46},
  /*11*/ { 2, 4, 7, 9,12,14,16,19,21,24,26,29,31,34,36,38,41,43,46,48,51},
  /*12*/ { 2, 5, 7,10,13,15,18,21,23,26,29,31,34,37,39,42,45,47,50,53,55},
  /*13*/ { 2, 5, 8,11,14,16,19,22,25,28,31,34,37,40,42,45,48,51,54,57,60},
  /*14*/ { 2, 5, 8,11,15,18,21,24,27,30,33,36,39,43,46,49,52,55,58,61,64},
  /*15*/ { 2, 6, 9,12,16,19,22,26,29,32,36,39,42,46,49,52,56,59,62,66,69},
  /*16*/ { 2, 6, 9,13,17,20,24,27,31,34,38,41,45,49,52,56,59,63,66,70,73},
  /*17*/ { 2, 6,10,14,18,21,25,29,33,36,40,44,48,52,55,59,63,67,70,74,78},
  /*18*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*19*/ { 3, 7,11,15,20,24,28,32,36,41,45,49,53,58,62,66,70,74,79,81,99},
  /*20*/ { 3, 7,12,16,21,25,29,34,38,43,47,52,56,61,65,69,74,78,81,99,99},
  /*21*/ { 3, 8,12,17,22,26,31,36,40,45,50,54,59,64,68,73,78,81,99,99,99},
  /*22*/ { 3, 8,13,18,23,27,32,37,42,47,52,57,62,67,71,76,81,99,99,99,99},
  /*23*/ { 3, 8,13,18,24,29,34,39,44,49,54,59,64,70,75,80,81,99,99,99,99},
  /*24*/ { 3, 9,14,19,25,30,35,41,46,51,57,62,67,73,78,81,99,99,99,99,99},
  /*25*/ { 3, 9,14,20,26,31,37,42,48,53,59,64,70,76,81,99,99,99,99,99,99},
  /*26*/ { 3, 9,15,21,27,32,38,44,50,55,61,67,73,79,81,99,99,99,99,99,99},
  /*27*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*28*/ { 4,10,16,22,29,35,41,47,53,60,66,72,78,81,99,99,99,99,99,99,99},
  /*29*/ { 4,10,17,23,30,36,42,49,55,62,68,75,81,99,99,99,99,99,99,99,99},
  /*30*/ { 4,11,17,24,31,37,44,51,57,64,71,77,81,99,99,99,99,99,99,99,99},
  /*31*/ { 4,11,18,25,32,38,45,52,59,66,73,80,81,99,99,99,99,99,99,99,99},
  /*32*/ { 4,11,18,25,33,40,47,54,61,68,75,81,99,99,99,99,99,99,99,99,99},
  /*33*/ { 4,12,19,26,34,41,48,56,63,70,78,81,99,99,99,99,99,99,99,99,99},
  /*34*/ { 4,12,19,27,35,42,50,57,65,72,80,81,99,99,99,99,99,99,99,99,99},
  /*35*/ { 4,12,20,28,36,43,51,59,67,74,81,99,99,99,99,99,99,99,99,99,99},
  /*36*/ { 5,13,21,29,37,45,53,61,69,77,81,99,99,99,99,99,99,99,99,99,99},
  /*37*/ { 5,13,21,29,38,46,54,62,70,79,81,99,99,99,99,99,99,99,99,99,99},
  /*38*/ { 5,13,22,30,39,47,55,64,72,81,99,99,99,99,99,99,99,99,99,99,99},
  /*39*/ { 5,14,22,31,40,48,57,66,74,81,99,99,99,99,99,99,99,99,99,99,99},
  /*40*/ { 5,14,23,32,41,49,58,67,76,81,99,99,99,99,99,99,99,99,99,99,99},
  /*41*/ { 5,14,23,32,42,51,60,69,78,81,99,99,99,99,99,99,99,99,99,99,99},
  /*42*/ { 5,15,24,33,43,52,61,71,80,81,99,99,99,99,99,99,99,99,99,99,99},
  /*43*/ { 5,15,24,34,44,53,63,72,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*44*/ { 5,15,25,35,45,54,64,74,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*45*/ { 6,16,26,36,46,56,66,76,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*46*/ { 6,16,26,36,47,57,67,77,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*47*/ { 6,16,27,37,48,58,68,79,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*48*/ { 6,17,27,38,49,59,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*49*/ { 6,17,28,39,50,60,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*50*/ { 6,17,28,39,51,62,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*51*/ { 6,18,29,40,52,63,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*52*/ { 6,18,29,41,53,64,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*53*/ { 6,18,30,42,54,65,77,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*54*/ { 7,19,31,43,55,67,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*55*/ { 7,19,31,43,56,68,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*56*/ { 7,19,32,44,57,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*57*/ { 7,20,32,45,58,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*58*/ { 7,20,33,46,59,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*59*/ { 7,20,33,46,60,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*60*/ { 7,21,34,47,61,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*61*/ { 7,21,34,48,62,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*62*/ { 7,21,35,49,63,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*63*/ { 8,22,36,50,64,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*64*/ { 8,22,36,50,65,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*65*/ { 8,22,37,51,66,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*66*/ { 8,23,37,52,67,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*67*/ { 8,23,38,53,68,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*68*/ { 8,23,38,53,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*69*/ { 8,24,39,54,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*70*/ { 8,24,39,55,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*71*/ { 8,24,40,56,72,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*72*/ { 9,25,41,57,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*73*/ { 9,25,41,57,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*74*/ { 9,25,42,58,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*75*/ { 9,26,42,59,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*76*/ { 9,26,43,60,77,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*77*/ { 9,26,43,60,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*78*/ { 9,27,44,61,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*79*/ { 9,27,44,62,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99}
  }},
/* DY =  6 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3},
  /* 1*/ { 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6},
  /* 2*/ { 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8, 9, 9},
  /* 3*/ { 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 9, 9,10,10,11,11,12,13},
  /* 4*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,11,11,12,13,14,14,15,16},
  /* 5*/ { 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,11,12,13,14,15,16,17,17,18,19},
  /* 6*/ { 1, 2, 3, 4, 5, 7, 8, 9,10,11,12,13,14,15,16,17,19,20,21,22,23},
  /* 7*/ { 1, 2, 4, 5, 6, 8, 9,10,11,13,14,15,16,18,19,20,22,23,24,25,27},
  /* 8*/ { 1, 3, 4, 6, 7, 9,10,11,13,14,16,17,19,20,22,23,25,26,27,29,30},
  /* 9*/ { 1, 3, 5, 6, 8,10,11,13,14,16,18,19,21,23,24,26,28,29,31,32,34},
  /*10*/ { 1, 3, 5, 7, 9,11,12,14,16,18,20,21,23,25,27,29,31,32,34,36,38},
  /*11*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*12*/ { 2, 4, 6, 8,10,13,15,17,19,21,23,26,28,30,32,34,37,39,41,43,45},
  /*13*/ { 2, 4, 6, 9,11,14,16,18,21,23,25,28,30,32,35,37,40,42,44,47,49},
  /*14*/ { 2, 4, 7, 9,12,15,17,20,22,25,27,30,32,35,37,40,43,45,48,50,53},
  /*15*/ { 2, 5, 7,10,13,16,18,21,24,26,29,32,35,37,40,43,46,48,51,54,56},
  /*16*/ { 2, 5, 8,11,14,17,19,22,25,28,31,34,37,40,43,46,49,51,54,57,60},
  /*17*/ { 2, 5, 8,11,14,18,21,24,27,30,33,36,39,42,45,48,52,55,58,61,64},
  /*18*/ { 2, 5, 9,12,15,19,22,25,28,32,35,38,41,45,48,51,55,58,61,64,68},
  /*19*/ { 2, 6, 9,13,16,20,23,26,30,33,37,40,44,47,51,54,58,61,64,68,71},
  /*20*/ { 2, 6,10,13,17,21,24,28,31,35,39,42,46,50,53,57,61,64,68,71,75},
  /*21*/ { 2, 6,10,14,18,22,25,29,33,37,41,44,48,52,56,60,64,67,71,75,79},
  /*22*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*23*/ { 3, 7,11,15,19,24,28,32,36,40,44,49,53,57,61,65,70,74,78,81,99},
  /*24*/ { 3, 7,11,16,20,25,29,33,38,42,46,51,55,59,64,68,73,77,81,99,99},
  /*25*/ { 3, 7,12,16,21,26,30,35,39,44,48,53,57,62,66,71,76,80,81,99,99},
  /*26*/ { 3, 8,12,17,22,27,31,36,41,45,50,55,60,64,69,74,79,81,99,99,99},
  /*27*/ { 3, 8,13,18,23,28,32,37,42,47,52,57,62,67,72,77,81,99,99,99,99},
  /*28*/ { 3, 8,13,18,23,29,34,39,44,49,54,59,64,69,74,79,81,99,99,99,99},
  /*29*/ { 3, 8,14,19,24,30,35,40,45,51,56,61,66,72,77,81,99,99,99,99,99},
  /*30*/ { 3, 9,14,20,25,31,36,41,47,52,58,63,69,74,80,81,99,99,99,99,99},
  /*31*/ { 3, 9,15,20,26,32,37,43,48,54,60,65,71,77,81,99,99,99,99,99,99},
  /*32*/ { 3, 9,15,21,27,33,38,44,50,56,62,67,73,79,81,99,99,99,99,99,99},
  /*33*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*34*/ { 4,10,16,22,28,35,41,47,53,59,65,72,78,81,99,99,99,99,99,99,99},
  /*35*/ { 4,10,16,23,29,36,42,48,55,61,67,74,80,81,99,99,99,99,99,99,99},
  /*36*/ { 4,10,17,23,30,37,43,50,56,63,69,76,81,99,99,99,99,99,99,99,99},
  /*37*/ { 4,11,17,24,31,38,44,51,58,64,71,78,81,99,99,99,99,99,99,99,99},
  /*38*/ { 4,11,18,25,32,39,45,52,59,66,73,80,81,99,99,99,99,99,99,99,99},
  /*39*/ { 4,11,18,25,32,40,47,54,61,68,75,81,99,99,99,99,99,99,99,99,99},
  /*40*/ { 4,11,19,26,33,41,48,55,62,70,77,81,99,99,99,99,99,99,99,99,99},
  /*41*/ { 4,12,19,27,34,42,49,56,64,71,79,81,99,99,99,99,99,99,99,99,99},
  /*42*/ { 4,12,20,27,35,43,50,58,65,73,81,99,99,99,99,99,99,99,99,99,99},
  /*43*/ { 4,12,20,28,36,44,51,59,67,75,81,99,99,99,99,99,99,99,99,99,99},
  /*44*/ { 5,13,21,29,37,45,53,61,69,77,81,99,99,99,99,99,99,99,99,99,99},
  /*45*/ { 5,13,21,29,37,46,54,62,70,78,81,99,99,99,99,99,99,99,99,99,99},
  /*46*/ { 5,13,21,30,38,47,55,63,72,80,81,99,99,99,99,99,99,99,99,99,99},
  /*47*/ { 5,13,22,30,39,48,56,65,73,81,99,99,99,99,99,99,99,99,99,99,99},
  /*48*/ { 5,14,22,31,40,49,57,66,75,81,99,99,99,99,99,99,99,99,99,99,99},
  /*49*/ { 5,14,23,32,41,50,58,67,76,81,99,99,99,99,99,99,99,99,99,99,99},
  /*50*/ { 5,14,23,32,41,51,60,69,78,81,99,99,99,99,99,99,99,99,99,99,99},
  /*51*/ { 5,14,24,33,42,52,61,70,79,81,99,99,99,99,99,99,99,99,99,99,99},
  /*52*/ { 5,15,24,34,43,53,62,71,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*53*/ { 5,15,25,34,44,54,63,73,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*54*/ { 5,15,25,35,45,55,64,74,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*55*/ { 6,16,26,36,46,56,66,76,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*56*/ { 6,16,26,36,46,57,67,77,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*57*/ { 6,16,26,37,47,58,68,78,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*58*/ { 6,16,27,37,48,59,69,80,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*59*/ { 6,17,27,38,49,60,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*60*/ { 6,17,28,39,50,61,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*61*/ { 6,17,28,39,50,62,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*62*/ { 6,17,29,40,51,63,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*63*/ { 6,18,29,41,52,64,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*64*/ { 6,18,30,41,53,65,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*65*/ { 6,18,30,42,54,66,77,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*66*/ { 7,19,31,43,55,67,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*67*/ { 7,19,31,43,55,68,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*68*/ { 7,19,31,44,56,69,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*69*/ { 7,19,32,44,57,70,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*70*/ { 7,20,32,45,58,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*71*/ { 7,20,33,46,59,72,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*72*/ { 7,20,33,46,59,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*73*/ { 7,20,34,47,60,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*74*/ { 7,21,34,48,61,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*75*/ { 7,21,35,48,62,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*76*/ { 7,21,35,49,63,77,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*77*/ { 8,22,36,50,64,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*78*/ { 8,22,36,50,64,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*79*/ { 8,22,36,51,65,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99,99}
  }},
/* DY =  7 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5},
  /* 2*/ { 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8},
  /* 3*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11},
  /* 4*/ { 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 9, 9,10,11,11,12,13,13,14},
  /* 5*/ { 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9,10,10,11,12,13,14,14,15,16,17},
  /* 6*/ { 1, 2, 3, 4, 5, 6, 7, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20},
  /* 7*/ { 1, 2, 3, 4, 5, 6, 8, 9,10,11,12,13,14,15,16,17,18,19,20,22,23},
  /* 8*/ { 1, 2, 4, 5, 6, 7, 9,10,11,12,13,15,16,17,18,20,21,22,23,25,26},
  /* 9*/ { 1, 3, 4, 5, 7, 8,10,11,12,14,15,16,18,19,21,22,23,25,26,28,29},
  /*10*/ { 1, 3, 4, 6, 7, 9,11,12,14,15,17,18,20,21,23,24,26,27,29,31,32},
  /*11*/ { 1, 3, 5, 6, 8,10,12,13,15,17,18,20,22,23,25,27,28,30,32,34,35},
  /*12*/ { 1, 3, 5, 7, 9,11,13,14,16,18,20,22,24,25,27,29,31,33,35,37,38},
  /*13*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*14*/ { 2, 4, 6, 8,10,12,15,17,19,21,23,25,27,30,32,34,36,38,40,43,45},
  /*15*/ { 2, 4, 6, 9,11,13,16,18,20,22,25,27,29,32,34,36,39,41,43,46,48},
  /*16*/ { 2, 4, 7, 9,12,14,17,19,21,24,26,29,31,34,36,39,41,44,46,49,51},
  /*17*/ { 2, 4, 7,10,12,15,18,20,23,25,28,31,33,36,38,41,44,46,49,52,54},
  /*18*/ { 2, 5, 7,10,13,16,19,21,24,27,30,32,35,38,41,43,46,49,52,55,57},
  /*19*/ { 2, 5, 8,11,14,17,20,22,25,28,31,34,37,40,43,46,49,52,55,58,60},
  /*20*/ { 2, 5, 8,11,14,17,21,24,27,30,33,36,39,42,45,48,51,54,57,61,64},
  /*21*/ { 2, 5, 9,12,15,18,22,25,28,31,34,38,41,44,47,51,54,57,60,64,67},
  /*22*/ { 2, 6, 9,12,16,19,23,26,29,33,36,39,43,46,50,53,56,60,63,67,70},
  /*23*/ { 2, 6, 9,13,16,20,24,27,31,34,38,41,45,48,52,55,59,62,66,70,73},
  /*24*/ { 2, 6,10,13,17,21,25,28,32,36,39,43,47,50,54,58,61,65,69,73,76},
  /*25*/ { 2, 6,10,14,18,22,26,29,33,37,41,45,49,52,56,60,64,68,72,76,79},
  /*26*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*27*/ { 3, 7,11,15,19,23,28,32,36,40,44,48,52,57,61,65,69,73,77,81,99},
  /*28*/ { 3, 7,11,16,20,24,29,33,37,41,46,50,54,59,63,67,72,76,80,81,99},
  /*29*/ { 3, 7,12,16,21,25,30,34,38,43,47,52,56,61,65,70,74,79,81,99,99},
  /*30*/ { 3, 7,12,17,21,26,31,35,40,44,49,54,58,63,67,72,77,81,99,99,99},
  /*31*/ { 3, 8,12,17,22,27,32,36,41,46,51,55,60,65,70,74,79,81,99,99,99},
  /*32*/ { 3, 8,13,18,23,28,33,37,42,47,52,57,62,67,72,77,81,99,99,99,99},
  /*33*/ { 3, 8,13,18,23,28,34,39,44,49,54,59,64,69,74,79,81,99,99,99,99},
  /*34*/ { 3, 8,14,19,24,29,35,40,45,50,55,61,66,71,76,81,99,99,99,99,99},
  /*35*/ { 3, 9,14,19,25,30,36,41,46,52,57,62,68,73,79,81,99,99,99,99,99},
  /*36*/ { 3, 9,14,20,25,31,37,42,48,53,59,64,70,75,81,99,99,99,99,99,99},
  /*37*/ { 3, 9,15,20,26,32,38,43,49,55,60,66,72,77,81,99,99,99,99,99,99},
  /*38*/ { 3, 9,15,21,27,33,39,44,50,56,62,68,74,79,81,99,99,99,99,99,99},
  /*39*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*40*/ { 4,10,16,22,28,34,41,47,53,59,65,71,77,81,99,99,99,99,99,99,99},
  /*41*/ { 4,10,16,23,29,35,42,48,54,60,67,73,79,81,99,99,99,99,99,99,99},
  /*42*/ { 4,10,17,23,30,36,43,49,55,62,68,75,81,99,99,99,99,99,99,99,99},
  /*43*/ { 4,10,17,24,30,37,44,50,57,63,70,77,81,99,99,99,99,99,99,99,99},
  /*44*/ { 4,11,17,24,31,38,45,51,58,65,72,78,81,99,99,99,99,99,99,99,99},
  /*45*/ { 4,11,18,25,32,39,46,52,59,66,73,80,81,99,99,99,99,99,99,99,99},
  /*46*/ { 4,11,18,25,32,39,47,54,61,68,75,81,99,99,99,99,99,99,99,99,99},
  /*47*/ { 4,11,19,26,33,40,48,55,62,69,76,81,99,99,99,99,99,99,99,99,99},
  /*48*/ { 4,12,19,26,34,41,49,56,63,71,78,81,99,99,99,99,99,99,99,99,99},
  /*49*/ { 4,12,19,27,34,42,50,57,65,72,80,81,99,99,99,99,99,99,99,99,99},
  /*50*/ { 4,12,20,27,35,43,51,58,66,74,81,99,99,99,99,99,99,99,99,99,99},
  /*51*/ { 4,12,20,28,36,44,52,59,67,75,81,99,99,99,99,99,99,99,99,99,99},
  /*52*/ { 5,13,21,29,37,45,53,61,69,77,81,99,99,99,99,99,99,99,99,99,99},
  /*53*/ { 5,13,21,29,37,45,54,62,70,78,81,99,99,99,99,99,99,99,99,99,99},
  /*54*/ { 5,13,21,30,38,46,55,63,71,79,81,99,99,99,99,99,99,99,99,99,99},
  /*55*/ { 5,13,22,30,39,47,56,64,72,81,99,99,99,99,99,99,99,99,99,99,99},
  /*56*/ { 5,13,22,31,39,48,57,65,74,81,99,99,99,99,99,99,99,99,99,99,99},
  /*57*/ { 5,14,22,31,40,49,58,66,75,81,99,99,99,99,99,99,99,99,99,99,99},
  /*58*/ { 5,14,23,32,41,50,59,67,76,81,99,99,99,99,99,99,99,99,99,99,99},
  /*59*/ { 5,14,23,32,41,50,60,69,78,81,99,99,99,99,99,99,99,99,99,99,99},
  /*60*/ { 5,14,24,33,42,51,61,70,79,81,99,99,99,99,99,99,99,99,99,99,99},
  /*61*/ { 5,15,24,33,43,52,62,71,80,81,99,99,99,99,99,99,99,99,99,99,99},
  /*62*/ { 5,15,24,34,43,53,63,72,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*63*/ { 5,15,25,34,44,54,64,73,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*64*/ { 5,15,25,35,45,55,65,74,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*65*/ { 6,16,26,36,46,56,66,76,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*66*/ { 6,16,26,36,46,56,67,77,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*67*/ { 6,16,26,37,47,57,68,78,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*68*/ { 6,16,27,37,48,58,69,79,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*69*/ { 6,16,27,38,48,59,70,80,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*70*/ { 6,17,27,38,49,60,71,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*71*/ { 6,17,28,39,50,61,72,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*72*/ { 6,17,28,39,50,61,73,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*73*/ { 6,17,29,40,51,62,74,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*74*/ { 6,18,29,40,52,63,75,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*75*/ { 6,18,29,41,52,64,76,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*76*/ { 6,18,30,41,53,65,77,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*77*/ { 6,18,30,42,54,66,78,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*78*/ { 7,19,31,43,55,67,79,81,99,99,99,99,99,99,99,99,99,99,99,99,99},
  /*79*/ { 7,19,31,43,55,67,80,81,99,99,99,99,99,99,99,99,99,99,99,99,99}
  }},
/* DY =  8 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5},
  /* 2*/ { 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
  /* 3*/ { 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 8, 9, 9,10},
  /* 4*/ { 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9,10,11,11,12,12},
  /* 5*/ { 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 9, 9,10,11,11,12,13,13,14,15},
  /* 6*/ { 1, 2, 3, 3, 4, 5, 6, 7, 7, 8, 9,10,11,12,12,13,14,15,16,16,17},
  /* 7*/ { 1, 2, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,13,14,15,16,17,18,19,20},
  /* 8*/ { 1, 2, 3, 4, 5, 6, 7, 9,10,11,12,13,14,15,16,17,18,19,20,21,22},
  /* 9*/ { 1, 2, 4, 5, 6, 7, 8,10,11,12,13,14,16,17,18,19,20,22,23,24,25},
  /*10*/ { 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,23,24,25,27,28},
  /*11*/ { 1, 3, 4, 6, 7, 9,10,12,13,14,16,17,19,20,22,23,25,26,28,29,31},
  /*12*/ { 1, 3, 5, 6, 8, 9,11,13,14,16,17,19,21,22,24,25,27,29,30,32,33},
  /*13*/ { 1, 3, 5, 7, 8,10,12,14,15,17,19,20,22,24,26,27,29,31,33,34,36},
  /*14*/ { 1, 3, 5, 7, 9,11,13,15,16,18,20,22,24,26,28,29,31,33,35,37,39},
  /*15*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*16*/ { 2, 4, 6, 8,10,12,14,17,19,21,23,25,27,29,31,34,36,38,40,42,44},
  /*17*/ { 2, 4, 6, 8,11,13,15,18,20,22,24,27,29,31,33,36,38,40,42,45,47},
  /*18*/ { 2, 4, 7, 9,11,14,16,19,21,23,26,28,31,33,35,38,40,43,45,47,50},
  /*19*/ { 2, 4, 7, 9,12,14,17,20,22,25,27,30,32,35,37,40,42,45,47,50,52},
  /*20*/ { 2, 5, 7,10,13,15,18,21,23,26,29,31,34,37,39,42,45,47,50,53,55},
  /*21*/ { 2, 5, 8,10,13,16,19,22,24,27,30,33,36,38,41,44,47,50,52,55,58},
  /*22*/ { 2, 5, 8,11,14,17,20,23,25,28,31,34,37,40,43,46,49,52,55,58,61},
  /*23*/ { 2, 5, 8,11,14,17,20,24,27,30,33,36,39,42,45,48,51,54,57,60,63},
  /*24*/ { 2, 5, 9,12,15,18,21,25,28,31,34,37,41,44,47,50,53,57,60,63,66},
  /*25*/ { 2, 6, 9,12,16,19,22,26,29,32,36,39,42,46,49,52,56,59,62,66,69},
  /*26*/ { 2, 6, 9,13,16,20,23,27,30,33,37,40,44,47,51,54,58,61,65,68,72},
  /*27*/ { 2, 6,10,13,17,20,24,28,31,35,38,42,46,49,53,56,60,64,67,71,74},
  /*28*/ { 2, 6,10,14,17,21,25,29,32,36,40,43,47,51,55,58,62,66,70,73,77},
  /*29*/ { 2, 6,10,14,18,22,26,30,33,37,41,45,49,53,57,60,64,68,72,76,80},
  /*30*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*31*/ { 3, 7,11,15,19,23,27,32,36,40,44,48,52,56,60,65,69,73,77,81,99},
  /*32*/ { 3, 7,11,15,20,24,28,33,37,41,45,50,54,58,62,67,71,75,79,81,99},
  /*33*/ { 3, 7,12,16,20,25,29,34,38,42,47,51,56,60,64,69,73,78,81,99,99},
  /*34*/ { 3, 7,12,16,21,25,30,35,39,44,48,53,57,62,66,71,75,80,81,99,99},
  /*35*/ { 3, 8,12,17,22,26,31,36,40,45,50,54,59,64,68,73,78,81,99,99,99},
  /*36*/ { 3, 8,13,17,22,27,32,37,41,46,51,56,61,65,70,75,80,81,99,99,99},
  /*37*/ { 3, 8,13,18,23,28,33,38,42,47,52,57,62,67,72,77,81,99,99,99,99},
  /*38*/ { 3, 8,13,18,23,28,33,39,44,49,54,59,64,69,74,79,81,99,99,99,99},
  /*39*/ { 3, 8,14,19,24,29,34,40,45,50,55,60,66,71,76,81,99,99,99,99,99},
  /*40*/ { 3, 9,14,19,25,30,35,41,46,51,57,62,67,73,78,81,99,99,99,99,99},
  /*41*/ { 3, 9,14,20,25,31,36,42,47,52,58,63,69,74,80,81,99,99,99,99,99},
  /*42*/ { 3, 9,15,20,26,31,37,43,48,54,59,65,71,76,81,99,99,99,99,99,99},
  /*43*/ { 3, 9,15,21,26,32,38,44,49,55,61,66,72,78,81,99,99,99,99,99,99},
  /*44*/ { 3, 9,15,21,27,33,39,45,50,56,62,68,74,80,81,99,99,99,99,99,99},
  /*45*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*46*/ { 4,10,16,22,28,34,40,47,53,59,65,71,77,81,99,99,99,99,99,99,99},
  /*47*/ { 4,10,16,22,29,35,41,48,54,60,66,73,79,81,99,99,99,99,99,99,99},
  /*48*/ { 4,10,17,23,29,36,42,49,55,61,68,74,81,99,99,99,99,99,99,99,99},
  /*49*/ { 4,10,17,23,30,36,43,50,56,63,69,76,81,99,99,99,99,99,99,99,99},
  /*50*/ { 4,11,17,24,31,37,44,51,57,64,71,77,81,99,99,99,99,99,99,99,99},
  /*51*/ { 4,11,18,24,31,38,45,52,58,65,72,79,81,99,99,99,99,99,99,99,99},
  /*52*/ { 4,11,18,25,32,39,46,53,59,66,73,80,81,99,99,99,99,99,99,99,99},
  /*53*/ { 4,11,18,25,32,39,46,54,61,68,75,81,99,99,99,99,99,99,99,99,99},
  /*54*/ { 4,11,19,26,33,40,47,55,62,69,76,81,99,99,99,99,99,99,99,99,99},
  /*55*/ { 4,12,19,26,34,41,48,56,63,70,78,81,99,99,99,99,99,99,99,99,99},
  /*56*/ { 4,12,19,27,34,42,49,57,64,71,79,81,99,99,99,99,99,99,99,99,99},
  /*57*/ { 4,12,20,27,35,42,50,58,65,73,80,81,99,99,99,99,99,99,99,99,99},
  /*58*/ { 4,12,20,28,35,43,51,59,66,74,81,99,99,99,99,99,99,99,99,99,99},
  /*59*/ { 4,12,20,28,36,44,52,60,67,75,81,99,99,99,99,99,99,99,99,99,99},
  /*60*/ { 5,13,21,29,37,45,53,61,69,77,81,99,99,99,99,99,99,99,99,99,99},
  /*61*/ { 5,13,21,29,37,45,53,62,70,78,81,99,99,99,99,99,99,99,99,99,99},
  /*62*/ { 5,13,21,29,38,46,54,63,71,79,81,99,99,99,99,99,99,99,99,99,99},
  /*63*/ { 5,13,22,30,38,47,55,64,72,80,81,99,99,99,99,99,99,99,99,99,99},
  /*64*/ { 5,13,22,30,39,47,56,65,73,81,99,99,99,99,99,99,99,99,99,99,99},
  /*65*/ { 5,14,22,31,40,48,57,66,74,81,99,99,99,99,99,99,99,99,99,99,99},
  /*66*/ { 5,14,23,31,40,49,58,67,75,81,99,99,99,99,99,99,99,99,99,99,99},
  /*67*/ { 5,14,23,32,41,50,59,68,76,81,99,99,99,99,99,99,99,99,99,99,99},
  /*68*/ { 5,14,23,32,41,50,59,69,78,81,99,99,99,99,99,99,99,99,99,99,99},
  /*69*/ { 5,14,24,33,42,51,60,70,79,81,99,99,99,99,99,99,99,99,99,99,99},
  /*70*/ { 5,15,24,33,43,52,61,71,80,81,99,99,99,99,99,99,99,99,99,99,99},
  /*71*/ { 5,15,24,34,43,53,62,72,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*72*/ { 5,15,25,34,44,53,63,73,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*73*/ { 5,15,25,35,44,54,64,74,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*74*/ { 5,15,25,35,45,55,65,75,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*75*/ { 6,16,26,36,46,56,66,76,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*76*/ { 6,16,26,36,46,56,66,77,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*77*/ { 6,16,26,36,47,57,67,78,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*78*/ { 6,16,27,37,47,58,68,79,81,99,99,99,99,99,99,99,99,99,99,99,99},
  /*79*/ { 6,16,27,37,48,58,69,80,81,99,99,99,99,99,99,99,99,99,99,99,99}
  }},
/* DY =  9 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4},
  /* 2*/ { 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 7},
  /* 3*/ { 1, 1, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8, 9},
  /* 4*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11},
  /* 5*/ { 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 8, 8, 9,10,10,11,11,12,13,13},
  /* 6*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 7, 8, 9,10,10,11,12,13,13,14,15,15},
  /* 7*/ { 1, 2, 3, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,13,13,14,15,16,17,18},
  /* 8*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9, 9,10,11,12,13,14,15,16,17,18,19,20},
  /* 9*/ { 1, 2, 3, 4, 5, 6, 7, 8,10,11,12,13,14,15,16,17,18,19,20,21,22},
  /*10*/ { 1, 2, 3, 5, 6, 7, 8, 9,11,12,13,14,15,16,18,19,20,21,22,23,25},
  /*11*/ { 1, 2, 4, 5, 6, 8, 9,10,12,13,14,15,17,18,19,21,22,23,24,26,27},
  /*12*/ { 1, 3, 4, 5, 7, 8,10,11,13,14,15,17,18,20,21,22,24,25,27,28,29},
  /*13*/ { 1, 3, 4, 6, 7, 9,10,12,14,15,17,18,20,21,23,24,26,27,29,30,32},
  /*14*/ { 1, 3, 5, 6, 8,10,11,13,15,16,18,19,21,23,24,26,28,29,31,33,34},
  /*15*/ { 1, 3, 5, 7, 8,10,12,14,16,17,19,21,23,24,26,28,30,31,33,35,37},
  /*16*/ { 1, 3, 5, 7, 9,11,13,15,17,18,20,22,24,26,28,30,32,33,35,37,39},
  /*17*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*18*/ { 2, 4, 6, 8,10,12,14,16,19,21,23,25,27,29,31,33,35,38,40,42,44},
  /*19*/ { 2, 4, 6, 8,11,13,15,17,20,22,24,26,28,31,33,35,37,40,42,44,46},
  /*20*/ { 2, 4, 6, 9,11,13,16,18,21,23,25,28,30,32,35,37,39,42,44,46,49},
  /*21*/ { 2, 4, 7, 9,12,14,17,19,22,24,26,29,31,34,36,39,41,44,46,49,51},
  /*22*/ { 2, 4, 7,10,12,15,17,20,23,25,28,30,33,35,38,41,43,46,48,51,54},
  /*23*/ { 2, 5, 7,10,13,15,18,21,24,26,29,32,34,37,40,42,45,48,51,53,56},
  /*24*/ { 2, 5, 8,10,13,16,19,22,25,27,30,33,36,39,41,44,47,50,53,56,58},
  /*25*/ { 2, 5, 8,11,14,17,20,23,26,28,31,34,37,40,43,46,49,52,55,58,61},
  /*26*/ { 2, 5, 8,11,14,17,20,23,27,30,33,36,39,42,45,48,51,54,57,60,63},
  /*27*/ { 2, 5, 8,12,15,18,21,24,28,31,34,37,40,43,47,50,53,56,59,62,66},
  /*28*/ { 2, 5, 9,12,15,19,22,25,29,32,35,38,42,45,48,52,55,58,61,65,68},
  /*29*/ { 2, 6, 9,12,16,19,23,26,30,33,36,40,43,47,50,53,57,60,64,67,70},
  /*30*/ { 2, 6, 9,13,16,20,23,27,31,34,38,41,45,48,52,55,59,62,66,69,73},
  /*31*/ { 2, 6,10,13,17,21,24,28,32,35,39,42,46,50,53,57,61,64,68,72,75},
  /*32*/ { 2, 6,10,14,17,21,25,29,33,36,40,44,48,51,55,59,63,66,70,74,78},
  /*33*/ { 2, 6,10,14,18,22,26,30,34,37,41,45,49,53,57,61,65,68,72,76,80},
  /*34*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*35*/ { 3, 7,11,15,19,23,27,31,36,40,44,48,52,56,60,64,68,73,77,81,99},
  /*36*/ { 3, 7,11,15,20,24,28,32,37,41,45,49,53,58,62,66,70,75,79,81,99},
  /*37*/ { 3, 7,11,16,20,24,29,33,38,42,46,51,55,59,64,68,72,77,81,99,99},
  /*38*/ { 3, 7,12,16,21,25,30,34,39,43,47,52,56,61,65,70,74,79,81,99,99},
  /*39*/ { 3, 7,12,17,21,26,30,35,40,44,49,53,58,62,67,72,76,81,99,99,99},
  /*40*/ { 3, 8,12,17,22,26,31,36,41,45,50,55,59,64,69,73,78,81,99,99,99},
  /*41*/ { 3, 8,13,17,22,27,32,37,42,46,51,56,61,66,70,75,80,81,99,99,99},
  /*42*/ { 3, 8,13,18,23,28,33,38,43,47,52,57,62,67,72,77,81,99,99,99,99},
  /*43*/ { 3, 8,13,18,23,28,33,38,44,49,54,59,64,69,74,79,81,99,99,99,99},
  /*44*/ { 3, 8,13,19,24,29,34,39,45,50,55,60,65,70,76,81,99,99,99,99,99},
  /*45*/ { 3, 8,14,19,24,30,35,40,46,51,56,61,67,72,77,81,99,99,99,99,99},
  /*46*/ { 3, 9,14,19,25,30,36,41,47,52,57,63,68,74,79,81,99,99,99,99,99},
  /*47*/ { 3, 9,14,20,25,31,36,42,48,53,59,64,70,75,81,99,99,99,99,99,99},
  /*48*/ { 3, 9,15,20,26,32,37,43,49,54,60,65,71,77,81,99,99,99,99,99,99},
  /*49*/ { 3, 9,15,21,26,32,38,44,50,55,61,67,73,78,81,99,99,99,99,99,99},
  /*50*/ { 3, 9,15,21,27,33,39,45,51,56,62,68,74,80,81,99,99,99,99,99,99},
  /*51*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*52*/ { 4,10,16,22,28,34,40,46,53,59,65,71,77,81,99,99,99,99,99,99,99},
  /*53*/ { 4,10,16,22,29,35,41,47,54,60,66,72,78,81,99,99,99,99,99,99,99},
  /*54*/ { 4,10,16,23,29,35,42,48,55,61,67,74,80,81,99,99,99,99,99,99,99},
  /*55*/ { 4,10,17,23,30,36,43,49,56,62,68,75,81,99,99,99,99,99,99,99,99},
  /*56*/ { 4,10,17,24,30,37,43,50,57,63,70,76,81,99,99,99,99,99,99,99,99},
  /*57*/ { 4,11,17,24,31,37,44,51,58,64,71,78,81,99,99,99,99,99,99,99,99},
  /*58*/ { 4,11,18,24,31,38,45,52,59,65,72,79,81,99,99,99,99,99,99,99,99},
  /*59*/ { 4,11,18,25,32,39,46,53,60,66,73,80,81,99,99,99,99,99,99,99,99},
  /*60*/ { 4,11,18,25,32,39,46,53,61,68,75,81,99,99,99,99,99,99,99,99,99},
  /*61*/ { 4,11,18,26,33,40,47,54,62,69,76,81,99,99,99,99,99,99,99,99,99},
  /*62*/ { 4,11,19,26,33,41,48,55,63,70,77,81,99,99,99,99,99,99,99,99,99},
  /*63*/ { 4,12,19,26,34,41,49,56,64,71,78,81,99,99,99,99,99,99,99,99,99},
  /*64*/ { 4,12,19,27,34,42,49,57,65,72,80,81,99,99,99,99,99,99,99,99,99},
  /*65*/ { 4,12,20,27,35,43,50,58,66,73,81,99,99,99,99,99,99,99,99,99,99},
  /*66*/ { 4,12,20,28,35,43,51,59,67,74,81,99,99,99,99,99,99,99,99,99,99},
  /*67*/ { 4,12,20,28,36,44,52,60,68,75,81,99,99,99,99,99,99,99,99,99,99},
  /*68*/ { 5,13,21,29,37,45,53,61,69,77,81,99,99,99,99,99,99,99,99,99,99},
  /*69*/ { 5,13,21,29,37,45,53,61,70,78,81,99,99,99,99,99,99,99,99,99,99},
  /*70*/ { 5,13,21,29,38,46,54,62,71,79,81,99,99,99,99,99,99,99,99,99,99},
  /*71*/ { 5,13,21,30,38,46,55,63,72,80,81,99,99,99,99,99,99,99,99,99,99},
  /*72*/ { 5,13,22,30,39,47,56,64,73,81,99,99,99,99,99,99,99,99,99,99,99},
  /*73*/ { 5,13,22,31,39,48,56,65,74,81,99,99,99,99,99,99,99,99,99,99,99},
  /*74*/ { 5,14,22,31,40,48,57,66,75,81,99,99,99,99,99,99,99,99,99,99,99},
  /*75*/ { 5,14,23,31,40,49,58,67,76,81,99,99,99,99,99,99,99,99,99,99,99},
  /*76*/ { 5,14,23,32,41,50,59,68,77,81,99,99,99,99,99,99,99,99,99,99,99},
  /*77*/ { 5,14,23,32,41,50,59,68,78,81,99,99,99,99,99,99,99,99,99,99,99},
  /*78*/ { 5,14,23,33,42,51,60,69,79,81,99,99,99,99,99,99,99,99,99,99,99},
  /*79*/ { 5,14,24,33,42,52,61,70,80,81,99,99,99,99,99,99,99,99,99,99,99}
  }},
/* DY = 10 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4},
  /* 2*/ { 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6},
  /* 3*/ { 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8},
  /* 4*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10},
  /* 5*/ { 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9,10,10,11,11,12},
  /* 6*/ { 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 7, 8, 9, 9,10,11,11,12,13,13,14},
  /* 7*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,11,11,12,13,14,14,15,16},
  /* 8*/ { 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 9,10,11,12,13,14,15,15,16,17,18},
  /* 9*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,10,11,12,13,14,15,16,17,18,19,20},
  /*10*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,11,12,13,14,15,16,17,18,19,20,21,22},
  /*11*/ { 1, 2, 3, 5, 6, 7, 8, 9,10,12,13,14,15,16,17,18,20,21,22,23,24},
  /*12*/ { 1, 2, 4, 5, 6, 7, 9,10,11,13,14,15,16,18,19,20,21,23,24,25,26},
  /*13*/ { 1, 3, 4, 5, 7, 8, 9,11,12,14,15,16,18,19,20,22,23,24,26,27,29},
  /*14*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,16,17,19,20,22,23,25,26,28,29,31},
  /*15*/ { 1, 3, 4, 6, 8, 9,11,12,14,16,17,19,20,22,23,25,27,28,30,31,33},
  /*16*/ { 1, 3, 5, 6, 8,10,11,13,15,17,18,20,22,23,25,27,28,30,32,33,35},
  /*17*/ { 1, 3, 5, 7, 9,10,12,14,16,18,19,21,23,25,26,28,30,32,34,35,37},
  /*18*/ { 1, 3, 5, 7, 9,11,13,15,17,19,20,22,24,26,28,30,32,34,36,37,39},
  /*19*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*20*/ { 2, 4, 6, 8,10,12,14,16,18,21,23,25,27,29,31,33,35,37,39,42,44},
  /*21*/ { 2, 4, 6, 8,10,13,15,17,19,22,24,26,28,30,33,35,37,39,41,44,46},
  /*22*/ { 2, 4, 6, 9,11,13,16,18,20,23,25,27,29,32,34,36,39,41,43,46,48},
  /*23*/ { 2, 4, 7, 9,11,14,16,19,21,24,26,28,31,33,36,38,40,43,45,48,50},
  /*24*/ { 2, 4, 7, 9,12,14,17,19,22,25,27,30,32,35,37,40,42,45,47,50,52},
  /*25*/ { 2, 4, 7,10,12,15,18,20,23,26,28,31,33,36,39,41,44,47,49,52,54},
  /*26*/ { 2, 5, 7,10,13,16,18,21,24,27,29,32,35,37,40,43,46,48,51,54,57},
  /*27*/ { 2, 5, 8,10,13,16,19,22,25,28,30,33,36,39,42,45,47,50,53,56,59},
  /*28*/ { 2, 5, 8,11,14,17,20,23,26,29,31,34,37,40,43,46,49,52,55,58,61},
  /*29*/ { 2, 5, 8,11,14,17,20,23,26,30,33,36,39,42,45,48,51,54,57,60,63},
  /*30*/ { 2, 5, 8,12,15,18,21,24,27,31,34,37,40,43,46,49,53,56,59,62,65},
  /*31*/ { 2, 5, 9,12,15,18,22,25,28,32,35,38,41,45,48,51,54,58,61,64,67},
  /*32*/ { 2, 6, 9,12,16,19,22,26,29,33,36,39,43,46,49,53,56,59,63,66,70},
  /*33*/ { 2, 6, 9,13,16,20,23,27,30,34,37,40,44,47,51,54,58,61,65,68,72},
  /*34*/ { 2, 6, 9,13,17,20,24,27,31,35,38,42,45,49,52,56,60,63,67,70,74},
  /*35*/ { 2, 6,10,13,17,21,24,28,32,36,39,43,47,50,54,58,61,65,69,72,76},
  /*36*/ { 2, 6,10,14,18,21,25,29,33,37,40,44,48,52,55,59,63,67,71,74,78},
  /*37*/ { 2, 6,10,14,18,22,26,30,34,38,41,45,49,53,57,61,65,69,73,76,80},
  /*38*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*39*/ { 3, 7,11,15,19,23,27,31,35,40,44,48,52,56,60,64,68,72,76,81,99},
  /*40*/ { 3, 7,11,15,19,24,28,32,36,41,45,49,53,57,62,66,70,74,78,81,99},
  /*41*/ { 3, 7,11,16,20,24,29,33,37,42,46,50,54,59,63,67,72,76,80,81,99},
  /*42*/ { 3, 7,12,16,20,25,29,34,38,43,47,51,56,60,65,69,73,78,81,99,99},
  /*43*/ { 3, 7,12,16,21,25,30,34,39,44,48,53,57,62,66,71,75,80,81,99,99},
  /*44*/ { 3, 7,12,17,21,26,31,35,40,45,49,54,58,63,68,72,77,81,99,99,99},
  /*45*/ { 3, 8,12,17,22,27,31,36,41,46,50,55,60,64,69,74,79,81,99,99,99},
  /*46*/ { 3, 8,13,17,22,27,32,37,42,47,51,56,61,66,71,76,80,81,99,99,99},
  /*47*/ { 3, 8,13,18,23,28,33,38,43,48,52,57,62,67,72,77,81,99,99,99,99},
  /*48*/ { 3, 8,13,18,23,28,33,38,43,49,54,59,64,69,74,79,81,99,99,99,99},
  /*49*/ { 3, 8,13,19,24,29,34,39,44,50,55,60,65,70,75,80,81,99,99,99,99},
  /*50*/ { 3, 8,14,19,24,29,35,40,45,51,56,61,66,72,77,81,99,99,99,99,99},
  /*51*/ { 3, 9,14,19,25,30,35,41,46,52,57,62,68,73,78,81,99,99,99,99,99},
  /*52*/ { 3, 9,14,20,25,31,36,42,47,53,58,63,69,74,80,81,99,99,99,99,99},
  /*53*/ { 3, 9,14,20,26,31,37,42,48,54,59,65,70,76,81,99,99,99,99,99,99},
  /*54*/ { 3, 9,15,20,26,32,37,43,49,55,60,66,72,77,81,99,99,99,99,99,99},
  /*55*/ { 3, 9,15,21,27,32,38,44,50,56,61,67,73,79,81,99,99,99,99,99,99},
  /*56*/ { 3, 9,15,21,27,33,39,45,51,57,62,68,74,80,81,99,99,99,99,99,99},
  /*57*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*58*/ { 4,10,16,22,28,34,40,46,52,59,65,71,77,81,99,99,99,99,99,99,99},
  /*59*/ { 4,10,16,22,28,35,41,47,53,60,66,72,78,81,99,99,99,99,99,99,99},
  /*60*/ { 4,10,16,23,29,35,42,48,54,61,67,73,79,81,99,99,99,99,99,99,99},
  /*61*/ { 4,10,17,23,29,36,42,49,55,62,68,74,81,99,99,99,99,99,99,99,99},
  /*62*/ { 4,10,17,23,30,36,43,49,56,63,69,76,81,99,99,99,99,99,99,99,99},
  /*63*/ { 4,10,17,24,30,37,44,50,57,64,70,77,81,99,99,99,99,99,99,99,99},
  /*64*/ { 4,11,17,24,31,38,44,51,58,65,71,78,81,99,99,99,99,99,99,99,99},
  /*65*/ { 4,11,18,24,31,38,45,52,59,66,72,79,81,99,99,99,99,99,99,99,99},
  /*66*/ { 4,11,18,25,32,39,46,53,60,67,73,80,81,99,99,99,99,99,99,99,99},
  /*67*/ { 4,11,18,25,32,39,46,53,60,68,75,81,99,99,99,99,99,99,99,99,99},
  /*68*/ { 4,11,18,26,33,40,47,54,61,69,76,81,99,99,99,99,99,99,99,99,99},
  /*69*/ { 4,11,19,26,33,40,48,55,62,70,77,81,99,99,99,99,99,99,99,99,99},
  /*70*/ { 4,12,19,26,34,41,48,56,63,71,78,81,99,99,99,99,99,99,99,99,99},
  /*71*/ { 4,12,19,27,34,42,49,57,64,72,79,81,99,99,99,99,99,99,99,99,99},
  /*72*/ { 4,12,19,27,35,42,50,57,65,73,80,81,99,99,99,99,99,99,99,99,99},
  /*73*/ { 4,12,20,27,35,43,50,58,66,74,81,99,99,99,99,99,99,99,99,99,99},
  /*74*/ { 4,12,20,28,36,43,51,59,67,75,81,99,99,99,99,99,99,99,99,99,99},
  /*75*/ { 4,12,20,28,36,44,52,60,68,76,81,99,99,99,99,99,99,99,99,99,99},
  /*76*/ { 5,13,21,29,37,45,53,61,69,77,81,99,99,99,99,99,99,99,99,99,99},
  /*77*/ { 5,13,21,29,37,45,53,61,69,78,81,99,99,99,99,99,99,99,99,99,99},
  /*78*/ { 5,13,21,29,37,46,54,62,70,79,81,99,99,99,99,99,99,99,99,99,99},
  /*79*/ { 5,13,21,30,38,46,55,63,71,80,81,99,99,99,99,99,99,99,99,99,99}
  }},
/* DY = 11 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4},
  /* 2*/ { 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6},
  /* 3*/ { 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
  /* 4*/ { 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8, 8, 9, 9},
  /* 5*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11},
  /* 6*/ { 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9,10,10,11,12,12,13},
  /* 7*/ { 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9,10,11,11,12,13,13,14,15},
  /* 8*/ { 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,11,12,13,13,14,15,16,16},
  /* 9*/ { 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,10,11,12,13,14,15,16,17,17,18},
  /*10*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,11,12,13,14,15,16,17,18,19,20},
  /*11*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,12,13,14,15,16,17,18,19,20,21,22},
  /*12*/ { 1, 2, 3, 5, 6, 7, 8, 9,10,11,13,14,15,16,17,18,19,21,22,23,24},
  /*13*/ { 1, 2, 4, 5, 6, 7, 9,10,11,12,14,15,16,17,18,20,21,22,23,25,26},
  /*14*/ { 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,23,24,25,27,28},
  /*15*/ { 1, 3, 4, 6, 7, 8,10,11,13,14,16,17,18,20,21,23,24,26,27,28,30},
  /*16*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,17,18,20,21,23,24,26,27,29,30,32},
  /*17*/ { 1, 3, 5, 6, 8, 9,11,13,14,16,18,19,21,22,24,26,27,29,30,32,34},
  /*18*/ { 1, 3, 5, 7, 8,10,12,13,15,17,19,20,22,24,25,27,29,31,32,34,36},
  /*19*/ { 1, 3, 5, 7, 9,10,12,14,16,18,20,21,23,25,27,29,30,32,34,36,38},
  /*20*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,22,24,26,28,30,32,34,36,38,40},
  /*21*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*22*/ { 2, 4, 6, 8,10,12,14,16,18,20,23,25,27,29,31,33,35,37,39,41,43},
  /*23*/ { 2, 4, 6, 8,10,13,15,17,19,21,24,26,28,30,32,34,37,39,41,43,45},
  /*24*/ { 2, 4, 6, 9,11,13,15,18,20,22,25,27,29,31,34,36,38,41,43,45,47},
  /*25*/ { 2, 4, 6, 9,11,14,16,18,21,23,26,28,30,33,35,37,40,42,45,47,49},
  /*26*/ { 2, 4, 7, 9,12,14,17,19,22,24,27,29,31,34,36,39,41,44,46,49,51},
  /*27*/ { 2, 4, 7,10,12,15,17,20,22,25,28,30,33,35,38,40,43,46,48,51,53},
  /*28*/ { 2, 5, 7,10,13,15,18,21,23,26,29,31,34,37,39,42,45,47,50,53,55},
  /*29*/ { 2, 5, 7,10,13,16,18,21,24,27,30,32,35,38,41,43,46,49,52,54,57},
  /*30*/ { 2, 5, 8,11,13,16,19,22,25,28,31,33,36,39,42,45,48,51,53,56,59},
  /*31*/ { 2, 5, 8,11,14,17,20,23,26,29,32,34,37,40,43,46,49,52,55,58,61},
  /*32*/ { 2, 5, 8,11,14,17,20,23,26,29,33,36,39,42,45,48,51,54,57,60,63},
  /*33*/ { 2, 5, 8,12,15,18,21,24,27,30,34,37,40,43,46,49,52,56,59,62,65},
  /*34*/ { 2, 5, 9,12,15,18,22,25,28,31,35,38,41,44,47,51,54,57,60,64,67},
  /*35*/ { 2, 6, 9,12,16,19,22,26,29,32,36,39,42,46,49,52,56,59,62,66,69},
  /*36*/ { 2, 6, 9,13,16,19,23,26,30,33,37,40,43,47,50,54,57,61,64,67,71},
  /*37*/ { 2, 6, 9,13,16,20,23,27,30,34,38,41,45,48,52,55,59,62,66,69,73},
  /*38*/ { 2, 6,10,13,17,20,24,28,31,35,39,42,46,49,53,57,60,64,67,71,75},
  /*39*/ { 2, 6,10,14,17,21,25,28,32,36,40,43,47,51,54,58,62,66,69,73,77},
  /*40*/ { 2, 6,10,14,18,21,25,29,33,37,41,44,48,52,56,60,63,67,71,75,79},
  /*41*/ { 2, 6,10,14,18,22,26,30,34,38,42,45,49,53,57,61,65,69,73,77,81},
  /*42*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*43*/ { 3, 7,11,15,19,23,27,31,35,39,44,48,52,56,60,64,68,72,76,80,81},
  /*44*/ { 3, 7,11,15,19,24,28,32,36,40,45,49,53,57,61,65,70,74,78,81,99},
  /*45*/ { 3, 7,11,16,20,24,28,33,37,41,46,50,54,58,63,67,71,76,80,81,99},
  /*46*/ { 3, 7,11,16,20,25,29,33,38,42,47,51,55,60,64,68,73,77,81,99,99},
  /*47*/ { 3, 7,12,16,21,25,30,34,39,43,48,52,56,61,65,70,74,79,81,99,99},
  /*48*/ { 3, 7,12,17,21,26,30,35,39,44,49,53,58,62,67,71,76,81,99,99,99},
  /*49*/ { 3, 8,12,17,22,26,31,36,40,45,50,54,59,64,68,73,78,81,99,99,99},
  /*50*/ { 3, 8,12,17,22,27,31,36,41,46,51,55,60,65,70,74,79,81,99,99,99},
  /*51*/ { 3, 8,13,18,22,27,32,37,42,47,52,56,61,66,71,76,81,99,99,99,99},
  /*52*/ { 3, 8,13,18,23,28,33,38,43,48,53,57,62,67,72,77,81,99,99,99,99},
  /*53*/ { 3, 8,13,18,23,28,33,38,43,48,54,59,64,69,74,79,81,99,99,99,99},
  /*54*/ { 3, 8,13,19,24,29,34,39,44,49,55,60,65,70,75,80,81,99,99,99,99},
  /*55*/ { 3, 8,14,19,24,29,35,40,45,50,56,61,66,71,76,81,99,99,99,99,99},
  /*56*/ { 3, 9,14,19,25,30,35,41,46,51,57,62,67,73,78,81,99,99,99,99,99},
  /*57*/ { 3, 9,14,20,25,30,36,41,47,52,58,63,68,74,79,81,99,99,99,99,99},
  /*58*/ { 3, 9,14,20,25,31,36,42,47,53,59,64,70,75,81,99,99,99,99,99,99},
  /*59*/ { 3, 9,15,20,26,31,37,43,48,54,60,65,71,76,81,99,99,99,99,99,99},
  /*60*/ { 3, 9,15,21,26,32,38,43,49,55,61,66,72,78,81,99,99,99,99,99,99},
  /*61*/ { 3, 9,15,21,27,32,38,44,50,56,62,67,73,79,81,99,99,99,99,99,99},
  /*62*/ { 3, 9,15,21,27,33,39,45,51,57,63,68,74,80,81,99,99,99,99,99,99},
  /*63*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*64*/ { 4,10,16,22,28,34,40,46,52,58,65,71,77,81,99,99,99,99,99,99,99},
  /*65*/ { 4,10,16,22,28,35,41,47,53,59,66,72,78,81,99,99,99,99,99,99,99},
  /*66*/ { 4,10,16,23,29,35,41,48,54,60,67,73,79,81,99,99,99,99,99,99,99},
  /*67*/ { 4,10,16,23,29,36,42,48,55,61,68,74,80,81,99,99,99,99,99,99,99},
  /*68*/ { 4,10,17,23,30,36,43,49,56,62,69,75,81,99,99,99,99,99,99,99,99},
  /*69*/ { 4,10,17,24,30,37,43,50,56,63,70,76,81,99,99,99,99,99,99,99,99},
  /*70*/ { 4,11,17,24,31,37,44,51,57,64,71,77,81,99,99,99,99,99,99,99,99},
  /*71*/ { 4,11,17,24,31,38,44,51,58,65,72,78,81,99,99,99,99,99,99,99,99},
  /*72*/ { 4,11,18,25,31,38,45,52,59,66,73,79,81,99,99,99,99,99,99,99,99},
  /*73*/ { 4,11,18,25,32,39,46,53,60,67,74,80,81,99,99,99,99,99,99,99,99},
  /*74*/ { 4,11,18,25,32,39,46,53,60,67,75,81,99,99,99,99,99,99,99,99,99},
  /*75*/ { 4,11,18,26,33,40,47,54,61,68,76,81,99,99,99,99,99,99,99,99,99},
  /*76*/ { 4,11,19,26,33,40,48,55,62,69,77,81,99,99,99,99,99,99,99,99,99},
  /*77*/ { 4,12,19,26,34,41,48,56,63,70,78,81,99,99,99,99,99,99,99,99,99},
  /*78*/ { 4,12,19,27,34,41,49,56,64,71,79,81,99,99,99,99,99,99,99,99,99},
  /*79*/ { 4,12,19,27,34,42,49,57,64,72,80,81,99,99,99,99,99,99,99,99,99}
  }},
/* DY = 12 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3},
  /* 2*/ { 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5},
  /* 3*/ { 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7},
  /* 4*/ { 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 8, 8, 8},
  /* 5*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 9, 9,10,10},
  /* 6*/ { 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9,10,10,11,11,12},
  /* 7*/ { 1, 2, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 8, 9,10,10,11,12,12,13,13},
  /* 8*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 7, 8, 9, 9,10,11,12,12,13,14,14,15},
  /* 9*/ { 1, 2, 3, 3, 4, 5, 6, 7, 7, 8, 9,10,10,11,12,13,14,14,15,16,17},
  /*10*/ { 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,11,11,12,13,14,15,16,17,18,18},
  /*11*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,12,13,14,15,16,17,18,19,20},
  /*12*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,13,14,15,16,17,18,19,20,21,22},
  /*13*/ { 1, 2, 3, 4, 6, 7, 8, 9,10,11,12,14,15,16,17,18,19,20,21,23,24},
  /*14*/ { 1, 2, 4, 5, 6, 7, 8,10,11,12,13,15,16,17,18,19,21,22,23,24,25},
  /*15*/ { 1, 2, 4, 5, 6, 8, 9,10,12,13,14,16,17,18,19,21,22,23,25,26,27},
  /*16*/ { 1, 3, 4, 5, 7, 8,10,11,12,14,15,17,18,19,21,22,23,25,26,28,29},
  /*17*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,16,18,19,20,22,23,25,26,28,29,31},
  /*18*/ { 1, 3, 4, 6, 8, 9,11,12,14,15,17,19,20,22,23,25,26,28,29,31,33},
  /*19*/ { 1, 3, 5, 6, 8,10,11,13,15,16,18,20,21,23,24,26,28,29,31,33,34},
  /*20*/ { 1, 3, 5, 7, 8,10,12,14,15,17,19,21,22,24,26,27,29,31,33,34,36},
  /*21*/ { 1, 3, 5, 7, 9,11,12,14,16,18,20,22,23,25,27,29,31,32,34,36,38},
  /*22*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,24,26,28,30,32,34,36,38,40},
  /*23*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*24*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,25,27,29,31,33,35,37,39,41,43},
  /*25*/ { 2, 4, 6, 8,10,12,15,17,19,21,23,26,28,30,32,34,36,39,41,43,45},
  /*26*/ { 2, 4, 6, 8,11,13,15,17,20,22,24,27,29,31,33,36,38,40,42,45,47},
  /*27*/ { 2, 4, 6, 9,11,13,16,18,20,23,25,28,30,32,35,37,39,42,44,46,49},
  /*28*/ { 2, 4, 7, 9,11,14,16,19,21,24,26,29,31,33,36,38,41,43,46,48,50},
  /*29*/ { 2, 4, 7, 9,12,14,17,19,22,24,27,30,32,35,37,40,42,45,47,50,52},
  /*30*/ { 2, 4, 7,10,12,15,17,20,23,25,28,31,33,36,38,41,44,46,49,51,54},
  /*31*/ { 2, 5, 7,10,13,15,18,21,23,26,29,32,34,37,40,42,45,48,50,53,56},
  /*32*/ { 2, 5, 7,10,13,16,19,21,24,27,30,33,35,38,41,44,46,49,52,55,58},
  /*33*/ { 2, 5, 8,11,13,16,19,22,25,28,31,34,36,39,42,45,48,51,54,56,59},
  /*34*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,37,40,43,46,49,52,55,58,61},
  /*35*/ { 2, 5, 8,11,14,17,20,23,26,29,32,36,39,42,45,48,51,54,57,60,63},
  /*36*/ { 2, 5, 8,11,15,18,21,24,27,30,33,37,40,43,46,49,52,55,58,62,65},
  /*37*/ { 2, 5, 9,12,15,18,21,25,28,31,34,38,41,44,47,50,54,57,60,63,66},
  /*38*/ { 2, 5, 9,12,15,19,22,25,29,32,35,39,42,45,48,52,55,58,62,65,68},
  /*39*/ { 2, 6, 9,12,16,19,23,26,29,33,36,40,43,46,50,53,56,60,63,67,70},
  /*40*/ { 2, 6, 9,13,16,20,23,27,30,34,37,41,44,47,51,54,58,61,65,68,72},
  /*41*/ { 2, 6, 9,13,17,20,24,27,31,34,38,42,45,49,52,56,59,63,66,70,74},
  /*42*/ { 2, 6,10,13,17,21,24,28,32,35,39,43,46,50,53,57,61,64,68,72,75},
  /*43*/ { 2, 6,10,14,17,21,25,29,32,36,40,44,47,51,55,58,62,66,70,73,77},
  /*44*/ { 2, 6,10,14,18,22,25,29,33,37,41,45,48,52,56,60,64,67,71,75,79},
  /*45*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,49,53,57,61,65,69,73,77,81},
  /*46*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*47*/ { 3, 7,11,15,19,23,27,31,35,39,43,48,52,56,60,64,68,72,76,80,81},
  /*48*/ { 3, 7,11,15,19,23,28,32,36,40,44,49,53,57,61,65,69,74,78,81,99},
  /*49*/ { 3, 7,11,15,20,24,28,32,37,41,45,50,54,58,62,67,71,75,79,81,99},
  /*50*/ { 3, 7,11,16,20,24,29,33,37,42,46,51,55,59,64,68,72,77,81,99,99},
  /*51*/ { 3, 7,12,16,20,25,29,34,38,43,47,52,56,60,65,69,74,78,81,99,99},
  /*52*/ { 3, 7,12,16,21,25,30,34,39,43,48,53,57,62,66,71,75,80,81,99,99},
  /*53*/ { 3, 7,12,17,21,26,30,35,40,44,49,54,58,63,67,72,77,81,99,99,99},
  /*54*/ { 3, 8,12,17,22,26,31,36,40,45,50,55,59,64,69,73,78,81,99,99,99},
  /*55*/ { 3, 8,12,17,22,27,32,36,41,46,51,56,60,65,70,75,79,81,99,99,99},
  /*56*/ { 3, 8,13,18,22,27,32,37,42,47,52,57,61,66,71,76,81,99,99,99,99},
  /*57*/ { 3, 8,13,18,23,28,33,38,43,48,53,58,62,67,72,77,81,99,99,99,99},
  /*58*/ { 3, 8,13,18,23,28,33,38,43,48,53,59,64,69,74,79,81,99,99,99,99},
  /*59*/ { 3, 8,13,18,24,29,34,39,44,49,54,60,65,70,75,80,81,99,99,99,99},
  /*60*/ { 3, 8,14,19,24,29,34,40,45,50,55,61,66,71,76,81,99,99,99,99,99},
  /*61*/ { 3, 8,14,19,24,30,35,40,46,51,56,62,67,72,77,81,99,99,99,99,99},
  /*62*/ { 3, 9,14,19,25,30,36,41,46,52,57,63,68,73,79,81,99,99,99,99,99},
  /*63*/ { 3, 9,14,20,25,31,36,42,47,53,58,64,69,74,80,81,99,99,99,99,99},
  /*64*/ { 3, 9,14,20,26,31,37,42,48,53,59,65,70,76,81,99,99,99,99,99,99},
  /*65*/ { 3, 9,15,20,26,32,37,43,49,54,60,66,71,77,81,99,99,99,99,99,99},
  /*66*/ { 3, 9,15,21,26,32,38,44,49,55,61,67,72,78,81,99,99,99,99,99,99},
  /*67*/ { 3, 9,15,21,27,33,38,44,50,56,62,68,73,79,81,99,99,99,99,99,99},
  /*68*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,74,80,81,99,99,99,99,99,99},
  /*69*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*70*/ { 4,10,16,22,28,34,40,46,52,58,64,71,77,81,99,99,99,99,99,99,99},
  /*71*/ { 4,10,16,22,28,34,41,47,53,59,65,72,78,81,99,99,99,99,99,99,99},
  /*72*/ { 4,10,16,22,29,35,41,47,54,60,66,73,79,81,99,99,99,99,99,99,99},
  /*73*/ { 4,10,16,23,29,35,42,48,54,61,67,74,80,81,99,99,99,99,99,99,99},
  /*74*/ { 4,10,17,23,29,36,42,49,55,62,68,75,81,99,99,99,99,99,99,99,99},
  /*75*/ { 4,10,17,23,30,36,43,49,56,62,69,76,81,99,99,99,99,99,99,99,99},
  /*76*/ { 4,10,17,24,30,37,43,50,57,63,70,77,81,99,99,99,99,99,99,99,99},
  /*77*/ { 4,11,17,24,31,37,44,51,57,64,71,78,81,99,99,99,99,99,99,99,99},
  /*78*/ { 4,11,17,24,31,38,45,51,58,65,72,79,81,99,99,99,99,99,99,99,99},
  /*79*/ { 4,11,18,25,31,38,45,52,59,66,73,80,81,99,99,99,99,99,99,99,99}
  }},
/* DY = 13 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3},
  /* 2*/ { 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5},
  /* 3*/ { 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6},
  /* 4*/ { 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 8, 8},
  /* 5*/ { 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 9, 9, 9},
  /* 6*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11},
  /* 7*/ { 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 8, 9,10,10,11,11,12,13},
  /* 8*/ { 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9, 9,10,11,11,12,13,13,14},
  /* 9*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,10,11,12,13,13,14,15,16},
  /*10*/ { 1, 2, 3, 3, 4, 5, 6, 7, 7, 8, 9,10,11,11,12,13,14,15,16,16,17},
  /*11*/ { 1, 2, 3, 4, 5, 5, 6, 7, 8, 9,10,11,12,12,13,14,15,16,17,18,19},
  /*12*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,13,14,15,16,17,18,19,20},
  /*13*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,14,15,16,17,18,19,20,21,22},
  /*14*/ { 1, 2, 3, 4, 6, 7, 8, 9,10,11,12,13,15,16,17,18,19,20,21,22,23},
  /*15*/ { 1, 2, 4, 5, 6, 7, 8,10,11,12,13,14,16,17,18,19,20,22,23,24,25},
  /*16*/ { 1, 2, 4, 5, 6, 8, 9,10,11,13,14,15,17,18,19,20,22,23,24,25,27},
  /*17*/ { 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,18,19,20,22,23,24,26,27,28},
  /*18*/ { 1, 3, 4, 6, 7, 8,10,11,13,14,16,17,19,20,21,23,24,26,27,29,30},
  /*19*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,16,18,20,21,23,24,26,27,29,30,32},
  /*20*/ { 1, 3, 5, 6, 8, 9,11,13,14,16,17,19,21,22,24,25,27,29,30,32,33},
  /*21*/ { 1, 3, 5, 6, 8,10,11,13,15,16,18,20,22,23,25,27,28,30,32,33,35},
  /*22*/ { 1, 3, 5, 7, 8,10,12,14,15,17,19,21,23,24,26,28,30,31,33,35,37},
  /*23*/ { 1, 3, 5, 7, 9,11,12,14,16,18,20,22,24,25,27,29,31,33,35,36,38},
  /*24*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,26,28,30,32,34,36,38,40},
  /*25*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*26*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,27,29,31,33,35,37,39,41,43},
  /*27*/ { 2, 4, 6, 8,10,12,15,17,19,21,23,25,28,30,32,34,36,38,40,43,45},
  /*28*/ { 2, 4, 6, 8,11,13,15,17,20,22,24,26,29,31,33,35,37,40,42,44,46},
  /*29*/ { 2, 4, 6, 9,11,13,16,18,20,23,25,27,30,32,34,36,39,41,43,46,48},
  /*30*/ { 2, 4, 7, 9,11,14,16,19,21,23,26,28,31,33,35,38,40,43,45,47,50},
  /*31*/ { 2, 4, 7, 9,12,14,17,19,22,24,27,29,32,34,36,39,41,44,46,49,51},
  /*32*/ { 2, 4, 7, 9,12,15,17,20,22,25,27,30,33,35,38,40,43,45,48,50,53},
  /*33*/ { 2, 4, 7,10,12,15,18,20,23,26,28,31,34,36,39,41,44,47,49,52,55},
  /*34*/ { 2, 5, 7,10,13,15,18,21,24,26,29,32,35,37,40,43,45,48,51,54,56},
  /*35*/ { 2, 5, 8,10,13,16,19,22,24,27,30,33,36,38,41,44,47,50,52,55,58},
  /*36*/ { 2, 5, 8,11,13,16,19,22,25,28,31,34,37,39,42,45,48,51,54,57,60},
  /*37*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,40,43,46,49,52,55,58,61},
  /*38*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,39,42,45,48,51,54,57,60,63},
  /*39*/ { 2, 5, 8,11,15,18,21,24,27,30,33,36,40,43,46,49,52,55,58,61,64},
  /*40*/ { 2, 5, 9,12,15,18,21,25,28,31,34,37,41,44,47,50,53,57,60,63,66},
  /*41*/ { 2, 5, 9,12,15,19,22,25,28,32,35,38,42,45,48,51,55,58,61,64,68},
  /*42*/ { 2, 6, 9,12,16,19,22,26,29,32,36,39,43,46,49,53,56,59,63,66,69},
  /*43*/ { 2, 6, 9,13,16,19,23,26,30,33,37,40,44,47,50,54,57,61,64,68,71},
  /*44*/ { 2, 6, 9,13,16,20,23,27,30,34,37,41,45,48,52,55,59,62,66,69,73},
  /*45*/ { 2, 6,10,13,17,20,24,28,31,35,38,42,46,49,53,56,60,64,67,71,74},
  /*46*/ { 2, 6,10,13,17,21,24,28,32,35,39,43,47,50,54,58,61,65,69,72,76},
  /*47*/ { 2, 6,10,14,17,21,25,29,32,36,40,44,48,51,55,59,63,66,70,74,78},
  /*48*/ { 2, 6,10,14,18,22,25,29,33,37,41,45,49,52,56,60,64,68,72,75,79},
  /*49*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,53,57,61,65,69,73,77,81},
  /*50*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*51*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,52,56,60,64,68,72,76,80,81},
  /*52*/ { 3, 7,11,15,19,23,28,32,36,40,44,48,53,57,61,65,69,73,77,81,99},
  /*53*/ { 3, 7,11,15,20,24,28,32,37,41,45,49,54,58,62,66,70,75,79,81,99},
  /*54*/ { 3, 7,11,16,20,24,29,33,37,42,46,50,55,59,63,67,72,76,80,81,99},
  /*55*/ { 3, 7,12,16,20,25,29,34,38,42,47,51,56,60,64,69,73,78,81,99,99},
  /*56*/ { 3, 7,12,16,21,25,30,34,39,43,48,52,57,61,65,70,74,79,81,99,99},
  /*57*/ { 3, 7,12,16,21,26,30,35,39,44,48,53,58,62,67,71,76,80,81,99,99},
  /*58*/ { 3, 7,12,17,21,26,31,35,40,45,49,54,59,63,68,72,77,81,99,99,99},
  /*59*/ { 3, 8,12,17,22,26,31,36,41,45,50,55,60,64,69,74,78,81,99,99,99},
  /*60*/ { 3, 8,13,17,22,27,32,37,41,46,51,56,61,65,70,75,80,81,99,99,99},
  /*61*/ { 3, 8,13,18,22,27,32,37,42,47,52,57,62,66,71,76,81,99,99,99,99},
  /*62*/ { 3, 8,13,18,23,28,33,38,43,48,53,58,63,67,72,77,81,99,99,99,99},
  /*63*/ { 3, 8,13,18,23,28,33,38,43,48,53,58,64,69,74,79,81,99,99,99,99},
  /*64*/ { 3, 8,13,18,24,29,34,39,44,49,54,59,65,70,75,80,81,99,99,99,99},
  /*65*/ { 3, 8,14,19,24,29,34,40,45,50,55,60,66,71,76,81,99,99,99,99,99},
  /*66*/ { 3, 8,14,19,24,30,35,40,45,51,56,61,67,72,77,81,99,99,99,99,99},
  /*67*/ { 3, 9,14,19,25,30,35,41,46,51,57,62,68,73,78,81,99,99,99,99,99},
  /*68*/ { 3, 9,14,20,25,30,36,41,47,52,58,63,69,74,79,81,99,99,99,99,99},
  /*69*/ { 3, 9,14,20,25,31,36,42,47,53,58,64,70,75,81,99,99,99,99,99,99},
  /*70*/ { 3, 9,15,20,26,31,37,43,48,54,59,65,71,76,81,99,99,99,99,99,99},
  /*71*/ { 3, 9,15,20,26,32,37,43,49,54,60,66,72,77,81,99,99,99,99,99,99},
  /*72*/ { 3, 9,15,21,26,32,38,44,49,55,61,67,73,78,81,99,99,99,99,99,99},
  /*73*/ { 3, 9,15,21,27,33,38,44,50,56,62,68,74,79,81,99,99,99,99,99,99},
  /*74*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,80,81,99,99,99,99,99,99},
  /*75*/ { 4,10,16,22,28,34,40,46,52,58,64,70,76,81,99,99,99,99,99,99,99},
  /*76*/ { 4,10,16,22,28,34,40,46,52,58,64,70,77,81,99,99,99,99,99,99,99},
  /*77*/ { 4,10,16,22,28,34,41,47,53,59,65,71,78,81,99,99,99,99,99,99,99},
  /*78*/ { 4,10,16,22,29,35,41,47,54,60,66,72,79,81,99,99,99,99,99,99,99},
  /*79*/ { 4,10,16,23,29,35,42,48,54,61,67,73,80,81,99,99,99,99,99,99,99}
  }},
/* DY = 14 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3},
  /* 2*/ { 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5},
  /* 3*/ { 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6},
  /* 4*/ { 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
  /* 5*/ { 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8, 9},
  /* 6*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7, 8, 8, 9, 9,10,10},
  /* 7*/ { 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9,10,10,11,11,12},
  /* 8*/ { 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9,10,11,11,12,13,13},
  /* 9*/ { 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9,10,10,11,12,13,13,14,15},
  /*10*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,11,11,12,13,14,14,15,16},
  /*11*/ { 1, 2, 3, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,12,13,14,15,16,17,17},
  /*12*/ { 1, 2, 3, 4, 5, 5, 6, 7, 8, 9,10,11,12,13,13,14,15,16,17,18,19},
  /*13*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,14,15,16,17,18,19,20},
  /*14*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,15,16,17,18,19,20,21,22},
  /*15*/ { 1, 2, 3, 4, 6, 7, 8, 9,10,11,12,13,14,16,17,18,19,20,21,22,23},
  /*16*/ { 1, 2, 3, 5, 6, 7, 8, 9,11,12,13,14,15,17,18,19,20,21,22,24,25},
  /*17*/ { 1, 2, 4, 5, 6, 7, 9,10,11,12,14,15,16,18,19,20,21,23,24,25,26},
  /*18*/ { 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,23,24,25,27,28},
  /*19*/ { 1, 3, 4, 5, 7, 8,10,11,12,14,15,17,18,20,21,22,24,25,27,28,29},
  /*20*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,16,18,19,21,22,23,25,26,28,29,31},
  /*21*/ { 1, 3, 4, 6, 8, 9,11,12,14,15,17,18,20,22,23,25,26,28,29,31,32},
  /*22*/ { 1, 3, 5, 6, 8, 9,11,13,14,16,18,19,21,23,24,26,27,29,31,32,34},
  /*23*/ { 1, 3, 5, 6, 8,10,12,13,15,17,18,20,22,24,25,27,29,30,32,34,35},
  /*24*/ { 1, 3, 5, 7, 9,10,12,14,16,17,19,21,23,25,26,28,30,32,33,35,37},
  /*25*/ { 1, 3, 5, 7, 9,11,13,14,16,18,20,22,24,26,27,29,31,33,35,37,38},
  /*26*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,28,30,32,34,36,38,40},
  /*27*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*28*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,29,31,33,35,37,39,41,43},
  /*29*/ { 2, 4, 6, 8,10,12,14,17,19,21,23,25,27,30,32,34,36,38,40,42,45},
  /*30*/ { 2, 4, 6, 8,11,13,15,17,19,22,24,26,28,31,33,35,37,39,42,44,46},
  /*31*/ { 2, 4, 6, 9,11,13,15,18,20,22,25,27,29,32,34,36,38,41,43,45,48},
  /*32*/ { 2, 4, 6, 9,11,14,16,18,21,23,25,28,30,33,35,37,40,42,44,47,49},
  /*33*/ { 2, 4, 7, 9,12,14,16,19,21,24,26,29,31,34,36,38,41,43,46,48,51},
  /*34*/ { 2, 4, 7, 9,12,14,17,19,22,24,27,29,32,35,37,40,42,45,47,50,52},
  /*35*/ { 2, 4, 7,10,12,15,17,20,23,25,28,30,33,36,38,41,43,46,48,51,54},
  /*36*/ { 2, 5, 7,10,13,15,18,21,23,26,29,31,34,37,39,42,45,47,50,53,55},
  /*37*/ { 2, 5, 7,10,13,16,18,21,24,27,29,32,35,38,40,43,46,48,51,54,57},
  /*38*/ { 2, 5, 8,10,13,16,19,22,24,27,30,33,36,39,41,44,47,50,53,55,58},
  /*39*/ { 2, 5, 8,11,14,16,19,22,25,28,31,34,37,40,42,45,48,51,54,57,60},
  /*40*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,43,46,49,52,55,58,61},
  /*41*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,42,45,48,51,54,57,60,63},
  /*42*/ { 2, 5, 8,11,15,18,21,24,27,30,33,36,39,43,46,49,52,55,58,61,64},
  /*43*/ { 2, 5, 8,12,15,18,21,24,28,31,34,37,40,44,47,50,53,56,59,63,66},
  /*44*/ { 2, 5, 9,12,15,18,22,25,28,31,35,38,41,45,48,51,54,58,61,64,67},
  /*45*/ { 2, 6, 9,12,16,19,22,26,29,32,36,39,42,46,49,52,56,59,62,66,69},
  /*46*/ { 2, 6, 9,12,16,19,23,26,29,33,36,40,43,47,50,53,57,60,64,67,70},
  /*47*/ { 2, 6, 9,13,16,20,23,27,30,34,37,41,44,48,51,54,58,61,65,68,72},
  /*48*/ { 2, 6, 9,13,17,20,24,27,31,34,38,41,45,49,52,56,59,63,66,70,73},
  /*49*/ { 2, 6,10,13,17,20,24,28,31,35,39,42,46,50,53,57,60,64,68,71,75},
  /*50*/ { 2, 6,10,13,17,21,25,28,32,36,39,43,47,51,54,58,62,65,69,73,76},
  /*51*/ { 2, 6,10,14,18,21,25,29,33,36,40,44,48,52,55,59,63,67,70,74,78},
  /*52*/ { 2, 6,10,14,18,22,26,29,33,37,41,45,49,53,56,60,64,68,72,76,79},
  /*53*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,57,61,65,69,73,77,81},
  /*54*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*55*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,56,60,64,68,72,76,80,81},
  /*56*/ { 3, 7,11,15,19,23,27,32,36,40,44,48,52,57,61,65,69,73,77,81,99},
  /*57*/ { 3, 7,11,15,20,24,28,32,36,41,45,49,53,58,62,66,70,74,79,81,99},
  /*58*/ { 3, 7,11,16,20,24,28,33,37,41,46,50,54,59,63,67,71,76,80,81,99},
  /*59*/ { 3, 7,11,16,20,25,29,33,38,42,46,51,55,60,64,68,73,77,81,99,99},
  /*60*/ { 3, 7,12,16,21,25,29,34,38,43,47,52,56,61,65,69,74,78,81,99,99},
  /*61*/ { 3, 7,12,16,21,25,30,34,39,43,48,52,57,62,66,71,75,80,81,99,99},
  /*62*/ { 3, 7,12,17,21,26,30,35,40,44,49,53,58,63,67,72,76,81,99,99,99},
  /*63*/ { 3, 8,12,17,22,26,31,36,40,45,50,54,59,64,68,73,78,81,99,99,99},
  /*64*/ { 3, 8,12,17,22,27,31,36,41,46,50,55,60,65,69,74,79,81,99,99,99},
  /*65*/ { 3, 8,13,17,22,27,32,37,41,46,51,56,61,66,70,75,80,81,99,99,99},
  /*66*/ { 3, 8,13,18,23,27,32,37,42,47,52,57,62,67,71,76,81,99,99,99,99},
  /*67*/ { 3, 8,13,18,23,28,33,38,43,48,53,58,63,68,72,77,81,99,99,99,99},
  /*68*/ { 3, 8,13,18,23,28,33,38,43,48,53,58,63,69,74,79,81,99,99,99,99},
  /*69*/ { 3, 8,13,18,24,29,34,39,44,49,54,59,64,70,75,80,81,99,99,99,99},
  /*70*/ { 3, 8,13,19,24,29,34,39,45,50,55,60,65,71,76,81,99,99,99,99,99},
  /*71*/ { 3, 8,14,19,24,29,35,40,45,50,56,61,66,72,77,81,99,99,99,99,99},
  /*72*/ { 3, 9,14,19,25,30,35,41,46,51,57,62,67,73,78,81,99,99,99,99,99},
  /*73*/ { 3, 9,14,19,25,30,36,41,46,52,57,63,68,74,79,81,99,99,99,99,99},
  /*74*/ { 3, 9,14,20,25,31,36,42,47,53,58,64,69,75,80,81,99,99,99,99,99},
  /*75*/ { 3, 9,14,20,26,31,37,42,48,53,59,64,70,76,81,99,99,99,99,99,99},
  /*76*/ { 3, 9,15,20,26,31,37,43,48,54,60,65,71,77,81,99,99,99,99,99,99},
  /*77*/ { 3, 9,15,20,26,32,38,43,49,55,60,66,72,78,81,99,99,99,99,99,99},
  /*78*/ { 3, 9,15,21,27,32,38,44,50,55,61,67,73,79,81,99,99,99,99,99,99},
  /*79*/ { 3, 9,15,21,27,33,39,44,50,56,62,68,74,80,81,99,99,99,99,99,99}
  }},
/* DY = 15 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3},
  /* 2*/ { 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4},
  /* 3*/ { 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6},
  /* 4*/ { 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 7, 7},
  /* 5*/ { 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8},
  /* 6*/ { 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 7, 8, 8, 9, 9,10},
  /* 7*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11},
  /* 8*/ { 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,11,11,12,12},
  /* 9*/ { 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 9, 9,10,10,11,12,12,13,14},
  /*10*/ { 1, 2, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 9,10,11,11,12,13,14,14,15},
  /*11*/ { 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,11,12,12,13,14,15,16,16},
  /*12*/ { 1, 2, 3, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,13,13,14,15,16,17,18},
  /*13*/ { 1, 2, 3, 4, 5, 5, 6, 7, 8, 9,10,11,12,13,14,14,15,16,17,18,19},
  /*14*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,15,16,17,18,19,20},
  /*15*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,16,17,18,19,20,21,22},
  /*16*/ { 1, 2, 3, 4, 5, 7, 8, 9,10,11,12,13,14,15,17,18,19,20,21,22,23},
  /*17*/ { 1, 2, 3, 5, 6, 7, 8, 9,10,12,13,14,15,16,18,19,20,21,22,23,25},
  /*18*/ { 1, 2, 4, 5, 6, 7, 9,10,11,12,14,15,16,17,19,20,21,22,23,25,26},
  /*19*/ { 1, 2, 4, 5, 6, 8, 9,10,12,13,14,16,17,18,20,21,22,23,25,26,27},
  /*20*/ { 1, 3, 4, 5, 7, 8, 9,11,12,14,15,16,18,19,21,22,23,25,26,27,29},
  /*21*/ { 1, 3, 4, 6, 7, 8,10,11,13,14,16,17,19,20,22,23,24,26,27,29,30},
  /*22*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,16,18,19,21,23,24,26,27,29,30,32},
  /*23*/ { 1, 3, 4, 6, 8, 9,11,12,14,16,17,19,20,22,24,25,27,28,30,31,33},
  /*24*/ { 1, 3, 5, 6, 8,10,11,13,15,16,18,20,21,23,25,26,28,29,31,33,34},
  /*25*/ { 1, 3, 5, 7, 8,10,12,13,15,17,19,20,22,24,26,27,29,31,32,34,36},
  /*26*/ { 1, 3, 5, 7, 9,10,12,14,16,18,19,21,23,25,27,28,30,32,34,35,37},
  /*27*/ { 1, 3, 5, 7, 9,11,13,14,16,18,20,22,24,26,28,29,31,33,35,37,39},
  /*28*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,30,32,34,36,38,40},
  /*29*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*30*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,31,33,35,37,39,41,43},
  /*31*/ { 2, 4, 6, 8,10,12,14,17,19,21,23,25,27,29,32,34,36,38,40,42,44},
  /*32*/ { 2, 4, 6, 8,10,13,15,17,19,21,24,26,28,30,33,35,37,39,41,44,46},
  /*33*/ { 2, 4, 6, 8,11,13,15,18,20,22,24,27,29,31,34,36,38,40,43,45,47},
  /*34*/ { 2, 4, 6, 9,11,13,16,18,20,23,25,27,30,32,35,37,39,42,44,46,49},
  /*35*/ { 2, 4, 7, 9,11,14,16,19,21,23,26,28,31,33,36,38,40,43,45,48,50},
  /*36*/ { 2, 4, 7, 9,12,14,17,19,22,24,27,29,32,34,37,39,41,44,46,49,51},
  /*37*/ { 2, 4, 7, 9,12,15,17,20,22,25,27,30,32,35,38,40,43,45,48,50,53},
  /*38*/ { 2, 4, 7,10,12,15,18,20,23,25,28,31,33,36,39,41,44,46,49,52,54},
  /*39*/ { 2, 5, 7,10,13,15,18,21,23,26,29,31,34,37,40,42,45,48,50,53,56},
  /*40*/ { 2, 5, 7,10,13,16,18,21,24,27,29,32,35,38,41,43,46,49,52,54,57},
  /*41*/ { 2, 5, 8,10,13,16,19,22,25,27,30,33,36,39,42,44,47,50,53,56,58},
  /*42*/ { 2, 5, 8,11,14,16,19,22,25,28,31,34,37,40,43,45,48,51,54,57,60},
  /*43*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,46,49,52,55,58,61},
  /*44*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,45,48,51,54,57,60,63},
  /*45*/ { 2, 5, 8,11,14,18,21,24,27,30,33,36,39,42,46,49,52,55,58,61,64},
  /*46*/ { 2, 5, 8,12,15,18,21,24,27,31,34,37,40,43,47,50,53,56,59,62,66},
  /*47*/ { 2, 5, 9,12,15,18,22,25,28,31,35,38,41,44,48,51,54,57,60,64,67},
  /*48*/ { 2, 5, 9,12,15,19,22,25,29,32,35,39,42,45,49,52,55,58,62,65,68},
  /*49*/ { 2, 6, 9,12,16,19,22,26,29,33,36,39,43,46,50,53,56,60,63,66,70},
  /*50*/ { 2, 6, 9,13,16,19,23,26,30,33,37,40,44,47,51,54,57,61,64,68,71},
  /*51*/ { 2, 6, 9,13,16,20,23,27,30,34,37,41,44,48,52,55,59,62,66,69,73},
  /*52*/ { 2, 6, 9,13,17,20,24,27,31,35,38,42,45,49,53,56,60,63,67,70,74},
  /*53*/ { 2, 6,10,13,17,21,24,28,32,35,39,43,46,50,54,57,61,64,68,72,75},
  /*54*/ { 2, 6,10,14,17,21,25,28,32,36,40,43,47,51,55,58,62,66,69,73,77},
  /*55*/ { 2, 6,10,14,18,21,25,29,33,37,40,44,48,52,56,59,63,67,71,74,78},
  /*56*/ { 2, 6,10,14,18,22,26,29,33,37,41,45,49,53,57,60,64,68,72,76,80},
  /*57*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,61,65,69,73,77,81},
  /*58*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*59*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,60,64,68,72,76,80,81},
  /*60*/ { 3, 7,11,15,19,23,27,32,36,40,44,48,52,56,61,65,69,73,77,81,99},
  /*61*/ { 3, 7,11,15,19,24,28,32,36,40,45,49,53,57,62,66,70,74,78,81,99},
  /*62*/ { 3, 7,11,15,20,24,28,33,37,41,45,50,54,58,63,67,71,75,80,81,99},
  /*63*/ { 3, 7,11,16,20,24,29,33,37,42,46,50,55,59,64,68,72,77,81,99,99},
  /*64*/ { 3, 7,12,16,20,25,29,34,38,42,47,51,56,60,65,69,73,78,81,99,99},
  /*65*/ { 3, 7,12,16,21,25,30,34,39,43,48,52,57,61,66,70,74,79,81,99,99},
  /*66*/ { 3, 7,12,16,21,26,30,35,39,44,48,53,57,62,67,71,76,80,81,99,99},
  /*67*/ { 3, 7,12,17,21,26,31,35,40,44,49,54,58,63,68,72,77,81,99,99,99},
  /*68*/ { 3, 8,12,17,22,26,31,36,40,45,50,54,59,64,69,73,78,81,99,99,99},
  /*69*/ { 3, 8,12,17,22,27,31,36,41,46,50,55,60,65,70,74,79,81,99,99,99},
  /*70*/ { 3, 8,13,17,22,27,32,37,42,46,51,56,61,66,71,75,80,81,99,99,99},
  /*71*/ { 3, 8,13,18,23,27,32,37,42,47,52,57,62,67,72,76,81,99,99,99,99},
  /*72*/ { 3, 8,13,18,23,28,33,38,43,48,53,58,63,68,73,77,81,99,99,99,99},
  /*73*/ { 3, 8,13,18,23,28,33,38,43,48,53,58,63,68,74,79,81,99,99,99,99},
  /*74*/ { 3, 8,13,18,23,29,34,39,44,49,54,59,64,69,75,80,81,99,99,99,99},
  /*75*/ { 3, 8,13,19,24,29,34,39,44,50,55,60,65,70,76,81,99,99,99,99,99},
  /*76*/ { 3, 8,14,19,24,29,35,40,45,50,56,61,66,71,77,81,99,99,99,99,99},
  /*77*/ { 3, 8,14,19,24,30,35,40,46,51,56,62,67,72,78,81,99,99,99,99,99},
  /*78*/ { 3, 9,14,19,25,30,35,41,46,52,57,62,68,73,79,81,99,99,99,99,99},
  /*79*/ { 3, 9,14,20,25,30,36,41,47,52,58,63,69,74,80,81,99,99,99,99,99}
  }},
/* DY = 16 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3},
  /* 2*/ { 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4},
  /* 3*/ { 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5},
  /* 4*/ { 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 7},
  /* 5*/ { 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 8, 8},
  /* 6*/ { 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 8, 8, 9, 9},
  /* 7*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 8, 9, 9,10,10},
  /* 8*/ { 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,11,11,12},
  /* 9*/ { 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9,10,10,11,12,12,13},
  /*10*/ { 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9,10,10,11,11,12,13,13,14},
  /*11*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 7, 8, 9,10,10,11,12,12,13,14,15,15},
  /*12*/ { 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9,10,10,11,12,13,13,14,15,16,17},
  /*13*/ { 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 9,10,11,12,13,14,14,15,16,17,18},
  /*14*/ { 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,11,12,13,14,15,15,16,17,18,19},
  /*15*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,16,17,18,19,20},
  /*16*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,17,18,19,20,21,22},
  /*17*/ { 1, 2, 3, 4, 5, 7, 8, 9,10,11,12,13,14,15,16,18,19,20,21,22,23},
  /*18*/ { 1, 2, 3, 5, 6, 7, 8, 9,10,12,13,14,15,16,17,19,20,21,22,23,24},
  /*19*/ { 1, 2, 4, 5, 6, 7, 8,10,11,12,13,15,16,17,18,20,21,22,23,24,26},
  /*20*/ { 1, 2, 4, 5, 6, 8, 9,10,11,13,14,15,17,18,19,21,22,23,24,26,27},
  /*21*/ { 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,22,23,24,26,27,28},
  /*22*/ { 1, 3, 4, 5, 7, 8,10,11,13,14,15,17,18,20,21,23,24,25,27,28,30},
  /*23*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,16,18,19,21,22,24,25,26,28,29,31},
  /*24*/ { 1, 3, 4, 6, 7, 9,11,12,14,15,17,18,20,21,23,25,26,28,29,31,32},
  /*25*/ { 1, 3, 5, 6, 8, 9,11,13,14,16,17,19,21,22,24,26,27,29,30,32,34},
  /*26*/ { 1, 3, 5, 6, 8,10,11,13,15,16,18,20,21,23,25,27,28,30,32,33,35},
  /*27*/ { 1, 3, 5, 7, 8,10,12,14,15,17,19,21,22,24,26,28,29,31,33,34,36},
  /*28*/ { 1, 3, 5, 7, 9,10,12,14,16,18,19,21,23,25,27,29,30,32,34,36,38},
  /*29*/ { 1, 3, 5, 7, 9,11,13,15,16,18,20,22,24,26,28,30,31,33,35,37,39},
  /*30*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,32,34,36,38,40},
  /*31*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*32*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,33,35,37,39,41,43},
  /*33*/ { 2, 4, 6, 8,10,12,14,16,19,21,23,25,27,29,31,34,36,38,40,42,44},
  /*34*/ { 2, 4, 6, 8,10,13,15,17,19,21,24,26,28,30,32,35,37,39,41,43,45},
  /*35*/ { 2, 4, 6, 8,11,13,15,17,20,22,24,26,29,31,33,36,38,40,42,45,47},
  /*36*/ { 2, 4, 6, 9,11,13,16,18,20,23,25,27,30,32,34,37,39,41,43,46,48},
  /*37*/ { 2, 4, 6, 9,11,14,16,18,21,23,26,28,30,33,35,38,40,42,45,47,49},
  /*38*/ { 2, 4, 7, 9,12,14,16,19,21,24,26,29,31,34,36,39,41,43,46,48,51},
  /*39*/ { 2, 4, 7, 9,12,14,17,19,22,24,27,29,32,34,37,40,42,45,47,50,52},
  /*40*/ { 2, 4, 7,10,12,15,17,20,22,25,28,30,33,35,38,41,43,46,48,51,53},
  /*41*/ { 2, 4, 7,10,12,15,18,20,23,26,28,31,34,36,39,42,44,47,49,52,55},
  /*42*/ { 2, 5, 7,10,13,15,18,21,24,26,29,32,34,37,40,43,45,48,51,53,56},
  /*43*/ { 2, 5, 7,10,13,16,19,21,24,27,30,32,35,38,41,44,46,49,52,55,57},
  /*44*/ { 2, 5, 8,10,13,16,19,22,25,27,30,33,36,39,42,45,47,50,53,56,59},
  /*45*/ { 2, 5, 8,11,14,16,19,22,25,28,31,34,37,40,43,46,48,51,54,57,60},
  /*46*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,47,49,52,55,58,61},
  /*47*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,48,51,54,57,60,63},
  /*48*/ { 2, 5, 8,11,14,18,21,24,27,30,33,36,39,42,45,49,52,55,58,61,64},
  /*49*/ { 2, 5, 8,12,15,18,21,24,27,31,34,37,40,43,46,50,53,56,59,62,65},
  /*50*/ { 2, 5, 9,12,15,18,21,25,28,31,34,38,41,44,47,51,54,57,60,63,67},
  /*51*/ { 2, 5, 9,12,15,19,22,25,28,32,35,38,42,45,48,52,55,58,61,65,68},
  /*52*/ { 2, 6, 9,12,16,19,22,26,29,32,36,39,42,46,49,53,56,59,63,66,69},
  /*53*/ { 2, 6, 9,12,16,19,23,26,30,33,36,40,43,47,50,54,57,60,64,67,71},
  /*54*/ { 2, 6, 9,13,16,20,23,27,30,34,37,41,44,48,51,55,58,61,65,68,72},
  /*55*/ { 2, 6, 9,13,16,20,24,27,31,34,38,41,45,48,52,56,59,63,66,70,73},
  /*56*/ { 2, 6,10,13,17,20,24,28,31,35,38,42,46,49,53,57,60,64,67,71,75},
  /*57*/ { 2, 6,10,13,17,21,24,28,32,35,39,43,46,50,54,58,61,65,69,72,76},
  /*58*/ { 2, 6,10,14,17,21,25,29,32,36,40,44,47,51,55,59,62,66,70,73,77},
  /*59*/ { 2, 6,10,14,18,21,25,29,33,37,40,44,48,52,56,60,63,67,71,75,79},
  /*60*/ { 2, 6,10,14,18,22,26,30,33,37,41,45,49,53,57,61,64,68,72,76,80},
  /*61*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,65,69,73,77,81},
  /*62*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*63*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,64,68,72,76,80,81},
  /*64*/ { 3, 7,11,15,19,23,27,31,36,40,44,48,52,56,60,65,69,73,77,81,99},
  /*65*/ { 3, 7,11,15,19,24,28,32,36,40,45,49,53,57,61,66,70,74,78,81,99},
  /*66*/ { 3, 7,11,15,20,24,28,32,37,41,45,49,54,58,62,67,71,75,79,81,99},
  /*67*/ { 3, 7,11,16,20,24,29,33,37,42,46,50,55,59,63,68,72,76,80,81,99},
  /*68*/ { 3, 7,11,16,20,25,29,33,38,42,47,51,55,60,64,69,73,77,81,99,99},
  /*69*/ { 3, 7,12,16,21,25,29,34,38,43,47,52,56,61,65,70,74,78,81,99,99},
  /*70*/ { 3, 7,12,16,21,25,30,34,39,43,48,52,57,61,66,71,75,80,81,99,99},
  /*71*/ { 3, 7,12,17,21,26,30,35,39,44,49,53,58,62,67,72,76,81,99,99,99},
  /*72*/ { 3, 7,12,17,21,26,31,35,40,45,49,54,59,63,68,73,77,81,99,99,99},
  /*73*/ { 3, 8,12,17,22,26,31,36,41,45,50,55,59,64,69,74,78,81,99,99,99},
  /*74*/ { 3, 8,12,17,22,27,32,36,41,46,51,55,60,65,70,75,79,81,99,99,99},
  /*75*/ { 3, 8,13,17,22,27,32,37,42,46,51,56,61,66,71,76,80,81,99,99,99},
  /*76*/ { 3, 8,13,18,23,27,32,37,42,47,52,57,62,67,72,77,81,99,99,99,99},
  /*77*/ { 3, 8,13,18,23,28,33,38,43,48,53,58,63,68,73,78,81,99,99,99,99},
  /*78*/ { 3, 8,13,18,23,28,33,38,43,48,53,58,63,68,73,79,81,99,99,99,99},
  /*79*/ { 3, 8,13,18,23,29,34,39,44,49,54,59,64,69,74,80,81,99,99,99,99}
  }},
/* DY = 17 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2},
  /* 1*/ { 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3},
  /* 2*/ { 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4},
  /* 3*/ { 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5},
  /* 4*/ { 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6},
  /* 5*/ { 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7},
  /* 6*/ { 1, 1, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 9},
  /* 7*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8, 8, 9, 9,10},
  /* 8*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11},
  /* 9*/ { 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9,10,10,11,12,12},
  /*10*/ { 1, 2, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 8, 9,10,10,11,11,12,13,13},
  /*11*/ { 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9,10,10,11,12,12,13,14,15},
  /*12*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,11,11,12,13,13,14,15,16},
  /*13*/ { 1, 2, 3, 3, 4, 5, 6, 7, 7, 8, 9,10,11,11,12,13,14,14,15,16,17},
  /*14*/ { 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,10,11,12,13,14,15,15,16,17,18},
  /*15*/ { 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,11,12,13,14,15,16,16,17,18,19},
  /*16*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,17,18,19,20},
  /*17*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,18,19,20,21,22},
  /*18*/ { 1, 2, 3, 4, 5, 7, 8, 9,10,11,12,13,14,15,16,17,19,20,21,22,23},
  /*19*/ { 1, 2, 3, 5, 6, 7, 8, 9,10,11,13,14,15,16,17,18,20,21,22,23,24},
  /*20*/ { 1, 2, 4, 5, 6, 7, 8,10,11,12,13,14,16,17,18,19,21,22,23,24,25},
  /*21*/ { 1, 2, 4, 5, 6, 8, 9,10,11,13,14,15,16,18,19,20,22,23,24,25,27},
  /*22*/ { 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,23,24,25,27,28},
  /*23*/ { 1, 3, 4, 5, 7, 8,10,11,12,14,15,17,18,19,21,22,24,25,26,28,29},
  /*24*/ { 1, 3, 4, 6, 7, 9,10,11,13,14,16,17,19,20,22,23,25,26,27,29,30},
  /*25*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,16,18,19,21,22,24,26,27,29,30,32},
  /*26*/ { 1, 3, 4, 6, 8, 9,11,12,14,15,17,19,20,22,23,25,27,28,30,31,33},
  /*27*/ { 1, 3, 5, 6, 8,10,11,13,14,16,18,19,21,23,24,26,28,29,31,32,34},
  /*28*/ { 1, 3, 5, 6, 8,10,12,13,15,17,18,20,22,23,25,27,29,30,32,34,35},
  /*29*/ { 1, 3, 5, 7, 8,10,12,14,15,17,19,21,22,24,26,28,30,31,33,35,37},
  /*30*/ { 1, 3, 5, 7, 9,11,12,14,16,18,20,21,23,25,27,29,31,32,34,36,38},
  /*31*/ { 1, 3, 5, 7, 9,11,13,15,16,18,20,22,24,26,28,30,32,33,35,37,39},
  /*32*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,34,36,38,40},
  /*33*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*34*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,35,37,39,41,43},
  /*35*/ { 2, 4, 6, 8,10,12,14,16,19,21,23,25,27,29,31,33,36,38,40,42,44},
  /*36*/ { 2, 4, 6, 8,10,13,15,17,19,21,23,26,28,30,32,34,37,39,41,43,45},
  /*37*/ { 2, 4, 6, 8,11,13,15,17,20,22,24,26,29,31,33,35,38,40,42,44,46},
  /*38*/ { 2, 4, 6, 9,11,13,15,18,20,22,25,27,29,32,34,36,39,41,43,45,48},
  /*39*/ { 2, 4, 6, 9,11,14,16,18,21,23,25,28,30,32,35,37,40,42,44,47,49},
  /*40*/ { 2, 4, 7, 9,11,14,16,19,21,24,26,28,31,33,36,38,41,43,45,48,50},
  /*41*/ { 2, 4, 7, 9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,46,49,51},
  /*42*/ { 2, 4, 7, 9,12,15,17,20,22,25,27,30,32,35,37,40,43,45,48,50,53},
  /*43*/ { 2, 4, 7,10,12,15,17,20,23,25,28,30,33,36,38,41,44,46,49,51,54},
  /*44*/ { 2, 5, 7,10,13,15,18,21,23,26,29,31,34,37,39,42,45,47,50,53,55},
  /*45*/ { 2, 5, 7,10,13,16,18,21,24,26,29,32,35,37,40,43,46,48,51,54,56},
  /*46*/ { 2, 5, 7,10,13,16,19,21,24,27,30,33,35,38,41,44,47,49,52,55,58},
  /*47*/ { 2, 5, 8,10,13,16,19,22,25,28,30,33,36,39,42,45,48,50,53,56,59},
  /*48*/ { 2, 5, 8,11,14,17,19,22,25,28,31,34,37,40,43,46,49,51,54,57,60},
  /*49*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,52,55,58,61},
  /*50*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,47,51,54,57,60,63},
  /*51*/ { 2, 5, 8,11,14,18,21,24,27,30,33,36,39,42,45,48,52,55,58,61,64},
  /*52*/ { 2, 5, 8,12,15,18,21,24,27,30,34,37,40,43,46,49,53,56,59,62,65},
  /*53*/ { 2, 5, 9,12,15,18,21,25,28,31,34,37,41,44,47,50,54,57,60,63,66},
  /*54*/ { 2, 5, 9,12,15,19,22,25,28,32,35,38,41,45,48,51,55,58,61,64,68},
  /*55*/ { 2, 6, 9,12,16,19,22,26,29,32,36,39,42,46,49,52,56,59,62,66,69},
  /*56*/ { 2, 6, 9,12,16,19,23,26,29,33,36,40,43,46,50,53,57,60,63,67,70},
  /*57*/ { 2, 6, 9,13,16,20,23,26,30,33,37,40,44,47,51,54,58,61,64,68,71},
  /*58*/ { 2, 6, 9,13,16,20,23,27,30,34,37,41,44,48,51,55,59,62,66,69,73},
  /*59*/ { 2, 6, 9,13,17,20,24,27,31,34,38,42,45,49,52,56,60,63,67,70,74},
  /*60*/ { 2, 6,10,13,17,21,24,28,31,35,39,42,46,50,53,57,61,64,68,71,75},
  /*61*/ { 2, 6,10,13,17,21,25,28,32,36,39,43,47,50,54,58,62,65,69,73,76},
  /*62*/ { 2, 6,10,14,17,21,25,29,32,36,40,44,47,51,55,59,63,66,70,74,78},
  /*63*/ { 2, 6,10,14,18,22,25,29,33,37,41,44,48,52,56,60,64,67,71,75,79},
  /*64*/ { 2, 6,10,14,18,22,26,30,33,37,41,45,49,53,57,61,65,68,72,76,80},
  /*65*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,69,73,77,81},
  /*66*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*67*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,68,72,76,80,81},
  /*68*/ { 3, 7,11,15,19,23,27,31,36,40,44,48,52,56,60,64,69,73,77,81,99},
  /*69*/ { 3, 7,11,15,19,24,28,32,36,40,44,49,53,57,61,65,70,74,78,81,99},
  /*70*/ { 3, 7,11,15,20,24,28,32,37,41,45,49,54,58,62,66,71,75,79,81,99},
  /*71*/ { 3, 7,11,16,20,24,28,33,37,41,46,50,54,59,63,67,72,76,80,81,99},
  /*72*/ { 3, 7,11,16,20,25,29,33,38,42,46,51,55,59,64,68,73,77,81,99,99},
  /*73*/ { 3, 7,12,16,20,25,29,34,38,43,47,51,56,60,65,69,74,78,81,99,99},
  /*74*/ { 3, 7,12,16,21,25,30,34,39,43,48,52,57,61,66,70,75,79,81,99,99},
  /*75*/ { 3, 7,12,16,21,26,30,35,39,44,48,53,57,62,66,71,76,80,81,99,99},
  /*76*/ { 3, 7,12,17,21,26,30,35,40,44,49,53,58,63,67,72,77,81,99,99,99},
  /*77*/ { 3, 8,12,17,22,26,31,36,40,45,50,54,59,64,68,73,78,81,99,99,99},
  /*78*/ { 3, 8,12,17,22,27,31,36,41,45,50,55,60,64,69,74,79,81,99,99,99},
  /*79*/ { 3, 8,12,17,22,27,32,36,41,46,51,56,60,65,70,75,80,81,99,99,99}
  }},
/* DY = 18 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2},
  /* 1*/ { 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3},
  /* 2*/ { 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4},
  /* 3*/ { 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5},
  /* 4*/ { 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6},
  /* 5*/ { 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7},
  /* 6*/ { 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8},
  /* 7*/ { 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8, 9, 9},
  /* 8*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 9,10,10},
  /* 9*/ { 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11,12},
  /*10*/ { 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 9, 9,10,10,11,11,12,13},
  /*11*/ { 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 9, 9,10,11,11,12,12,13,14},
  /*12*/ { 1, 2, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 9,10,11,11,12,13,13,14,15},
  /*13*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,11,11,12,13,14,14,15,16},
  /*14*/ { 1, 2, 3, 3, 4, 5, 6, 7, 7, 8, 9,10,11,11,12,13,14,15,15,16,17},
  /*15*/ { 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,10,11,12,13,14,15,16,16,17,18},
  /*16*/ { 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,11,12,13,14,15,16,17,17,18,19},
  /*17*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,18,19,20},
  /*18*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,19,20,21,22},
  /*19*/ { 1, 2, 3, 4, 5, 6, 8, 9,10,11,12,13,14,15,16,17,18,20,21,22,23},
  /*20*/ { 1, 2, 3, 5, 6, 7, 8, 9,10,11,13,14,15,16,17,18,19,21,22,23,24},
  /*21*/ { 1, 2, 4, 5, 6, 7, 8,10,11,12,13,14,16,17,18,19,20,22,23,24,25},
  /*22*/ { 1, 2, 4, 5, 6, 7, 9,10,11,12,14,15,16,17,19,20,21,23,24,25,26},
  /*23*/ { 1, 2, 4, 5, 6, 8, 9,10,12,13,14,16,17,18,20,21,22,24,25,26,27},
  /*24*/ { 1, 3, 4, 5, 7, 8, 9,11,12,14,15,16,18,19,20,22,23,25,26,27,29},
  /*25*/ { 1, 3, 4, 6, 7, 8,10,11,13,14,16,17,18,20,21,23,24,26,27,28,30},
  /*26*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,16,18,19,21,22,24,25,27,28,29,31},
  /*27*/ { 1, 3, 4, 6, 7, 9,11,12,14,15,17,18,20,21,23,24,26,28,29,31,32},
  /*28*/ { 1, 3, 5, 6, 8, 9,11,13,14,16,17,19,21,22,24,25,27,29,30,32,33},
  /*29*/ { 1, 3, 5, 6, 8,10,11,13,15,16,18,20,21,23,25,26,28,30,31,33,34},
  /*30*/ { 1, 3, 5, 7, 8,10,12,13,15,17,19,20,22,24,25,27,29,31,32,34,36},
  /*31*/ { 1, 3, 5, 7, 8,10,12,14,16,17,19,21,23,24,26,28,30,32,33,35,37},
  /*32*/ { 1, 3, 5, 7, 9,11,12,14,16,18,20,22,23,25,27,29,31,33,34,36,38},
  /*33*/ { 1, 3, 5, 7, 9,11,13,15,17,18,20,22,24,26,28,30,32,34,35,37,39},
  /*34*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,36,38,40},
  /*35*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*36*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,37,39,41,43},
  /*37*/ { 2, 4, 6, 8,10,12,14,16,18,21,23,25,27,29,31,33,35,38,40,42,44},
  /*38*/ { 2, 4, 6, 8,10,12,15,17,19,21,23,25,28,30,32,34,36,39,41,43,45},
  /*39*/ { 2, 4, 6, 8,11,13,15,17,19,22,24,26,28,31,33,35,37,40,42,44,46},
  /*40*/ { 2, 4, 6, 9,11,13,15,18,20,22,25,27,29,31,34,36,38,41,43,45,47},
  /*41*/ { 2, 4, 6, 9,11,13,16,18,20,23,25,27,30,32,34,37,39,42,44,46,49},
  /*42*/ { 2, 4, 7, 9,11,14,16,19,21,23,26,28,31,33,35,38,40,43,45,47,50},
  /*43*/ { 2, 4, 7, 9,12,14,16,19,21,24,26,29,31,34,36,39,41,44,46,48,51},
  /*44*/ { 2, 4, 7, 9,12,14,17,19,22,24,27,29,32,34,37,39,42,45,47,50,52},
  /*45*/ { 2, 4, 7,10,12,15,17,20,22,25,28,30,33,35,38,40,43,46,48,51,53},
  /*46*/ { 2, 4, 7,10,12,15,18,20,23,25,28,31,33,36,39,41,44,47,49,52,54},
  /*47*/ { 2, 5, 7,10,13,15,18,21,23,26,29,31,34,37,39,42,45,48,50,53,56},
  /*48*/ { 2, 5, 7,10,13,16,18,21,24,27,29,32,35,38,40,43,46,49,51,54,57},
  /*49*/ { 2, 5, 8,10,13,16,19,22,24,27,30,33,36,38,41,44,47,50,52,55,58},
  /*50*/ { 2, 5, 8,11,13,16,19,22,25,28,31,33,36,39,42,45,48,51,53,56,59},
  /*51*/ { 2, 5, 8,11,14,17,19,22,25,28,31,34,37,40,43,46,49,52,54,57,60},
  /*52*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,55,58,61},
  /*53*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,54,57,60,63},
  /*54*/ { 2, 5, 8,11,14,17,21,24,27,30,33,36,39,42,45,48,51,55,58,61,64},
  /*55*/ { 2, 5, 8,12,15,18,21,24,27,30,34,37,40,43,46,49,52,56,59,62,65},
  /*56*/ { 2, 5, 9,12,15,18,21,25,28,31,34,37,41,44,47,50,53,57,60,63,66},
  /*57*/ { 2, 5, 9,12,15,18,22,25,28,31,35,38,41,44,48,51,54,58,61,64,67},
  /*58*/ { 2, 5, 9,12,15,19,22,25,29,32,35,39,42,45,49,52,55,59,62,65,68},
  /*59*/ { 2, 6, 9,12,16,19,22,26,29,33,36,39,43,46,49,53,56,60,63,66,70},
  /*60*/ { 2, 6, 9,13,16,19,23,26,30,33,37,40,43,47,50,54,57,61,64,67,71},
  /*61*/ { 2, 6, 9,13,16,20,23,27,30,34,37,41,44,48,51,55,58,62,65,68,72},
  /*62*/ { 2, 6, 9,13,16,20,24,27,31,34,38,41,45,48,52,55,59,63,66,70,73},
  /*63*/ { 2, 6,10,13,17,20,24,28,31,35,38,42,46,49,53,56,60,64,67,71,74},
  /*64*/ { 2, 6,10,13,17,21,24,28,32,35,39,43,46,50,54,57,61,65,68,72,75},
  /*65*/ { 2, 6,10,14,17,21,25,28,32,36,40,43,47,51,54,58,62,66,69,73,77},
  /*66*/ { 2, 6,10,14,17,21,25,29,33,36,40,44,48,51,55,59,63,67,70,74,78},
  /*67*/ { 2, 6,10,14,18,22,25,29,33,37,41,45,48,52,56,60,64,68,71,75,79},
  /*68*/ { 2, 6,10,14,18,22,26,30,34,37,41,45,49,53,57,61,65,69,72,76,80},
  /*69*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,73,77,81},
  /*70*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*71*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,72,76,80,81},
  /*72*/ { 3, 7,11,15,19,23,27,31,35,40,44,48,52,56,60,64,68,73,77,81,99},
  /*73*/ { 3, 7,11,15,19,23,28,32,36,40,44,48,53,57,61,65,69,74,78,81,99},
  /*74*/ { 3, 7,11,15,20,24,28,32,36,41,45,49,53,58,62,66,70,75,79,81,99},
  /*75*/ { 3, 7,11,16,20,24,28,33,37,41,46,50,54,58,63,67,71,76,80,81,99},
  /*76*/ { 3, 7,11,16,20,24,29,33,37,42,46,50,55,59,63,68,72,77,81,99,99},
  /*77*/ { 3, 7,12,16,20,25,29,34,38,42,47,51,56,60,64,69,73,78,81,99,99},
  /*78*/ { 3, 7,12,16,21,25,29,34,38,43,47,52,56,61,65,70,74,79,81,99,99},
  /*79*/ { 3, 7,12,16,21,25,30,34,39,43,48,52,57,61,66,70,75,80,81,99,99}
  }},
/* DY = 19 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2},
  /* 1*/ { 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3},
  /* 2*/ { 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4},
  /* 3*/ { 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5},
  /* 4*/ { 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6},
  /* 5*/ { 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7},
  /* 6*/ { 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8},
  /* 7*/ { 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 8, 8, 8, 9},
  /* 8*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 9,10},
  /* 9*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11},
  /*10*/ { 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9,10,10,11,11,12},
  /*11*/ { 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9,10,11,11,12,12,13},
  /*12*/ { 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9,10,10,11,12,12,13,13,14},
  /*13*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 7, 8, 9,10,10,11,12,12,13,14,14,15},
  /*14*/ { 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,11,12,12,13,14,15,15,16},
  /*15*/ { 1, 2, 3, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,12,13,14,15,16,16,17},
  /*16*/ { 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,11,11,12,13,14,15,16,17,17,18},
  /*17*/ { 1, 2, 3, 4, 5, 6, 7, 7, 8, 9,10,11,12,13,14,15,16,17,18,18,19},
  /*18*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,19,20},
  /*19*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,20,21,22},
  /*20*/ { 1, 2, 3, 4, 5, 6, 8, 9,10,11,12,13,14,15,16,17,18,19,21,22,23},
  /*21*/ { 1, 2, 3, 4, 6, 7, 8, 9,10,11,12,14,15,16,17,18,19,20,22,23,24},
  /*22*/ { 1, 2, 3, 5, 6, 7, 8, 9,11,12,13,14,15,17,18,19,20,21,23,24,25},
  /*23*/ { 1, 2, 4, 5, 6, 7, 9,10,11,12,14,15,16,17,19,20,21,22,24,25,26},
  /*24*/ { 1, 2, 4, 5, 6, 8, 9,10,12,13,14,15,17,18,19,21,22,23,25,26,27},
  /*25*/ { 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,23,24,26,27,28},
  /*26*/ { 1, 3, 4, 5, 7, 8,10,11,12,14,15,17,18,19,21,22,24,25,27,28,29},
  /*27*/ { 1, 3, 4, 6, 7, 9,10,11,13,14,16,17,19,20,22,23,25,26,28,29,30},
  /*28*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,16,18,19,21,22,24,25,27,29,30,32},
  /*29*/ { 1, 3, 4, 6, 8, 9,11,12,14,15,17,19,20,22,23,25,26,28,30,31,33},
  /*30*/ { 1, 3, 5, 6, 8, 9,11,13,14,16,18,19,21,22,24,26,27,29,31,32,34},
  /*31*/ { 1, 3, 5, 6, 8,10,11,13,15,16,18,20,21,23,25,26,28,30,32,33,35},
  /*32*/ { 1, 3, 5, 7, 8,10,12,13,15,17,19,20,22,24,26,27,29,31,33,34,36},
  /*33*/ { 1, 3, 5, 7, 9,10,12,14,16,17,19,21,23,25,26,28,30,32,34,35,37},
  /*34*/ { 1, 3, 5, 7, 9,11,12,14,16,18,20,22,23,25,27,29,31,33,35,36,38},
  /*35*/ { 1, 3, 5, 7, 9,11,13,15,17,18,20,22,24,26,28,30,32,34,36,37,39},
  /*36*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,38,40},
  /*37*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*38*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,39,41,43},
  /*39*/ { 2, 4, 6, 8,10,12,14,16,18,21,23,25,27,29,31,33,35,37,40,42,44},
  /*40*/ { 2, 4, 6, 8,10,12,15,17,19,21,23,25,28,30,32,34,36,38,41,43,45},
  /*41*/ { 2, 4, 6, 8,10,13,15,17,19,22,24,26,28,30,33,35,37,39,42,44,46},
  /*42*/ { 2, 4, 6, 8,11,13,15,18,20,22,24,27,29,31,33,36,38,40,43,45,47},
  /*43*/ { 2, 4, 6, 9,11,13,16,18,20,23,25,27,30,32,34,37,39,41,44,46,48},
  /*44*/ { 2, 4, 6, 9,11,14,16,18,21,23,25,28,30,33,35,37,40,42,45,47,49},
  /*45*/ { 2, 4, 7, 9,11,14,16,19,21,24,26,28,31,33,36,38,41,43,46,48,50},
  /*46*/ { 2, 4, 7, 9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,49,51},
  /*47*/ { 2, 4, 7, 9,12,14,17,20,22,25,27,30,32,35,37,40,42,45,48,50,53},
  /*48*/ { 2, 4, 7,10,12,15,17,20,23,25,28,30,33,36,38,41,43,46,49,51,54},
  /*49*/ { 2, 4, 7,10,12,15,18,20,23,26,28,31,34,36,39,42,44,47,50,52,55},
  /*50*/ { 2, 5, 7,10,13,15,18,21,23,26,29,32,34,37,40,42,45,48,51,53,56},
  /*51*/ { 2, 5, 7,10,13,16,18,21,24,27,29,32,35,38,40,43,46,49,52,54,57},
  /*52*/ { 2, 5, 8,10,13,16,19,22,24,27,30,33,36,38,41,44,47,50,53,55,58},
  /*53*/ { 2, 5, 8,11,13,16,19,22,25,28,31,33,36,39,42,45,48,51,54,56,59},
  /*54*/ { 2, 5, 8,11,14,17,19,22,25,28,31,34,37,40,43,46,49,52,55,57,60},
  /*55*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,58,61},
  /*56*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,57,60,63},
  /*57*/ { 2, 5, 8,11,14,17,21,24,27,30,33,36,39,42,45,48,51,54,58,61,64},
  /*58*/ { 2, 5, 8,11,15,18,21,24,27,30,33,37,40,43,46,49,52,55,59,62,65},
  /*59*/ { 2, 5, 8,12,15,18,21,24,28,31,34,37,40,44,47,50,53,56,60,63,66},
  /*60*/ { 2, 5, 9,12,15,18,22,25,28,31,35,38,41,44,48,51,54,57,61,64,67},
  /*61*/ { 2, 5, 9,12,15,19,22,25,29,32,35,38,42,45,48,52,55,58,62,65,68},
  /*62*/ { 2, 6, 9,12,16,19,22,26,29,32,36,39,42,46,49,52,56,59,63,66,69},
  /*63*/ { 2, 6, 9,12,16,19,23,26,29,33,36,40,43,46,50,53,57,60,64,67,70},
  /*64*/ { 2, 6, 9,13,16,20,23,26,30,33,37,40,44,47,51,54,58,61,65,68,71},
  /*65*/ { 2, 6, 9,13,16,20,23,27,30,34,37,41,44,48,51,55,58,62,66,69,73},
  /*66*/ { 2, 6, 9,13,17,20,24,27,31,34,38,42,45,49,52,56,59,63,67,70,74},
  /*67*/ { 2, 6,10,13,17,20,24,28,31,35,39,42,46,49,53,57,60,64,68,71,75},
  /*68*/ { 2, 6,10,13,17,21,24,28,32,35,39,43,46,50,54,57,61,65,69,72,76},
  /*69*/ { 2, 6,10,14,17,21,25,28,32,36,40,43,47,51,55,58,62,66,70,73,77},
  /*70*/ { 2, 6,10,14,18,21,25,29,33,36,40,44,48,52,55,59,63,67,71,74,78},
  /*71*/ { 2, 6,10,14,18,22,25,29,33,37,41,45,48,52,56,60,64,68,72,75,79},
  /*72*/ { 2, 6,10,14,18,22,26,30,34,37,41,45,49,53,57,61,65,69,73,76,80},
  /*73*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,77,81},
  /*74*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*75*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,76,80,81},
  /*76*/ { 3, 7,11,15,19,23,27,31,35,40,44,48,52,56,60,64,68,72,77,81,99},
  /*77*/ { 3, 7,11,15,19,23,28,32,36,40,44,48,53,57,61,65,69,73,78,81,99},
  /*78*/ { 3, 7,11,15,19,24,28,32,36,41,45,49,53,57,62,66,70,74,79,81,99},
  /*79*/ { 3, 7,11,15,20,24,28,33,37,41,45,50,54,58,62,67,71,75,80,81,99}
  }},
/* DY = 20 (- 1)*/
  {{
  /* 0*/ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
  /* 1*/ { 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},
  /* 2*/ { 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3},
  /* 3*/ { 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4},
  /* 4*/ { 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5},
  /* 5*/ { 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6},
  /* 6*/ { 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7},
  /* 7*/ { 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 8, 8, 8},
  /* 8*/ { 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 7, 8, 8, 9, 9, 9},
  /* 9*/ { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,10},
  /*10*/ { 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11,11},
  /*11*/ { 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 8, 9,10,10,11,11,12,12},
  /*12*/ { 1, 2, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 8, 9,10,10,11,12,12,13,13},
  /*13*/ { 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9,10,10,11,12,12,13,14,14},
  /*14*/ { 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,10,11,12,13,13,14,15,15},
  /*15*/ { 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9,10,10,11,12,13,13,14,15,16,16},
  /*16*/ { 1, 2, 3, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,13,13,14,15,16,17,17},
  /*17*/ { 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,11,11,12,13,14,15,16,17,18,18},
  /*18*/ { 1, 2, 3, 4, 5, 6, 7, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,19},
  /*19*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,20},
  /*20*/ { 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,21,22},
  /*21*/ { 1, 2, 3, 4, 5, 6, 8, 9,10,11,12,13,14,15,16,17,18,19,20,22,23},
  /*22*/ { 1, 2, 3, 4, 6, 7, 8, 9,10,11,12,13,15,16,17,18,19,20,21,23,24},
  /*23*/ { 1, 2, 3, 5, 6, 7, 8, 9,11,12,13,14,15,16,18,19,20,21,22,24,25},
  /*24*/ { 1, 2, 4, 5, 6, 7, 9,10,11,12,13,15,16,17,18,20,21,22,23,25,26},
  /*25*/ { 1, 2, 4, 5, 6, 8, 9,10,11,13,14,15,17,18,19,20,22,23,24,26,27},
  /*26*/ { 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,23,24,25,27,28},
  /*27*/ { 1, 3, 4, 5, 7, 8,10,11,12,14,15,16,18,19,21,22,23,25,26,28,29},
  /*28*/ { 1, 3, 4, 6, 7, 8,10,11,13,14,16,17,18,20,21,23,24,26,27,29,30},
  /*29*/ { 1, 3, 4, 6, 7, 9,10,12,13,15,16,18,19,21,22,24,25,27,28,30,31},
  /*30*/ { 1, 3, 4, 6, 7, 9,11,12,14,15,17,18,20,21,23,24,26,27,29,31,32},
  /*31*/ { 1, 3, 4, 6, 8, 9,11,12,14,16,17,19,20,22,24,25,27,28,30,32,33},
  /*32*/ { 1, 3, 5, 6, 8,10,11,13,14,16,18,19,21,23,24,26,28,29,31,33,34},
  /*33*/ { 1, 3, 5, 6, 8,10,12,13,15,17,18,20,22,23,25,27,28,30,32,34,35},
  /*34*/ { 1, 3, 5, 7, 8,10,12,14,15,17,19,21,22,24,26,28,29,31,33,35,36},
  /*35*/ { 1, 3, 5, 7, 9,10,12,14,16,18,19,21,23,25,27,28,30,32,34,36,37},
  /*36*/ { 1, 3, 5, 7, 9,11,13,14,16,18,20,22,24,25,27,29,31,33,35,37,38},
  /*37*/ { 1, 3, 5, 7, 9,11,13,15,17,19,20,22,24,26,28,30,32,34,36,38,39},
  /*38*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,40},
  /*39*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42},
  /*40*/ { 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,41,43},
  /*41*/ { 2, 4, 6, 8,10,12,14,16,18,20,23,25,27,29,31,33,35,37,39,42,44},
  /*42*/ { 2, 4, 6, 8,10,12,15,17,19,21,23,25,27,30,32,34,36,38,40,43,45},
  /*43*/ { 2, 4, 6, 8,10,13,15,17,19,21,24,26,28,30,32,35,37,39,41,44,46},
  /*44*/ { 2, 4, 6, 8,11,13,15,17,20,22,24,26,29,31,33,35,38,40,42,45,47},
  /*45*/ { 2, 4, 6, 9,11,13,16,18,20,22,25,27,29,32,34,36,39,41,43,46,48},
  /*46*/ { 2, 4, 6, 9,11,13,16,18,21,23,25,28,30,32,35,37,39,42,44,47,49},
  /*47*/ { 2, 4, 7, 9,11,14,16,19,21,23,26,28,31,33,35,38,40,43,45,48,50},
  /*48*/ { 2, 4, 7, 9,12,14,17,19,21,24,26,29,31,34,36,39,41,44,46,49,51},
  /*49*/ { 2, 4, 7, 9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,50,52},
  /*50*/ { 2, 4, 7, 9,12,15,17,20,22,25,27,30,33,35,38,40,43,45,48,51,53},
  /*51*/ { 2, 4, 7,10,12,15,18,20,23,25,28,31,33,36,38,41,44,46,49,52,54},
  /*52*/ { 2, 5, 7,10,13,15,18,21,23,26,29,31,34,37,39,42,45,47,50,53,55},
  /*53*/ { 2, 5, 7,10,13,15,18,21,24,26,29,32,34,37,40,43,45,48,51,54,56},
  /*54*/ { 2, 5, 7,10,13,16,19,21,24,27,30,32,35,38,41,43,46,49,52,55,57},
  /*55*/ { 2, 5, 8,10,13,16,19,22,24,27,30,33,36,39,41,44,47,50,53,56,58},
  /*56*/ { 2, 5, 8,11,13,16,19,22,25,28,31,34,36,39,42,45,48,51,54,57,59},
  /*57*/ { 2, 5, 8,11,14,17,20,22,25,28,31,34,37,40,43,46,49,52,55,58,60},
  /*58*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59,61},
  /*59*/ { 2, 5, 8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,60,63},
  /*60*/ { 2, 5, 8,11,14,17,21,24,27,30,33,36,39,42,45,48,51,54,57,61,64},
  /*61*/ { 2, 5, 8,11,15,18,21,24,27,30,33,36,40,43,46,49,52,55,58,62,65},
  /*62*/ { 2, 5, 8,12,15,18,21,24,28,31,34,37,40,43,47,50,53,56,59,63,66},
  /*63*/ { 2, 5, 9,12,15,18,22,25,28,31,34,38,41,44,47,51,54,57,60,64,67},
  /*64*/ { 2, 5, 9,12,15,19,22,25,28,32,35,38,42,45,48,51,55,58,61,65,68},
  /*65*/ { 2, 6, 9,12,16,19,22,26,29,32,36,39,42,46,49,52,56,59,62,66,69},
  /*66*/ { 2, 6, 9,12,16,19,23,26,29,33,36,39,43,46,50,53,56,60,63,67,70},
  /*67*/ { 2, 6, 9,13,16,19,23,26,30,33,37,40,43,47,50,54,57,61,64,68,71},
  /*68*/ { 2, 6, 9,13,16,20,23,27,30,34,37,41,44,48,51,55,58,62,65,69,72},
  /*69*/ { 2, 6, 9,13,16,20,24,27,31,34,38,41,45,48,52,55,59,62,66,70,73},
  /*70*/ { 2, 6, 9,13,17,20,24,27,31,35,38,42,45,49,53,56,60,63,67,71,74},
  /*71*/ { 2, 6,10,13,17,21,24,28,31,35,39,42,46,50,53,57,61,64,68,72,75},
  /*72*/ { 2, 6,10,13,17,21,25,28,32,36,39,43,47,50,54,58,61,65,69,73,76},
  /*73*/ { 2, 6,10,14,17,21,25,29,32,36,40,44,47,51,55,59,62,66,70,74,77},
  /*74*/ { 2, 6,10,14,18,21,25,29,33,37,40,44,48,52,56,59,63,67,71,75,78},
  /*75*/ { 2, 6,10,14,18,22,26,29,33,37,41,45,49,52,56,60,64,68,72,76,79},
  /*76*/ { 2, 6,10,14,18,22,26,30,34,38,41,45,49,53,57,61,65,69,73,77,80},
  /*77*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,81},
  /*78*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,81},
  /*79*/ { 3, 7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,80,81}
  }},
}; /* close_table[] */
#endif /* !FAR_TABLE_ONLY */

#ifndef CLOSE_TABLE_ONLY

far2d far_table[FAR_MAX_SB_DY] = {
/* DY =  0 */
  {{
  /* 1(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /* 2(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /* 3(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /* 4(-1)*/ { 4,12,20,28,36,44,52,60,68,76,84,89,89,89,89,89,89,89,89,89},
  /* 5(-1)*/ { 5,15,25,35,45,55,65,75,85,89,89,89,89,89,89,89,89,89,89,89},
  /* 6(-1)*/ { 6,18,30,42,54,66,78,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /* 7(-1)*/ { 7,21,35,49,63,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /* 8(-1)*/ { 8,24,40,56,72,88,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /* 9(-1)*/ { 9,27,45,63,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*10(-1)*/ {10,30,50,70,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*11(-1)*/ {11,33,55,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*12(-1)*/ {12,36,60,84,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*13(-1)*/ {13,39,65,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*14(-1)*/ {14,42,70,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*15(-1)*/ {15,45,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*16(-1)*/ {16,48,80,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*17(-1)*/ {17,51,85,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*18(-1)*/ {18,54,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*19(-1)*/ {19,57,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*20(-1)*/ {20,60,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*21(-1)*/ {21,63,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*22(-1)*/ {22,66,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*23(-1)*/ {23,69,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*24(-1)*/ {24,72,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*25(-1)*/ {25,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*26(-1)*/ {26,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*27(-1)*/ {27,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*28(-1)*/ {28,84,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*29(-1)*/ {29,87,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*30(-1)*/ {30,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*31(-1)*/ {31,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*32(-1)*/ {32,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*33(-1)*/ {33,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*34(-1)*/ {34,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*35(-1)*/ {35,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*36(-1)*/ {36,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*37(-1)*/ {37,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*38(-1)*/ {38,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*39(-1)*/ {39,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*40(-1)*/ {40,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*41(-1)*/ {41,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*42(-1)*/ {42,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*43(-1)*/ {43,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*44(-1)*/ {44,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*45(-1)*/ {45,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*46(-1)*/ {46,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*47(-1)*/ {47,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*48(-1)*/ {48,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*49(-1)*/ {49,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*50(-1)*/ {50,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*51(-1)*/ {51,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*52(-1)*/ {52,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*53(-1)*/ {53,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*54(-1)*/ {54,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*55(-1)*/ {55,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*56(-1)*/ {56,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*57(-1)*/ {57,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*58(-1)*/ {58,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*59(-1)*/ {59,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*60(-1)*/ {60,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*61(-1)*/ {61,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*62(-1)*/ {62,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*63(-1)*/ {63,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*64(-1)*/ {64,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*65(-1)*/ {65,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*66(-1)*/ {66,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*67(-1)*/ {67,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*68(-1)*/ {68,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*69(-1)*/ {69,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*70(-1)*/ {70,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*71(-1)*/ {71,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*72(-1)*/ {72,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*73(-1)*/ {73,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*74(-1)*/ {74,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*75(-1)*/ {75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*76(-1)*/ {76,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*77(-1)*/ {77,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*78(-1)*/ {78,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*79(-1)*/ {79,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89}
  }},
/* DY =  1 */
  {{
  /* 1(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9},
  /* 2(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,16,18,19,20,22,23,24,26},
  /* 3(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /* 4(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,30,33,36,38,41,44,46,49,52},
  /* 5(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,41,45,48,51,55,58,61,65},
  /* 6(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /* 7(-1)*/ { 2, 7,11,16,21,25,30,35,39,44,49,53,58,63,67,72,77,81,86,89},
  /* 8(-1)*/ { 2, 8,13,18,24,29,34,40,45,50,56,61,66,72,77,82,88,89,89,89},
  /* 9(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*10(-1)*/ { 3,10,16,23,30,36,43,50,56,63,70,76,83,89,89,89,89,89,89,89},
  /*11(-1)*/ { 3,11,18,25,33,40,47,55,62,69,77,84,89,89,89,89,89,89,89,89},
  /*12(-1)*/ { 4,12,20,28,36,44,52,60,68,76,84,89,89,89,89,89,89,89,89,89},
  /*13(-1)*/ { 4,13,21,30,39,47,56,65,73,82,89,89,89,89,89,89,89,89,89,89},
  /*14(-1)*/ { 4,14,23,32,42,51,60,70,79,88,89,89,89,89,89,89,89,89,89,89},
  /*15(-1)*/ { 5,15,25,35,45,55,65,75,85,89,89,89,89,89,89,89,89,89,89,89},
  /*16(-1)*/ { 5,16,26,37,48,58,69,80,89,89,89,89,89,89,89,89,89,89,89,89},
  /*17(-1)*/ { 5,17,28,39,51,62,73,85,89,89,89,89,89,89,89,89,89,89,89,89},
  /*18(-1)*/ { 6,18,30,42,54,66,78,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*19(-1)*/ { 6,19,31,44,57,69,82,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*20(-1)*/ { 6,20,33,46,60,73,86,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*21(-1)*/ { 7,21,35,49,63,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*22(-1)*/ { 7,22,36,51,66,80,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*23(-1)*/ { 7,23,38,53,69,84,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*24(-1)*/ { 8,24,40,56,72,88,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*25(-1)*/ { 8,25,41,58,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*26(-1)*/ { 8,26,43,60,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*27(-1)*/ { 9,27,45,63,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*28(-1)*/ { 9,28,46,65,84,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*29(-1)*/ { 9,29,48,67,87,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*30(-1)*/ {10,30,50,70,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*31(-1)*/ {10,31,51,72,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*32(-1)*/ {10,32,53,74,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*33(-1)*/ {11,33,55,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*34(-1)*/ {11,34,56,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*35(-1)*/ {11,35,58,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*36(-1)*/ {12,36,60,84,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*37(-1)*/ {12,37,61,86,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*38(-1)*/ {12,38,63,88,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*39(-1)*/ {13,39,65,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*40(-1)*/ {13,40,66,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*41(-1)*/ {13,41,68,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*42(-1)*/ {14,42,70,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*43(-1)*/ {14,43,71,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*44(-1)*/ {14,44,73,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*45(-1)*/ {15,45,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*46(-1)*/ {15,46,76,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*47(-1)*/ {15,47,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*48(-1)*/ {16,48,80,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*49(-1)*/ {16,49,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*50(-1)*/ {16,50,83,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*51(-1)*/ {17,51,85,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*52(-1)*/ {17,52,86,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*53(-1)*/ {17,53,88,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*54(-1)*/ {18,54,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*55(-1)*/ {18,55,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*56(-1)*/ {18,56,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*57(-1)*/ {19,57,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*58(-1)*/ {19,58,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*59(-1)*/ {19,59,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*60(-1)*/ {20,60,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*61(-1)*/ {20,61,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*62(-1)*/ {20,62,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*63(-1)*/ {21,63,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*64(-1)*/ {21,64,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*65(-1)*/ {21,65,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*66(-1)*/ {22,66,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*67(-1)*/ {22,67,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*68(-1)*/ {22,68,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*69(-1)*/ {23,69,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*70(-1)*/ {23,70,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*71(-1)*/ {23,71,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*72(-1)*/ {24,72,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*73(-1)*/ {24,73,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*74(-1)*/ {24,74,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*75(-1)*/ {25,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*76(-1)*/ {25,76,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*77(-1)*/ {25,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*78(-1)*/ {26,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*79(-1)*/ {26,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89}
  }},
/* DY =  2 */
  {{
  /* 1(-1)*/ {0xff,0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4},
  /* 2(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,11,12,12,13,14},
  /* 3(-1)*/ { 0, 1, 3, 4, 5, 6, 7, 9,10,11,12,13,15,16,17,18,19,21,22,23},
  /* 4(-1)*/ { 0, 2, 4, 5, 7, 8,10,12,13,15,16,18,20,21,23,24,26,28,29,31},
  /* 5(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /* 6(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,22,25,27,30,32,34,37,39,42,44,46},
  /* 7(-1)*/ { 1, 4, 7, 9,12,15,18,21,23,26,29,32,35,37,40,43,46,49,51,54},
  /* 8(-1)*/ { 1, 4, 8,11,14,17,20,24,27,30,33,36,40,43,46,49,52,56,59,62},
  /* 9(-1)*/ { 1, 5, 9,12,16,19,23,27,30,34,37,41,45,48,52,55,59,63,66,70},
  /*10(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*11(-1)*/ { 2, 6,11,15,19,24,28,33,37,41,46,50,55,59,63,68,72,77,81,85},
  /*12(-1)*/ { 2, 7,12,16,21,26,31,36,40,45,50,55,60,64,69,74,79,84,88,89},
  /*13(-1)*/ { 2, 7,13,18,23,28,33,39,44,49,54,59,65,70,75,80,85,89,89,89},
  /*14(-1)*/ { 2, 8,14,19,25,30,36,42,47,53,58,64,70,75,81,86,89,89,89,89},
  /*15(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*16(-1)*/ { 3, 9,16,22,28,35,41,48,54,60,67,73,80,86,89,89,89,89,89,89},
  /*17(-1)*/ { 3,10,17,23,30,37,44,51,57,64,71,78,85,89,89,89,89,89,89,89},
  /*18(-1)*/ { 3,10,18,25,32,39,46,54,61,68,75,82,89,89,89,89,89,89,89,89},
  /*19(-1)*/ { 3,11,19,26,34,41,49,57,64,72,79,87,89,89,89,89,89,89,89,89},
  /*20(-1)*/ { 4,12,20,28,36,44,52,60,68,76,84,89,89,89,89,89,89,89,89,89},
  /*21(-1)*/ { 4,12,21,29,37,46,54,63,71,79,88,89,89,89,89,89,89,89,89,89},
  /*22(-1)*/ { 4,13,22,30,39,48,57,66,74,83,89,89,89,89,89,89,89,89,89,89},
  /*23(-1)*/ { 4,13,23,32,41,50,59,69,78,87,89,89,89,89,89,89,89,89,89,89},
  /*24(-1)*/ { 4,14,24,33,43,52,62,72,81,89,89,89,89,89,89,89,89,89,89,89},
  /*25(-1)*/ { 5,15,25,35,45,55,65,75,85,89,89,89,89,89,89,89,89,89,89,89},
  /*26(-1)*/ { 5,15,26,36,46,57,67,78,88,89,89,89,89,89,89,89,89,89,89,89},
  /*27(-1)*/ { 5,16,27,37,48,59,70,81,89,89,89,89,89,89,89,89,89,89,89,89},
  /*28(-1)*/ { 5,16,28,39,50,61,72,84,89,89,89,89,89,89,89,89,89,89,89,89},
  /*29(-1)*/ { 5,17,29,40,52,63,75,87,89,89,89,89,89,89,89,89,89,89,89,89},
  /*30(-1)*/ { 6,18,30,42,54,66,78,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*31(-1)*/ { 6,18,31,43,55,68,80,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*32(-1)*/ { 6,19,32,44,57,70,83,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*33(-1)*/ { 6,19,33,46,59,72,85,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*34(-1)*/ { 6,20,34,47,61,74,88,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*35(-1)*/ { 7,21,35,49,63,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*36(-1)*/ { 7,21,36,50,64,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*37(-1)*/ { 7,22,37,51,66,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*38(-1)*/ { 7,22,38,53,68,83,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*39(-1)*/ { 7,23,39,54,70,85,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*40(-1)*/ { 8,24,40,56,72,88,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*41(-1)*/ { 8,24,41,57,73,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*42(-1)*/ { 8,25,42,58,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*43(-1)*/ { 8,25,43,60,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*44(-1)*/ { 8,26,44,61,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*45(-1)*/ { 9,27,45,63,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*46(-1)*/ { 9,27,46,64,82,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*47(-1)*/ { 9,28,47,65,84,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*48(-1)*/ { 9,28,48,67,86,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*49(-1)*/ { 9,29,49,68,88,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*50(-1)*/ {10,30,50,70,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*51(-1)*/ {10,30,51,71,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*52(-1)*/ {10,31,52,72,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*53(-1)*/ {10,31,53,74,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*54(-1)*/ {10,32,54,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*55(-1)*/ {11,33,55,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*56(-1)*/ {11,33,56,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*57(-1)*/ {11,34,57,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*58(-1)*/ {11,34,58,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*59(-1)*/ {11,35,59,82,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*60(-1)*/ {12,36,60,84,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*61(-1)*/ {12,36,61,85,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*62(-1)*/ {12,37,62,86,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*63(-1)*/ {12,37,63,88,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*64(-1)*/ {12,38,64,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*65(-1)*/ {13,39,65,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*66(-1)*/ {13,39,66,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*67(-1)*/ {13,40,67,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*68(-1)*/ {13,40,68,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*69(-1)*/ {13,41,69,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*70(-1)*/ {14,42,70,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*71(-1)*/ {14,42,71,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*72(-1)*/ {14,43,72,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*73(-1)*/ {14,43,73,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*74(-1)*/ {14,44,74,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*75(-1)*/ {15,45,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*76(-1)*/ {15,45,76,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*77(-1)*/ {15,46,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*78(-1)*/ {15,46,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*79(-1)*/ {15,47,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89}
  }},
/* DY =  3 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2},
  /* 2(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9},
  /* 3(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,11,11,12,13,14,15,16},
  /* 4(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8, 9,10,12,13,14,15,16,17,18,20,21,22},
  /* 5(-1)*/ { 0, 2, 3, 5, 6, 7, 9,10,12,13,15,16,17,19,20,22,23,25,26,27},
  /* 6(-1)*/ { 0, 2, 4, 6, 7, 9,11,12,14,16,18,19,21,23,24,26,28,30,31,33},
  /* 7(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /* 8(-1)*/ { 1, 3, 5, 8,10,12,14,17,19,21,24,26,28,30,33,35,37,40,42,44},
  /* 9(-1)*/ { 1, 3, 6, 9,11,14,16,19,21,24,27,29,32,34,37,39,42,45,47,50},
  /*10(-1)*/ { 1, 4, 7,10,12,15,18,21,24,27,30,32,35,38,41,44,47,50,52,55},
  /*11(-1)*/ { 1, 4, 7,11,14,17,20,23,26,29,33,36,39,42,45,48,51,55,58,61},
  /*12(-1)*/ { 1, 5, 8,12,15,18,22,25,29,32,36,39,42,46,49,53,56,60,63,66},
  /*13(-1)*/ { 1, 5, 9,13,16,20,24,27,31,35,39,42,46,50,53,57,61,65,68,72},
  /*14(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*15(-1)*/ { 2, 6,10,15,19,23,27,32,36,40,45,49,53,57,62,66,70,75,79,83},
  /*16(-1)*/ { 2, 6,11,16,20,25,29,34,38,43,48,52,57,61,66,70,75,80,84,89},
  /*17(-1)*/ { 2, 7,12,17,21,26,31,36,41,46,51,55,60,65,70,75,80,85,89,89},
  /*18(-1)*/ { 2, 7,12,18,23,28,33,38,43,48,54,59,64,69,74,79,84,89,89,89},
  /*19(-1)*/ { 2, 8,13,19,24,29,35,40,46,51,57,62,67,73,78,84,89,89,89,89},
  /*20(-1)*/ { 2, 8,14,20,25,31,37,42,48,54,60,65,71,77,82,88,89,89,89,89},
  /*21(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*22(-1)*/ { 3, 9,15,22,28,34,40,47,53,59,66,72,78,84,89,89,89,89,89,89},
  /*23(-1)*/ { 3, 9,16,23,29,36,42,49,55,62,69,75,82,88,89,89,89,89,89,89},
  /*24(-1)*/ { 3,10,17,24,30,37,44,51,58,65,72,78,85,89,89,89,89,89,89,89},
  /*25(-1)*/ { 3,10,17,25,32,39,46,53,60,67,75,82,89,89,89,89,89,89,89,89},
  /*26(-1)*/ { 3,11,18,26,33,40,48,55,63,70,78,85,89,89,89,89,89,89,89,89},
  /*27(-1)*/ { 3,11,19,27,34,42,50,57,65,73,81,88,89,89,89,89,89,89,89,89},
  /*28(-1)*/ { 4,12,20,28,36,44,52,60,68,76,84,89,89,89,89,89,89,89,89,89},
  /*29(-1)*/ { 4,12,20,29,37,45,53,62,70,78,87,89,89,89,89,89,89,89,89,89},
  /*30(-1)*/ { 4,12,21,30,38,47,55,64,72,81,89,89,89,89,89,89,89,89,89,89},
  /*31(-1)*/ { 4,13,22,31,39,48,57,66,75,84,89,89,89,89,89,89,89,89,89,89},
  /*32(-1)*/ { 4,13,22,32,41,50,59,68,77,86,89,89,89,89,89,89,89,89,89,89},
  /*33(-1)*/ { 4,14,23,33,42,51,61,70,80,89,89,89,89,89,89,89,89,89,89,89},
  /*34(-1)*/ { 4,14,24,34,43,53,63,72,82,89,89,89,89,89,89,89,89,89,89,89},
  /*35(-1)*/ { 5,15,25,35,45,55,65,75,85,89,89,89,89,89,89,89,89,89,89,89},
  /*36(-1)*/ { 5,15,25,36,46,56,66,77,87,89,89,89,89,89,89,89,89,89,89,89},
  /*37(-1)*/ { 5,15,26,37,47,58,68,79,89,89,89,89,89,89,89,89,89,89,89,89},
  /*38(-1)*/ { 5,16,27,38,48,59,70,81,89,89,89,89,89,89,89,89,89,89,89,89},
  /*39(-1)*/ { 5,16,27,39,50,61,72,83,89,89,89,89,89,89,89,89,89,89,89,89},
  /*40(-1)*/ { 5,17,28,40,51,62,74,85,89,89,89,89,89,89,89,89,89,89,89,89},
  /*41(-1)*/ { 5,17,29,41,52,64,76,87,89,89,89,89,89,89,89,89,89,89,89,89},
  /*42(-1)*/ { 6,18,30,42,54,66,78,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*43(-1)*/ { 6,18,30,43,55,67,79,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*44(-1)*/ { 6,18,31,44,56,69,81,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*45(-1)*/ { 6,19,32,45,57,70,83,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*46(-1)*/ { 6,19,32,46,59,72,85,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*47(-1)*/ { 6,20,33,47,60,73,87,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*48(-1)*/ { 6,20,34,48,61,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*49(-1)*/ { 7,21,35,49,63,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*50(-1)*/ { 7,21,35,50,64,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*51(-1)*/ { 7,21,36,51,65,80,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*52(-1)*/ { 7,22,37,52,66,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*53(-1)*/ { 7,22,37,53,68,83,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*54(-1)*/ { 7,23,38,54,69,84,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*55(-1)*/ { 7,23,39,55,70,86,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*56(-1)*/ { 8,24,40,56,72,88,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*57(-1)*/ { 8,24,40,57,73,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*58(-1)*/ { 8,24,41,58,74,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*59(-1)*/ { 8,25,42,59,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*60(-1)*/ { 8,25,42,60,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*61(-1)*/ { 8,26,43,61,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*62(-1)*/ { 8,26,44,62,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*63(-1)*/ { 9,27,45,63,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*64(-1)*/ { 9,27,45,64,82,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*65(-1)*/ { 9,27,46,65,83,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*66(-1)*/ { 9,28,47,66,84,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*67(-1)*/ { 9,28,47,67,86,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*68(-1)*/ { 9,29,48,68,87,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*69(-1)*/ { 9,29,49,69,88,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*70(-1)*/ {10,30,50,70,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*71(-1)*/ {10,30,50,71,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*72(-1)*/ {10,30,51,72,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*73(-1)*/ {10,31,52,73,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*74(-1)*/ {10,31,52,74,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*75(-1)*/ {10,32,53,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*76(-1)*/ {10,32,54,76,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*77(-1)*/ {11,33,55,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*78(-1)*/ {11,33,55,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*79(-1)*/ {11,33,56,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89}
  }},
/* DY =  4 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1},
  /* 2(-1)*/ {0xff, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6},
  /* 3(-1)*/ { 0, 0, 1, 1, 2, 3, 3, 4, 5, 5, 6, 6, 7, 8, 8, 9,10,10,11,11},
  /* 4(-1)*/ { 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 9,10,11,12,13,14,15,16,16},
  /* 5(-1)*/ { 0, 1, 2, 3, 5, 6, 7, 8, 9,10,11,12,13,15,16,17,18,19,20,21},
  /* 6(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,16,18,19,20,22,23,24,26},
  /* 7(-1)*/ { 0, 2, 3, 5, 7, 8,10,11,13,14,16,17,19,21,22,24,25,27,28,30},
  /* 8(-1)*/ { 0, 2, 4, 6, 8, 9,11,13,15,16,18,20,22,24,25,27,29,31,32,34},
  /* 9(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*10(-1)*/ { 1, 3, 5, 7,10,12,14,16,18,21,23,25,27,30,32,34,36,38,41,43},
  /*11(-1)*/ { 1, 3, 6, 8,11,13,15,18,20,23,25,28,30,33,35,37,40,42,45,47},
  /*12(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,30,33,36,38,41,44,46,49,52},
  /*13(-1)*/ { 1, 4, 7,10,13,15,18,21,24,27,30,33,36,39,41,44,47,50,53,56},
  /*14(-1)*/ { 1, 4, 7,10,14,17,20,23,26,29,32,35,38,42,45,48,51,54,57,60},
  /*15(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,41,45,48,51,55,58,61,65},
  /*16(-1)*/ { 1, 5, 8,12,16,19,23,26,30,33,37,40,44,48,51,55,58,62,65,69},
  /*17(-1)*/ { 1, 5, 9,13,17,20,24,28,32,35,39,43,47,51,54,58,62,66,69,73},
  /*18(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*19(-1)*/ { 2, 6,10,14,19,23,27,31,35,40,44,48,52,57,61,65,69,73,78,82},
  /*20(-1)*/ { 2, 6,11,15,20,24,28,33,37,42,46,51,55,60,64,68,73,77,82,86},
  /*21(-1)*/ { 2, 7,11,16,21,25,30,35,39,44,49,53,58,63,67,72,77,81,86,89},
  /*22(-1)*/ { 2, 7,12,17,22,26,31,36,41,46,51,56,61,66,70,75,80,85,89,89},
  /*23(-1)*/ { 2, 7,12,17,23,28,33,38,43,48,53,58,63,69,74,79,84,89,89,89},
  /*24(-1)*/ { 2, 8,13,18,24,29,34,40,45,50,56,61,66,72,77,82,88,89,89,89},
  /*25(-1)*/ { 2, 8,13,19,25,30,36,41,47,52,58,63,69,75,80,86,89,89,89,89},
  /*26(-1)*/ { 2, 8,14,20,26,31,37,43,49,54,60,66,72,78,83,89,89,89,89,89},
  /*27(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*28(-1)*/ { 3, 9,15,21,28,34,40,46,52,59,65,71,77,84,89,89,89,89,89,89},
  /*29(-1)*/ { 3, 9,16,22,29,35,41,48,54,61,67,74,80,87,89,89,89,89,89,89},
  /*30(-1)*/ { 3,10,16,23,30,36,43,50,56,63,70,76,83,89,89,89,89,89,89,89},
  /*31(-1)*/ { 3,10,17,24,31,37,44,51,58,65,72,79,86,89,89,89,89,89,89,89},
  /*32(-1)*/ { 3,10,17,24,32,39,46,53,60,67,74,81,88,89,89,89,89,89,89,89},
  /*33(-1)*/ { 3,11,18,25,33,40,47,55,62,69,77,84,89,89,89,89,89,89,89,89},
  /*34(-1)*/ { 3,11,18,26,34,41,49,56,64,71,79,86,89,89,89,89,89,89,89,89},
  /*35(-1)*/ { 3,11,19,27,35,42,50,58,66,73,81,89,89,89,89,89,89,89,89,89},
  /*36(-1)*/ { 4,12,20,28,36,44,52,60,68,76,84,89,89,89,89,89,89,89,89,89},
  /*37(-1)*/ { 4,12,20,28,37,45,53,61,69,78,86,89,89,89,89,89,89,89,89,89},
  /*38(-1)*/ { 4,12,21,29,38,46,54,63,71,80,88,89,89,89,89,89,89,89,89,89},
  /*39(-1)*/ { 4,13,21,30,39,47,56,65,73,82,89,89,89,89,89,89,89,89,89,89},
  /*40(-1)*/ { 4,13,22,31,40,48,57,66,75,84,89,89,89,89,89,89,89,89,89,89},
  /*41(-1)*/ { 4,13,22,31,41,50,59,68,77,86,89,89,89,89,89,89,89,89,89,89},
  /*42(-1)*/ { 4,14,23,32,42,51,60,70,79,88,89,89,89,89,89,89,89,89,89,89},
  /*43(-1)*/ { 4,14,23,33,43,52,62,71,81,89,89,89,89,89,89,89,89,89,89,89},
  /*44(-1)*/ { 4,14,24,34,44,53,63,73,83,89,89,89,89,89,89,89,89,89,89,89},
  /*45(-1)*/ { 5,15,25,35,45,55,65,75,85,89,89,89,89,89,89,89,89,89,89,89},
  /*46(-1)*/ { 5,15,25,35,46,56,66,76,86,89,89,89,89,89,89,89,89,89,89,89},
  /*47(-1)*/ { 5,15,26,36,47,57,67,78,88,89,89,89,89,89,89,89,89,89,89,89},
  /*48(-1)*/ { 5,16,26,37,48,58,69,80,89,89,89,89,89,89,89,89,89,89,89,89},
  /*49(-1)*/ { 5,16,27,38,49,59,70,81,89,89,89,89,89,89,89,89,89,89,89,89},
  /*50(-1)*/ { 5,16,27,38,50,61,72,83,89,89,89,89,89,89,89,89,89,89,89,89},
  /*51(-1)*/ { 5,17,28,39,51,62,73,85,89,89,89,89,89,89,89,89,89,89,89,89},
  /*52(-1)*/ { 5,17,28,40,52,63,75,86,89,89,89,89,89,89,89,89,89,89,89,89},
  /*53(-1)*/ { 5,17,29,41,53,64,76,88,89,89,89,89,89,89,89,89,89,89,89,89},
  /*54(-1)*/ { 6,18,30,42,54,66,78,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*55(-1)*/ { 6,18,30,42,55,67,79,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*56(-1)*/ { 6,18,31,43,56,68,80,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*57(-1)*/ { 6,19,31,44,57,69,82,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*58(-1)*/ { 6,19,32,45,58,70,83,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*59(-1)*/ { 6,19,32,45,59,72,85,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*60(-1)*/ { 6,20,33,46,60,73,86,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*61(-1)*/ { 6,20,33,47,61,74,88,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*62(-1)*/ { 6,20,34,48,62,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*63(-1)*/ { 7,21,35,49,63,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*64(-1)*/ { 7,21,35,49,64,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*65(-1)*/ { 7,21,36,50,65,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*66(-1)*/ { 7,22,36,51,66,80,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*67(-1)*/ { 7,22,37,52,67,81,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*68(-1)*/ { 7,22,37,52,68,83,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*69(-1)*/ { 7,23,38,53,69,84,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*70(-1)*/ { 7,23,38,54,70,85,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*71(-1)*/ { 7,23,39,55,71,86,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*72(-1)*/ { 8,24,40,56,72,88,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*73(-1)*/ { 8,24,40,56,73,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*74(-1)*/ { 8,24,41,57,74,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*75(-1)*/ { 8,25,41,58,75,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*76(-1)*/ { 8,25,42,59,76,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*77(-1)*/ { 8,25,42,59,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*78(-1)*/ { 8,26,43,60,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*79(-1)*/ { 8,26,43,61,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89}
  }},
/* DY =  5 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1},
  /* 2(-1)*/ {0xff, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5},
  /* 3(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9},
  /* 4(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 7, 8, 9, 9,10,11,12,12,13},
  /* 5(-1)*/ { 0, 1, 2, 3, 3, 4, 5, 6, 7, 8, 9,10,11,12,12,13,14,15,16,17},
  /* 6(-1)*/ { 0, 1, 2, 3, 4, 6, 7, 8, 9,10,11,12,13,14,15,16,18,19,20,21},
  /* 7(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,10,12,13,14,15,17,18,19,21,22,23,24},
  /* 8(-1)*/ { 0, 2, 3, 5, 6, 8, 9,10,12,13,15,16,18,19,21,22,24,25,26,28},
  /* 9(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,13,15,17,18,20,22,23,25,27,28,30,31},
  /*10(-1)*/ { 0, 2, 4, 6, 8,10,11,13,15,17,19,20,22,24,26,28,30,31,33,35},
  /*11(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*12(-1)*/ { 1, 3, 5, 7, 9,12,14,16,18,20,22,25,27,29,31,33,36,38,40,42},
  /*13(-1)*/ { 1, 3, 5, 8,10,13,15,17,20,22,24,27,29,31,34,36,39,41,43,46},
  /*14(-1)*/ { 1, 3, 6, 8,11,14,16,19,21,24,26,29,31,34,36,39,42,44,47,49},
  /*15(-1)*/ { 1, 4, 6, 9,12,15,17,20,23,25,28,31,34,36,39,42,45,47,50,53},
  /*16(-1)*/ { 1, 4, 7,10,13,16,18,21,24,27,30,33,36,39,42,45,48,50,53,56},
  /*17(-1)*/ { 1, 4, 7,10,13,17,20,23,26,29,32,35,38,41,44,47,51,54,57,60},
  /*18(-1)*/ { 1, 4, 8,11,14,18,21,24,27,31,34,37,40,44,47,50,54,57,60,63},
  /*19(-1)*/ { 1, 5, 8,12,15,19,22,25,29,32,36,39,43,46,50,53,57,60,63,67},
  /*20(-1)*/ { 1, 5, 9,12,16,20,23,27,30,34,38,41,45,49,52,56,60,63,67,70},
  /*21(-1)*/ { 1, 5, 9,13,17,21,24,28,32,36,40,43,47,51,55,59,63,66,70,74},
  /*22(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*23(-1)*/ { 2, 6,10,14,18,23,27,31,35,39,43,48,52,56,60,64,69,73,77,81},
  /*24(-1)*/ { 2, 6,10,15,19,24,28,32,37,41,45,50,54,58,63,67,72,76,80,85},
  /*25(-1)*/ { 2, 6,11,15,20,25,29,34,38,43,47,52,56,61,65,70,75,79,84,88},
  /*26(-1)*/ { 2, 7,11,16,21,26,30,35,40,44,49,54,59,63,68,73,78,82,87,89},
  /*27(-1)*/ { 2, 7,12,17,22,27,31,36,41,46,51,56,61,66,71,76,81,85,89,89},
  /*28(-1)*/ { 2, 7,12,17,22,28,33,38,43,48,53,58,63,68,73,78,84,89,89,89},
  /*29(-1)*/ { 2, 7,13,18,23,29,34,39,44,50,55,60,65,71,76,81,87,89,89,89},
  /*30(-1)*/ { 2, 8,13,19,24,30,35,40,46,51,57,62,68,73,79,84,89,89,89,89},
  /*31(-1)*/ { 2, 8,14,19,25,31,36,42,47,53,59,64,70,76,81,87,89,89,89,89},
  /*32(-1)*/ { 2, 8,14,20,26,32,37,43,49,55,61,66,72,78,84,89,89,89,89,89},
  /*33(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*34(-1)*/ { 3, 9,15,21,27,34,40,46,52,58,64,71,77,83,89,89,89,89,89,89},
  /*35(-1)*/ { 3, 9,15,22,28,35,41,47,54,60,66,73,79,85,89,89,89,89,89,89},
  /*36(-1)*/ { 3, 9,16,22,29,36,42,49,55,62,68,75,81,88,89,89,89,89,89,89},
  /*37(-1)*/ { 3,10,16,23,30,37,43,50,57,63,70,77,84,89,89,89,89,89,89,89},
  /*38(-1)*/ { 3,10,17,24,31,38,44,51,58,65,72,79,86,89,89,89,89,89,89,89},
  /*39(-1)*/ { 3,10,17,24,31,39,46,53,60,67,74,81,88,89,89,89,89,89,89,89},
  /*40(-1)*/ { 3,10,18,25,32,40,47,54,61,69,76,83,89,89,89,89,89,89,89,89},
  /*41(-1)*/ { 3,11,18,26,33,41,48,55,63,70,78,85,89,89,89,89,89,89,89,89},
  /*42(-1)*/ { 3,11,19,26,34,42,49,57,64,72,80,87,89,89,89,89,89,89,89,89},
  /*43(-1)*/ { 3,11,19,27,35,43,50,58,66,74,82,89,89,89,89,89,89,89,89,89},
  /*44(-1)*/ { 4,12,20,28,36,44,52,60,68,76,84,89,89,89,89,89,89,89,89,89},
  /*45(-1)*/ { 4,12,20,28,36,45,53,61,69,77,85,89,89,89,89,89,89,89,89,89},
  /*46(-1)*/ { 4,12,20,29,37,46,54,62,71,79,87,89,89,89,89,89,89,89,89,89},
  /*47(-1)*/ { 4,12,21,29,38,47,55,64,72,81,89,89,89,89,89,89,89,89,89,89},
  /*48(-1)*/ { 4,13,21,30,39,48,56,65,74,82,89,89,89,89,89,89,89,89,89,89},
  /*49(-1)*/ { 4,13,22,31,40,49,57,66,75,84,89,89,89,89,89,89,89,89,89,89},
  /*50(-1)*/ { 4,13,22,31,40,50,59,68,77,86,89,89,89,89,89,89,89,89,89,89},
  /*51(-1)*/ { 4,13,23,32,41,51,60,69,78,88,89,89,89,89,89,89,89,89,89,89},
  /*52(-1)*/ { 4,14,23,33,42,52,61,70,80,89,89,89,89,89,89,89,89,89,89,89},
  /*53(-1)*/ { 4,14,24,33,43,53,62,72,81,89,89,89,89,89,89,89,89,89,89,89},
  /*54(-1)*/ { 4,14,24,34,44,54,63,73,83,89,89,89,89,89,89,89,89,89,89,89},
  /*55(-1)*/ { 5,15,25,35,45,55,65,75,85,89,89,89,89,89,89,89,89,89,89,89},
  /*56(-1)*/ { 5,15,25,35,45,56,66,76,86,89,89,89,89,89,89,89,89,89,89,89},
  /*57(-1)*/ { 5,15,25,36,46,57,67,77,88,89,89,89,89,89,89,89,89,89,89,89},
  /*58(-1)*/ { 5,15,26,36,47,58,68,79,89,89,89,89,89,89,89,89,89,89,89,89},
  /*59(-1)*/ { 5,16,26,37,48,59,69,80,89,89,89,89,89,89,89,89,89,89,89,89},
  /*60(-1)*/ { 5,16,27,38,49,60,70,81,89,89,89,89,89,89,89,89,89,89,89,89},
  /*61(-1)*/ { 5,16,27,38,49,61,72,83,89,89,89,89,89,89,89,89,89,89,89,89},
  /*62(-1)*/ { 5,16,28,39,50,62,73,84,89,89,89,89,89,89,89,89,89,89,89,89},
  /*63(-1)*/ { 5,17,28,40,51,63,74,85,89,89,89,89,89,89,89,89,89,89,89,89},
  /*64(-1)*/ { 5,17,29,40,52,64,75,87,89,89,89,89,89,89,89,89,89,89,89,89},
  /*65(-1)*/ { 5,17,29,41,53,65,76,88,89,89,89,89,89,89,89,89,89,89,89,89},
  /*66(-1)*/ { 6,18,30,42,54,66,78,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*67(-1)*/ { 6,18,30,42,54,67,79,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*68(-1)*/ { 6,18,30,43,55,68,80,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*69(-1)*/ { 6,18,31,43,56,69,81,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*70(-1)*/ { 6,19,31,44,57,70,82,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*71(-1)*/ { 6,19,32,45,58,71,83,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*72(-1)*/ { 6,19,32,45,58,72,85,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*73(-1)*/ { 6,19,33,46,59,73,86,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*74(-1)*/ { 6,20,33,47,60,74,87,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*75(-1)*/ { 6,20,34,47,61,75,88,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*76(-1)*/ { 6,20,34,48,62,76,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*77(-1)*/ { 7,21,35,49,63,77,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*78(-1)*/ { 7,21,35,49,63,78,89,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*79(-1)*/ { 7,21,35,50,64,79,89,89,89,89,89,89,89,89,89,89,89,89,89,89}
  }},
/* DY =  6 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
  /* 2(-1)*/ {0xff,0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4},
  /* 3(-1)*/ {0xff, 0, 0, 1, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7},
  /* 4(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9,10,11},
  /* 5(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,11,12,12,13,14},
  /* 6(-1)*/ { 0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,15,16,17},
  /* 7(-1)*/ { 0, 1, 2, 3, 4, 5, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,21},
  /* 8(-1)*/ { 0, 1, 3, 4, 5, 6, 8, 9,10,11,12,14,15,16,17,19,20,21,22,24},
  /* 9(-1)*/ { 0, 2, 3, 4, 6, 7, 9,10,11,13,14,15,17,18,20,21,22,24,25,27},
  /*10(-1)*/ { 0, 2, 3, 5, 6, 8,10,11,13,14,16,17,19,20,22,23,25,26,28,30},
  /*11(-1)*/ { 0, 2, 4, 5, 7, 9,11,12,14,16,17,19,21,22,24,26,27,29,31,33},
  /*12(-1)*/ { 0, 2, 4, 6, 8,10,12,13,15,17,19,21,23,24,26,28,30,32,34,36},
  /*13(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*14(-1)*/ { 1, 3, 5, 7, 9,11,14,16,18,20,22,24,26,29,31,33,35,37,39,42},
  /*15(-1)*/ { 1, 3, 5, 8,10,12,15,17,19,21,24,26,28,31,33,35,38,40,42,45},
  /*16(-1)*/ { 1, 3, 6, 8,11,13,16,18,20,23,25,28,30,33,35,38,40,43,45,48},
  /*17(-1)*/ { 1, 3, 6, 9,11,14,17,19,22,24,27,30,32,35,37,40,43,45,48,51},
  /*18(-1)*/ { 1, 4, 6, 9,12,15,18,20,23,26,29,31,34,37,40,42,45,48,51,54},
  /*19(-1)*/ { 1, 4, 7,10,13,16,19,21,24,27,30,33,36,39,42,45,48,51,54,57},
  /*20(-1)*/ { 1, 4, 7,10,13,16,20,23,26,29,32,35,38,41,44,47,50,53,56,60},
  /*21(-1)*/ { 1, 4, 8,11,14,17,21,24,27,30,33,37,40,43,46,50,53,56,59,63},
  /*22(-1)*/ { 1, 5, 8,11,15,18,22,25,28,32,35,38,42,45,49,52,55,59,62,66},
  /*23(-1)*/ { 1, 5, 8,12,15,19,23,26,30,33,37,40,44,47,51,54,58,61,65,69},
  /*24(-1)*/ { 1, 5, 9,12,16,20,24,27,31,35,38,42,46,49,53,57,60,64,68,72},
  /*25(-1)*/ { 1, 5, 9,13,17,21,25,28,32,36,40,44,48,51,55,59,63,67,71,75},
  /*26(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*27(-1)*/ { 2, 6,10,14,18,22,27,31,35,39,43,47,51,56,60,64,68,72,76,81},
  /*28(-1)*/ { 2, 6,10,15,19,23,28,32,36,40,45,49,53,58,62,66,71,75,79,84},
  /*29(-1)*/ { 2, 6,11,15,20,24,29,33,37,42,46,51,55,60,64,69,73,78,82,87},
  /*30(-1)*/ { 2, 6,11,16,20,25,30,34,39,43,48,53,57,62,66,71,76,80,85,89},
  /*31(-1)*/ { 2, 7,11,16,21,26,31,35,40,45,50,54,59,64,69,73,78,83,88,89},
  /*32(-1)*/ { 2, 7,12,17,22,27,32,36,41,46,51,56,61,66,71,76,81,86,89,89},
  /*33(-1)*/ { 2, 7,12,17,22,27,33,38,43,48,53,58,63,68,73,78,83,88,89,89},
  /*34(-1)*/ { 2, 7,13,18,23,28,34,39,44,49,54,60,65,70,75,81,86,89,89,89},
  /*35(-1)*/ { 2, 8,13,18,24,29,35,40,45,51,56,61,67,72,78,83,88,89,89,89},
  /*36(-1)*/ { 2, 8,13,19,24,30,36,41,47,52,58,63,69,74,80,85,89,89,89,89},
  /*37(-1)*/ { 2, 8,14,19,25,31,37,42,48,54,59,65,71,76,82,88,89,89,89,89},
  /*38(-1)*/ { 2, 8,14,20,26,32,38,43,49,55,61,67,73,78,84,89,89,89,89,89},
  /*39(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*40(-1)*/ { 3, 9,15,21,27,33,40,46,52,58,64,70,76,83,89,89,89,89,89,89},
  /*41(-1)*/ { 3, 9,15,22,28,34,41,47,53,59,66,72,78,85,89,89,89,89,89,89},
  /*42(-1)*/ { 3, 9,16,22,29,35,42,48,54,61,67,74,80,87,89,89,89,89,89,89},
  /*43(-1)*/ { 3, 9,16,23,29,36,43,49,56,62,69,76,82,89,89,89,89,89,89,89},
  /*44(-1)*/ { 3,10,16,23,30,37,44,50,57,64,71,77,84,89,89,89,89,89,89,89},
  /*45(-1)*/ { 3,10,17,24,31,38,45,51,58,65,72,79,86,89,89,89,89,89,89,89},
  /*46(-1)*/ { 3,10,17,24,31,38,46,53,60,67,74,81,88,89,89,89,89,89,89,89},
  /*47(-1)*/ { 3,10,18,25,32,39,47,54,61,68,75,83,89,89,89,89,89,89,89,89},
  /*48(-1)*/ { 3,11,18,25,33,40,48,55,62,70,77,84,89,89,89,89,89,89,89,89},
  /*49(-1)*/ { 3,11,18,26,33,41,49,56,64,71,79,86,89,89,89,89,89,89,89,89},
  /*50(-1)*/ { 3,11,19,26,34,42,50,57,65,73,80,88,89,89,89,89,89,89,89,89},
  /*51(-1)*/ { 3,11,19,27,35,43,51,58,66,74,82,89,89,89,89,89,89,89,89,89},
  /*52(-1)*/ { 4,12,20,28,36,44,52,60,68,76,84,89,89,89,89,89,89,89,89,89},
  /*53(-1)*/ { 4,12,20,28,36,44,53,61,69,77,85,89,89,89,89,89,89,89,89,89},
  /*54(-1)*/ { 4,12,20,29,37,45,54,62,70,78,87,89,89,89,89,89,89,89,89,89},
  /*55(-1)*/ { 4,12,21,29,38,46,55,63,71,80,88,89,89,89,89,89,89,89,89,89},
  /*56(-1)*/ { 4,12,21,30,38,47,56,64,73,81,89,89,89,89,89,89,89,89,89,89},
  /*57(-1)*/ { 4,13,21,30,39,48,57,65,74,83,89,89,89,89,89,89,89,89,89,89},
  /*58(-1)*/ { 4,13,22,31,40,49,58,66,75,84,89,89,89,89,89,89,89,89,89,89},
  /*59(-1)*/ { 4,13,22,31,40,49,59,68,77,86,89,89,89,89,89,89,89,89,89,89},
  /*60(-1)*/ { 4,13,23,32,41,50,60,69,78,87,89,89,89,89,89,89,89,89,89,89},
  /*61(-1)*/ { 4,14,23,32,42,51,61,70,79,89,89,89,89,89,89,89,89,89,89,89},
  /*62(-1)*/ { 4,14,23,33,42,52,62,71,81,89,89,89,89,89,89,89,89,89,89,89},
  /*63(-1)*/ { 4,14,24,33,43,53,63,72,82,89,89,89,89,89,89,89,89,89,89,89},
  /*64(-1)*/ { 4,14,24,34,44,54,64,73,83,89,89,89,89,89,89,89,89,89,89,89},
  /*65(-1)*/ { 5,15,25,35,45,55,65,75,85,89,89,89,89,89,89,89,89,89,89,89},
  /*66(-1)*/ { 5,15,25,35,45,55,66,76,86,89,89,89,89,89,89,89,89,89,89,89},
  /*67(-1)*/ { 5,15,25,36,46,56,67,77,87,89,89,89,89,89,89,89,89,89,89,89},
  /*68(-1)*/ { 5,15,26,36,47,57,68,78,88,89,89,89,89,89,89,89,89,89,89,89},
  /*69(-1)*/ { 5,15,26,37,47,58,69,79,89,89,89,89,89,89,89,89,89,89,89,89},
  /*70(-1)*/ { 5,16,26,37,48,59,70,80,89,89,89,89,89,89,89,89,89,89,89,89},
  /*71(-1)*/ { 5,16,27,38,49,60,71,81,89,89,89,89,89,89,89,89,89,89,89,89},
  /*72(-1)*/ { 5,16,27,38,49,60,72,83,89,89,89,89,89,89,89,89,89,89,89,89},
  /*73(-1)*/ { 5,16,28,39,50,61,73,84,89,89,89,89,89,89,89,89,89,89,89,89},
  /*74(-1)*/ { 5,17,28,39,51,62,74,85,89,89,89,89,89,89,89,89,89,89,89,89},
  /*75(-1)*/ { 5,17,28,40,51,63,75,86,89,89,89,89,89,89,89,89,89,89,89,89},
  /*76(-1)*/ { 5,17,29,40,52,64,76,87,89,89,89,89,89,89,89,89,89,89,89,89},
  /*77(-1)*/ { 5,17,29,41,53,65,77,88,89,89,89,89,89,89,89,89,89,89,89,89},
  /*78(-1)*/ { 6,18,30,42,54,66,78,89,89,89,89,89,89,89,89,89,89,89,89,89},
  /*79(-1)*/ { 6,18,30,42,54,66,79,89,89,89,89,89,89,89,89,89,89,89,89,89}
  }},
/* DY =  7 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3},
  /* 3(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6},
  /* 4(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9},
  /* 5(-1)*/ { 0, 0, 1, 2, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 9, 9,10,11,11,12},
  /* 6(-1)*/ { 0, 1, 1, 2, 3, 4, 4, 5, 6, 7, 8, 8, 9,10,11,12,12,13,14,15},
  /* 7(-1)*/ { 0, 1, 2, 3, 4, 5, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18},
  /* 8(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 8, 9,10,11,12,13,14,15,16,17,18,19,20},
  /* 9(-1)*/ { 0, 1, 3, 4, 5, 6, 7, 9,10,11,12,13,15,16,17,18,19,21,22,23},
  /*10(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,16,18,19,20,22,23,24,26},
  /*11(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,13,15,16,18,19,21,22,24,25,27,28},
  /*12(-1)*/ { 0, 2, 4, 5, 7, 8,10,12,13,15,16,18,20,21,23,24,26,28,29,31},
  /*13(-1)*/ { 0, 2, 4, 6, 7, 9,11,13,14,16,18,19,21,23,25,26,28,30,32,33},
  /*14(-1)*/ { 0, 2, 4, 6, 8,10,12,14,15,17,19,21,23,25,27,28,30,32,34,36},
  /*15(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*16(-1)*/ { 1, 3, 5, 7, 9,11,13,16,18,20,22,24,26,28,30,33,35,37,39,41},
  /*17(-1)*/ { 1, 3, 5, 7,10,12,14,17,19,21,23,26,28,30,32,35,37,39,41,44},
  /*18(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,22,25,27,30,32,34,37,39,42,44,46},
  /*19(-1)*/ { 1, 3, 6, 8,11,13,16,19,21,24,26,29,31,34,36,39,41,44,46,49},
  /*20(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,30,33,36,38,41,44,46,49,52},
  /*21(-1)*/ { 1, 4, 7, 9,12,15,18,21,23,26,29,32,35,37,40,43,46,49,51,54},
  /*22(-1)*/ { 1, 4, 7,10,13,16,19,22,24,27,30,33,36,39,42,45,48,51,54,57},
  /*23(-1)*/ { 1, 4, 7,10,13,16,19,23,26,29,32,35,38,41,44,47,50,53,56,59},
  /*24(-1)*/ { 1, 4, 8,11,14,17,20,24,27,30,33,36,40,43,46,49,52,56,59,62},
  /*25(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,41,45,48,51,55,58,61,65},
  /*26(-1)*/ { 1, 5, 8,12,15,19,22,26,29,32,36,39,43,46,50,53,57,60,64,67},
  /*27(-1)*/ { 1, 5, 9,12,16,19,23,27,30,34,37,41,45,48,52,55,59,63,66,70},
  /*28(-1)*/ { 1, 5, 9,13,16,20,24,28,31,35,39,42,46,50,54,57,61,65,69,72},
  /*29(-1)*/ { 1, 5, 9,13,17,21,25,29,32,36,40,44,48,52,56,59,63,67,71,75},
  /*30(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*31(-1)*/ { 2, 6,10,14,18,22,26,31,35,39,43,47,51,55,59,64,68,72,76,80},
  /*32(-1)*/ { 2, 6,10,14,19,23,27,32,36,40,44,49,53,57,61,66,70,74,78,83},
  /*33(-1)*/ { 2, 6,11,15,19,24,28,33,37,41,46,50,55,59,63,68,72,77,81,85},
  /*34(-1)*/ { 2, 6,11,15,20,24,29,34,38,43,47,52,56,61,65,70,74,79,83,88},
  /*35(-1)*/ { 2, 7,11,16,21,25,30,35,39,44,49,53,58,63,67,72,77,81,86,89},
  /*36(-1)*/ { 2, 7,12,16,21,26,31,36,40,45,50,55,60,64,69,74,79,84,88,89},
  /*37(-1)*/ { 2, 7,12,17,22,27,32,37,41,46,51,56,61,66,71,76,81,86,89,89},
  /*38(-1)*/ { 2, 7,12,17,22,27,32,38,43,48,53,58,63,68,73,78,83,88,89,89},
  /*39(-1)*/ { 2, 7,13,18,23,28,33,39,44,49,54,59,65,70,75,80,85,89,89,89},
  /*40(-1)*/ { 2, 8,13,18,24,29,34,40,45,50,56,61,66,72,77,82,88,89,89,89},
  /*41(-1)*/ { 2, 8,13,19,24,30,35,41,46,51,57,62,68,73,79,84,89,89,89,89},
  /*42(-1)*/ { 2, 8,14,19,25,30,36,42,47,53,58,64,70,75,81,86,89,89,89,89},
  /*43(-1)*/ { 2, 8,14,20,25,31,37,43,48,54,60,65,71,77,83,88,89,89,89,89},
  /*44(-1)*/ { 2, 8,14,20,26,32,38,44,49,55,61,67,73,79,85,89,89,89,89,89},
  /*45(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*46(-1)*/ { 3, 9,15,21,27,33,39,46,52,58,64,70,76,82,88,89,89,89,89,89},
  /*47(-1)*/ { 3, 9,15,21,28,34,40,47,53,59,65,72,78,84,89,89,89,89,89,89},
  /*48(-1)*/ { 3, 9,16,22,28,35,41,48,54,60,67,73,80,86,89,89,89,89,89,89},
  /*49(-1)*/ { 3, 9,16,22,29,35,42,49,55,62,68,75,81,88,89,89,89,89,89,89},
  /*50(-1)*/ { 3,10,16,23,30,36,43,50,56,63,70,76,83,89,89,89,89,89,89,89},
  /*51(-1)*/ { 3,10,17,23,30,37,44,51,57,64,71,78,85,89,89,89,89,89,89,89},
  /*52(-1)*/ { 3,10,17,24,31,38,45,52,58,65,72,79,86,89,89,89,89,89,89,89},
  /*53(-1)*/ { 3,10,17,24,31,38,45,53,60,67,74,81,88,89,89,89,89,89,89,89},
  /*54(-1)*/ { 3,10,18,25,32,39,46,54,61,68,75,82,89,89,89,89,89,89,89,89},
  /*55(-1)*/ { 3,11,18,25,33,40,47,55,62,69,77,84,89,89,89,89,89,89,89,89},
  /*56(-1)*/ { 3,11,18,26,33,41,48,56,63,70,78,85,89,89,89,89,89,89,89,89},
  /*57(-1)*/ { 3,11,19,26,34,41,49,57,64,72,79,87,89,89,89,89,89,89,89,89},
  /*58(-1)*/ { 3,11,19,27,34,42,50,58,65,73,81,88,89,89,89,89,89,89,89,89},
  /*59(-1)*/ { 3,11,19,27,35,43,51,59,66,74,82,89,89,89,89,89,89,89,89,89},
  /*60(-1)*/ { 4,12,20,28,36,44,52,60,68,76,84,89,89,89,89,89,89,89,89,89},
  /*61(-1)*/ { 4,12,20,28,36,44,52,61,69,77,85,89,89,89,89,89,89,89,89,89},
  /*62(-1)*/ { 4,12,20,28,37,45,53,62,70,78,86,89,89,89,89,89,89,89,89,89},
  /*63(-1)*/ { 4,12,21,29,37,46,54,63,71,79,88,89,89,89,89,89,89,89,89,89},
  /*64(-1)*/ { 4,12,21,29,38,46,55,64,72,81,89,89,89,89,89,89,89,89,89,89},
  /*65(-1)*/ { 4,13,21,30,39,47,56,65,73,82,89,89,89,89,89,89,89,89,89,89},
  /*66(-1)*/ { 4,13,22,30,39,48,57,66,74,83,89,89,89,89,89,89,89,89,89,89},
  /*67(-1)*/ { 4,13,22,31,40,49,58,67,75,84,89,89,89,89,89,89,89,89,89,89},
  /*68(-1)*/ { 4,13,22,31,40,49,58,68,77,86,89,89,89,89,89,89,89,89,89,89},
  /*69(-1)*/ { 4,13,23,32,41,50,59,69,78,87,89,89,89,89,89,89,89,89,89,89},
  /*70(-1)*/ { 4,14,23,32,42,51,60,70,79,88,89,89,89,89,89,89,89,89,89,89},
  /*71(-1)*/ { 4,14,23,33,42,52,61,71,80,89,89,89,89,89,89,89,89,89,89,89},
  /*72(-1)*/ { 4,14,24,33,43,52,62,72,81,89,89,89,89,89,89,89,89,89,89,89},
  /*73(-1)*/ { 4,14,24,34,43,53,63,73,82,89,89,89,89,89,89,89,89,89,89,89},
  /*74(-1)*/ { 4,14,24,34,44,54,64,74,83,89,89,89,89,89,89,89,89,89,89,89},
  /*75(-1)*/ { 5,15,25,35,45,55,65,75,85,89,89,89,89,89,89,89,89,89,89,89},
  /*76(-1)*/ { 5,15,25,35,45,55,65,76,86,89,89,89,89,89,89,89,89,89,89,89},
  /*77(-1)*/ { 5,15,25,35,46,56,66,77,87,89,89,89,89,89,89,89,89,89,89,89},
  /*78(-1)*/ { 5,15,26,36,46,57,67,78,88,89,89,89,89,89,89,89,89,89,89,89},
  /*79(-1)*/ { 5,15,26,36,47,57,68,79,89,89,89,89,89,89,89,89,89,89,89,89}
  }},
/* DY =  8 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3},
  /* 3(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5},
  /* 4(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8},
  /* 5(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9,10,10},
  /* 6(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 9,10,11,11,12,13},
  /* 7(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 5, 6, 7, 8, 9,10,10,11,12,13,14,14,15},
  /* 8(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18},
  /* 9(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 9,10,11,12,13,14,15,16,17,18,19,20},
  /*10(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8,10,11,12,13,14,15,17,18,19,20,21,22},
  /*11(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,11,12,13,14,16,17,18,20,21,22,23,25},
  /*12(-1)*/ { 0, 2, 3, 4, 6, 7, 9,10,12,13,14,16,17,19,20,21,23,24,26,27},
  /*13(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,13,14,16,17,19,20,22,23,25,26,28,29},
  /*14(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,14,15,17,18,20,22,23,25,27,28,30,32},
  /*15(-1)*/ { 0, 2, 4, 6, 7, 9,11,13,15,16,18,20,22,23,25,27,29,30,32,34},
  /*16(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,17,19,21,23,25,27,29,31,32,34,36},
  /*17(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*18(-1)*/ { 1, 3, 5, 7, 9,11,13,15,18,20,22,24,26,28,30,32,34,37,39,41},
  /*19(-1)*/ { 1, 3, 5, 7,10,12,14,16,19,21,23,25,27,30,32,34,36,39,41,43},
  /*20(-1)*/ { 1, 3, 5, 8,10,12,15,17,20,22,24,27,29,31,34,36,38,41,43,45},
  /*21(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,25,28,30,33,35,38,40,43,45,48},
  /*22(-1)*/ { 1, 3, 6, 9,11,14,16,19,22,24,27,29,32,34,37,40,42,45,47,50},
  /*23(-1)*/ { 1, 4, 6, 9,12,14,17,20,23,25,28,31,33,36,39,41,44,47,50,52},
  /*24(-1)*/ { 1, 4, 7, 9,12,15,18,21,24,26,29,32,35,38,40,43,46,49,52,55},
  /*25(-1)*/ { 1, 4, 7,10,13,16,19,22,25,27,30,33,36,39,42,45,48,51,54,57},
  /*26(-1)*/ { 1, 4, 7,10,13,16,19,22,26,29,32,35,38,41,44,47,50,53,56,59},
  /*27(-1)*/ { 1, 4, 7,11,14,17,20,23,27,30,33,36,39,42,46,49,52,55,58,61},
  /*28(-1)*/ { 1, 4, 8,11,14,18,21,24,28,31,34,37,41,44,47,51,54,57,60,64},
  /*29(-1)*/ { 1, 5, 8,11,15,18,22,25,29,32,35,39,42,46,49,52,56,59,63,66},
  /*30(-1)*/ { 1, 5, 8,12,15,19,22,26,30,33,37,40,44,47,51,54,58,61,65,68},
  /*31(-1)*/ { 1, 5, 9,12,16,20,23,27,31,34,38,41,45,49,52,56,60,63,67,71},
  /*32(-1)*/ { 1, 5, 9,13,16,20,24,28,32,35,39,43,47,50,54,58,62,65,69,73},
  /*33(-1)*/ { 1, 5, 9,13,17,21,25,29,33,36,40,44,48,52,56,60,64,67,71,75},
  /*34(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*35(-1)*/ { 2, 6,10,14,18,22,26,30,35,39,43,47,51,55,59,63,67,72,76,80},
  /*36(-1)*/ { 2, 6,10,14,19,23,27,31,36,40,44,48,52,57,61,65,69,74,78,82},
  /*37(-1)*/ { 2, 6,10,15,19,23,28,32,37,41,45,50,54,58,63,67,71,76,80,84},
  /*38(-1)*/ { 2, 6,11,15,20,24,29,33,38,42,46,51,55,60,64,69,73,78,82,87},
  /*39(-1)*/ { 2, 6,11,16,20,25,29,34,39,43,48,52,57,61,66,71,75,80,84,89},
  /*40(-1)*/ { 2, 7,11,16,21,25,30,35,40,44,49,54,58,63,68,72,77,82,87,89},
  /*41(-1)*/ { 2, 7,12,16,21,26,31,36,41,45,50,55,60,65,69,74,79,84,89,89},
  /*42(-1)*/ { 2, 7,12,17,22,27,32,37,42,46,51,56,61,66,71,76,81,86,89,89},
  /*43(-1)*/ { 2, 7,12,17,22,27,32,37,43,48,53,58,63,68,73,78,83,88,89,89},
  /*44(-1)*/ { 2, 7,12,18,23,28,33,38,44,49,54,59,64,69,75,80,85,89,89,89},
  /*45(-1)*/ { 2, 7,13,18,23,29,34,39,45,50,55,60,66,71,76,82,87,89,89,89},
  /*46(-1)*/ { 2, 8,13,18,24,29,35,40,46,51,56,62,67,73,78,83,89,89,89,89},
  /*47(-1)*/ { 2, 8,13,19,24,30,35,41,47,52,58,63,69,74,80,85,89,89,89,89},
  /*48(-1)*/ { 2, 8,14,19,25,31,36,42,48,53,59,64,70,76,81,87,89,89,89,89},
  /*49(-1)*/ { 2, 8,14,20,25,31,37,43,49,54,60,66,72,77,83,89,89,89,89,89},
  /*50(-1)*/ { 2, 8,14,20,26,32,38,44,50,55,61,67,73,79,85,89,89,89,89,89},
  /*51(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*52(-1)*/ { 3, 9,15,21,27,33,39,45,52,58,64,70,76,82,88,89,89,89,89,89},
  /*53(-1)*/ { 3, 9,15,21,28,34,40,46,53,59,65,71,77,84,89,89,89,89,89,89},
  /*54(-1)*/ { 3, 9,15,22,28,34,41,47,54,60,66,73,79,85,89,89,89,89,89,89},
  /*55(-1)*/ { 3, 9,16,22,29,35,42,48,55,61,67,74,80,87,89,89,89,89,89,89},
  /*56(-1)*/ { 3, 9,16,23,29,36,42,49,56,62,69,75,82,88,89,89,89,89,89,89},
  /*57(-1)*/ { 3,10,16,23,30,36,43,50,57,63,70,77,83,89,89,89,89,89,89,89},
  /*58(-1)*/ { 3,10,17,23,30,37,44,51,58,64,71,78,85,89,89,89,89,89,89,89},
  /*59(-1)*/ { 3,10,17,24,31,38,45,52,59,65,72,79,86,89,89,89,89,89,89,89},
  /*60(-1)*/ { 3,10,17,24,31,38,45,52,60,67,74,81,88,89,89,89,89,89,89,89},
  /*61(-1)*/ { 3,10,17,25,32,39,46,53,61,68,75,82,89,89,89,89,89,89,89,89},
  /*62(-1)*/ { 3,10,18,25,32,40,47,54,62,69,76,83,89,89,89,89,89,89,89,89},
  /*63(-1)*/ { 3,11,18,25,33,40,48,55,63,70,77,85,89,89,89,89,89,89,89,89},
  /*64(-1)*/ { 3,11,18,26,33,41,48,56,64,71,79,86,89,89,89,89,89,89,89,89},
  /*65(-1)*/ { 3,11,19,26,34,42,49,57,65,72,80,87,89,89,89,89,89,89,89,89},
  /*66(-1)*/ { 3,11,19,27,34,42,50,58,66,73,81,89,89,89,89,89,89,89,89,89},
  /*67(-1)*/ { 3,11,19,27,35,43,51,59,67,74,82,89,89,89,89,89,89,89,89,89},
  /*68(-1)*/ { 4,12,20,28,36,44,52,60,68,76,84,89,89,89,89,89,89,89,89,89},
  /*69(-1)*/ { 4,12,20,28,36,44,52,60,69,77,85,89,89,89,89,89,89,89,89,89},
  /*70(-1)*/ { 4,12,20,28,37,45,53,61,70,78,86,89,89,89,89,89,89,89,89,89},
  /*71(-1)*/ { 4,12,20,29,37,45,54,62,71,79,87,89,89,89,89,89,89,89,89,89},
  /*72(-1)*/ { 4,12,21,29,38,46,55,63,72,80,88,89,89,89,89,89,89,89,89,89},
  /*73(-1)*/ { 4,12,21,30,38,47,55,64,73,81,89,89,89,89,89,89,89,89,89,89},
  /*74(-1)*/ { 4,13,21,30,39,47,56,65,74,82,89,89,89,89,89,89,89,89,89,89},
  /*75(-1)*/ { 4,13,22,30,39,48,57,66,75,83,89,89,89,89,89,89,89,89,89,89},
  /*76(-1)*/ { 4,13,22,31,40,49,58,67,76,84,89,89,89,89,89,89,89,89,89,89},
  /*77(-1)*/ { 4,13,22,31,40,49,58,67,77,86,89,89,89,89,89,89,89,89,89,89},
  /*78(-1)*/ { 4,13,22,32,41,50,59,68,78,87,89,89,89,89,89,89,89,89,89,89},
  /*79(-1)*/ { 4,13,23,32,41,51,60,69,79,88,89,89,89,89,89,89,89,89,89,89}
  }},
/* DY =  9 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2},
  /* 3(-1)*/ {0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5},
  /* 4(-1)*/ {0xff, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7},
  /* 5(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9},
  /* 6(-1)*/ { 0, 0, 1, 1, 2, 3, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9, 9,10,11,11},
  /* 7(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,11,11,12,13,13},
  /* 8(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,11,11,12,13,14,15,16},
  /* 9(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 7, 8, 9,10,11,12,13,14,15,16,17,18},
  /*10(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8,10,11,12,13,14,15,16,17,18,19,20},
  /*11(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8, 9,11,12,13,14,15,16,17,19,20,21,22},
  /*12(-1)*/ { 0, 1, 3, 4, 5, 6, 8, 9,10,12,13,14,15,17,18,19,20,22,23,24},
  /*13(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,13,14,15,17,18,19,21,22,23,25,26},
  /*14(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,16,18,19,21,22,24,25,27,28},
  /*15(-1)*/ { 0, 2, 3, 5, 7, 8,10,11,13,15,16,18,19,21,22,24,26,27,29,30},
  /*16(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,14,16,17,19,21,22,24,26,27,29,31,32},
  /*17(-1)*/ { 0, 2, 4, 6, 8, 9,11,13,15,17,18,20,22,24,25,27,29,31,33,34},
  /*18(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,19,21,23,25,27,29,31,33,35,36},
  /*19(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*20(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,20,22,24,26,28,30,32,34,36,38,41},
  /*21(-1)*/ { 1, 3, 5, 7, 9,12,14,16,18,21,23,25,27,29,32,34,36,38,40,43},
  /*22(-1)*/ { 1, 3, 5, 8,10,12,15,17,19,22,24,26,28,31,33,35,38,40,42,45},
  /*23(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,23,25,27,30,32,35,37,39,42,44,47},
  /*24(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,24,26,29,31,34,36,39,41,44,46,49},
  /*25(-1)*/ { 1, 3, 6, 9,11,14,17,19,22,25,27,30,32,35,38,40,43,46,48,51},
  /*26(-1)*/ { 1, 4, 6, 9,12,15,17,20,23,26,28,31,34,36,39,42,45,47,50,53},
  /*27(-1)*/ { 1, 4, 7, 9,12,15,18,21,24,27,29,32,35,38,41,44,46,49,52,55},
  /*28(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,30,33,36,39,42,45,48,51,54,57},
  /*29(-1)*/ { 1, 4, 7,10,13,16,19,22,25,29,32,35,38,41,44,47,50,53,56,59},
  /*30(-1)*/ { 1, 4, 7,11,14,17,20,23,26,30,33,36,39,42,45,48,52,55,58,61},
  /*31(-1)*/ { 1, 4, 8,11,14,17,21,24,27,31,34,37,40,44,47,50,53,57,60,63},
  /*32(-1)*/ { 1, 5, 8,11,15,18,21,25,28,32,35,38,42,45,48,52,55,58,62,65},
  /*33(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,39,43,46,50,53,57,60,64,67},
  /*34(-1)*/ { 1, 5, 8,12,16,19,23,26,30,34,37,41,44,48,51,55,59,62,66,69},
  /*35(-1)*/ { 1, 5, 9,12,16,20,23,27,31,35,38,42,46,49,53,57,60,64,68,71},
  /*36(-1)*/ { 1, 5, 9,13,17,20,24,28,32,36,39,43,47,51,54,58,62,66,70,73},
  /*37(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,40,44,48,52,56,60,64,68,72,75},
  /*38(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*39(-1)*/ { 2, 6,10,14,18,22,26,30,34,39,43,47,51,55,59,63,67,71,75,80},
  /*40(-1)*/ { 2, 6,10,14,18,23,27,31,35,40,44,48,52,56,61,65,69,73,77,82},
  /*41(-1)*/ { 2, 6,10,15,19,23,28,32,36,41,45,49,53,58,62,66,71,75,79,84},
  /*42(-1)*/ { 2, 6,11,15,19,24,28,33,37,42,46,50,55,59,64,68,72,77,81,86},
  /*43(-1)*/ { 2, 6,11,15,20,24,29,33,38,43,47,52,56,61,65,70,74,79,83,88},
  /*44(-1)*/ { 2, 6,11,16,20,25,30,34,39,44,48,53,57,62,67,71,76,81,85,89},
  /*45(-1)*/ { 2, 7,11,16,21,26,30,35,40,45,49,54,59,63,68,73,78,82,87,89},
  /*46(-1)*/ { 2, 7,12,16,21,26,31,36,41,46,50,55,60,65,70,75,79,84,89,89},
  /*47(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,51,56,61,66,71,76,81,86,89,89},
  /*48(-1)*/ { 2, 7,12,17,22,27,32,37,42,48,53,58,63,68,73,78,83,88,89,89},
  /*49(-1)*/ { 2, 7,12,18,23,28,33,38,43,49,54,59,64,69,74,79,85,89,89,89},
  /*50(-1)*/ { 2, 7,13,18,23,28,34,39,44,50,55,60,65,71,76,81,86,89,89,89},
  /*51(-1)*/ { 2, 8,13,18,24,29,34,40,45,51,56,61,67,72,77,83,88,89,89,89},
  /*52(-1)*/ { 2, 8,13,19,24,30,35,41,46,52,57,62,68,73,79,84,89,89,89,89},
  /*53(-1)*/ { 2, 8,13,19,25,30,36,41,47,53,58,64,69,75,80,86,89,89,89,89},
  /*54(-1)*/ { 2, 8,14,19,25,31,36,42,48,54,59,65,71,76,82,88,89,89,89,89},
  /*55(-1)*/ { 2, 8,14,20,26,31,37,43,49,55,60,66,72,78,83,89,89,89,89,89},
  /*56(-1)*/ { 2, 8,14,20,26,32,38,44,50,56,61,67,73,79,85,89,89,89,89,89},
  /*57(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*58(-1)*/ { 3, 9,15,21,27,33,39,45,51,58,64,70,76,82,88,89,89,89,89,89},
  /*59(-1)*/ { 3, 9,15,21,27,34,40,46,52,59,65,71,77,83,89,89,89,89,89,89},
  /*60(-1)*/ { 3, 9,15,22,28,34,41,47,53,60,66,72,78,85,89,89,89,89,89,89},
  /*61(-1)*/ { 3, 9,16,22,28,35,41,48,54,61,67,73,80,86,89,89,89,89,89,89},
  /*62(-1)*/ { 3, 9,16,22,29,35,42,48,55,62,68,75,81,88,89,89,89,89,89,89},
  /*63(-1)*/ { 3, 9,16,23,29,36,43,49,56,63,69,76,82,89,89,89,89,89,89,89},
  /*64(-1)*/ { 3,10,16,23,30,37,43,50,57,64,70,77,84,89,89,89,89,89,89,89},
  /*65(-1)*/ { 3,10,17,23,30,37,44,51,58,65,71,78,85,89,89,89,89,89,89,89},
  /*66(-1)*/ { 3,10,17,24,31,38,45,52,59,66,72,79,86,89,89,89,89,89,89,89},
  /*67(-1)*/ { 3,10,17,24,31,38,45,52,59,67,74,81,88,89,89,89,89,89,89,89},
  /*68(-1)*/ { 3,10,17,25,32,39,46,53,60,68,75,82,89,89,89,89,89,89,89,89},
  /*69(-1)*/ { 3,10,18,25,32,39,47,54,61,69,76,83,89,89,89,89,89,89,89,89},
  /*70(-1)*/ { 3,11,18,25,33,40,47,55,62,70,77,84,89,89,89,89,89,89,89,89},
  /*71(-1)*/ { 3,11,18,26,33,41,48,56,63,71,78,85,89,89,89,89,89,89,89,89},
  /*72(-1)*/ { 3,11,18,26,34,41,49,56,64,72,79,87,89,89,89,89,89,89,89,89},
  /*73(-1)*/ { 3,11,19,26,34,42,49,57,65,73,80,88,89,89,89,89,89,89,89,89},
  /*74(-1)*/ { 3,11,19,27,35,42,50,58,66,74,81,89,89,89,89,89,89,89,89,89},
  /*75(-1)*/ { 3,11,19,27,35,43,51,59,67,75,82,89,89,89,89,89,89,89,89,89},
  /*76(-1)*/ { 4,12,20,28,36,44,52,60,68,76,84,89,89,89,89,89,89,89,89,89},
  /*77(-1)*/ { 4,12,20,28,36,44,52,60,68,77,85,89,89,89,89,89,89,89,89,89},
  /*78(-1)*/ { 4,12,20,28,36,45,53,61,69,78,86,89,89,89,89,89,89,89,89,89},
  /*79(-1)*/ { 4,12,20,29,37,45,54,62,70,79,87,89,89,89,89,89,89,89,89,89}
  }},
/* DY = 10 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2},
  /* 3(-1)*/ {0xff,0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4},
  /* 4(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6},
  /* 5(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8},
  /* 6(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9,10},
  /* 7(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 9, 9,10,11,11,12},
  /* 8(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,11,12,12,13,14},
  /* 9(-1)*/ { 0, 1, 2, 2, 3, 4, 5, 6, 7, 7, 8, 9,10,11,12,13,13,14,15,16},
  /*10(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,13,14,15,16,17,18},
  /*11(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,11,12,13,14,15,16,17,18,19,20},
  /*12(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8, 9,10,12,13,14,15,16,17,18,20,21,22},
  /*13(-1)*/ { 0, 1, 3, 4, 5, 6, 8, 9,10,11,13,14,15,16,17,19,20,21,22,24},
  /*14(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,16,18,19,20,22,23,24,26},
  /*15(-1)*/ { 0, 2, 3, 5, 6, 7, 9,10,12,13,15,16,17,19,20,22,23,25,26,27},
  /*16(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,16,17,19,20,22,23,25,26,28,29},
  /*17(-1)*/ { 0, 2, 4, 5, 7, 8,10,12,13,15,17,18,20,21,23,25,26,28,29,31},
  /*18(-1)*/ { 0, 2, 4, 6, 7, 9,11,12,14,16,18,19,21,23,24,26,28,30,31,33},
  /*19(-1)*/ { 0, 2, 4, 6, 8, 9,11,13,15,17,19,20,22,24,26,28,29,31,33,35},
  /*20(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,21,23,25,27,29,31,33,35,37},
  /*21(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*22(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,22,24,26,28,30,32,34,36,38,40},
  /*23(-1)*/ { 1, 3, 5, 7, 9,12,14,16,18,20,23,25,27,29,31,33,36,38,40,42},
  /*24(-1)*/ { 1, 3, 5, 8,10,12,14,17,19,21,24,26,28,30,33,35,37,40,42,44},
  /*25(-1)*/ { 1, 3, 5, 8,10,13,15,17,20,22,25,27,29,32,34,36,39,41,44,46},
  /*26(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,28,30,33,35,38,40,43,45,48},
  /*27(-1)*/ { 1, 3, 6, 9,11,14,16,19,21,24,27,29,32,34,37,39,42,45,47,50},
  /*28(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,30,33,36,38,41,44,46,49,52},
  /*29(-1)*/ { 1, 4, 6, 9,12,15,17,20,23,26,29,31,34,37,40,42,45,48,51,53},
  /*30(-1)*/ { 1, 4, 7,10,12,15,18,21,24,27,30,32,35,38,41,44,47,50,52,55},
  /*31(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,33,36,39,42,45,48,51,54,57},
  /*32(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,32,35,38,41,44,47,50,53,56,59},
  /*33(-1)*/ { 1, 4, 7,11,14,17,20,23,26,29,33,36,39,42,45,48,51,55,58,61},
  /*34(-1)*/ { 1, 4, 8,11,14,17,21,24,27,30,34,37,40,43,46,50,53,56,59,63},
  /*35(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,41,45,48,51,55,58,61,65},
  /*36(-1)*/ { 1, 5, 8,12,15,18,22,25,29,32,36,39,42,46,49,53,56,60,63,66},
  /*37(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,37,40,44,47,51,54,58,61,65,68},
  /*38(-1)*/ { 1, 5, 9,12,16,19,23,27,30,34,38,41,45,48,52,56,59,63,66,70},
  /*39(-1)*/ { 1, 5, 9,13,16,20,24,27,31,35,39,42,46,50,53,57,61,65,68,72},
  /*40(-1)*/ { 1, 5, 9,13,17,20,24,28,32,36,40,43,47,51,55,59,62,66,70,74},
  /*41(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,41,44,48,52,56,60,64,68,72,76},
  /*42(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*43(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,43,47,51,55,59,63,67,71,75,79},
  /*44(-1)*/ { 2, 6,10,14,18,23,27,31,35,39,44,48,52,56,60,64,69,73,77,81},
  /*45(-1)*/ { 2, 6,10,15,19,23,27,32,36,40,45,49,53,57,62,66,70,75,79,83},
  /*46(-1)*/ { 2, 6,10,15,19,24,28,32,37,41,46,50,54,59,63,67,72,76,81,85},
  /*47(-1)*/ { 2, 6,11,15,20,24,29,33,38,42,47,51,55,60,64,69,73,78,82,87},
  /*48(-1)*/ { 2, 6,11,16,20,25,29,34,38,43,48,52,57,61,66,70,75,80,84,89},
  /*49(-1)*/ { 2, 7,11,16,21,25,30,35,39,44,49,53,58,63,67,72,77,81,86,89},
  /*50(-1)*/ { 2, 7,11,16,21,26,30,35,40,45,50,54,59,64,69,73,78,83,88,89},
  /*51(-1)*/ { 2, 7,12,17,21,26,31,36,41,46,51,55,60,65,70,75,80,85,89,89},
  /*52(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,56,61,66,71,76,81,86,89,89},
  /*53(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,53,58,63,68,73,78,83,88,89,89},
  /*54(-1)*/ { 2, 7,12,18,23,28,33,38,43,48,54,59,64,69,74,79,84,89,89,89},
  /*55(-1)*/ { 2, 7,13,18,23,28,34,39,44,49,55,60,65,70,75,81,86,89,89,89},
  /*56(-1)*/ { 2, 8,13,18,24,29,34,40,45,50,56,61,66,72,77,82,88,89,89,89},
  /*57(-1)*/ { 2, 8,13,19,24,29,35,40,46,51,57,62,67,73,78,84,89,89,89,89},
  /*58(-1)*/ { 2, 8,13,19,24,30,35,41,46,52,58,63,69,74,80,85,89,89,89,89},
  /*59(-1)*/ { 2, 8,14,19,25,30,36,42,47,53,59,64,70,75,81,87,89,89,89,89},
  /*60(-1)*/ { 2, 8,14,20,25,31,37,42,48,54,60,65,71,77,82,88,89,89,89,89},
  /*61(-1)*/ { 2, 8,14,20,26,31,37,43,49,55,61,66,72,78,84,89,89,89,89,89},
  /*62(-1)*/ { 2, 8,14,20,26,32,38,44,50,56,62,67,73,79,85,89,89,89,89,89},
  /*63(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*64(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,64,70,76,82,88,89,89,89,89,89},
  /*65(-1)*/ { 3, 9,15,21,27,34,40,46,52,58,65,71,77,83,89,89,89,89,89,89},
  /*66(-1)*/ { 3, 9,15,22,28,34,40,47,53,59,66,72,78,84,89,89,89,89,89,89},
  /*67(-1)*/ { 3, 9,15,22,28,35,41,47,54,60,67,73,79,86,89,89,89,89,89,89},
  /*68(-1)*/ { 3, 9,16,22,29,35,42,48,55,61,68,74,80,87,89,89,89,89,89,89},
  /*69(-1)*/ { 3, 9,16,23,29,36,42,49,55,62,69,75,82,88,89,89,89,89,89,89},
  /*70(-1)*/ { 3,10,16,23,30,36,43,50,56,63,70,76,83,89,89,89,89,89,89,89},
  /*71(-1)*/ { 3,10,16,23,30,37,43,50,57,64,71,77,84,89,89,89,89,89,89,89},
  /*72(-1)*/ { 3,10,17,24,30,37,44,51,58,65,72,78,85,89,89,89,89,89,89,89},
  /*73(-1)*/ { 3,10,17,24,31,38,45,52,59,66,73,79,86,89,89,89,89,89,89,89},
  /*74(-1)*/ { 3,10,17,24,31,38,45,52,59,66,74,81,88,89,89,89,89,89,89,89},
  /*75(-1)*/ { 3,10,17,25,32,39,46,53,60,67,75,82,89,89,89,89,89,89,89,89},
  /*76(-1)*/ { 3,10,18,25,32,39,47,54,61,68,76,83,89,89,89,89,89,89,89,89},
  /*77(-1)*/ { 3,11,18,25,33,40,47,55,62,69,77,84,89,89,89,89,89,89,89,89},
  /*78(-1)*/ { 3,11,18,26,33,40,48,55,63,70,78,85,89,89,89,89,89,89,89,89},
  /*79(-1)*/ { 3,11,18,26,33,41,48,56,63,71,79,86,89,89,89,89,89,89,89,89}
  }},
/* DY = 11 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2},
  /* 3(-1)*/ {0xff,0xff, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4},
  /* 4(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5},
  /* 5(-1)*/ {0xff, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7},
  /* 6(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9},
  /* 7(-1)*/ { 0, 0, 1, 1, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9,10,10,11},
  /* 8(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 9, 9,10,11,11,12,13},
  /* 9(-1)*/ { 0, 1, 1, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9,10,11,11,12,13,14,14},
  /*10(-1)*/ { 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,13,14,15,15,16},
  /*11(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9,10,11,12,13,14,15,16,17,18},
  /*12(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,12,13,14,15,16,17,18,19,20},
  /*13(-1)*/ { 0, 1, 2, 3, 5, 6, 7, 8, 9,10,11,13,14,15,16,17,18,19,20,22},
  /*14(-1)*/ { 0, 1, 3, 4, 5, 6, 7, 9,10,11,12,14,15,16,17,18,20,21,22,23},
  /*15(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,18,20,21,22,24,25},
  /*16(-1)*/ { 0, 2, 3, 4, 6, 7, 9,10,11,13,14,16,17,18,20,21,22,24,25,27},
  /*17(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,17,18,19,21,22,24,25,27,28},
  /*18(-1)*/ { 0, 2, 3, 5, 7, 8,10,11,13,14,16,18,19,21,22,24,25,27,28,30},
  /*19(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,14,15,17,19,20,22,23,25,27,28,30,32},
  /*20(-1)*/ { 0, 2, 4, 6, 7, 9,11,13,14,16,18,20,21,23,25,26,28,30,32,33},
  /*21(-1)*/ { 0, 2, 4, 6, 8,10,11,13,15,17,19,21,22,24,26,28,30,31,33,35},
  /*22(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,22,23,25,27,29,31,33,35,37},
  /*23(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*24(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,24,26,28,30,32,34,36,38,40},
  /*25(-1)*/ { 1, 3, 5, 7, 9,11,14,16,18,20,22,25,27,29,31,33,35,38,40,42},
  /*26(-1)*/ { 1, 3, 5, 7,10,12,14,16,19,21,23,26,28,30,32,35,37,39,41,44},
  /*27(-1)*/ { 1, 3, 5, 8,10,12,15,17,19,22,24,27,29,31,34,36,38,41,43,45},
  /*28(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,23,25,28,30,32,35,37,40,42,45,47},
  /*29(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,29,31,34,36,39,41,44,46,49},
  /*30(-1)*/ { 1, 3, 6, 9,11,14,16,19,22,24,27,30,32,35,37,40,43,45,48,50},
  /*31(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,31,33,36,39,41,44,47,49,52},
  /*32(-1)*/ { 1, 4, 6, 9,12,15,18,20,23,26,29,32,34,37,40,43,45,48,51,54},
  /*33(-1)*/ { 1, 4, 7,10,12,15,18,21,24,27,30,33,35,38,41,44,47,50,53,55},
  /*34(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,36,39,42,45,48,51,54,57},
  /*35(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,35,38,41,44,47,50,53,56,59},
  /*36(-1)*/ { 1, 4, 7,10,14,17,20,23,26,29,32,36,39,42,45,48,51,54,57,61},
  /*37(-1)*/ { 1, 4, 8,11,14,17,20,24,27,30,33,37,40,43,46,49,53,56,59,62},
  /*38(-1)*/ { 1, 4, 8,11,14,18,21,24,28,31,34,38,41,44,47,51,54,57,61,64},
  /*39(-1)*/ { 1, 5, 8,11,15,18,22,25,28,32,35,39,42,45,49,52,55,59,62,66},
  /*40(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,40,43,46,50,53,57,60,64,67},
  /*41(-1)*/ { 1, 5, 8,12,16,19,23,26,30,33,37,41,44,48,51,55,58,62,65,69},
  /*42(-1)*/ { 1, 5, 9,12,16,20,23,27,31,34,38,42,45,49,52,56,60,63,67,71},
  /*43(-1)*/ { 1, 5, 9,13,16,20,24,28,31,35,39,43,46,50,54,57,61,65,69,72},
  /*44(-1)*/ { 1, 5, 9,13,17,21,24,28,32,36,40,44,47,51,55,59,63,66,70,74},
  /*45(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,41,45,48,52,56,60,64,68,72,76},
  /*46(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*47(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,47,51,55,59,63,67,71,75,79},
  /*48(-1)*/ { 2, 6,10,14,18,22,27,31,35,39,43,48,52,56,60,64,68,73,77,81},
  /*49(-1)*/ { 2, 6,10,14,19,23,27,31,36,40,44,49,53,57,61,66,70,74,78,83},
  /*50(-1)*/ { 2, 6,10,15,19,23,28,32,36,41,45,50,54,58,63,67,71,76,80,84},
  /*51(-1)*/ { 2, 6,11,15,19,24,28,33,37,42,46,51,55,59,64,68,73,77,82,86},
  /*52(-1)*/ { 2, 6,11,15,20,24,29,33,38,42,47,52,56,61,65,70,74,79,83,88},
  /*53(-1)*/ { 2, 6,11,16,20,25,29,34,39,43,48,53,57,62,66,71,76,80,85,89},
  /*54(-1)*/ { 2, 7,11,16,21,25,30,35,39,44,49,54,58,63,68,72,77,82,86,89},
  /*55(-1)*/ { 2, 7,11,16,21,26,31,35,40,45,50,55,59,64,69,74,78,83,88,89},
  /*56(-1)*/ { 2, 7,12,17,21,26,31,36,41,46,51,56,60,65,70,75,80,85,89,89},
  /*57(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,57,61,66,71,76,81,86,89,89},
  /*58(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,58,63,68,73,78,83,88,89,89},
  /*59(-1)*/ { 2, 7,12,17,23,28,33,38,43,48,53,59,64,69,74,79,84,89,89,89},
  /*60(-1)*/ { 2, 7,13,18,23,28,33,39,44,49,54,60,65,70,75,80,86,89,89,89},
  /*61(-1)*/ { 2, 7,13,18,23,29,34,39,45,50,55,61,66,71,76,82,87,89,89,89},
  /*62(-1)*/ { 2, 8,13,18,24,29,35,40,45,51,56,62,67,72,78,83,88,89,89,89},
  /*63(-1)*/ { 2, 8,13,19,24,30,35,41,46,52,57,63,68,73,79,84,89,89,89,89},
  /*64(-1)*/ { 2, 8,13,19,25,30,36,41,47,52,58,64,69,75,80,86,89,89,89,89},
  /*65(-1)*/ { 2, 8,14,19,25,31,36,42,48,53,59,65,70,76,81,87,89,89,89,89},
  /*66(-1)*/ { 2, 8,14,20,25,31,37,43,48,54,60,66,71,77,83,88,89,89,89,89},
  /*67(-1)*/ { 2, 8,14,20,26,32,37,43,49,55,61,67,72,78,84,89,89,89,89,89},
  /*68(-1)*/ { 2, 8,14,20,26,32,38,44,50,56,62,68,73,79,85,89,89,89,89,89},
  /*69(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*70(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,70,76,82,88,89,89,89,89,89},
  /*71(-1)*/ { 3, 9,15,21,27,33,40,46,52,58,64,71,77,83,89,89,89,89,89,89},
  /*72(-1)*/ { 3, 9,15,21,28,34,40,46,53,59,65,72,78,84,89,89,89,89,89,89},
  /*73(-1)*/ { 3, 9,15,22,28,34,41,47,53,60,66,73,79,85,89,89,89,89,89,89},
  /*74(-1)*/ { 3, 9,16,22,28,35,41,48,54,61,67,74,80,86,89,89,89,89,89,89},
  /*75(-1)*/ { 3, 9,16,22,29,35,42,48,55,61,68,75,81,88,89,89,89,89,89,89},
  /*76(-1)*/ { 3, 9,16,23,29,36,42,49,56,62,69,76,82,89,89,89,89,89,89,89},
  /*77(-1)*/ { 3,10,16,23,30,36,43,50,56,63,70,77,83,89,89,89,89,89,89,89},
  /*78(-1)*/ { 3,10,16,23,30,37,44,50,57,64,71,78,84,89,89,89,89,89,89,89},
  /*79(-1)*/ { 3,10,17,24,30,37,44,51,58,65,72,79,85,89,89,89,89,89,89,89}
  }},
/* DY = 12 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1},
  /* 3(-1)*/ {0xff,0xff, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3},
  /* 4(-1)*/ {0xff, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5},
  /* 5(-1)*/ {0xff, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6},
  /* 6(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8},
  /* 7(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9,10},
  /* 8(-1)*/ { 0, 0, 1, 1, 2, 3, 3, 4, 5, 5, 6, 6, 7, 8, 8, 9,10,10,11,11},
  /* 9(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 9,10,10,11,12,12,13},
  /*10(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,11,12,12,13,14,15},
  /*11(-1)*/ { 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 9,10,11,12,13,14,15,16,16},
  /*12(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,10,11,12,13,14,15,16,17,18},
  /*13(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,13,14,15,16,17,18,19,20},
  /*14(-1)*/ { 0, 1, 2, 3, 5, 6, 7, 8, 9,10,11,12,14,15,16,17,18,19,20,21},
  /*15(-1)*/ { 0, 1, 3, 4, 5, 6, 7, 9,10,11,12,13,15,16,17,18,19,21,22,23},
  /*16(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,10,12,13,14,16,17,18,19,21,22,23,24},
  /*17(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,17,18,19,21,22,23,25,26},
  /*18(-1)*/ { 0, 2, 3, 5, 6, 7, 9,10,12,13,15,16,18,19,20,22,23,25,26,28},
  /*19(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,17,19,20,22,23,25,26,28,29},
  /*20(-1)*/ { 0, 2, 4, 5, 7, 8,10,12,13,15,16,18,20,21,23,24,26,28,29,31},
  /*21(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,14,15,17,19,21,22,24,26,27,29,31,32},
  /*22(-1)*/ { 0, 2, 4, 6, 7, 9,11,13,14,16,18,20,22,23,25,27,29,30,32,34},
  /*23(-1)*/ { 0, 2, 4, 6, 8,10,11,13,15,17,19,21,23,24,26,28,30,32,34,35},
  /*24(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24,25,27,29,31,33,35,37},
  /*25(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*26(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,26,28,30,32,34,36,38,40},
  /*27(-1)*/ { 1, 3, 5, 7, 9,11,14,16,18,20,22,24,27,29,31,33,35,37,39,42},
  /*28(-1)*/ { 1, 3, 5, 7,10,12,14,16,19,21,23,25,28,30,32,34,36,39,41,43},
  /*29(-1)*/ { 1, 3, 5, 8,10,12,15,17,19,22,24,26,29,31,33,35,38,40,42,45},
  /*30(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,22,25,27,30,32,34,37,39,42,44,46},
  /*31(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,28,31,33,35,38,40,43,45,48},
  /*32(-1)*/ { 1, 3, 6, 8,11,14,16,19,21,24,26,29,32,34,37,39,42,44,47,49},
  /*33(-1)*/ { 1, 3, 6, 9,11,14,17,19,22,25,27,30,33,35,38,40,43,46,48,51},
  /*34(-1)*/ { 1, 4, 6, 9,12,14,17,20,23,25,28,31,34,36,39,42,44,47,50,53},
  /*35(-1)*/ { 1, 4, 7, 9,12,15,18,21,23,26,29,32,35,37,40,43,46,49,51,54},
  /*36(-1)*/ { 1, 4, 7,10,12,15,18,21,24,27,30,33,36,38,41,44,47,50,53,56},
  /*37(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,39,42,45,48,51,54,57},
  /*38(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,38,41,44,47,50,53,56,59},
  /*39(-1)*/ { 1, 4, 7,10,14,17,20,23,26,29,32,35,39,42,45,48,51,54,57,60},
  /*40(-1)*/ { 1, 4, 8,11,14,17,20,24,27,30,33,36,40,43,46,49,52,56,59,62},
  /*41(-1)*/ { 1, 4, 8,11,14,18,21,24,27,31,34,37,41,44,47,50,54,57,60,63},
  /*42(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,42,45,48,52,55,58,62,65},
  /*43(-1)*/ { 1, 5, 8,12,15,18,22,25,29,32,36,39,43,46,49,53,56,60,63,67},
  /*44(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,40,44,47,51,54,58,61,65,68},
  /*45(-1)*/ { 1, 5, 9,12,16,19,23,27,30,34,37,41,45,48,52,55,59,63,66,70},
  /*46(-1)*/ { 1, 5, 9,12,16,20,23,27,31,34,38,42,46,49,53,57,60,64,68,71},
  /*47(-1)*/ { 1, 5, 9,13,16,20,24,28,31,35,39,43,47,50,54,58,62,65,69,73},
  /*48(-1)*/ { 1, 5, 9,13,17,21,24,28,32,36,40,44,48,51,55,59,63,67,71,74},
  /*49(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,41,45,49,52,56,60,64,68,72,76},
  /*50(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*51(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,51,55,59,63,67,71,75,79},
  /*52(-1)*/ { 2, 6,10,14,18,22,27,31,35,39,43,47,52,56,60,64,68,72,76,81},
  /*53(-1)*/ { 2, 6,10,14,19,23,27,31,36,40,44,48,53,57,61,65,69,74,78,82},
  /*54(-1)*/ { 2, 6,10,15,19,23,28,32,36,41,45,49,54,58,62,66,71,75,79,84},
  /*55(-1)*/ { 2, 6,11,15,19,24,28,33,37,41,46,50,55,59,63,68,72,77,81,85},
  /*56(-1)*/ { 2, 6,11,15,20,24,29,33,38,42,47,51,56,60,64,69,73,78,82,87},
  /*57(-1)*/ { 2, 6,11,15,20,25,29,34,38,43,47,52,57,61,66,70,75,79,84,88},
  /*58(-1)*/ { 2, 6,11,16,20,25,30,34,39,44,48,53,58,62,67,71,76,81,85,89},
  /*59(-1)*/ { 2, 7,11,16,21,25,30,35,40,44,49,54,59,63,68,73,77,82,87,89},
  /*60(-1)*/ { 2, 7,12,16,21,26,31,36,40,45,50,55,60,64,69,74,79,84,88,89},
  /*61(-1)*/ { 2, 7,12,17,21,26,31,36,41,46,51,56,61,65,70,75,80,85,89,89},
  /*62(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,57,62,66,71,76,81,86,89,89},
  /*63(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,57,63,68,73,78,83,88,89,89},
  /*64(-1)*/ { 2, 7,12,17,23,28,33,38,43,48,53,58,64,69,74,79,84,89,89,89},
  /*65(-1)*/ { 2, 7,13,18,23,28,33,39,44,49,54,59,65,70,75,80,85,89,89,89},
  /*66(-1)*/ { 2, 7,13,18,23,29,34,39,44,50,55,60,66,71,76,81,87,89,89,89},
  /*67(-1)*/ { 2, 8,13,18,24,29,34,40,45,50,56,61,67,72,77,83,88,89,89,89},
  /*68(-1)*/ { 2, 8,13,19,24,29,35,40,46,51,57,62,68,73,78,84,89,89,89,89},
  /*69(-1)*/ { 2, 8,13,19,24,30,35,41,46,52,57,63,69,74,80,85,89,89,89,89},
  /*70(-1)*/ { 2, 8,14,19,25,30,36,42,47,53,58,64,70,75,81,86,89,89,89,89},
  /*71(-1)*/ { 2, 8,14,19,25,31,36,42,48,53,59,65,71,76,82,88,89,89,89,89},
  /*72(-1)*/ { 2, 8,14,20,25,31,37,43,48,54,60,66,72,77,83,89,89,89,89,89},
  /*73(-1)*/ { 2, 8,14,20,26,32,37,43,49,55,61,67,73,78,84,89,89,89,89,89},
  /*74(-1)*/ { 2, 8,14,20,26,32,38,44,50,56,62,68,74,79,85,89,89,89,89,89},
  /*75(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,75,81,87,89,89,89,89,89},
  /*76(-1)*/ { 3, 9,15,21,27,33,39,45,51,57,63,69,76,82,88,89,89,89,89,89},
  /*77(-1)*/ { 3, 9,15,21,27,33,40,46,52,58,64,70,77,83,89,89,89,89,89,89},
  /*78(-1)*/ { 3, 9,15,21,28,34,40,46,53,59,65,71,78,84,89,89,89,89,89,89},
  /*79(-1)*/ { 3, 9,15,22,28,34,41,47,53,60,66,72,79,85,89,89,89,89,89,89}
  }},
/* DY = 13 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1},
  /* 3(-1)*/ {0xff,0xff, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3},
  /* 4(-1)*/ {0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4},
  /* 5(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6},
  /* 6(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 7},
  /* 7(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9},
  /* 8(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9,10,11},
  /* 9(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 7, 8, 9, 9,10,11,11,12},
  /*10(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 8, 9,10,11,11,12,13,14},
  /*11(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 5, 6, 7, 8, 9, 9,10,11,12,13,14,14,15},
  /*12(-1)*/ { 0, 1, 2, 3, 3, 4, 5, 6, 7, 8, 9,10,10,11,12,13,14,15,16,17},
  /*13(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,11,12,13,14,15,16,17,18},
  /*14(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,14,15,16,17,18,19,20},
  /*15(-1)*/ { 0, 1, 2, 3, 5, 6, 7, 8, 9,10,11,12,13,15,16,17,18,19,20,21},
  /*16(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8,10,11,12,13,14,16,17,18,19,20,21,23},
  /*17(-1)*/ { 0, 1, 3, 4, 5, 6, 8, 9,10,11,13,14,15,17,18,19,20,22,23,24},
  /*18(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,16,18,19,20,22,23,24,26},
  /*19(-1)*/ { 0, 2, 3, 4, 6, 7, 9,10,11,13,14,16,17,19,20,21,23,24,26,27},
  /*20(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,17,18,20,21,22,24,25,27,28},
  /*21(-1)*/ { 0, 2, 3, 5, 7, 8,10,11,13,14,16,17,19,21,22,24,25,27,28,30},
  /*22(-1)*/ { 0, 2, 4, 5, 7, 8,10,12,13,15,17,18,20,22,23,25,26,28,30,31},
  /*23(-1)*/ { 0, 2, 4, 5, 7, 9,11,12,14,16,17,19,21,23,24,26,28,29,31,33},
  /*24(-1)*/ { 0, 2, 4, 6, 8, 9,11,13,15,16,18,20,22,24,25,27,29,31,32,34},
  /*25(-1)*/ { 0, 2, 4, 6, 8,10,12,13,15,17,19,21,23,25,26,28,30,32,34,36},
  /*26(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,27,29,31,33,35,37},
  /*27(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*28(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,28,30,32,34,36,38,40},
  /*29(-1)*/ { 1, 3, 5, 7, 9,11,13,16,18,20,22,24,26,29,31,33,35,37,39,41},
  /*30(-1)*/ { 1, 3, 5, 7,10,12,14,16,18,21,23,25,27,30,32,34,36,38,41,43},
  /*31(-1)*/ { 1, 3, 5, 8,10,12,14,17,19,21,24,26,28,31,33,35,37,40,42,44},
  /*32(-1)*/ { 1, 3, 5, 8,10,13,15,17,20,22,24,27,29,32,34,36,39,41,43,46},
  /*33(-1)*/ { 1, 3, 6, 8,11,13,15,18,20,23,25,28,30,33,35,37,40,42,45,47},
  /*34(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,28,31,34,36,39,41,44,46,49},
  /*35(-1)*/ { 1, 3, 6, 9,11,14,16,19,22,24,27,29,32,35,37,40,42,45,47,50},
  /*36(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,30,33,36,38,41,44,46,49,52},
  /*37(-1)*/ { 1, 4, 6, 9,12,15,17,20,23,26,28,31,34,37,39,42,45,47,50,53},
  /*38(-1)*/ { 1, 4, 7, 9,12,15,18,21,23,26,29,32,35,38,40,43,46,49,52,54},
  /*39(-1)*/ { 1, 4, 7,10,13,15,18,21,24,27,30,33,36,39,41,44,47,50,53,56},
  /*40(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,42,45,48,51,54,57},
  /*41(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,41,44,47,50,53,56,59},
  /*42(-1)*/ { 1, 4, 7,10,14,17,20,23,26,29,32,35,38,42,45,48,51,54,57,60},
  /*43(-1)*/ { 1, 4, 7,11,14,17,20,23,27,30,33,36,39,43,46,49,52,55,58,62},
  /*44(-1)*/ { 1, 4, 8,11,14,17,21,24,27,30,34,37,40,44,47,50,53,57,60,63},
  /*45(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,41,45,48,51,55,58,61,65},
  /*46(-1)*/ { 1, 5, 8,11,15,18,22,25,28,32,35,39,42,46,49,52,56,59,63,66},
  /*47(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,40,43,47,50,53,57,60,64,67},
  /*48(-1)*/ { 1, 5, 8,12,16,19,23,26,30,33,37,40,44,48,51,55,58,62,65,69},
  /*49(-1)*/ { 1, 5, 9,12,16,19,23,27,30,34,38,41,45,49,52,56,59,63,67,70},
  /*50(-1)*/ { 1, 5, 9,12,16,20,24,27,31,35,38,42,46,50,53,57,61,64,68,72},
  /*51(-1)*/ { 1, 5, 9,13,17,20,24,28,32,35,39,43,47,51,54,58,62,66,69,73},
  /*52(-1)*/ { 1, 5, 9,13,17,21,25,28,32,36,40,44,48,52,55,59,63,67,71,75},
  /*53(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,41,45,49,53,56,60,64,68,72,76},
  /*54(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*55(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,55,59,63,67,71,75,79},
  /*56(-1)*/ { 2, 6,10,14,18,22,26,31,35,39,43,47,51,56,60,64,68,72,76,80},
  /*57(-1)*/ { 2, 6,10,14,19,23,27,31,35,40,44,48,52,57,61,65,69,73,78,82},
  /*58(-1)*/ { 2, 6,10,15,19,23,27,32,36,40,45,49,53,58,62,66,70,75,79,83},
  /*59(-1)*/ { 2, 6,10,15,19,24,28,32,37,41,45,50,54,59,63,67,72,76,80,85},
  /*60(-1)*/ { 2, 6,11,15,20,24,28,33,37,42,46,51,55,60,64,68,73,77,82,86},
  /*61(-1)*/ { 2, 6,11,15,20,24,29,33,38,42,47,51,56,61,65,70,74,79,83,88},
  /*62(-1)*/ { 2, 6,11,16,20,25,29,34,39,43,48,52,57,62,66,71,75,80,84,89},
  /*63(-1)*/ { 2, 7,11,16,21,25,30,35,39,44,49,53,58,63,67,72,77,81,86,89},
  /*64(-1)*/ { 2, 7,11,16,21,26,30,35,40,45,49,54,59,64,68,73,78,82,87,89},
  /*65(-1)*/ { 2, 7,12,16,21,26,31,36,40,45,50,55,60,65,69,74,79,84,89,89},
  /*66(-1)*/ { 2, 7,12,17,22,26,31,36,41,46,51,56,61,66,70,75,80,85,89,89},
  /*67(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,57,62,67,71,76,81,86,89,89},
  /*68(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,57,62,68,73,78,83,88,89,89},
  /*69(-1)*/ { 2, 7,12,17,23,28,33,38,43,48,53,58,63,69,74,79,84,89,89,89},
  /*70(-1)*/ { 2, 7,12,18,23,28,33,38,44,49,54,59,64,70,75,80,85,89,89,89},
  /*71(-1)*/ { 2, 7,13,18,23,28,34,39,44,49,55,60,65,71,76,81,86,89,89,89},
  /*72(-1)*/ { 2, 8,13,18,24,29,34,40,45,50,56,61,66,72,77,82,88,89,89,89},
  /*73(-1)*/ { 2, 8,13,18,24,29,35,40,45,51,56,62,67,73,78,83,89,89,89,89},
  /*74(-1)*/ { 2, 8,13,19,24,30,35,41,46,52,57,63,68,74,79,84,89,89,89,89},
  /*75(-1)*/ { 2, 8,13,19,25,30,36,41,47,52,58,63,69,75,80,86,89,89,89,89},
  /*76(-1)*/ { 2, 8,14,19,25,30,36,42,47,53,59,64,70,76,81,87,89,89,89,89},
  /*77(-1)*/ { 2, 8,14,19,25,31,37,42,48,54,59,65,71,77,82,88,89,89,89,89},
  /*78(-1)*/ { 2, 8,14,20,26,31,37,43,49,54,60,66,72,78,83,89,89,89,89,89},
  /*79(-1)*/ { 2, 8,14,20,26,32,38,43,49,55,61,67,73,79,84,89,89,89,89,89}
  }},
/* DY = 14 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1},
  /* 3(-1)*/ {0xff,0xff, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3},
  /* 4(-1)*/ {0xff,0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4},
  /* 5(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5},
  /* 6(-1)*/ {0xff, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7},
  /* 7(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8},
  /* 8(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9,10},
  /* 9(-1)*/ { 0, 0, 1, 1, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 9, 9,10,11,11},
  /*10(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9,10,11,11,12,13},
  /*11(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,11,12,12,13,14},
  /*12(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,10,11,12,13,14,15,15},
  /*13(-1)*/ { 0, 1, 2, 3, 3, 4, 5, 6, 7, 8, 9,10,11,11,12,13,14,15,16,17},
  /*14(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,12,13,14,15,16,17,18},
  /*15(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,15,16,17,18,19,20},
  /*16(-1)*/ { 0, 1, 2, 3, 4, 6, 7, 8, 9,10,11,12,13,14,16,17,18,19,20,21},
  /*17(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8, 9,11,12,13,14,15,17,18,19,20,21,22},
  /*18(-1)*/ { 0, 1, 3, 4, 5, 6, 8, 9,10,11,13,14,15,16,18,19,20,21,22,24},
  /*19(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,22,24,25},
  /*20(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,13,14,15,17,18,20,21,22,24,25,26},
  /*21(-1)*/ { 0, 2, 3, 5, 6, 7, 9,10,12,13,15,16,18,19,21,22,23,25,26,28},
  /*22(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,17,18,20,22,23,25,26,28,29},
  /*23(-1)*/ { 0, 2, 3, 5, 7, 8,10,11,13,15,16,18,19,21,23,24,26,27,29,30},
  /*24(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,14,15,17,19,20,22,24,25,27,28,30,32},
  /*25(-1)*/ { 0, 2, 4, 6, 7, 9,11,12,14,16,18,19,21,23,25,26,28,30,31,33},
  /*26(-1)*/ { 0, 2, 4, 6, 8, 9,11,13,15,17,18,20,22,24,26,27,29,31,33,34},
  /*27(-1)*/ { 0, 2, 4, 6, 8,10,12,13,15,17,19,21,23,25,27,28,30,32,34,36},
  /*28(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,29,31,33,35,37},
  /*29(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*30(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,30,32,34,36,38,40},
  /*31(-1)*/ { 1, 3, 5, 7, 9,11,13,16,18,20,22,24,26,28,31,33,35,37,39,41},
  /*32(-1)*/ { 1, 3, 5, 7, 9,12,14,16,18,20,23,25,27,29,32,34,36,38,40,43},
  /*33(-1)*/ { 1, 3, 5, 7,10,12,14,17,19,21,23,26,28,30,33,35,37,39,42,44},
  /*34(-1)*/ { 1, 3, 5, 8,10,12,15,17,19,22,24,26,29,31,34,36,38,41,43,45},
  /*35(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,22,25,27,30,32,35,37,39,42,44,47},
  /*36(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,28,31,33,36,38,40,43,45,48},
  /*37(-1)*/ { 1, 3, 6, 8,11,14,16,19,21,24,26,29,31,34,37,39,42,44,47,49},
  /*38(-1)*/ { 1, 3, 6, 9,11,14,17,19,22,24,27,30,32,35,38,40,43,45,48,51},
  /*39(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,30,33,36,39,41,44,47,49,52},
  /*40(-1)*/ { 1, 4, 6, 9,12,15,17,20,23,26,28,31,34,37,40,42,45,48,51,53},
  /*41(-1)*/ { 1, 4, 7, 9,12,15,18,21,24,26,29,32,35,38,41,43,46,49,52,55},
  /*42(-1)*/ { 1, 4, 7,10,13,15,18,21,24,27,30,33,36,39,42,44,47,50,53,56},
  /*43(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,45,48,51,54,57},
  /*44(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,44,47,50,53,56,59},
  /*45(-1)*/ { 1, 4, 7,10,13,17,20,23,26,29,32,35,38,41,45,48,51,54,57,60},
  /*46(-1)*/ { 1, 4, 7,11,14,17,20,23,26,30,33,36,39,42,46,49,52,55,58,61},
  /*47(-1)*/ { 1, 4, 8,11,14,17,21,24,27,30,34,37,40,43,47,50,53,56,59,63},
  /*48(-1)*/ { 1, 4, 8,11,14,18,21,24,28,31,34,38,41,44,48,51,54,57,61,64},
  /*49(-1)*/ { 1, 5, 8,11,15,18,21,25,28,32,35,38,42,45,49,52,55,59,62,65},
  /*50(-1)*/ { 1, 5, 8,12,15,18,22,25,29,32,36,39,43,46,50,53,56,60,63,67},
  /*51(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,40,43,47,51,54,58,61,65,68},
  /*52(-1)*/ { 1, 5, 8,12,16,19,23,26,30,34,37,41,44,48,52,55,59,62,66,69},
  /*53(-1)*/ { 1, 5, 9,12,16,20,23,27,31,34,38,42,45,49,53,56,60,63,67,71},
  /*54(-1)*/ { 1, 5, 9,13,16,20,24,27,31,35,39,42,46,50,54,57,61,65,68,72},
  /*55(-1)*/ { 1, 5, 9,13,17,20,24,28,32,36,39,43,47,51,55,58,62,66,70,73},
  /*56(-1)*/ { 1, 5, 9,13,17,21,25,28,32,36,40,44,48,52,56,59,63,67,71,75},
  /*57(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,41,45,49,53,57,60,64,68,72,76},
  /*58(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*59(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,59,63,67,71,75,79},
  /*60(-1)*/ { 2, 6,10,14,18,22,26,31,35,39,43,47,51,55,60,64,68,72,76,80},
  /*61(-1)*/ { 2, 6,10,14,18,23,27,31,35,39,44,48,52,56,61,65,69,73,77,82},
  /*62(-1)*/ { 2, 6,10,14,19,23,27,32,36,40,44,49,53,57,62,66,70,74,79,83},
  /*63(-1)*/ { 2, 6,10,15,19,23,28,32,36,41,45,49,54,58,63,67,71,76,80,84},
  /*64(-1)*/ { 2, 6,11,15,19,24,28,33,37,41,46,50,55,59,64,68,72,77,81,86},
  /*65(-1)*/ { 2, 6,11,15,20,24,29,33,38,42,47,51,56,60,65,69,73,78,82,87},
  /*66(-1)*/ { 2, 6,11,15,20,25,29,34,38,43,47,52,56,61,66,70,75,79,84,88},
  /*67(-1)*/ { 2, 6,11,16,20,25,30,34,39,43,48,53,57,62,67,71,76,80,85,89},
  /*68(-1)*/ { 2, 7,11,16,21,25,30,35,39,44,49,53,58,63,68,72,77,82,86,89},
  /*69(-1)*/ { 2, 7,11,16,21,26,30,35,40,45,49,54,59,64,69,73,78,83,88,89},
  /*70(-1)*/ { 2, 7,12,16,21,26,31,36,41,45,50,55,60,65,70,74,79,84,89,89},
  /*71(-1)*/ { 2, 7,12,17,22,26,31,36,41,46,51,56,61,66,71,75,80,85,89,89},
  /*72(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,57,62,67,72,76,81,86,89,89},
  /*73(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,57,62,67,73,78,83,88,89,89},
  /*74(-1)*/ { 2, 7,12,17,22,28,33,38,43,48,53,58,63,68,74,79,84,89,89,89},
  /*75(-1)*/ { 2, 7,12,18,23,28,33,38,43,49,54,59,64,69,75,80,85,89,89,89},
  /*76(-1)*/ { 2, 7,13,18,23,28,34,39,44,49,55,60,65,70,76,81,86,89,89,89},
  /*77(-1)*/ { 2, 7,13,18,23,29,34,39,45,50,55,61,66,71,77,82,87,89,89,89},
  /*78(-1)*/ { 2, 8,13,18,24,29,34,40,45,51,56,61,67,72,78,83,88,89,89,89},
  /*79(-1)*/ { 2, 8,13,19,24,29,35,40,46,51,57,62,68,73,79,84,89,89,89,89}
  }},
/* DY = 15 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1},
  /* 3(-1)*/ {0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2},
  /* 4(-1)*/ {0xff,0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4},
  /* 5(-1)*/ {0xff, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5},
  /* 6(-1)*/ {0xff, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6},
  /* 7(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8},
  /* 8(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9},
  /* 9(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9,10,10},
  /*10(-1)*/ { 0, 0, 1, 2, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 8, 9,10,10,11,12},
  /*11(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 7, 8, 9, 9,10,11,12,12,13},
  /*12(-1)*/ { 0, 1, 1, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9,10,10,11,12,13,14,14},
  /*13(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,11,11,12,13,14,15,16},
  /*14(-1)*/ { 0, 1, 2, 3, 3, 4, 5, 6, 7, 8, 9,10,11,12,12,13,14,15,16,17},
  /*15(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,13,14,15,16,17,18},
  /*16(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,16,17,18,19,20},
  /*17(-1)*/ { 0, 1, 2, 3, 4, 6, 7, 8, 9,10,11,12,13,14,15,17,18,19,20,21},
  /*18(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8, 9,11,12,13,14,15,16,18,19,20,21,22},
  /*19(-1)*/ { 0, 1, 3, 4, 5, 6, 7, 9,10,11,12,14,15,16,17,19,20,21,22,23},
  /*20(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,10,12,13,14,16,17,18,20,21,22,23,25},
  /*21(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,16,18,19,21,22,23,25,26},
  /*22(-1)*/ { 0, 2, 3, 4, 6, 7, 9,10,12,13,14,16,17,19,20,22,23,24,26,27},
  /*23(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,17,18,20,21,23,24,25,27,28},
  /*24(-1)*/ { 0, 2, 3, 5, 6, 8,10,11,13,14,16,17,19,20,22,24,25,27,28,30},
  /*25(-1)*/ { 0, 2, 4, 5, 7, 8,10,12,13,15,16,18,20,21,23,25,26,28,29,31},
  /*26(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,14,15,17,19,20,22,24,26,27,29,31,32},
  /*27(-1)*/ { 0, 2, 4, 6, 7, 9,11,13,14,16,18,20,21,23,25,27,28,30,32,33},
  /*28(-1)*/ { 0, 2, 4, 6, 8, 9,11,13,15,17,18,20,22,24,26,28,29,31,33,35},
  /*29(-1)*/ { 0, 2, 4, 6, 8,10,12,14,15,17,19,21,23,25,27,29,30,32,34,36},
  /*30(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,31,33,35,37},
  /*31(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*32(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,32,34,36,38,40},
  /*33(-1)*/ { 1, 3, 5, 7, 9,11,13,15,18,20,22,24,26,28,30,33,35,37,39,41},
  /*34(-1)*/ { 1, 3, 5, 7, 9,12,14,16,18,20,23,25,27,29,31,34,36,38,40,42},
  /*35(-1)*/ { 1, 3, 5, 7,10,12,14,16,19,21,23,25,28,30,32,35,37,39,41,44},
  /*36(-1)*/ { 1, 3, 5, 8,10,12,15,17,19,22,24,26,29,31,33,36,38,40,42,45},
  /*37(-1)*/ { 1, 3, 5, 8,10,13,15,17,20,22,25,27,29,32,34,37,39,41,44,46},
  /*38(-1)*/ { 1, 3, 6, 8,11,13,15,18,20,23,25,28,30,33,35,38,40,42,45,47},
  /*39(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,28,31,33,36,39,41,44,46,49},
  /*40(-1)*/ { 1, 3, 6, 9,11,14,16,19,21,24,27,29,32,34,37,40,42,45,47,50},
  /*41(-1)*/ { 1, 3, 6, 9,11,14,17,19,22,25,27,30,33,35,38,41,43,46,48,51},
  /*42(-1)*/ { 1, 4, 6, 9,12,14,17,20,23,25,28,31,33,36,39,42,44,47,50,52},
  /*43(-1)*/ { 1, 4, 6, 9,12,15,18,20,23,26,29,31,34,37,40,43,45,48,51,54},
  /*44(-1)*/ { 1, 4, 7, 9,12,15,18,21,24,26,29,32,35,38,41,44,46,49,52,55},
  /*45(-1)*/ { 1, 4, 7,10,13,15,18,21,24,27,30,33,36,39,42,45,47,50,53,56},
  /*46(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,48,51,54,57},
  /*47(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,47,50,53,56,59},
  /*48(-1)*/ { 1, 4, 7,10,13,17,20,23,26,29,32,35,38,41,44,48,51,54,57,60},
  /*49(-1)*/ { 1, 4, 7,11,14,17,20,23,26,30,33,36,39,42,45,49,52,55,58,61},
  /*50(-1)*/ { 1, 4, 8,11,14,17,20,24,27,30,33,37,40,43,46,50,53,56,59,62},
  /*51(-1)*/ { 1, 4, 8,11,14,18,21,24,27,31,34,37,41,44,47,51,54,57,60,64},
  /*52(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,41,45,48,52,55,58,62,65},
  /*53(-1)*/ { 1, 5, 8,11,15,18,22,25,29,32,35,39,42,46,49,53,56,59,63,66},
  /*54(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,40,43,47,50,54,57,60,64,67},
  /*55(-1)*/ { 1, 5, 8,12,15,19,23,26,30,33,37,40,44,47,51,55,58,62,65,69},
  /*56(-1)*/ { 1, 5, 9,12,16,19,23,27,30,34,37,41,45,48,52,56,59,63,66,70},
  /*57(-1)*/ { 1, 5, 9,12,16,20,23,27,31,34,38,42,45,49,53,57,60,64,68,71},
  /*58(-1)*/ { 1, 5, 9,13,16,20,24,28,31,35,39,43,46,50,54,58,61,65,69,72},
  /*59(-1)*/ { 1, 5, 9,13,17,20,24,28,32,36,39,43,47,51,55,59,62,66,70,74},
  /*60(-1)*/ { 1, 5, 9,13,17,21,25,29,32,36,40,44,48,52,56,60,63,67,71,75},
  /*61(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,41,45,49,53,57,61,64,68,72,76},
  /*62(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*63(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,63,67,71,75,79},
  /*64(-1)*/ { 2, 6,10,14,18,22,26,30,35,39,43,47,51,55,59,64,68,72,76,80},
  /*65(-1)*/ { 2, 6,10,14,18,23,27,31,35,39,44,48,52,56,60,65,69,73,77,81},
  /*66(-1)*/ { 2, 6,10,14,19,23,27,31,36,40,44,48,53,57,61,66,70,74,78,83},
  /*67(-1)*/ { 2, 6,10,15,19,23,28,32,36,41,45,49,54,58,62,67,71,75,79,84},
  /*68(-1)*/ { 2, 6,10,15,19,24,28,32,37,41,46,50,54,59,63,68,72,76,81,85},
  /*69(-1)*/ { 2, 6,11,15,20,24,28,33,37,42,46,51,55,60,64,69,73,77,82,86},
  /*70(-1)*/ { 2, 6,11,15,20,24,29,33,38,42,47,51,56,60,65,70,74,79,83,88},
  /*71(-1)*/ { 2, 6,11,16,20,25,29,34,38,43,48,52,57,61,66,71,75,80,84,89},
  /*72(-1)*/ { 2, 6,11,16,20,25,30,34,39,44,48,53,58,62,67,72,76,81,85,89},
  /*73(-1)*/ { 2, 7,11,16,21,25,30,35,40,44,49,54,58,63,68,73,77,82,87,89},
  /*74(-1)*/ { 2, 7,11,16,21,26,31,35,40,45,50,54,59,64,69,74,78,83,88,89},
  /*75(-1)*/ { 2, 7,12,16,21,26,31,36,41,45,50,55,60,65,70,75,79,84,89,89},
  /*76(-1)*/ { 2, 7,12,17,22,26,31,36,41,46,51,56,61,66,71,76,80,85,89,89},
  /*77(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,57,62,67,72,77,81,86,89,89},
  /*78(-1)*/ { 2, 7,12,17,22,27,32,37,42,47,52,57,62,67,72,78,83,88,89,89},
  /*79(-1)*/ { 2, 7,12,17,22,28,33,38,43,48,53,58,63,68,73,79,84,89,89,89}
  }},
/* DY = 16 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1},
  /* 3(-1)*/ {0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2},
  /* 4(-1)*/ {0xff,0xff, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3},
  /* 5(-1)*/ {0xff, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5},
  /* 6(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6},
  /* 7(-1)*/ {0xff, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7},
  /* 8(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8},
  /* 9(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9,10},
  /*10(-1)*/ { 0, 0, 1, 1, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 8, 9,10,10,11},
  /*11(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9, 9,10,11,11,12},
  /*12(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,10,11,12,13,13},
  /*13(-1)*/ { 0, 1, 1, 2, 3, 4, 4, 5, 6, 7, 8, 8, 9,10,11,11,12,13,14,15},
  /*14(-1)*/ { 0, 1, 2, 2, 3, 4, 5, 6, 7, 7, 8, 9,10,11,12,12,13,14,15,16},
  /*15(-1)*/ { 0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,11,12,13,13,14,15,16,17},
  /*16(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,14,15,16,17,18},
  /*17(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,17,18,19,20},
  /*18(-1)*/ { 0, 1, 2, 3, 4, 6, 7, 8, 9,10,11,12,13,14,15,16,18,19,20,21},
  /*19(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8, 9,10,12,13,14,15,16,17,19,20,21,22},
  /*20(-1)*/ { 0, 1, 3, 4, 5, 6, 7, 9,10,11,12,13,15,16,17,18,20,21,22,23},
  /*21(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,10,12,13,14,15,17,18,19,21,22,23,24},
  /*22(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,16,18,19,20,22,23,24,26},
  /*23(-1)*/ { 0, 2, 3, 4, 6, 7, 9,10,11,13,14,16,17,18,20,21,23,24,25,27},
  /*24(-1)*/ { 0, 2, 3, 5, 6, 8, 9,10,12,13,15,16,18,19,21,22,24,25,26,28},
  /*25(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,17,18,20,21,23,25,26,28,29},
  /*26(-1)*/ { 0, 2, 3, 5, 7, 8,10,11,13,14,16,18,19,21,22,24,26,27,29,30},
  /*27(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,13,15,17,18,20,22,23,25,27,28,30,31},
  /*28(-1)*/ { 0, 2, 4, 5, 7, 9,11,12,14,16,17,19,21,22,24,26,28,29,31,33},
  /*29(-1)*/ { 0, 2, 4, 6, 7, 9,11,13,14,16,18,20,21,23,25,27,29,30,32,34},
  /*30(-1)*/ { 0, 2, 4, 6, 8,10,11,13,15,17,19,20,22,24,26,28,30,31,33,35},
  /*31(-1)*/ { 0, 2, 4, 6, 8,10,12,14,15,17,19,21,23,25,27,29,31,32,34,36},
  /*32(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,33,35,37},
  /*33(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*34(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,34,36,38,40},
  /*35(-1)*/ { 1, 3, 5, 7, 9,11,13,15,18,20,22,24,26,28,30,32,35,37,39,41},
  /*36(-1)*/ { 1, 3, 5, 7, 9,12,14,16,18,20,22,25,27,29,31,33,36,38,40,42},
  /*37(-1)*/ { 1, 3, 5, 7,10,12,14,16,19,21,23,25,28,30,32,34,37,39,41,43},
  /*38(-1)*/ { 1, 3, 5, 8,10,12,14,17,19,21,24,26,28,31,33,35,38,40,42,44},
  /*39(-1)*/ { 1, 3, 5, 8,10,13,15,17,20,22,24,27,29,31,34,36,39,41,43,46},
  /*40(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,23,25,27,30,32,35,37,40,42,44,47},
  /*41(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,28,31,33,36,38,41,43,45,48},
  /*42(-1)*/ { 1, 3, 6, 8,11,14,16,19,21,24,26,29,31,34,36,39,42,44,47,49},
  /*43(-1)*/ { 1, 3, 6, 9,11,14,16,19,22,24,27,29,32,35,37,40,43,45,48,50},
  /*44(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,30,33,36,38,41,44,46,49,52},
  /*45(-1)*/ { 1, 4, 6, 9,12,15,17,20,23,25,28,31,34,36,39,42,45,47,50,53},
  /*46(-1)*/ { 1, 4, 6, 9,12,15,18,20,23,26,29,32,34,37,40,43,46,48,51,54},
  /*47(-1)*/ { 1, 4, 7, 9,12,15,18,21,24,27,29,32,35,38,41,44,47,49,52,55},
  /*48(-1)*/ { 1, 4, 7,10,13,16,18,21,24,27,30,33,36,39,42,45,48,50,53,56},
  /*49(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,51,54,57},
  /*50(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,50,53,56,59},
  /*51(-1)*/ { 1, 4, 7,10,13,17,20,23,26,29,32,35,38,41,44,47,51,54,57,60},
  /*52(-1)*/ { 1, 4, 7,11,14,17,20,23,26,29,33,36,39,42,45,48,52,55,58,61},
  /*53(-1)*/ { 1, 4, 8,11,14,17,20,24,27,30,33,36,40,43,46,49,53,56,59,62},
  /*54(-1)*/ { 1, 4, 8,11,14,18,21,24,27,31,34,37,40,44,47,50,54,57,60,63},
  /*55(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,41,45,48,51,55,58,61,65},
  /*56(-1)*/ { 1, 5, 8,11,15,18,22,25,28,32,35,39,42,45,49,52,56,59,62,66},
  /*57(-1)*/ { 1, 5, 8,12,15,19,22,25,29,32,36,39,43,46,50,53,57,60,63,67},
  /*58(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,40,43,47,50,54,58,61,65,68},
  /*59(-1)*/ { 1, 5, 8,12,16,19,23,26,30,33,37,41,44,48,51,55,59,62,66,69},
  /*60(-1)*/ { 1, 5, 9,12,16,20,23,27,30,34,38,41,45,49,52,56,60,63,67,70},
  /*61(-1)*/ { 1, 5, 9,12,16,20,24,27,31,35,38,42,46,49,53,57,61,64,68,72},
  /*62(-1)*/ { 1, 5, 9,13,16,20,24,28,31,35,39,43,46,50,54,58,62,65,69,73},
  /*63(-1)*/ { 1, 5, 9,13,17,21,24,28,32,36,40,43,47,51,55,59,63,66,70,74},
  /*64(-1)*/ { 1, 5, 9,13,17,21,25,29,32,36,40,44,48,52,56,60,64,67,71,75},
  /*65(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,68,72,76},
  /*66(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*67(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,67,71,75,79},
  /*68(-1)*/ { 2, 6,10,14,18,22,26,30,35,39,43,47,51,55,59,63,68,72,76,80},
  /*69(-1)*/ { 2, 6,10,14,18,23,27,31,35,39,43,48,52,56,60,64,69,73,77,81},
  /*70(-1)*/ { 2, 6,10,14,19,23,27,31,36,40,44,48,53,57,61,65,70,74,78,82},
  /*71(-1)*/ { 2, 6,10,15,19,23,27,32,36,40,45,49,53,58,62,66,71,75,79,83},
  /*72(-1)*/ { 2, 6,10,15,19,24,28,32,37,41,45,50,54,58,63,67,72,76,80,85},
  /*73(-1)*/ { 2, 6,11,15,19,24,28,33,37,42,46,50,55,59,64,68,73,77,81,86},
  /*74(-1)*/ { 2, 6,11,15,20,24,29,33,38,42,47,51,56,60,65,69,74,78,82,87},
  /*75(-1)*/ { 2, 6,11,15,20,25,29,34,38,43,47,52,56,61,65,70,75,79,84,88},
  /*76(-1)*/ { 2, 6,11,16,20,25,29,34,39,43,48,52,57,62,66,71,76,80,85,89},
  /*77(-1)*/ { 2, 7,11,16,21,25,30,35,39,44,49,53,58,63,67,72,77,81,86,89},
  /*78(-1)*/ { 2, 7,11,16,21,26,30,35,40,44,49,54,59,63,68,73,78,82,87,89},
  /*79(-1)*/ { 2, 7,11,16,21,26,31,35,40,45,50,55,59,64,69,74,79,83,88,89}
  }},
/* DY = 17 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0},
  /* 2(-1)*/ {0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1},
  /* 3(-1)*/ {0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2},
  /* 4(-1)*/ {0xff,0xff, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3},
  /* 5(-1)*/ {0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4},
  /* 6(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5},
  /* 7(-1)*/ {0xff, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7},
  /* 8(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8},
  /* 9(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9},
  /*10(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9,10,10},
  /*11(-1)*/ { 0, 0, 1, 1, 2, 3, 3, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9,10,11,11},
  /*12(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9,10,10,11,12,13},
  /*13(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,11,11,12,13,14},
  /*14(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 5, 6, 7, 8, 9, 9,10,11,12,12,13,14,15},
  /*15(-1)*/ { 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,13,13,14,15,16},
  /*16(-1)*/ { 0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,11,12,13,14,14,15,16,17},
  /*17(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,15,16,17,18},
  /*18(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,18,19,20},
  /*19(-1)*/ { 0, 1, 2, 3, 4, 5, 7, 8, 9,10,11,12,13,14,15,16,17,19,20,21},
  /*20(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8, 9,10,12,13,14,15,16,17,18,20,21,22},
  /*21(-1)*/ { 0, 1, 3, 4, 5, 6, 7, 9,10,11,12,13,15,16,17,18,19,21,22,23},
  /*22(-1)*/ { 0, 1, 3, 4, 5, 6, 8, 9,10,11,13,14,15,16,18,19,20,22,23,24},
  /*23(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,23,24,25},
  /*24(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,13,14,15,17,18,19,21,22,24,25,26},
  /*25(-1)*/ { 0, 2, 3, 5, 6, 7, 9,10,12,13,15,16,17,19,20,22,23,25,26,27},
  /*26(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,17,18,20,21,23,24,26,27,28},
  /*27(-1)*/ { 0, 2, 3, 5, 6, 8,10,11,13,14,16,17,19,20,22,23,25,27,28,30},
  /*28(-1)*/ { 0, 2, 4, 5, 7, 8,10,12,13,15,16,18,20,21,23,24,26,28,29,31},
  /*29(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,14,15,17,19,20,22,24,25,27,29,30,32},
  /*30(-1)*/ { 0, 2, 4, 6, 7, 9,11,12,14,16,18,19,21,23,24,26,28,30,31,33},
  /*31(-1)*/ { 0, 2, 4, 6, 7, 9,11,13,15,16,18,20,22,23,25,27,29,31,32,34},
  /*32(-1)*/ { 0, 2, 4, 6, 8,10,11,13,15,17,19,21,22,24,26,28,30,32,33,35},
  /*33(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,17,19,21,23,25,27,29,31,33,34,36},
  /*34(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,35,37},
  /*35(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*36(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,36,38,40},
  /*37(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,20,22,24,26,28,30,32,34,37,39,41},
  /*38(-1)*/ { 1, 3, 5, 7, 9,11,14,16,18,20,22,24,27,29,31,33,35,38,40,42},
  /*39(-1)*/ { 1, 3, 5, 7,10,12,14,16,18,21,23,25,27,30,32,34,36,39,41,43},
  /*40(-1)*/ { 1, 3, 5, 8,10,12,14,17,19,21,24,26,28,30,33,35,37,40,42,44},
  /*41(-1)*/ { 1, 3, 5, 8,10,12,15,17,19,22,24,26,29,31,33,36,38,41,43,45},
  /*42(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,22,25,27,30,32,34,37,39,42,44,46},
  /*43(-1)*/ { 1, 3, 6, 8,11,13,15,18,20,23,25,28,30,33,35,38,40,43,45,47},
  /*44(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,28,31,33,36,38,41,44,46,49},
  /*45(-1)*/ { 1, 3, 6, 9,11,14,16,19,21,24,27,29,32,34,37,39,42,45,47,50},
  /*46(-1)*/ { 1, 3, 6, 9,11,14,17,19,22,24,27,30,32,35,38,40,43,46,48,51},
  /*47(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,30,33,36,38,41,44,47,49,52},
  /*48(-1)*/ { 1, 4, 6, 9,12,15,17,20,23,26,28,31,34,37,39,42,45,48,50,53},
  /*49(-1)*/ { 1, 4, 7, 9,12,15,18,21,23,26,29,32,35,37,40,43,46,49,51,54},
  /*50(-1)*/ { 1, 4, 7,10,12,15,18,21,24,27,30,32,35,38,41,44,47,50,52,55},
  /*51(-1)*/ { 1, 4, 7,10,13,16,18,21,24,27,30,33,36,39,42,45,48,51,53,56},
  /*52(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,54,57},
  /*53(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,53,56,59},
  /*54(-1)*/ { 1, 4, 7,10,13,16,20,23,26,29,32,35,38,41,44,47,50,54,57,60},
  /*55(-1)*/ { 1, 4, 7,11,14,17,20,23,26,29,33,36,39,42,45,48,51,55,58,61},
  /*56(-1)*/ { 1, 4, 8,11,14,17,20,24,27,30,33,36,40,43,46,49,52,56,59,62},
  /*57(-1)*/ { 1, 4, 8,11,14,17,21,24,27,30,34,37,40,43,47,50,53,57,60,63},
  /*58(-1)*/ { 1, 4, 8,11,14,18,21,24,28,31,34,38,41,44,48,51,54,58,61,64},
  /*59(-1)*/ { 1, 5, 8,11,15,18,21,25,28,32,35,38,42,45,48,52,55,59,62,65},
  /*60(-1)*/ { 1, 5, 8,12,15,18,22,25,29,32,36,39,42,46,49,53,56,60,63,66},
  /*61(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,40,43,47,50,54,57,61,64,67},
  /*62(-1)*/ { 1, 5, 8,12,15,19,23,26,30,33,37,40,44,47,51,54,58,62,65,69},
  /*63(-1)*/ { 1, 5, 9,12,16,19,23,27,30,34,37,41,45,48,52,55,59,63,66,70},
  /*64(-1)*/ { 1, 5, 9,12,16,20,23,27,31,34,38,42,45,49,53,56,60,64,67,71},
  /*65(-1)*/ { 1, 5, 9,13,16,20,24,27,31,35,39,42,46,50,53,57,61,65,68,72},
  /*66(-1)*/ { 1, 5, 9,13,16,20,24,28,32,35,39,43,47,50,54,58,62,66,69,73},
  /*67(-1)*/ { 1, 5, 9,13,17,21,24,28,32,36,40,44,47,51,55,59,63,67,70,74},
  /*68(-1)*/ { 1, 5, 9,13,17,21,25,29,33,36,40,44,48,52,56,60,64,68,71,75},
  /*69(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,72,76},
  /*70(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*71(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,71,75,79},
  /*72(-1)*/ { 2, 6,10,14,18,22,26,30,34,39,43,47,51,55,59,63,67,72,76,80},
  /*73(-1)*/ { 2, 6,10,14,18,22,27,31,35,39,43,47,52,56,60,64,68,73,77,81},
  /*74(-1)*/ { 2, 6,10,14,19,23,27,31,35,40,44,48,52,57,61,65,69,74,78,82},
  /*75(-1)*/ { 2, 6,10,15,19,23,27,32,36,40,45,49,53,57,62,66,70,75,79,83},
  /*76(-1)*/ { 2, 6,10,15,19,23,28,32,36,41,45,49,54,58,62,67,71,76,80,84},
  /*77(-1)*/ { 2, 6,11,15,19,24,28,33,37,41,46,50,55,59,63,68,72,77,81,85},
  /*78(-1)*/ { 2, 6,11,15,20,24,28,33,37,42,46,51,55,60,64,69,73,78,82,86},
  /*79(-1)*/ { 2, 6,11,15,20,24,29,33,38,42,47,51,56,60,65,69,74,79,83,88}
  }},
/* DY = 18 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0, 0},
  /* 2(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
  /* 3(-1)*/ {0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2},
  /* 4(-1)*/ {0xff,0xff, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3},
  /* 5(-1)*/ {0xff,0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4},
  /* 6(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5},
  /* 7(-1)*/ {0xff, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6},
  /* 8(-1)*/ {0xff, 0, 0, 1, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7},
  /* 9(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7, 8, 8},
  /*10(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9,10},
  /*11(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9,10,11},
  /*12(-1)*/ { 0, 0, 1, 2, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 9, 9,10,10,11,12},
  /*13(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 7, 8, 9, 9,10,11,11,12,13},
  /*14(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,11,12,12,13,14},
  /*15(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 5, 6, 7, 8, 9, 9,10,11,12,13,13,14,15},
  /*16(-1)*/ { 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 8, 9,10,11,12,13,14,14,15,16},
  /*17(-1)*/ { 0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,15,16,17},
  /*18(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,16,17,18},
  /*19(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,19,20},
  /*20(-1)*/ { 0, 1, 2, 3, 4, 5, 7, 8, 9,10,11,12,13,14,15,16,17,18,20,21},
  /*21(-1)*/ { 0, 1, 2, 3, 5, 6, 7, 8, 9,10,11,13,14,15,16,17,18,19,21,22},
  /*22(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8,10,11,12,13,14,16,17,18,19,20,22,23},
  /*23(-1)*/ { 0, 1, 3, 4, 5, 6, 8, 9,10,11,13,14,15,16,18,19,20,21,23,24},
  /*24(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,11,12,13,14,16,17,18,20,21,22,24,25},
  /*25(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,16,18,19,20,22,23,25,26},
  /*26(-1)*/ { 0, 2, 3, 4, 6, 7, 9,10,11,13,14,16,17,18,20,21,23,24,26,27},
  /*27(-1)*/ { 0, 2, 3, 5, 6, 8, 9,10,12,13,15,16,18,19,21,22,24,25,27,28},
  /*28(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,17,18,20,21,23,24,26,28,29},
  /*29(-1)*/ { 0, 2, 3, 5, 7, 8,10,11,13,14,16,18,19,21,22,24,25,27,29,30},
  /*30(-1)*/ { 0, 2, 4, 5, 7, 8,10,12,13,15,17,18,20,21,23,25,26,28,30,31},
  /*31(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,14,15,17,19,20,22,24,25,27,29,31,32},
  /*32(-1)*/ { 0, 2, 4, 6, 7, 9,11,12,14,16,18,19,21,23,25,26,28,30,32,33},
  /*33(-1)*/ { 0, 2, 4, 6, 8, 9,11,13,15,16,18,20,22,24,25,27,29,31,33,34},
  /*34(-1)*/ { 0, 2, 4, 6, 8,10,11,13,15,17,19,21,22,24,26,28,30,32,34,35},
  /*35(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,17,19,21,23,25,27,29,31,33,35,36},
  /*36(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,37},
  /*37(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*38(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,38,40},
  /*39(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,20,22,24,26,28,30,32,34,36,39,41},
  /*40(-1)*/ { 1, 3, 5, 7, 9,11,14,16,18,20,22,24,27,29,31,33,35,37,40,42},
  /*41(-1)*/ { 1, 3, 5, 7, 9,12,14,16,18,21,23,25,27,29,32,34,36,38,41,43},
  /*42(-1)*/ { 1, 3, 5, 7,10,12,14,17,19,21,23,26,28,30,32,35,37,39,42,44},
  /*43(-1)*/ { 1, 3, 5, 8,10,12,15,17,19,22,24,26,29,31,33,36,38,40,43,45},
  /*44(-1)*/ { 1, 3, 5, 8,10,13,15,17,20,22,24,27,29,32,34,36,39,41,44,46},
  /*45(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,23,25,27,30,32,35,37,40,42,45,47},
  /*46(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,28,31,33,36,38,41,43,46,48},
  /*47(-1)*/ { 1, 3, 6, 8,11,13,16,19,21,24,26,29,31,34,36,39,41,44,47,49},
  /*48(-1)*/ { 1, 3, 6, 9,11,14,16,19,22,24,27,29,32,35,37,40,42,45,48,50},
  /*49(-1)*/ { 1, 3, 6, 9,11,14,17,19,22,25,27,30,33,35,38,41,43,46,49,51},
  /*50(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,31,33,36,39,41,44,47,50,52},
  /*51(-1)*/ { 1, 4, 6, 9,12,15,17,20,23,26,28,31,34,37,39,42,45,48,51,53},
  /*52(-1)*/ { 1, 4, 7, 9,12,15,18,21,23,26,29,32,35,37,40,43,46,49,52,54},
  /*53(-1)*/ { 1, 4, 7,10,12,15,18,21,24,27,30,32,35,38,41,44,47,50,53,55},
  /*54(-1)*/ { 1, 4, 7,10,13,16,18,21,24,27,30,33,36,39,42,45,48,51,54,56},
  /*55(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,57},
  /*56(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,56,59},
  /*57(-1)*/ { 1, 4, 7,10,13,16,20,23,26,29,32,35,38,41,44,47,50,53,57,60},
  /*58(-1)*/ { 1, 4, 7,10,14,17,20,23,26,29,32,36,39,42,45,48,51,54,58,61},
  /*59(-1)*/ { 1, 4, 7,11,14,17,20,23,27,30,33,36,39,43,46,49,52,55,59,62},
  /*60(-1)*/ { 1, 4, 8,11,14,17,21,24,27,30,34,37,40,43,47,50,53,56,60,63},
  /*61(-1)*/ { 1, 4, 8,11,14,18,21,24,28,31,34,37,41,44,47,51,54,57,61,64},
  /*62(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,41,45,48,51,55,58,62,65},
  /*63(-1)*/ { 1, 5, 8,11,15,18,22,25,28,32,35,39,42,45,49,52,56,59,63,66},
  /*64(-1)*/ { 1, 5, 8,12,15,19,22,25,29,32,36,39,43,46,50,53,57,60,64,67},
  /*65(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,40,43,47,50,54,57,61,65,68},
  /*66(-1)*/ { 1, 5, 8,12,16,19,23,26,30,33,37,41,44,48,51,55,58,62,66,69},
  /*67(-1)*/ { 1, 5, 9,12,16,19,23,27,30,34,38,41,45,48,52,56,59,63,67,70},
  /*68(-1)*/ { 1, 5, 9,12,16,20,23,27,31,34,38,42,45,49,53,56,60,64,68,71},
  /*69(-1)*/ { 1, 5, 9,13,16,20,24,27,31,35,39,42,46,50,54,57,61,65,69,72},
  /*70(-1)*/ { 1, 5, 9,13,17,20,24,28,32,35,39,43,47,51,54,58,62,66,70,73},
  /*71(-1)*/ { 1, 5, 9,13,17,21,24,28,32,36,40,44,47,51,55,59,63,67,71,74},
  /*72(-1)*/ { 1, 5, 9,13,17,21,25,29,33,36,40,44,48,52,56,60,64,68,72,75},
  /*73(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,73,76},
  /*74(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*75(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,75,79},
  /*76(-1)*/ { 2, 6,10,14,18,22,26,30,34,39,43,47,51,55,59,63,67,71,76,80},
  /*77(-1)*/ { 2, 6,10,14,18,22,27,31,35,39,43,47,52,56,60,64,68,72,77,81},
  /*78(-1)*/ { 2, 6,10,14,18,23,27,31,35,40,44,48,52,56,61,65,69,73,78,82},
  /*79(-1)*/ { 2, 6,10,14,19,23,27,32,36,40,44,49,53,57,61,66,70,74,79,83}
  }},
/* DY = 19 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0},
  /* 2(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
  /* 3(-1)*/ {0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2},
  /* 4(-1)*/ {0xff,0xff, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3},
  /* 5(-1)*/ {0xff,0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4},
  /* 6(-1)*/ {0xff, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5},
  /* 7(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6},
  /* 8(-1)*/ {0xff, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7},
  /* 9(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7, 8},
  /*10(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9},
  /*11(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10},
  /*12(-1)*/ { 0, 0, 1, 1, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 9, 9,10,10,11},
  /*13(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9,10,10,11,11,12},
  /*14(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 5, 6, 7, 8, 8, 9,10,10,11,12,12,13},
  /*15(-1)*/ { 0, 1, 1, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9,10,10,11,12,13,13,14},
  /*16(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,10,11,12,13,14,14,15},
  /*17(-1)*/ { 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 9,10,11,12,13,14,15,15,16},
  /*18(-1)*/ { 0, 1, 2, 3, 4, 5, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,16,17},
  /*19(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,17,18},
  /*20(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,20},
  /*21(-1)*/ { 0, 1, 2, 3, 4, 5, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,21},
  /*22(-1)*/ { 0, 1, 2, 3, 5, 6, 7, 8, 9,10,11,12,14,15,16,17,18,19,20,22},
  /*23(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8,10,11,12,13,14,15,17,18,19,20,21,23},
  /*24(-1)*/ { 0, 1, 3, 4, 5, 6, 8, 9,10,11,12,14,15,16,17,19,20,21,22,24},
  /*25(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,10,12,13,14,16,17,18,19,21,22,23,25},
  /*26(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,16,18,19,20,22,23,24,26},
  /*27(-1)*/ { 0, 2, 3, 4, 6, 7, 9,10,11,13,14,15,17,18,20,21,22,24,25,27},
  /*28(-1)*/ { 0, 2, 3, 5, 6, 7, 9,10,12,13,15,16,17,19,20,22,23,25,26,28},
  /*29(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,17,18,20,21,23,24,26,27,29},
  /*30(-1)*/ { 0, 2, 3, 5, 6, 8,10,11,13,14,16,17,19,20,22,23,25,26,28,30},
  /*31(-1)*/ { 0, 2, 3, 5, 7, 8,10,11,13,15,16,18,19,21,23,24,26,27,29,31},
  /*32(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,13,15,17,18,20,22,23,25,27,28,30,32},
  /*33(-1)*/ { 0, 2, 4, 5, 7, 9,11,12,14,16,17,19,21,22,24,26,27,29,31,33},
  /*34(-1)*/ { 0, 2, 4, 6, 7, 9,11,13,14,16,18,20,21,23,25,27,28,30,32,34},
  /*35(-1)*/ { 0, 2, 4, 6, 8, 9,11,13,15,17,18,20,22,24,26,27,29,31,33,35},
  /*36(-1)*/ { 0, 2, 4, 6, 8,10,12,13,15,17,19,21,23,24,26,28,30,32,34,36},
  /*37(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,19,21,23,25,27,29,31,33,35,37},
  /*38(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38},
  /*39(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*40(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,40},
  /*41(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,22,24,26,28,30,32,34,36,38,41},
  /*42(-1)*/ { 1, 3, 5, 7, 9,11,14,16,18,20,22,24,26,29,31,33,35,37,39,42},
  /*43(-1)*/ { 1, 3, 5, 7, 9,12,14,16,18,20,23,25,27,29,31,34,36,38,40,43},
  /*44(-1)*/ { 1, 3, 5, 7,10,12,14,16,19,21,23,25,28,30,32,34,37,39,41,44},
  /*45(-1)*/ { 1, 3, 5, 8,10,12,15,17,19,21,24,26,28,31,33,35,38,40,42,45},
  /*46(-1)*/ { 1, 3, 5, 8,10,12,15,17,20,22,24,27,29,31,34,36,38,41,43,46},
  /*47(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,22,25,27,30,32,34,37,39,42,44,47},
  /*48(-1)*/ { 1, 3, 6, 8,11,13,16,18,20,23,25,28,30,33,35,38,40,43,45,48},
  /*49(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,28,31,33,36,38,41,43,46,49},
  /*50(-1)*/ { 1, 3, 6, 8,11,14,16,19,21,24,26,29,32,34,37,39,42,44,47,50},
  /*51(-1)*/ { 1, 3, 6, 9,11,14,17,19,22,24,27,30,32,35,37,40,43,45,48,51},
  /*52(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,30,33,36,38,41,44,46,49,52},
  /*53(-1)*/ { 1, 4, 6, 9,12,14,17,20,23,25,28,31,33,36,39,42,44,47,50,53},
  /*54(-1)*/ { 1, 4, 6, 9,12,15,18,20,23,26,29,31,34,37,40,42,45,48,51,54},
  /*55(-1)*/ { 1, 4, 7, 9,12,15,18,21,23,26,29,32,35,38,40,43,46,49,52,55},
  /*56(-1)*/ { 1, 4, 7,10,12,15,18,21,24,27,30,33,35,38,41,44,47,50,53,56},
  /*57(-1)*/ { 1, 4, 7,10,13,16,19,21,24,27,30,33,36,39,42,45,48,51,54,57},
  /*58(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58},
  /*59(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,59},
  /*60(-1)*/ { 1, 4, 7,10,13,16,20,23,26,29,32,35,38,41,44,47,50,53,56,60},
  /*61(-1)*/ { 1, 4, 7,10,14,17,20,23,26,29,32,35,39,42,45,48,51,54,57,61},
  /*62(-1)*/ { 1, 4, 7,11,14,17,20,23,27,30,33,36,39,42,46,49,52,55,58,62},
  /*63(-1)*/ { 1, 4, 8,11,14,17,21,24,27,30,33,37,40,43,46,50,53,56,59,63},
  /*64(-1)*/ { 1, 4, 8,11,14,18,21,24,27,31,34,37,41,44,47,50,54,57,60,64},
  /*65(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,41,45,48,51,55,58,61,65},
  /*66(-1)*/ { 1, 5, 8,11,15,18,22,25,28,32,35,38,42,45,49,52,55,59,62,66},
  /*67(-1)*/ { 1, 5, 8,12,15,18,22,25,29,32,36,39,42,46,49,53,56,60,63,67},
  /*68(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,40,43,47,50,54,57,61,64,68},
  /*69(-1)*/ { 1, 5, 8,12,15,19,23,26,30,33,37,40,44,47,51,54,58,61,65,69},
  /*70(-1)*/ { 1, 5, 8,12,16,19,23,26,30,34,37,41,44,48,52,55,59,62,66,70},
  /*71(-1)*/ { 1, 5, 9,12,16,20,23,27,30,34,38,41,45,49,52,56,60,63,67,71},
  /*72(-1)*/ { 1, 5, 9,12,16,20,24,27,31,35,38,42,46,49,53,57,60,64,68,72},
  /*73(-1)*/ { 1, 5, 9,13,16,20,24,28,31,35,39,43,46,50,54,58,61,65,69,73},
  /*74(-1)*/ { 1, 5, 9,13,17,20,24,28,32,36,39,43,47,51,55,58,62,66,70,74},
  /*75(-1)*/ { 1, 5, 9,13,17,21,25,28,32,36,40,44,48,51,55,59,63,67,71,75},
  /*76(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,40,44,48,52,56,60,64,68,72,76},
  /*77(-1)*/ { 1, 5, 9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,73,77},
  /*78(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78},
  /*79(-1)*/ { 2, 6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,79}
  }},
/* DY = 20 */
  {{
  /* 1(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff},
  /* 2(-1)*/ {0xff,0xff,0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  /* 3(-1)*/ {0xff,0xff,0xff,0xff, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1},
  /* 4(-1)*/ {0xff,0xff, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2},
  /* 5(-1)*/ {0xff,0xff, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3},
  /* 6(-1)*/ {0xff, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4},
  /* 7(-1)*/ {0xff, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5},
  /* 8(-1)*/ {0xff, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6},
  /* 9(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7},
  /*10(-1)*/ {0xff, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 8},
  /*11(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9},
  /*12(-1)*/ { 0, 0, 1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9,10,10},
  /*13(-1)*/ { 0, 0, 1, 1, 2, 3, 3, 4, 5, 5, 6, 6, 7, 8, 8, 9,10,10,11,11},
  /*14(-1)*/ { 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9,10,10,11,12,12},
  /*15(-1)*/ { 0, 0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 8, 9,10,11,11,12,13,13},
  /*16(-1)*/ { 0, 1, 1, 2, 3, 4, 4, 5, 6, 7, 8, 8, 9,10,11,11,12,13,14,14},
  /*17(-1)*/ { 0, 1, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9,10,11,11,12,13,14,15,15},
  /*18(-1)*/ { 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 9,10,11,12,13,14,15,16,16},
  /*19(-1)*/ { 0, 1, 2, 3, 4, 5, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,17},
  /*20(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,18},
  /*21(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19},
  /*22(-1)*/ { 0, 1, 2, 3, 4, 5, 6, 8, 9,10,11,12,13,14,15,16,17,18,19,20},
  /*23(-1)*/ { 0, 1, 2, 3, 5, 6, 7, 8, 9,10,11,12,14,15,16,17,18,19,20,21},
  /*24(-1)*/ { 0, 1, 2, 4, 5, 6, 7, 8, 9,11,12,13,14,15,16,18,19,20,21,22},
  /*25(-1)*/ { 0, 1, 3, 4, 5, 6, 7, 9,10,11,12,14,15,16,17,18,20,21,22,23},
  /*26(-1)*/ { 0, 1, 3, 4, 5, 6, 8, 9,10,12,13,14,15,17,18,19,20,22,23,24},
  /*27(-1)*/ { 0, 1, 3, 4, 5, 7, 8, 9,11,12,13,15,16,17,19,20,21,23,24,25},
  /*28(-1)*/ { 0, 2, 3, 4, 6, 7, 8,10,11,12,14,15,17,18,19,21,22,23,25,26},
  /*29(-1)*/ { 0, 2, 3, 4, 6, 7, 9,10,12,13,14,16,17,19,20,21,23,24,26,27},
  /*30(-1)*/ { 0, 2, 3, 5, 6, 8, 9,10,12,13,15,16,18,19,21,22,24,25,27,28},
  /*31(-1)*/ { 0, 2, 3, 5, 6, 8, 9,11,12,14,15,17,18,20,21,23,24,26,27,29},
  /*32(-1)*/ { 0, 2, 3, 5, 7, 8,10,11,13,14,16,17,19,21,22,24,25,27,28,30},
  /*33(-1)*/ { 0, 2, 4, 5, 7, 8,10,12,13,15,16,18,20,21,23,24,26,28,29,31},
  /*34(-1)*/ { 0, 2, 4, 5, 7, 9,10,12,14,15,17,19,20,22,24,25,27,29,30,32},
  /*35(-1)*/ { 0, 2, 4, 5, 7, 9,11,12,14,16,17,19,21,23,24,26,28,29,31,33},
  /*36(-1)*/ { 0, 2, 4, 6, 7, 9,11,13,14,16,18,20,21,23,25,27,28,30,32,34},
  /*37(-1)*/ { 0, 2, 4, 6, 8, 9,11,13,15,17,18,20,22,24,26,27,29,31,33,35},
  /*38(-1)*/ { 0, 2, 4, 6, 8,10,12,13,15,17,19,21,23,25,26,28,30,32,34,36},
  /*39(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,19,21,23,25,27,29,31,33,35,37},
  /*40(-1)*/ { 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38},
  /*41(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*42(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39},
  /*43(-1)*/ { 1, 3, 5, 7, 9,11,13,15,17,19,22,24,26,28,30,32,34,36,38,40},
  /*44(-1)*/ { 1, 3, 5, 7, 9,11,13,16,18,20,22,24,26,28,31,33,35,37,39,41},
  /*45(-1)*/ { 1, 3, 5, 7, 9,12,14,16,18,20,23,25,27,29,31,34,36,38,40,42},
  /*46(-1)*/ { 1, 3, 5, 7,10,12,14,16,19,21,23,25,28,30,32,34,37,39,41,43},
  /*47(-1)*/ { 1, 3, 5, 8,10,12,14,17,19,21,24,26,28,30,33,35,37,40,42,44},
  /*48(-1)*/ { 1, 3, 5, 8,10,12,15,17,19,22,24,26,29,31,33,36,38,40,43,45},
  /*49(-1)*/ { 1, 3, 5, 8,10,13,15,17,20,22,25,27,29,32,34,37,39,41,44,46},
  /*50(-1)*/ { 1, 3, 6, 8,10,13,15,18,20,23,25,28,30,32,35,37,40,42,45,47},
  /*51(-1)*/ { 1, 3, 6, 8,11,13,16,18,21,23,26,28,31,33,36,38,41,43,46,48},
  /*52(-1)*/ { 1, 3, 6, 8,11,13,16,19,21,24,26,29,31,34,36,39,41,44,46,49},
  /*53(-1)*/ { 1, 3, 6, 9,11,14,16,19,21,24,27,29,32,34,37,40,42,45,47,50},
  /*54(-1)*/ { 1, 3, 6, 9,11,14,17,19,22,25,27,30,32,35,38,40,43,46,48,51},
  /*55(-1)*/ { 1, 4, 6, 9,12,14,17,20,22,25,28,30,33,36,38,41,44,46,49,52},
  /*56(-1)*/ { 1, 4, 6, 9,12,15,17,20,23,25,28,31,34,36,39,42,45,47,50,53},
  /*57(-1)*/ { 1, 4, 6, 9,12,15,18,20,23,26,29,31,34,37,40,43,45,48,51,54},
  /*58(-1)*/ { 1, 4, 7, 9,12,15,18,21,24,26,29,32,35,38,41,43,46,49,52,55},
  /*59(-1)*/ { 1, 4, 7,10,12,15,18,21,24,27,30,33,35,38,41,44,47,50,53,56},
  /*60(-1)*/ { 1, 4, 7,10,13,16,19,21,24,27,30,33,36,39,42,45,48,51,54,57},
  /*61(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58},
  /*62(-1)*/ { 1, 4, 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58},
  /*63(-1)*/ { 1, 4, 7,10,13,16,19,23,26,29,32,35,38,41,44,47,50,53,56,59},
  /*64(-1)*/ { 1, 4, 7,10,14,17,20,23,26,29,32,35,39,42,45,48,51,54,57,60},
  /*65(-1)*/ { 1, 4, 7,11,14,17,20,23,26,30,33,36,39,42,45,49,52,55,58,61},
  /*66(-1)*/ { 1, 4, 8,11,14,17,20,24,27,30,33,37,40,43,46,49,53,56,59,62},
  /*67(-1)*/ { 1, 4, 8,11,14,17,21,24,27,31,34,37,40,44,47,50,53,57,60,63},
  /*68(-1)*/ { 1, 4, 8,11,14,18,21,24,28,31,34,38,41,44,48,51,54,58,61,64},
  /*69(-1)*/ { 1, 5, 8,11,15,18,21,25,28,31,35,38,42,45,48,52,55,58,62,65},
  /*70(-1)*/ { 1, 5, 8,11,15,18,22,25,29,32,35,39,42,46,49,52,56,59,63,66},
  /*71(-1)*/ { 1, 5, 8,12,15,19,22,25,29,32,36,39,43,46,50,53,57,60,64,67},
  /*72(-1)*/ { 1, 5, 8,12,15,19,22,26,29,33,36,40,43,47,50,54,57,61,64,68},
  /*73(-1)*/ { 1, 5, 8,12,16,19,23,26,30,33,37,40,44,48,51,55,58,62,65,69},
  /*74(-1)*/ { 1, 5, 9,12,16,19,23,27,30,34,37,41,45,48,52,55,59,63,66,70},
  /*75(-1)*/ { 1, 5, 9,12,16,20,23,27,31,34,38,42,45,49,53,56,60,64,67,71},
  /*76(-1)*/ { 1, 5, 9,12,16,20,24,27,31,35,38,42,46,50,53,57,61,64,68,72},
  /*77(-1)*/ { 1, 5, 9,13,16,20,24,28,31,35,39,43,46,50,54,58,61,65,69,73},
  /*78(-1)*/ { 1, 5, 9,13,17,20,24,28,32,36,39,43,47,51,55,58,62,66,70,74},
  /*79(-1)*/ { 1, 5, 9,13,17,21,25,28,32,36,40,44,48,52,55,59,63,67,71,75}
  }},
}; /* far_table[] */
#endif /* !CLOSE_TABLE_ONLY */

void vis_tab_init() { return; }

#endif /* VISION_TABLES */

/*vis_tab.c*/

If the VISION_TABLES symbol is not defined at compile time, makedefs produces a shorter form of this file.

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

Also on Fandom

Random Wiki