+++ /dev/null
-/* FCE Ultra - NES/Famicom Emulator
- *
- * Copyright notice for this file:
- * Copyright (C) 2002 Ben Parnell
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-uint8 NSFBG[32640] = {
-0,0,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,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,
-3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,
-2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,
-1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,
-0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,5,
-5,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,
-7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,
-7,7,7,7,7,7,7,7,7,7,7,6,6,6,6,6,
-6,6,6,6,6,6,6,6,6,5,4,4,4,4,4,4,
-4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,
-4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,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,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,
-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,
-4,4,4,4,4,4,4,4,4,4,4,4,5,6,6,6,
-6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,
-7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
-7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,
-7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
-7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,
-6,6,6,5,4,4,4,4,4,4,4,4,4,4,4,4,
-5,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-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,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,
-1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,
-4,4,4,4,4,4,4,4,4,4,5,5,6,6,6,6,
-6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,
-7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
-7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,
-7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,6,
-6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
-6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,
-4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,
-1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,
-4,4,4,4,4,4,4,4,5,5,6,6,6,6,6,6,
-6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,
-7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
-7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,
-7,7,7,7,7,7,7,7,7,7,7,7,7,7,6,6,
-7,7,7,7,7,7,7,7,7,7,7,7,7,7,6,6,
-6,6,6,6,6,6,6,6,6,6,6,6,6,5,4,4,
-4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,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,2,2,2,2,2,2,2,
-2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,
-1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,
-4,4,4,4,4,5,6,6,6,6,6,6,6,6,6,6,
-6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,
-7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,
-8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,
-7,7,7,7,7,7,7,7,7,7,7,7,6,6,6,6,
-6,6,6,6,6,6,6,6,5,5,4,4,4,4,4,4,
-4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,
-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,2,2,2,
-2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,
-3,3,3,24,24,3,3,3,3,3,3,3,3,3,3,3,
-3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,
-1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,
-0,0,0,4,4,4,4,4,4,4,4,4,4,4,5,6,
-6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,
-7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,
-9,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-9,9,9,9,9,9,9,9,9,9,9,9,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,
-7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,
-6,5,4,4,4,4,4,4,4,4,4,0,0,0,0,0,
-0,0,0,0,0,0,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,3,
-3,3,3,3,24,24,24,24,24,24,24,24,24,24,24,24,
-24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
-24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
-24,24,24,3,3,3,3,3,2,2,2,2,2,2,2,2,
-2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,
-1,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,
-4,4,4,4,4,5,6,6,6,6,6,6,6,6,6,6,
-6,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,
-8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,
-9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
-9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
-10,10,10,10,10,10,10,11,11,9,9,9,9,9,9,9,
-9,9,9,9,9,9,9,9,9,9,8,8,8,8,8,8,
-8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,6,
-6,6,6,6,6,6,6,6,5,4,4,4,4,4,4,4,
-4,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,
-1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,
-3,3,24,24,24,24,24,24,24,24,24,24,24,25,25,25,
-25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
-25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
-25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,
-24,24,3,3,3,2,2,2,2,2,2,2,2,2,2,2,
-1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,
-0,0,4,4,4,4,4,4,4,4,5,6,6,6,6,6,
-6,6,6,6,7,7,7,7,7,7,7,7,7,7,8,8,
-8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,
-9,9,9,9,9,9,9,9,9,9,11,11,10,10,10,10,
-10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
-12,12,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
-10,10,10,10,10,10,10,10,11,9,9,9,9,9,9,9,
-9,9,9,9,8,8,8,8,8,8,8,8,8,8,7,7,
-7,7,7,7,7,7,6,6,6,6,6,6,6,6,5,4,
-4,4,4,4,4,4,0,0,0,0,0,0,0,1,1,1,
-1,1,1,1,1,2,2,2,2,2,2,2,2,2,3,3,
-3,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,
-25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,
-26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
-26,26,26,26,25,25,25,25,25,25,25,25,25,25,25,25,
-25,25,25,25,24,24,24,24,24,24,24,24,3,3,3,2,
-2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,
-0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,6,
-6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,
-8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,
-9,9,9,9,11,10,10,10,10,10,10,10,10,10,10,10,
-10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,
-12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
-12,12,12,12,12,12,12,12,10,10,10,10,10,10,10,10,
-10,10,10,11,9,9,9,9,9,9,9,9,8,8,8,8,
-8,8,8,8,7,7,7,7,7,7,7,7,6,6,6,6,
-6,6,5,4,4,4,4,4,4,0,0,0,0,0,0,0,
-1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,
-3,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,
-25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
-26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
-26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
-26,26,26,25,25,25,25,25,25,25,25,25,25,25,24,24,
-24,24,24,24,3,3,3,2,2,2,2,2,2,2,1,1,
-1,1,1,1,1,0,0,0,0,0,0,0,4,4,4,4,
-4,4,5,6,6,6,6,6,6,6,7,7,7,7,7,7,
-7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,
-9,9,11,10,10,10,10,10,10,10,10,10,10,10,12,12,
-12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
-13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
-13,13,13,13,13,13,12,12,12,12,12,12,12,12,12,12,
-12,12,12,10,10,10,10,10,10,10,10,9,9,9,9,9,
-9,9,9,8,8,8,8,8,8,8,7,7,7,7,7,7,
-6,6,6,6,6,6,5,4,4,4,4,4,0,0,0,0,
-0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,2,
-3,3,24,24,24,24,24,25,25,25,25,25,25,25,25,26,
-26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,
-27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,
-27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,
-27,27,26,26,26,26,26,26,26,26,26,26,26,25,25,25,
-25,25,25,25,25,24,24,24,24,24,24,3,3,2,2,2,
-2,2,2,1,1,1,1,1,1,1,0,0,0,0,0,0,
-4,4,4,4,4,5,6,6,6,6,6,6,7,7,7,7,
-7,7,7,8,8,8,8,8,8,9,9,9,9,9,9,9,
-9,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,
-12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,
-14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
-14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,
-13,12,12,12,12,12,12,12,12,12,10,10,10,10,10,10,
-10,11,9,9,9,9,9,9,8,8,8,8,8,8,7,7,
-7,7,7,7,6,6,6,6,6,6,4,4,4,4,4,0,
-0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,
-2,3,24,24,24,24,24,25,25,25,25,25,25,25,26,26,
-26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,
-27,27,27,29,29,29,29,29,29,29,29,29,29,29,29,29,
-29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,
-27,27,27,27,27,27,27,27,27,27,27,27,26,26,26,26,
-26,26,26,26,25,25,25,25,25,25,25,24,24,24,24,24,
-3,3,2,2,2,2,2,2,1,1,1,1,1,1,0,0,
-0,0,0,4,4,4,4,4,5,6,6,6,6,6,7,7,
-7,7,7,7,8,8,8,8,8,8,9,9,9,9,9,9,
-9,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,
-12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
-14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
-14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
-13,13,13,13,13,13,13,13,13,12,12,12,12,12,12,12,
-12,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,
-8,8,7,7,7,7,7,7,6,6,6,6,6,4,4,4,
-4,4,0,0,0,0,0,1,1,1,1,1,2,2,2,2,
-2,2,3,24,24,24,24,25,25,25,25,25,25,26,26,26,
-26,26,26,26,26,27,27,27,27,27,27,27,27,29,29,29,
-29,29,28,28,28,28,28,28,28,28,28,28,30,30,30,30,
-30,30,30,30,30,30,30,30,30,30,30,30,28,28,28,28,
-28,28,28,28,28,29,29,29,29,29,29,27,27,27,27,27,
-27,27,27,26,26,26,26,26,26,26,25,25,25,25,25,25,
-25,24,24,24,24,3,2,2,2,2,2,2,1,1,1,1,
-1,0,0,0,0,0,4,4,4,4,4,6,6,6,6,6,
-7,7,7,7,7,8,8,8,8,8,8,9,9,9,9,9,
-9,10,10,10,10,10,10,12,12,12,12,12,12,12,12,13,
-13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,
-15,15,15,16,16,16,16,16,16,16,16,16,16,16,16,16,
-16,16,16,16,16,16,16,16,16,16,15,15,15,15,14,14,
-14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,13,
-12,12,12,12,12,12,10,10,10,10,10,11,9,9,9,9,
-9,8,8,8,8,8,7,7,7,7,7,6,6,6,6,5,
-4,4,4,4,0,0,0,0,0,1,1,1,1,1,2,2,
-2,2,2,3,24,24,24,24,25,25,25,25,25,26,26,26,
-26,26,26,26,27,27,27,27,27,27,27,29,29,29,29,28,
-28,28,28,28,30,30,30,30,30,30,30,30,30,30,30,30,
-30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
-30,30,30,30,30,30,30,30,30,28,28,28,28,28,29,29,
-29,29,27,27,27,27,27,27,27,26,26,26,26,26,26,25,
-25,25,25,25,25,24,24,24,24,3,2,2,2,2,2,1,
-1,1,1,1,0,0,0,0,0,4,4,4,4,6,6,6,
-6,6,7,7,7,7,7,8,8,8,8,8,9,9,9,9,
-9,11,10,10,10,10,10,12,12,12,12,12,12,13,13,13,
-13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,15,
-16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,
-17,17,17,17,17,17,17,17,17,17,16,16,16,16,16,16,
-16,16,16,16,15,15,14,14,14,14,14,14,14,14,13,13,
-13,13,13,13,13,12,12,12,12,12,10,10,10,10,10,11,
-9,9,9,9,8,8,8,8,8,7,7,7,7,7,6,6,
-6,6,4,4,4,4,0,0,0,0,0,1,1,1,1,2,
-2,2,2,2,3,24,24,24,24,25,25,25,25,25,26,26,
-26,26,26,27,27,27,27,27,27,29,29,29,29,28,28,28,
-28,30,30,30,30,30,30,30,30,30,30,31,31,31,31,31,
-31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,
-31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,
-30,28,28,28,28,29,29,29,27,27,27,27,27,27,26,26,
-26,26,26,26,25,25,25,25,25,24,24,24,3,3,2,2,
-2,2,1,1,1,1,1,0,0,0,0,4,4,4,4,5,
-6,6,6,6,7,7,7,7,8,8,8,8,8,9,9,9,
-9,9,10,10,10,10,10,12,12,12,12,12,12,13,13,13,
-13,13,13,14,14,14,14,14,14,14,14,15,15,16,16,16,
-16,16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
-17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
-17,17,17,17,16,16,16,16,16,16,16,15,15,14,14,14,
-14,14,14,14,13,13,13,13,13,12,12,12,12,12,10,10,
-10,10,10,9,9,9,9,9,8,8,8,8,7,7,7,7,
-6,6,6,6,5,4,4,4,4,0,0,0,0,1,1,1,
-1,2,2,2,2,3,24,24,24,24,25,25,25,25,26,26,
-26,26,26,27,27,27,27,27,27,29,29,29,28,28,28,30,
-30,30,30,30,30,30,30,31,31,31,31,31,31,31,31,31,
-31,31,31,31,31,32,32,32,32,32,32,32,32,32,32,32,
-32,31,31,31,31,31,31,31,31,31,31,31,31,31,31,30,
-30,30,30,30,30,30,30,28,28,28,29,29,29,27,27,27,
-27,27,27,26,26,26,26,26,25,25,25,25,24,24,24,24,
-3,2,2,2,2,1,1,1,1,0,0,0,0,4,4,4,
-4,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,
-9,9,9,10,10,10,10,10,12,12,12,12,12,13,13,13,
-13,13,14,14,14,14,14,14,14,15,15,16,16,16,16,16,
-17,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,
-18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,
-18,17,17,17,17,17,17,17,17,17,17,16,16,16,16,16,
-16,15,14,14,14,14,14,14,13,13,13,13,13,12,12,12,
-12,12,10,10,10,10,9,9,9,9,9,8,8,8,8,7,
-7,7,7,6,6,6,6,4,4,4,4,0,0,0,0,1,
-1,1,2,2,2,2,2,3,24,24,24,25,25,25,25,26,
-26,26,26,26,27,27,27,27,27,29,29,28,28,28,30,30,
-30,30,30,30,30,31,31,31,31,31,31,31,31,31,32,32,
-32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
-32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,
-31,31,31,31,31,30,30,30,30,30,30,30,28,28,28,29,
-29,27,27,27,27,27,26,26,26,26,26,25,25,25,25,24,
-24,24,24,3,2,2,2,2,1,1,1,1,0,0,0,0,
-4,4,4,5,6,6,6,6,7,7,7,8,8,8,8,8,
-9,9,9,9,10,10,10,10,12,12,12,12,12,13,13,13,
-13,13,14,14,14,14,14,14,15,16,16,16,16,16,16,17,
-17,17,17,17,17,18,18,18,18,18,18,18,18,18,18,18,
-18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,
-18,18,18,18,18,18,18,18,18,17,17,17,17,17,17,17,
-17,16,16,16,16,16,15,14,14,14,14,14,13,13,13,13,
-13,12,12,12,12,10,10,10,10,9,9,9,9,8,8,8,
-8,7,7,7,7,6,6,6,6,4,4,4,4,0,0,0,
-1,1,1,1,2,2,2,2,3,24,24,24,25,25,25,25,
-26,26,26,26,27,27,27,27,27,29,29,28,28,28,30,30,
-30,30,30,30,31,31,31,31,31,31,31,32,32,32,32,32,
-32,32,32,32,32,32,32,33,33,33,33,33,33,33,33,33,
-33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
-32,32,32,31,31,31,31,31,31,31,30,30,30,30,30,30,
-28,28,28,29,29,27,27,27,27,27,26,26,26,26,25,25,
-25,25,24,24,24,3,2,2,2,2,1,1,1,1,0,0,
-0,0,4,4,4,5,6,6,6,7,7,7,7,8,8,8,
-8,9,9,9,9,10,10,10,10,12,12,12,12,13,13,13,
-13,13,14,14,14,14,14,15,15,16,16,16,16,16,17,17,
-17,17,17,18,18,18,18,18,18,18,18,18,18,19,19,19,
-19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
-19,19,19,19,19,19,18,18,18,18,18,18,18,18,18,17,
-17,17,17,17,17,16,16,16,16,16,15,14,14,14,14,14,
-13,13,13,13,12,12,12,12,10,10,10,10,9,9,9,9,
-8,8,8,8,7,7,7,6,6,6,6,4,4,4,4,0,
-0,0,1,1,1,1,2,2,2,3,24,24,24,25,25,25,
-25,26,26,26,26,27,27,27,27,27,29,29,28,28,30,30,
-30,30,30,30,31,31,31,31,31,31,32,32,32,32,32,32,
-32,32,33,33,33,33,33,33,33,33,33,35,35,35,35,35,
-35,35,35,35,35,35,35,33,33,33,33,33,33,33,33,33,
-32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,30,
-30,30,30,30,28,28,28,29,29,27,27,27,27,26,26,26,
-26,25,25,25,25,24,24,24,3,2,2,2,2,1,1,1,
-0,0,0,0,4,4,4,6,6,6,6,7,7,7,7,8,
-8,8,9,9,9,9,10,10,10,10,12,12,12,12,13,13,
-13,13,13,14,14,14,14,15,15,16,16,16,16,17,17,17,
-17,17,17,18,18,18,18,18,18,18,19,19,19,19,19,19,
-19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
-19,19,19,19,19,19,19,19,19,19,19,19,18,18,18,18,
-18,18,18,18,17,17,17,17,17,17,16,16,16,15,15,14,
-14,14,14,13,13,13,13,12,12,12,12,10,10,10,10,9,
-9,9,9,8,8,8,7,7,7,7,6,6,6,4,4,4,
-0,0,0,0,1,1,1,2,2,2,2,3,24,24,24,25,
-25,25,26,26,26,26,27,27,27,27,29,29,28,28,28,30,
-30,30,30,30,31,31,31,31,31,32,32,32,32,32,32,32,
-33,33,33,33,33,33,35,35,35,35,35,34,34,34,34,34,
-34,34,34,34,34,34,34,34,34,34,34,35,35,35,35,35,
-35,33,33,33,33,33,32,32,32,32,32,32,32,31,31,31,
-31,31,31,30,30,30,30,30,28,28,29,29,27,27,27,27,
-26,26,26,26,25,25,25,25,24,24,3,2,2,2,2,1,
-1,1,0,0,0,0,4,4,4,6,6,6,6,7,7,7,
-8,8,8,8,9,9,9,11,10,10,10,12,12,12,12,13,
-13,13,13,14,14,14,14,14,15,16,16,16,16,17,17,17,
-17,17,18,18,18,18,18,18,18,19,19,19,19,19,19,19,
-19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
-20,20,20,20,20,20,20,20,19,19,19,19,19,19,19,19,
-19,18,18,18,18,18,18,18,17,17,17,17,17,16,16,16,
-16,15,14,14,14,14,13,13,13,13,12,12,12,12,10,10,
-10,9,9,9,9,8,8,8,7,7,7,7,6,6,6,4,
-4,4,0,0,0,0,1,1,1,2,2,2,2,24,24,24,
-25,25,25,25,26,26,26,27,27,27,27,29,29,28,28,30,
-30,30,30,30,31,31,31,31,31,32,32,32,32,32,32,33,
-33,33,33,33,35,35,35,34,34,34,34,34,34,34,34,34,
-34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,
-34,34,34,35,35,35,35,33,33,33,33,32,32,32,32,32,
-32,31,31,31,31,31,30,30,30,30,30,28,28,29,29,27,
-27,27,27,26,26,26,26,25,25,25,24,24,24,3,2,2,
-2,1,1,1,1,0,0,0,4,4,4,6,6,6,6,7,
-7,7,8,8,8,9,9,9,9,10,10,10,10,12,12,12,
-13,13,13,13,14,14,14,14,14,15,16,16,16,17,17,17,
-17,17,17,18,18,18,18,18,19,19,19,19,19,19,19,19,
-20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,
-21,21,21,21,21,21,21,21,21,21,20,20,20,20,19,19,
-19,19,19,19,19,19,18,18,18,18,18,18,17,17,17,17,
-17,16,16,16,15,14,14,14,14,13,13,13,13,12,12,12,
-10,10,10,10,9,9,9,8,8,8,8,7,7,7,6,6,
-6,4,4,4,0,0,0,0,1,1,1,2,2,2,3,24,
-24,24,25,25,25,26,26,26,26,27,27,27,29,29,28,28,
-30,30,30,30,30,31,31,31,31,32,32,32,32,32,32,33,
-33,33,33,35,35,35,34,34,34,34,34,34,34,34,34,34,
-34,34,34,34,36,36,36,36,36,36,36,34,34,34,34,34,
-34,34,34,34,34,34,34,34,35,35,35,33,33,33,33,32,
-32,32,32,32,32,31,31,31,31,31,30,30,30,30,28,28,
-29,29,27,27,27,27,26,26,26,25,25,25,25,24,24,3,
-2,2,2,1,1,1,1,0,0,0,4,4,4,6,6,6,
-7,7,7,7,8,8,8,9,9,9,11,10,10,10,12,12,
-12,13,13,13,13,14,14,14,14,15,16,16,16,16,17,17,
-17,17,17,18,18,18,18,18,18,19,19,19,19,19,19,20,
-20,20,20,21,21,21,21,21,21,21,21,22,22,22,22,22,
-22,22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,
-20,20,20,19,19,19,19,19,19,19,18,18,18,18,18,17,
-17,17,17,17,16,16,16,15,14,14,14,14,13,13,13,12,
-12,12,12,10,10,10,9,9,9,9,8,8,8,7,7,7,
-6,6,6,4,4,4,0,0,0,1,1,1,1,2,2,2,
-3,24,24,25,25,25,26,26,26,26,27,27,27,27,29,28,
-28,30,30,30,30,30,31,31,31,31,32,32,32,32,32,33,
-33,33,33,35,35,34,34,34,34,34,34,34,34,34,34,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,34,34,34,34,34,34,34,34,34,35,35,33,
-33,33,33,32,32,32,32,32,31,31,31,31,31,30,30,30,
-30,28,28,29,29,27,27,27,26,26,26,26,25,25,25,24,
-24,24,2,2,2,2,1,1,1,0,0,0,4,4,4,6,
-6,6,7,7,7,8,8,8,8,9,9,9,10,10,10,12,
-12,12,12,13,13,13,13,14,14,14,15,16,16,16,16,17,
-17,17,17,17,18,18,18,18,18,19,19,19,19,19,19,20,
-20,20,21,21,21,21,21,21,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,21,21,
-21,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,
-18,18,17,17,17,17,17,16,16,16,15,14,14,14,13,13,
-13,13,12,12,12,10,10,10,11,9,9,9,8,8,8,7,
-7,7,6,6,6,4,4,4,0,0,0,1,1,1,2,2,
-2,2,24,24,24,25,25,25,26,26,26,27,27,27,27,29,
-29,28,28,30,30,30,30,31,31,31,31,32,32,32,32,32,
-33,33,33,35,35,35,34,34,34,34,34,34,34,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,34,34,34,34,34,34,34,
-34,35,35,33,33,33,32,32,32,32,32,31,31,31,31,31,
-30,30,30,30,28,28,29,27,27,27,27,26,26,26,25,25,
-25,24,24,24,3,2,2,2,1,1,1,0,0,0,4,4,
-4,6,6,6,7,7,7,8,8,8,9,9,9,9,10,10,
-10,12,12,12,13,13,13,13,14,14,14,14,15,16,16,16,
-16,17,17,17,17,18,18,18,18,18,19,19,19,19,19,19,
-20,20,21,21,21,21,21,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,21,21,21,21,21,20,20,20,19,19,19,19,19,
-18,18,18,18,18,17,17,17,17,16,16,16,15,14,14,14,
-14,13,13,13,12,12,12,12,10,10,10,9,9,9,8,8,
-8,7,7,7,6,6,6,5,4,4,0,0,0,1,1,1,
-2,2,2,3,24,24,24,25,25,25,26,26,26,27,27,27,
-29,29,28,28,30,30,30,30,31,31,31,31,32,32,32,32,
-32,33,33,33,35,35,34,34,34,34,34,34,34,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,34,34,34,
-34,34,34,34,35,35,33,33,33,32,32,32,32,32,31,31,
-31,31,30,30,30,30,28,28,29,29,27,27,27,26,26,26,
-25,25,25,25,24,24,3,2,2,2,1,1,1,0,0,0,
-4,4,4,6,6,6,7,7,7,8,8,8,9,9,9,11,
-10,10,10,12,12,12,13,13,13,14,14,14,14,15,16,16,
-16,16,17,17,17,17,18,18,18,18,18,19,19,19,19,19,
-20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,21,21,21,21,20,20,20,19,19,
-19,19,19,18,18,18,18,18,17,17,17,17,16,16,16,15,
-14,14,14,13,13,13,13,12,12,12,10,10,10,9,9,9,
-8,8,8,7,7,7,6,6,6,5,4,4,0,0,0,1,
-1,1,2,2,2,3,24,24,25,25,25,26,26,26,26,27,
-27,27,29,29,28,28,30,30,30,31,31,31,31,32,32,32,
-32,32,33,33,33,35,35,34,34,34,34,34,34,36,36,36,
-36,36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
-36,34,34,34,34,34,34,35,35,33,33,33,32,32,32,32,
-32,31,31,31,31,30,30,30,30,28,28,29,27,27,27,27,
-26,26,26,25,25,25,24,24,3,2,2,2,1,1,1,0,
-0,0,4,4,4,6,6,6,7,7,7,8,8,8,9,9,
-9,10,10,10,12,12,12,12,13,13,13,14,14,14,14,16,
-15,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,
-19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,22,
-22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,22,
-22,22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,
-20,19,19,19,19,19,18,18,18,18,17,17,17,17,16,16,
-16,15,14,14,14,14,13,13,13,12,12,12,10,10,10,9,
-9,9,8,8,8,7,7,7,6,6,6,5,4,4,0,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-27,27,27,27,29,28,28,30,30,30,30,31,31,31,31,32,
-32,32,32,33,33,33,35,35,34,34,34,34,34,34,36,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,
-36,36,36,36,34,34,34,34,34,34,35,35,33,33,33,32,
-32,32,32,31,31,31,31,30,30,30,30,28,28,29,29,27,
-27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,1,
-1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,13,14,14,14,
-14,14,15,16,16,16,17,17,17,17,18,18,18,18,19,19,
-19,19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-21,20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,
-17,16,16,16,15,14,14,14,13,13,13,12,12,12,10,10,
-10,11,9,9,9,8,8,8,7,7,6,6,6,5,4,4,
-0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,27,27,27,27,29,28,28,30,30,30,30,31,31,31,
-31,32,32,32,32,33,33,33,35,35,34,34,34,34,34,36,
-36,36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,28,28,29,
-29,27,27,27,26,26,26,25,25,25,24,24,24,2,2,2,
-1,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,14,14,
-14,14,14,14,15,16,16,17,17,17,17,18,18,18,18,18,
-19,19,19,19,19,20,20,21,21,21,21,22,22,22,22,22,
-22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,23,23,22,22,22,22,22,22,22,22,22,
-21,21,21,21,20,20,19,19,19,19,19,18,18,18,18,17,
-17,17,17,16,16,16,15,14,14,14,13,13,13,13,12,12,
-12,10,10,10,9,9,9,8,8,8,7,7,7,6,6,6,
-4,4,0,0,0,1,1,1,2,2,2,3,24,24,25,25,
-25,26,26,26,27,27,27,27,29,28,28,30,30,30,30,31,
-31,31,32,32,32,32,32,33,33,35,35,34,34,34,34,34,
-34,36,36,36,36,36,36,36,36,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,36,36,36,36,36,36,36,36,34,34,34,34,34,35,
-35,33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,
-28,28,29,27,27,27,26,26,26,25,25,25,25,24,24,3,
-2,2,1,1,1,0,0,0,4,4,4,6,6,6,7,7,
-7,8,8,8,9,9,9,10,10,10,12,12,12,13,13,13,
-13,13,14,14,14,14,15,16,16,17,17,17,17,18,18,18,
-18,18,19,19,19,19,20,20,20,21,21,21,22,22,22,22,
-22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,23,23,23,23,23,22,22,22,22,22,22,
-22,22,22,21,21,21,20,20,20,19,19,19,19,18,18,18,
-18,18,17,17,17,17,16,16,15,14,14,14,14,13,13,13,
-12,12,12,10,10,10,9,9,9,8,8,8,7,7,7,6,
-6,6,4,4,4,0,0,1,1,1,2,2,2,3,24,24,
-25,25,25,26,26,26,27,27,27,27,29,28,28,30,30,30,
-30,31,31,31,32,32,32,32,33,33,33,35,35,34,34,34,
-34,34,34,36,36,36,36,36,36,36,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,36,36,36,36,36,36,36,34,34,34,34,
-34,34,35,35,33,33,33,32,32,32,32,31,31,31,30,30,
-30,30,28,28,29,27,27,27,27,26,26,26,25,25,25,24,
-24,3,2,2,2,1,1,1,0,0,4,4,4,6,6,6,
-7,7,7,8,8,8,9,9,9,10,10,10,12,12,12,13,
-12,13,13,13,13,14,14,14,15,16,16,16,17,17,17,18,
-18,18,18,18,19,19,19,19,20,20,20,21,21,21,22,22,
-22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,22,22,22,
-22,22,22,22,22,21,21,21,21,20,20,19,19,19,19,19,
-18,18,18,18,17,17,17,17,16,16,16,14,14,14,14,13,
-13,13,12,12,12,10,10,10,9,9,9,8,8,8,7,7,
-7,6,6,6,4,4,4,0,0,0,1,1,1,2,2,3,
-24,24,25,25,25,26,26,26,26,27,27,27,29,28,28,30,
-30,30,30,31,31,31,32,32,32,32,32,33,33,35,35,34,
-34,34,34,34,34,36,36,36,36,36,36,36,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,34,
-34,34,34,34,35,35,33,33,33,32,32,32,32,31,31,31,
-31,30,30,30,28,28,29,29,27,27,27,26,26,26,25,25,
-25,24,24,3,2,2,2,1,1,1,0,0,0,4,4,6,
-6,6,7,7,7,8,8,8,9,9,9,10,10,10,12,12,
-12,12,12,12,13,13,13,14,14,14,15,16,16,16,17,17,
-17,17,18,18,18,18,19,19,19,19,19,20,20,21,21,21,
-21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,22,
-22,22,22,22,22,22,22,21,21,21,21,20,20,19,19,19,
-19,19,18,18,18,18,17,17,17,17,16,16,16,15,14,14,
-14,13,13,13,12,12,12,10,10,10,11,9,9,8,8,8,
-7,7,7,6,6,6,4,4,4,0,0,0,1,1,1,2,
-2,2,3,24,24,25,25,25,26,26,26,27,27,27,29,28,
-28,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,
-35,34,34,34,34,34,34,36,36,36,36,36,36,36,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
-36,34,34,34,34,34,35,35,33,33,33,32,32,32,32,31,
-31,31,31,30,30,30,30,28,29,29,27,27,27,26,26,26,
-25,25,25,24,24,3,2,2,2,1,1,1,0,0,0,4,
-4,5,6,6,6,7,7,7,8,8,9,9,9,11,10,10,
-10,10,10,12,12,12,13,13,13,14,14,14,14,16,16,16,
-17,17,17,17,18,18,18,18,19,19,19,19,19,20,20,21,
-21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,22,22,22,22,22,22,22,22,22,21,21,21,20,20,19,
-19,19,19,19,18,18,18,18,17,17,17,17,16,16,16,15,
-14,14,14,13,13,13,13,12,12,12,10,10,10,9,9,9,
-8,8,8,7,7,7,6,6,5,4,4,0,0,0,1,1,
-1,2,2,2,3,24,24,25,25,25,26,26,26,27,27,27,
-29,29,28,28,30,30,30,31,31,31,31,32,32,32,32,33,
-33,33,35,35,34,34,34,34,34,36,36,36,36,36,36,36,
-36,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,
-36,36,36,34,34,34,34,34,34,35,35,33,33,32,32,32,
-32,31,31,31,31,30,30,30,30,28,28,29,27,27,27,26,
-26,26,26,25,25,25,24,24,3,2,2,1,1,1,0,0,
-0,4,4,4,6,6,6,7,7,7,8,8,8,9,9,9,
-9,9,10,10,10,12,12,12,13,13,13,13,14,14,14,15,
-16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,
-20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,20,
-20,20,19,19,19,19,18,18,18,18,18,17,17,17,17,16,
-16,15,14,14,14,14,13,13,13,12,12,12,10,10,10,9,
-9,9,8,8,8,7,7,7,6,6,6,4,4,4,0,0,
-0,1,1,1,2,2,3,24,24,25,25,25,26,26,26,26,
-27,27,27,29,28,28,30,30,30,30,31,31,31,31,32,32,
-32,32,33,33,33,35,34,34,34,34,34,34,36,36,36,36,
-36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,
-36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,33,
-32,32,32,32,31,31,31,31,30,30,30,28,28,29,27,27,
-27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,1,
-1,0,0,0,4,4,6,6,6,7,7,7,8,8,8,9,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,14,14,
-14,14,16,16,16,17,17,17,17,18,18,18,18,18,19,19,
-19,19,20,20,20,21,21,21,22,22,22,22,22,22,22,22,
-22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,
-21,20,20,20,19,19,19,19,19,18,18,18,18,17,17,17,
-17,16,16,16,15,14,14,14,13,13,13,12,12,12,10,10,
-10,9,9,9,8,8,8,7,7,7,6,6,6,5,4,4,
-0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,27,27,27,29,29,28,28,30,30,30,31,31,31,31,
-32,32,32,32,33,33,33,35,35,34,34,34,34,34,34,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,28,28,29,
-29,27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,
-1,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-7,8,8,8,9,9,9,10,10,10,12,12,12,12,13,13,
-13,14,14,14,15,16,16,16,17,17,17,17,18,18,18,18,
-19,19,19,19,19,20,20,20,21,21,21,21,22,22,22,22,
-22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,23,22,22,22,22,22,22,22,22,22,22,
-21,21,21,20,20,20,19,19,19,19,19,18,18,18,18,17,
-17,17,17,16,16,16,15,14,14,14,13,13,13,13,12,12,
-12,10,10,10,9,9,9,8,8,8,7,7,7,6,6,6,
-4,4,4,0,0,0,1,1,1,2,2,3,24,24,25,25,
-25,25,26,26,26,27,27,27,29,29,28,30,30,30,30,31,
-31,31,31,32,32,32,32,33,33,33,35,35,34,34,34,34,
-34,34,36,36,36,36,36,36,36,36,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,36,36,36,36,36,36,36,36,34,34,34,34,34,34,35,
-35,33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,
-28,28,29,27,27,27,26,26,26,26,25,25,25,24,24,3,
-2,2,2,1,1,1,0,0,4,4,4,6,6,6,7,7,
-6,7,7,7,8,8,8,9,9,9,10,10,10,12,12,12,
-13,13,13,13,14,14,14,15,16,16,16,17,17,17,17,18,
-18,18,18,19,19,19,19,19,20,20,20,21,21,21,21,22,
-22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,
-23,23,23,23,23,23,23,22,22,22,22,22,22,22,22,22,
-22,21,21,21,21,20,20,20,19,19,19,19,19,18,18,18,
-18,17,17,17,17,16,16,16,15,14,14,14,14,13,13,13,
-12,12,12,10,10,10,9,9,9,8,8,8,7,7,7,6,
-6,6,5,4,4,0,0,0,1,1,1,2,2,2,3,24,
-24,25,25,25,26,26,26,27,27,27,27,29,28,28,30,30,
-30,30,31,31,31,31,32,32,32,32,33,33,33,35,35,34,
-34,34,34,34,34,36,36,36,36,36,36,36,36,36,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,36,36,36,36,36,36,36,36,34,34,34,34,34,
-34,35,35,33,33,33,32,32,32,32,31,31,31,31,30,30,
-30,30,28,28,29,29,27,27,27,26,26,26,25,25,25,24,
-24,3,2,2,2,1,1,1,0,0,0,4,4,4,6,6,
-5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,
-12,12,12,13,13,13,14,14,14,14,15,16,16,16,17,17,
-17,17,18,18,18,18,19,19,19,19,19,19,20,20,21,21,
-21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,23,
-23,23,23,23,23,23,23,22,22,22,22,22,22,22,22,22,
-22,22,22,21,21,21,21,20,20,20,19,19,19,19,19,18,
-18,18,18,18,17,17,17,17,16,16,16,15,14,14,14,13,
-13,13,12,12,12,12,10,10,10,9,9,9,8,8,8,7,
-7,7,6,6,6,4,4,4,0,0,0,1,1,1,2,2,
-2,3,24,24,25,25,25,26,26,26,27,27,27,27,29,28,
-28,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,
-35,35,34,34,34,34,34,34,36,36,36,36,36,36,36,36,
-36,36,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,36,36,36,36,36,36,36,36,36,34,34,34,
-34,34,34,35,35,33,33,33,32,32,32,32,32,31,31,31,
-31,30,30,30,28,28,29,29,27,27,27,26,26,26,26,25,
-25,25,24,24,3,2,2,2,1,1,1,0,0,0,4,4,
-4,4,4,6,6,6,7,7,7,8,8,8,9,9,9,11,
-10,10,10,12,12,12,13,13,13,14,14,14,14,15,16,16,
-16,17,17,17,17,18,18,18,18,19,19,19,19,19,19,20,
-20,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,21,21,21,21,20,20,20,19,19,19,19,
-19,18,18,18,18,18,17,17,17,17,16,16,16,15,14,14,
-14,14,13,13,13,12,12,12,10,10,10,9,9,9,9,8,
-8,8,7,7,7,6,6,6,4,4,4,0,0,0,1,1,
-1,2,2,2,24,24,24,25,25,25,26,26,26,27,27,27,
-29,29,28,28,30,30,30,30,31,31,31,31,32,32,32,32,
-33,33,33,35,35,34,34,34,34,34,34,34,36,36,36,36,
-36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,34,
-34,34,34,34,34,34,35,35,33,33,33,32,32,32,32,31,
-31,31,31,30,30,30,30,28,28,29,27,27,27,27,26,26,
-26,25,25,25,24,24,3,2,2,2,1,1,1,0,0,0,
-0,0,0,4,4,4,6,6,6,7,7,7,8,8,8,9,
-9,9,11,10,10,10,12,12,12,13,13,13,14,14,14,14,
-15,16,16,16,17,17,17,17,18,18,18,18,18,19,19,19,
-19,19,20,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,21,21,21,21,21,20,20,19,19,
-19,19,19,19,18,18,18,18,17,17,17,17,17,16,16,16,
-15,14,14,14,13,13,13,13,12,12,12,10,10,10,9,9,
-9,8,8,8,7,7,7,6,6,6,5,4,4,0,0,0,
-1,1,1,2,2,2,3,24,24,24,25,25,25,26,26,26,
-27,27,27,29,29,28,28,30,30,30,30,31,31,31,31,32,
-32,32,32,33,33,33,33,35,35,34,34,34,34,34,34,36,
-36,36,36,36,36,36,36,36,36,36,36,36,37,37,37,37,
-37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,36,
-36,34,34,34,34,34,34,34,35,35,33,33,33,32,32,32,
-32,32,31,31,31,31,30,30,30,28,28,29,29,27,27,27,
-26,26,26,26,25,25,25,24,24,3,2,2,2,1,1,1,
-1,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,12,13,13,13,14,
-14,14,14,15,16,16,16,17,17,17,17,18,18,18,18,18,
-19,19,19,19,19,19,20,20,21,21,21,21,21,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,21,21,21,21,21,20,20,
-19,19,19,19,19,19,18,18,18,18,18,17,17,17,17,16,
-16,16,15,14,14,14,14,13,13,13,12,12,12,12,10,10,
-10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,
-0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,25,
-26,26,26,27,27,27,29,29,28,28,30,30,30,30,31,31,
-31,31,32,32,32,32,32,33,33,33,35,35,34,34,34,34,
-34,34,34,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,34,34,34,34,34,34,34,35,35,33,33,33,32,
-32,32,32,32,31,31,31,31,30,30,30,30,28,28,29,29,
-27,27,27,26,26,26,25,25,25,25,24,24,3,2,2,2,
-2,2,2,1,1,1,0,0,0,4,4,5,6,6,6,7,
-7,7,8,8,8,9,9,9,10,10,10,12,12,12,12,13,
-13,13,14,14,14,14,15,16,16,16,17,17,17,17,18,18,
-18,18,18,19,19,19,19,19,19,20,20,20,21,21,21,21,
-21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,21,21,21,21,21,21,
-20,20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,
-17,17,16,16,16,15,14,14,14,13,13,13,13,12,12,12,
-10,10,10,11,9,9,9,8,8,8,7,7,7,6,6,6,
-4,4,4,0,0,0,1,1,1,2,2,2,3,24,24,25,
-25,25,25,26,26,26,27,27,27,29,29,28,28,30,30,30,
-30,31,31,31,31,32,32,32,32,32,33,33,33,35,35,35,
-34,34,34,34,34,34,34,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,34,34,34,34,34,34,34,35,35,33,33,
-33,33,32,32,32,32,31,31,31,31,31,30,30,30,30,28,
-28,29,27,27,27,27,26,26,26,25,25,25,24,24,24,3,
-24,3,2,2,2,1,1,1,1,0,0,0,4,4,5,6,
-6,6,7,7,7,8,8,8,9,9,9,10,10,10,10,12,
-12,12,13,13,13,14,14,14,14,15,16,16,16,17,17,17,
-17,17,18,18,18,18,18,19,19,19,19,19,19,20,20,20,
-21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,21,21,21,21,
-21,21,20,20,20,19,19,19,19,19,19,18,18,18,18,18,
-17,17,17,17,16,16,16,15,14,14,14,14,13,13,13,13,
-12,12,12,10,10,10,9,9,9,9,8,8,8,7,7,7,
-6,6,6,4,4,4,0,0,0,1,1,1,2,2,2,3,
-24,24,25,25,25,25,26,26,26,27,27,27,27,29,28,28,
-30,30,30,30,31,31,31,31,32,32,32,32,32,33,33,33,
-33,35,35,34,34,34,34,34,34,34,34,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,34,34,34,34,34,34,34,34,35,
-35,33,33,33,32,32,32,32,32,31,31,31,31,30,30,30,
-30,28,28,29,29,27,27,27,27,26,26,26,25,25,25,24,
-25,25,24,24,3,2,2,2,1,1,1,0,0,0,0,4,
-4,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,
-10,10,12,12,12,13,13,13,13,14,14,14,15,16,16,16,
-17,17,17,17,17,18,18,18,18,18,19,19,19,19,19,19,
-20,20,20,21,21,21,21,21,21,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,21,21,
-21,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,
-18,18,18,17,17,17,17,16,16,16,15,14,14,14,14,13,
-13,13,12,12,12,12,10,10,10,9,9,9,8,8,8,8,
-7,7,7,6,6,6,4,4,4,0,0,0,1,1,1,2,
-2,2,3,24,24,25,25,25,25,26,26,26,27,27,27,27,
-29,28,28,30,30,30,30,31,31,31,31,31,32,32,32,32,
-32,33,33,33,35,35,34,34,34,34,34,34,34,34,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,34,34,34,34,34,34,34,
-34,35,35,33,33,33,33,32,32,32,32,32,31,31,31,31,
-30,30,30,30,28,28,29,29,27,27,27,26,26,26,26,25,
-26,26,25,25,25,24,24,3,2,2,2,1,1,1,0,0,
-0,0,4,4,5,6,6,6,7,7,7,8,8,8,9,9,
-9,11,10,10,10,12,12,12,13,13,13,13,14,14,14,14,
-16,16,16,16,17,17,17,17,18,18,18,18,18,19,19,19,
-19,19,19,19,20,20,20,21,21,21,21,21,21,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-21,21,21,21,21,21,20,20,20,20,19,19,19,19,19,19,
-18,18,18,18,18,17,17,17,17,17,16,16,16,15,14,14,
-14,14,13,13,13,12,12,12,12,10,10,10,9,9,9,8,
-8,8,7,7,7,7,6,6,6,4,4,4,0,0,0,1,
-1,1,2,2,2,3,24,24,25,25,25,25,26,26,26,27,
-27,27,27,29,28,28,28,30,30,30,30,31,31,31,31,32,
-32,32,32,32,33,33,33,35,35,35,34,34,34,34,34,34,
-34,34,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,34,34,34,34,34,
-34,34,34,35,35,35,33,33,33,32,32,32,32,32,31,31,
-31,31,31,30,30,30,30,28,28,29,29,27,27,27,26,26,
-27,26,26,26,25,25,25,25,24,24,3,2,2,2,1,1,
-1,0,0,0,4,4,4,5,6,6,6,7,7,7,8,8,
-8,9,9,9,11,10,10,10,12,12,12,13,13,13,13,14,
-14,14,14,15,16,16,16,17,17,17,17,18,18,18,18,18,
-18,19,19,19,19,19,19,20,20,20,21,21,21,21,21,21,
-21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,21,21,21,21,21,21,21,20,20,20,19,19,19,19,
-19,19,19,18,18,18,18,18,17,17,17,17,17,16,16,16,
-15,14,14,14,14,13,13,13,12,12,12,12,10,10,10,9,
-9,9,8,8,8,7,7,7,7,6,6,6,4,4,4,0,
-0,0,1,1,1,2,2,2,3,24,24,24,25,25,25,26,
-26,26,27,27,27,27,29,29,28,28,30,30,30,30,31,31,
-31,31,32,32,32,32,32,33,33,33,33,35,35,34,34,34,
-34,34,34,34,34,34,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,34,34,
-34,34,34,34,34,34,35,35,35,33,33,33,32,32,32,32,
-32,31,31,31,31,31,30,30,30,30,28,28,29,27,27,27,
-27,27,27,27,26,26,26,25,25,25,25,24,24,3,2,2,
-2,1,1,1,0,0,0,4,4,4,5,6,6,6,7,7,
-7,8,8,8,9,9,9,11,10,10,10,12,12,12,13,13,
-13,13,14,14,14,14,15,16,16,16,17,17,17,17,18,18,
-18,18,18,18,19,19,19,19,19,19,20,20,20,20,21,21,
-21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,21,21,21,21,21,21,21,20,20,20,19,
-19,19,19,19,19,19,18,18,18,18,18,17,17,17,17,16,
-16,16,16,15,14,14,14,13,13,13,13,12,12,12,12,10,
-10,10,9,9,9,8,8,8,7,7,7,7,6,6,6,4,
-4,4,0,0,0,1,1,1,2,2,2,3,24,24,24,25,
-25,25,26,26,26,27,27,27,27,29,29,28,28,30,30,30,
-30,31,31,31,31,32,32,32,32,32,33,33,33,33,35,35,
-34,34,34,34,34,34,34,34,34,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-34,34,34,34,34,34,34,34,34,35,35,33,33,33,33,32,
-32,32,32,32,31,31,31,31,30,30,30,30,30,28,28,29,
-28,28,29,27,27,27,27,26,26,26,25,25,25,25,24,24,
-3,2,2,2,1,1,1,0,0,0,4,4,4,5,6,6,
-6,7,7,7,8,8,8,9,9,9,11,10,10,10,12,12,
-12,13,13,13,13,14,14,14,14,15,16,16,16,17,17,17,
-17,17,18,18,18,18,18,19,19,19,19,19,19,20,20,20,
-20,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,21,21,21,21,21,21,21,20,20,
-20,20,19,19,19,19,19,19,18,18,18,18,18,18,17,17,
-17,17,16,16,16,15,14,14,14,14,13,13,13,13,12,12,
-12,10,10,10,10,9,9,9,8,8,8,7,7,7,7,6,
-6,6,4,4,4,0,0,0,1,1,1,2,2,2,3,24,
-24,24,25,25,25,26,26,26,27,27,27,27,29,29,28,28,
-30,30,30,30,31,31,31,31,32,32,32,32,32,33,33,33,
-33,35,35,35,34,34,34,34,34,34,34,34,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,34,34,34,34,34,34,34,34,34,35,35,33,33,
-33,33,32,32,32,32,32,31,31,31,31,30,30,30,30,28,
-30,30,28,28,28,29,27,27,27,27,26,26,26,25,25,25,
-25,24,24,3,2,2,2,1,1,1,0,0,0,4,4,4,
-6,6,6,6,7,7,7,8,8,8,9,9,9,11,10,10,
-10,12,12,12,13,13,13,13,14,14,14,14,15,16,16,16,
-17,17,17,17,18,18,18,18,18,18,19,19,19,19,19,19,
-20,20,20,20,21,21,21,21,21,21,21,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,21,21,21,21,21,21,
-21,20,20,20,20,19,19,19,19,19,19,18,18,18,18,18,
-18,17,17,17,17,16,16,16,15,14,14,14,14,13,13,13,
-13,12,12,12,10,10,10,10,9,9,9,8,8,8,7,7,
-7,6,6,6,6,4,4,4,0,0,0,1,1,1,2,2,
-2,3,24,24,25,25,25,25,26,26,26,27,27,27,27,29,
-29,28,28,30,30,30,30,31,31,31,31,32,32,32,32,32,
-33,33,33,33,35,35,34,34,34,34,34,34,34,34,34,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,34,34,34,34,34,34,34,34,34,35,
-35,33,33,33,33,32,32,32,32,32,31,31,31,31,30,30,
-31,30,30,30,30,28,28,29,29,27,27,27,27,26,26,26,
-25,25,25,24,24,24,3,2,2,2,1,1,1,0,0,0,
-4,4,4,6,6,6,6,7,7,7,8,8,8,9,9,9,
-10,10,10,10,12,12,12,13,13,13,13,14,14,14,14,16,
-16,16,16,17,17,17,17,18,18,18,18,18,18,19,19,19,
-19,19,19,20,20,20,20,21,21,21,21,21,21,21,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,21,21,21,
-21,21,21,21,20,20,20,20,19,19,19,19,19,19,18,18,
-18,18,18,18,17,17,17,17,16,16,16,15,14,14,14,14,
-13,13,13,13,12,12,12,10,10,10,11,9,9,9,8,8,
-8,7,7,7,6,6,6,5,4,4,4,0,0,0,1,1,
-1,2,2,2,3,24,24,25,25,25,25,26,26,26,27,27,
-27,27,29,28,28,28,30,30,30,30,31,31,31,31,32,32,
-32,32,32,33,33,33,33,35,35,34,34,34,34,34,34,34,
-34,34,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,34,34,34,34,34,34,34,
-34,34,35,35,33,33,33,33,32,32,32,32,32,31,31,31,
-31,31,31,31,30,30,30,30,28,28,29,29,27,27,27,27,
-26,26,26,25,25,25,24,24,24,3,2,2,2,1,1,1,
-0,0,0,4,4,4,6,6,6,7,7,7,8,8,8,8,
-9,9,9,10,10,10,12,12,12,12,13,13,13,14,14,14,
-14,15,16,16,16,17,17,17,17,17,18,18,18,18,18,19,
-19,19,19,19,19,19,20,20,20,21,21,21,21,21,21,21,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,21,21,21,21,21,21,20,20,20,20,19,19,19,19,19,
-19,18,18,18,18,18,18,17,17,17,17,16,16,16,15,14,
-14,14,14,13,13,13,13,12,12,12,10,10,10,11,9,9,
-9,8,8,8,7,7,7,6,6,6,5,4,4,0,0,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-26,27,27,27,29,29,28,28,30,30,30,30,31,31,31,31,
-31,32,32,32,32,32,33,33,33,35,35,35,34,34,34,34,
-34,34,34,34,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,34,34,34,34,
-34,34,34,34,34,35,35,33,33,33,33,32,32,32,32,32,
-32,32,32,31,31,31,31,30,30,30,30,28,28,29,29,27,
-27,27,26,26,26,26,25,25,25,24,24,24,2,2,2,2,
-1,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,9,10,10,10,12,12,12,13,13,13,13,
-14,14,14,14,15,16,16,16,17,17,17,17,17,18,18,18,
-18,18,19,19,19,19,19,19,20,20,20,21,21,21,21,21,
-21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,21,21,21,21,21,21,21,20,20,20,19,19,
-19,19,19,19,18,18,18,18,18,17,17,17,17,17,16,16,
-16,15,14,14,14,14,13,13,13,13,12,12,12,10,10,10,
-9,9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,
-0,0,0,1,1,1,2,2,2,2,24,24,24,25,25,25,
-26,26,26,26,27,27,27,29,29,28,28,30,30,30,30,31,
-31,31,31,32,32,32,32,32,33,33,33,33,35,35,34,34,
-34,34,34,34,34,34,34,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,34,
-34,34,34,34,34,34,34,34,35,35,33,33,33,33,32,32,
-33,32,32,32,32,32,31,31,31,31,30,30,30,30,28,28,
-29,29,27,27,27,26,26,26,26,25,25,25,24,24,3,2,
-2,2,1,1,1,0,0,0,4,4,4,5,6,6,6,7,
-7,7,8,8,8,9,9,9,10,10,10,10,12,12,12,13,
-13,13,13,14,14,14,15,16,16,16,17,17,17,17,17,18,
-18,18,18,18,19,19,19,19,19,19,20,20,20,20,21,21,
-21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,
-20,19,19,19,19,19,19,18,18,18,18,18,17,17,17,17,
-17,16,16,16,15,14,14,14,14,13,13,13,12,12,12,12,
-10,10,10,9,9,9,8,8,8,7,7,7,7,6,6,6,
-4,4,4,0,0,0,1,1,1,2,2,2,3,24,24,25,
-25,25,25,26,26,26,27,27,27,27,29,28,28,30,30,30,
-30,31,31,31,31,31,32,32,32,32,32,33,33,33,35,35,
-35,34,34,34,34,34,34,34,34,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,34,34,34,34,34,34,34,34,35,35,33,33,33,
-33,33,33,33,32,32,32,32,31,31,31,31,31,30,30,30,
-30,28,28,29,27,27,27,27,26,26,26,25,25,25,25,24,
-24,3,2,2,2,1,1,1,0,0,0,4,4,4,6,6,
-6,7,7,7,8,8,8,8,9,9,9,10,10,10,12,12,
-12,13,13,13,13,14,14,14,14,15,16,16,16,17,17,17,
-17,18,18,18,18,18,19,19,19,19,19,19,20,20,20,21,
-21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,21,21,21,21,21,
-21,20,20,20,19,19,19,19,19,19,18,18,18,18,18,17,
-17,17,17,17,16,16,16,15,14,14,14,13,13,13,13,12,
-12,12,10,10,10,10,9,9,9,8,8,8,7,7,7,6,
-6,6,5,4,4,0,0,0,1,1,1,1,2,2,2,3,
-24,24,25,25,25,26,26,26,26,27,27,27,29,29,28,28,
-30,30,30,30,31,31,31,31,32,32,32,32,32,33,33,33,
-35,35,35,34,34,34,34,34,34,34,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,34,34,34,34,34,34,34,34,35,35,
-34,35,35,33,33,33,32,32,32,32,32,31,31,31,31,30,
-30,30,30,28,28,29,29,27,27,27,26,26,26,26,25,25,
-25,24,24,3,2,2,2,1,1,1,0,0,0,0,4,4,
-5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,
-12,12,12,12,13,13,13,14,14,14,14,15,16,16,16,17,
-17,17,17,18,18,18,18,18,19,19,19,19,19,19,20,20,
-20,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,21,
-21,21,21,21,20,20,20,19,19,19,19,19,19,18,18,18,
-18,18,17,17,17,17,16,16,16,15,14,14,14,14,13,13,
-13,13,12,12,12,10,10,10,9,9,9,8,8,8,8,7,
-7,7,6,6,6,4,4,4,0,0,0,1,1,1,2,2,
-2,3,24,24,25,25,25,25,26,26,26,27,27,27,29,29,
-28,28,30,30,30,30,31,31,31,31,32,32,32,32,32,33,
-33,33,35,35,35,34,34,34,34,34,34,34,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,34,34,34,34,34,34,34,
-34,34,34,34,35,35,33,33,33,32,32,32,32,32,31,31,
-31,31,30,30,30,30,28,28,29,29,27,27,27,26,26,26,
-25,25,25,25,24,24,3,2,2,2,1,1,1,0,0,0,
-4,4,4,6,6,6,7,7,7,8,8,8,9,9,9,11,
-10,10,10,12,12,12,13,13,13,14,14,14,14,15,16,16,
-16,17,17,17,17,18,18,18,18,18,19,19,19,19,19,19,
-20,20,20,21,21,21,21,21,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,21,21,21,21,21,20,20,20,19,19,19,19,19,19,
-18,18,18,18,18,17,17,17,17,16,16,16,15,14,14,14,
-14,13,13,13,12,12,12,12,10,10,10,9,9,9,8,8,
-8,7,7,7,6,6,6,4,4,4,0,0,0,1,1,1,
-2,2,2,3,24,24,24,25,25,25,26,26,26,27,27,27,
-27,29,28,28,30,30,30,30,31,31,31,31,32,32,32,32,
-32,33,33,33,35,35,35,34,34,34,34,34,34,34,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,34,34,34,34,
-34,34,34,34,34,34,35,35,33,33,33,33,32,32,32,32,
-31,31,31,31,31,30,30,30,28,28,29,29,27,27,27,26,
-26,26,26,25,25,25,24,24,3,2,2,2,1,1,1,0,
-0,0,4,4,4,6,6,6,7,7,7,8,8,8,9,9,
-9,9,10,10,10,12,12,12,13,13,13,13,14,14,14,15,
-16,16,16,17,17,17,17,18,18,18,18,18,19,19,19,19,
-19,19,20,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,21,21,21,21,21,20,20,20,19,19,19,
-19,19,18,18,18,18,18,17,17,17,17,17,16,16,15,14,
-14,14,14,13,13,13,13,12,12,12,10,10,10,9,9,9,
-8,8,8,7,7,7,6,6,6,5,4,4,0,0,0,1,
-1,1,1,2,2,2,24,24,24,25,25,25,26,26,26,27,
-27,27,27,29,28,28,30,30,30,30,31,31,31,31,32,32,
-32,32,32,33,33,33,35,35,34,34,34,34,34,34,34,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,34,
-36,36,34,34,34,34,34,34,34,35,35,33,33,33,32,32,
-32,32,32,31,31,31,31,30,30,30,30,28,28,29,27,27,
-27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,1,
-1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,
-14,15,16,16,16,17,17,17,17,18,18,18,18,18,19,19,
-19,19,19,20,20,20,21,21,21,21,21,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,21,21,21,21,21,20,20,19,
-19,19,19,19,19,18,18,18,18,18,17,17,17,17,16,16,
-16,15,14,14,14,13,13,13,13,12,12,12,10,10,10,9,
-9,9,8,8,8,8,7,7,7,6,6,6,4,4,4,0,
-0,0,1,1,1,2,2,2,24,24,24,25,25,25,26,26,
-26,27,27,27,27,29,28,28,30,30,30,30,31,31,31,31,
-32,32,32,32,32,33,33,33,35,35,34,34,34,34,34,34,
-34,36,36,36,36,36,36,36,36,36,36,36,36,37,37,37,
-37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,34,34,34,34,34,34,35,35,35,33,33,
-33,32,32,32,32,31,31,31,31,30,30,30,30,28,28,29,
-27,27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,
-1,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,11,10,10,10,12,12,12,13,13,13,14,
-14,14,14,15,16,16,16,17,17,17,17,18,18,18,18,19,
-19,19,19,19,19,20,20,21,21,21,21,21,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,21,21,21,21,20,
-20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,17,
-16,16,16,15,14,14,14,14,13,13,13,12,12,12,10,10,
-10,9,9,9,9,8,8,8,7,7,7,6,6,6,4,4,
-4,0,0,0,1,1,1,2,2,2,24,24,24,25,25,25,
-26,26,26,27,27,27,29,29,28,28,30,30,30,30,31,31,
-31,31,32,32,32,32,33,33,33,35,35,34,34,34,34,34,
-34,34,36,36,36,36,36,36,36,36,36,36,36,37,37,37,
-37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,34,34,34,34,34,34,35,35,
-33,33,33,32,32,32,32,31,31,31,31,30,30,30,30,28,
-28,29,27,27,27,27,26,26,26,25,25,25,24,24,3,2,
-2,2,1,1,1,0,0,0,4,4,4,6,6,6,7,7,
-7,8,8,8,9,9,9,10,10,10,12,12,12,12,13,13,
-13,14,14,14,14,16,16,16,17,17,17,17,18,18,18,18,
-18,19,19,19,19,19,20,20,20,21,21,21,21,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,21,21,
-21,21,20,20,19,19,19,19,19,19,18,18,18,18,17,17,
-17,17,16,16,16,15,14,14,14,14,13,13,13,12,12,12,
-10,10,10,9,9,9,9,8,8,8,7,7,7,6,6,5,
-4,4,0,0,0,1,1,1,2,2,2,3,24,24,25,25,
-25,25,26,26,26,27,27,27,29,29,28,28,30,30,30,31,
-31,31,31,32,32,32,32,32,33,33,33,35,35,34,34,34,
-34,34,34,36,36,36,36,36,36,36,36,36,36,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,
-37,36,36,36,36,36,36,36,36,36,34,34,34,34,34,34,
-35,35,33,33,33,32,32,32,32,31,31,31,31,30,30,30,
-30,28,28,29,27,27,27,27,26,26,26,25,25,25,24,24,
-3,2,2,2,1,1,1,0,0,0,4,4,4,6,6,6,
-7,7,7,8,8,8,9,9,9,10,10,10,12,12,12,13,
-13,13,13,14,14,14,15,16,16,16,17,17,17,17,18,18,
-18,18,19,19,19,19,19,19,20,20,21,21,21,21,22,22,
-22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,
-23,23,23,23,23,22,22,22,22,22,22,22,22,22,22,22,
-21,21,21,21,20,20,20,19,19,19,19,19,18,18,18,18,
-17,17,17,17,16,16,16,15,14,14,14,14,13,13,13,12,
-12,12,10,10,10,9,9,9,8,8,8,7,7,7,6,6,
-6,5,4,4,0,0,0,1,1,1,2,2,2,3,24,24,
-25,25,25,26,26,26,27,27,27,27,29,28,28,30,30,30,
-30,31,31,31,31,32,32,32,32,33,33,33,35,35,34,34,
-34,34,34,34,36,36,36,36,36,36,36,36,36,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,36,36,36,36,36,36,36,36,36,34,34,34,34,
-34,34,35,35,33,33,33,32,32,32,32,31,31,31,31,30,
-30,30,30,28,28,29,27,27,27,26,26,26,26,25,25,25,
-24,24,3,2,2,2,1,1,1,0,0,0,4,4,5,6,
-6,7,7,7,8,8,8,9,9,9,11,10,10,10,12,12,
-12,13,13,13,14,14,14,14,16,16,16,17,17,17,17,18,
-18,18,18,18,19,19,19,19,19,20,20,21,21,21,21,22,
-22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,
-23,23,23,23,23,23,23,23,22,22,22,22,22,22,22,22,
-22,22,21,21,21,21,20,20,20,19,19,19,19,19,18,18,
-18,18,17,17,17,17,16,16,16,15,14,14,14,13,13,13,
-13,12,12,12,10,10,10,9,9,9,8,8,8,7,7,7,
-6,6,6,4,4,4,0,0,0,1,1,1,2,2,2,24,
-24,24,25,25,25,26,26,26,27,27,27,29,29,28,28,30,
-30,30,31,31,31,31,32,32,32,32,32,33,33,33,35,34,
-34,34,34,34,34,36,36,36,36,36,36,36,36,36,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,36,36,36,36,36,36,36,36,34,34,
-34,34,34,34,35,35,33,33,33,32,32,32,32,31,31,31,
-31,30,30,30,28,28,29,29,27,27,27,26,26,26,25,25,
-25,24,24,24,2,2,2,1,1,1,0,0,0,4,4,4,
-6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,12,
-12,12,13,13,13,14,14,14,14,15,16,16,16,17,17,17,
-17,18,18,18,18,19,19,19,19,19,20,20,21,21,21,21,
-22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,
-23,23,23,23,23,23,23,23,23,23,23,22,22,22,22,22,
-22,22,22,22,21,21,21,21,20,20,19,19,19,19,19,18,
-18,18,18,18,17,17,17,17,16,16,16,15,14,14,14,13,
-13,13,12,12,12,10,10,10,11,9,9,9,8,8,8,7,
-7,6,6,6,5,4,4,0,0,0,1,1,1,2,2,2,
-3,24,24,25,25,25,26,26,26,27,27,27,27,29,28,28,
-30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,35,
-35,34,34,34,34,34,36,36,36,36,36,36,36,36,36,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,
-34,34,34,34,34,35,35,33,33,33,32,32,32,32,31,31,
-31,31,30,30,30,30,28,28,29,27,27,27,27,26,26,26,
-25,25,25,24,24,3,2,2,2,1,1,1,0,0,0,4,
-4,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,
-12,12,12,13,13,13,13,14,14,14,15,16,16,16,17,17,
-17,17,18,18,18,18,19,19,19,19,19,20,20,21,21,21,
-21,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,22,22,22,
-22,22,22,22,22,22,21,21,21,21,20,20,19,19,19,19,
-19,18,18,18,18,17,17,17,17,16,16,16,15,14,14,14,
-13,13,13,13,12,12,12,10,10,10,9,9,9,8,8,8,
-7,7,7,6,6,6,4,4,4,0,0,0,1,1,1,2,
-2,3,24,24,25,25,25,25,26,26,26,27,27,27,29,28,
-28,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,
-35,35,34,34,34,34,34,36,36,36,36,36,36,36,36,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,36,
-36,34,34,34,34,34,34,35,35,33,33,33,32,32,32,32,
-31,31,31,31,30,30,30,28,28,29,29,27,27,27,26,26,
-26,25,25,25,24,24,3,2,2,2,1,1,1,0,0,0,
-4,4,5,6,6,6,7,7,8,8,8,9,9,9,11,10,
-10,10,12,12,12,13,13,13,14,14,14,15,16,16,16,17,
-17,17,17,18,18,18,18,19,19,19,19,19,20,20,21,21,
-21,21,22,22,22,22,22,22,22,22,22,23,23,23,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,22,
-22,22,22,22,22,22,22,22,21,21,21,20,20,20,19,19,
-19,19,19,18,18,18,18,17,17,17,17,16,16,16,14,14,
-14,14,13,13,13,12,12,12,10,10,10,9,9,9,8,8,
-8,7,7,7,6,6,6,4,4,4,0,0,0,1,1,1,
-2,2,2,3,24,24,25,25,25,26,26,26,27,27,27,29,
-29,28,30,30,30,30,31,31,31,31,32,32,32,32,33,33,
-33,35,35,34,34,34,34,34,36,36,36,36,36,36,36,36,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,
-36,36,36,34,34,34,34,34,35,35,33,33,33,32,32,32,
-32,31,31,31,31,30,30,30,30,28,29,29,27,27,27,26,
-26,26,25,25,25,24,24,3,2,2,2,1,1,1,0,0,
-0,4,4,4,6,6,6,7,7,7,8,8,8,9,9,9,
-10,10,10,12,12,12,13,13,13,14,14,14,15,16,16,16,
-17,17,17,17,18,18,18,18,19,19,19,19,19,20,20,21,
-21,21,21,22,22,22,22,22,22,22,22,22,23,23,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,19,
-19,19,19,19,18,18,18,18,17,17,17,17,16,16,16,15,
-14,14,14,13,13,13,12,12,12,10,10,10,11,9,9,9,
-8,8,7,7,7,6,6,6,5,4,4,0,0,0,1,1,
-1,2,2,2,3,24,24,25,25,25,26,26,26,27,27,27,
-29,29,28,28,30,30,30,31,31,31,31,32,32,32,32,33,
-33,33,35,35,34,34,34,34,34,36,36,36,36,36,36,36,
-36,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,
-36,36,36,36,34,34,34,34,34,35,35,33,33,33,32,32,
-32,32,31,31,31,31,30,30,30,30,28,29,29,27,27,27,
-26,26,26,25,25,25,24,24,3,2,2,2,1,1,1,0,
-0,0,4,4,4,6,6,6,7,7,7,8,8,8,9,9,
-9,10,10,10,12,12,12,13,13,13,14,14,14,15,16,16,
-16,17,17,17,17,18,18,18,18,19,19,19,19,19,20,20,
-21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,22,22,22,22,22,22,22,22,21,21,21,21,20,20,
-19,19,19,19,19,18,18,18,18,17,17,17,17,16,16,16,
-15,14,14,14,13,13,13,12,12,12,12,10,10,11,9,9,
-9,8,8,7,7,7,6,6,6,5,4,4,0,0,0,1,
-1,1,2,2,2,3,24,24,25,25,25,26,26,26,27,27,
-27,29,29,28,28,30,30,30,31,31,31,31,32,32,32,32,
-33,33,33,35,35,34,34,34,34,34,36,36,36,36,36,36,
-36,36,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,
-36,36,36,36,36,34,34,34,34,34,35,35,33,33,33,32,
-32,32,32,31,31,31,31,30,30,30,30,28,29,29,27,27,
-27,26,26,26,25,25,25,24,24,3,2,2,2,1,1,1,
-0,0,0,4,4,5,6,6,6,7,7,7,8,8,9,9,
-9,11,10,10,12,12,12,12,13,13,13,14,14,14,15,16,
-16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,20,
-20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,22,22,22,22,22,22,22,22,21,21,21,21,20,
-20,19,19,19,19,19,18,18,18,18,17,17,17,17,16,16,
-16,15,14,14,14,13,13,13,12,12,12,10,10,10,11,9,
-9,8,8,8,7,7,7,6,6,6,4,4,4,0,0,0,
-1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,27,
-27,27,29,29,28,30,30,30,30,31,31,31,31,32,32,32,
-32,33,33,33,35,35,34,34,34,34,34,36,36,36,36,36,
-36,36,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,
-36,36,36,36,36,36,34,34,34,34,34,35,35,33,33,33,
-32,32,32,32,31,31,31,31,30,30,30,28,28,29,29,27,
-27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,1,
-1,0,0,0,4,4,5,6,6,7,7,7,8,8,8,9,
-9,9,10,10,10,12,12,12,13,13,13,13,14,14,14,15,
-16,16,16,17,17,17,18,18,18,18,18,19,19,19,19,19,
-20,20,21,21,21,22,22,22,22,22,22,22,22,22,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,21,21,21,21,
-20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,16,
-16,16,14,14,14,14,13,13,13,12,12,12,10,10,10,9,
-9,9,8,8,8,7,7,7,6,6,6,4,4,4,0,0,
-0,1,1,1,2,2,2,24,24,25,25,25,25,26,26,26,
-27,27,27,29,28,28,30,30,30,30,31,31,31,32,32,32,
-32,32,33,33,35,35,34,34,34,34,34,34,36,36,36,36,
-36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-33,32,32,32,32,31,31,31,31,30,30,30,28,28,29,27,
-27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,
-1,1,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,14,
-15,16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,
-20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,22,22,22,22,22,22,22,22,21,21,21,
-20,20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,
-16,16,15,14,14,14,14,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-27,27,27,27,29,28,28,30,30,30,31,31,31,31,32,32,
-32,32,33,33,33,35,35,34,34,34,34,34,36,36,36,36,
-36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-36,36,36,36,36,36,36,34,34,34,34,34,34,35,33,33,
-33,32,32,32,32,31,31,31,31,30,30,30,30,28,29,29,
-27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,
-1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,
-8,9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,
-15,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,
-19,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,22,22,22,22,22,22,22,22,21,21,21,
-21,20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,
-16,16,16,15,14,14,14,13,13,13,12,12,12,12,10,10,
-11,9,9,9,8,8,7,7,7,6,6,6,5,4,4,0,
-0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,
-26,27,27,27,29,29,28,30,30,30,30,31,31,31,31,32,
-32,32,32,33,33,33,35,35,34,34,34,34,34,36,36,36,
-36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-36,36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,28,28,29,
-27,27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,
-1,1,1,0,0,4,4,4,6,6,6,7,7,7,8,8,
-8,9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,
-14,15,16,16,17,17,17,17,18,18,18,18,18,19,19,19,
-19,20,20,20,21,21,21,22,22,22,22,22,22,22,22,22,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,
-21,20,20,20,19,19,19,19,18,18,18,18,18,17,17,17,
-17,16,16,15,14,14,14,14,13,13,13,12,12,12,10,10,
-10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,
-0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,
-26,27,27,27,27,29,28,28,30,30,30,30,31,31,31,32,
-32,32,32,33,33,33,35,35,34,34,34,34,34,34,36,36,
-36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-36,36,36,36,36,36,36,36,34,34,34,34,34,35,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,28,28,29,
-29,27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,
-1,1,1,0,0,0,4,4,5,6,6,6,7,7,8,8,
-8,9,9,9,11,10,10,12,12,12,12,13,13,13,14,14,
-14,15,16,16,16,17,17,17,17,18,18,18,18,19,19,19,
-19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,22,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,23,22,22,22,22,22,22,22,22,21,21,
-21,21,20,20,19,19,19,19,19,18,18,18,18,17,17,17,
-17,16,16,16,15,14,14,14,13,13,13,12,12,12,10,10,
-10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,
-0,0,0,1,1,1,2,2,2,24,24,24,25,25,25,26,
-26,26,27,27,27,29,29,28,30,30,30,30,31,31,31,31,
-32,32,32,32,33,33,33,35,35,34,34,34,34,34,36,36,
-36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-36,36,36,36,36,36,36,36,34,34,34,34,34,35,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,30,28,28,
-29,27,27,27,26,26,26,25,25,25,24,24,24,2,2,2,
-1,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,14,14,
-14,14,16,16,16,17,17,17,17,18,18,18,18,19,19,19,
-19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,22,
-22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,23,22,22,22,22,22,22,22,22,21,21,
-21,21,20,20,19,19,19,19,19,18,18,18,18,17,17,17,
-17,16,16,16,15,14,14,14,13,13,13,12,12,12,12,10,
-10,11,9,9,9,8,8,8,7,7,7,6,6,5,4,4,
-0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,27,27,27,29,29,28,28,30,30,30,31,31,31,31,
-32,32,32,32,33,33,33,35,35,34,34,34,34,34,34,36,
-36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-36,36,36,36,36,36,36,36,34,34,34,34,34,34,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,30,28,28,
-29,27,27,27,26,26,26,26,25,25,25,24,24,3,2,2,
-2,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,14,14,
-14,14,15,16,16,17,17,17,17,18,18,18,18,18,19,19,
-19,19,19,20,20,21,21,21,22,22,22,22,22,22,22,22,
-22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,23,22,22,22,22,22,22,22,22,21,21,
-21,21,20,20,19,19,19,19,19,18,18,18,18,17,17,17,
-17,16,16,16,15,14,14,14,13,13,13,13,12,12,12,10,
-10,10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,
-0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,27,27,27,27,29,28,28,30,30,30,30,31,31,31,
-32,32,32,32,32,33,33,35,35,34,34,34,34,34,34,36,
-36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-36,36,36,36,36,36,36,36,34,34,34,34,34,34,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,30,28,28,
-29,27,27,27,27,26,26,26,25,25,25,24,24,3,2,2,
-2,1,1,1,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,13,14,
-14,14,15,16,16,16,17,17,17,17,18,18,18,18,19,19,
-19,19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,
-21,21,20,20,19,19,19,19,19,18,18,18,18,17,17,17,
-17,16,16,16,15,14,14,14,13,13,13,13,12,12,12,10,
-10,10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,
-4,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,27,27,27,27,29,28,28,30,30,30,30,31,31,31,
-31,32,32,32,32,33,33,33,35,34,34,34,34,34,34,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-36,36,36,36,36,36,36,36,34,34,34,34,34,35,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,30,28,28,
-29,27,27,27,27,26,26,26,25,25,25,24,24,3,2,2,
-2,1,1,1,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,13,14,
-14,14,15,16,16,16,17,17,17,17,18,18,18,18,19,19,
-19,19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,
-21,21,20,20,19,19,19,19,19,18,18,18,18,17,17,17,
-17,16,16,16,15,14,14,14,13,13,13,13,12,12,12,10,
-10,10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,
-4,0,0,0,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,26,27,27,27,29,28,28,30,30,30,30,31,31,31,
-31,32,32,32,32,33,33,33,35,35,34,34,34,34,34,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,
-36,36,36,36,36,36,36,36,34,34,34,34,34,35,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,30,28,28,
-29,27,27,27,26,26,26,26,25,25,25,24,24,3,2,2,
-2,1,1,1,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,13,14,
-14,14,15,16,16,16,17,17,17,17,18,18,18,18,19,19,
-19,19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,
-21,21,20,20,19,19,19,19,19,18,18,18,18,17,17,17,
-17,16,16,16,15,14,14,14,13,13,13,13,12,12,12,10,
-10,10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,
-4,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,26,27,27,27,29,28,28,30,30,30,30,31,31,31,
-31,32,32,32,32,33,33,33,35,35,34,34,34,34,34,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,30,28,28,
-29,27,27,27,26,26,26,25,25,25,25,24,24,3,2,2,
-2,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,13,14,
-14,14,15,16,16,16,17,17,17,17,18,18,18,18,19,19,
-19,19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,22,21,21,
-21,21,20,20,19,19,19,19,19,18,18,18,18,17,17,17,
-17,16,16,16,15,14,14,14,13,13,13,13,12,12,12,10,
-10,10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,
-0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,27,27,27,27,29,28,28,30,30,30,30,31,31,31,
-31,32,32,32,32,33,33,33,35,35,34,34,34,34,34,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,30,28,29,
-29,27,27,27,26,26,26,25,25,25,24,24,24,2,2,2,
-1,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,14,14,
-14,14,15,16,16,16,17,17,17,17,18,18,18,18,19,19,
-19,19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,22,21,21,
-21,20,20,20,19,19,19,19,19,18,18,18,18,17,17,17,
-17,16,16,16,15,14,14,14,13,13,13,12,12,12,12,10,
-10,11,9,9,9,8,8,8,7,7,7,6,6,5,4,4,
-0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,27,27,27,27,29,28,28,30,30,30,30,31,31,31,
-32,32,32,32,32,33,33,33,35,35,34,34,34,34,34,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,
-33,33,32,32,32,32,31,31,31,31,30,30,30,28,28,29,
-29,27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,
-1,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,14,14,
-14,14,15,16,16,17,17,17,17,18,18,18,18,18,19,19,
-19,19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-21,20,20,20,19,19,19,19,18,18,18,18,18,17,17,17,
-17,16,16,16,14,14,14,14,13,13,13,12,12,12,10,10,
-10,9,9,9,8,8,8,7,7,7,6,6,6,5,4,4,
-0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,27,27,27,29,29,28,28,30,30,30,31,31,31,31,
-32,32,32,32,32,33,33,35,35,34,34,34,34,34,34,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,
-33,32,32,32,32,32,31,31,31,31,30,30,30,28,28,29,
-29,27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,
-1,1,1,0,0,0,4,4,5,6,6,6,7,7,7,8,
-8,9,9,9,11,10,10,10,12,12,12,13,13,13,14,14,
-14,14,16,16,16,17,17,17,17,18,18,18,18,19,19,19,
-19,19,20,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-21,20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,
-17,16,16,15,14,14,14,14,13,13,13,12,12,12,10,10,
-10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,
-0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,27,27,27,29,29,28,28,30,30,30,31,31,31,31,
-32,32,32,32,33,33,33,35,35,34,34,34,34,34,34,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,36,34,34,34,34,34,35,35,33,33,
-33,32,32,32,32,31,31,31,31,30,30,30,30,28,28,29,
-27,27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,
-1,1,1,0,0,0,4,4,6,6,6,7,7,7,8,8,
-8,9,9,9,10,10,10,12,12,12,12,13,13,13,14,14,
-14,15,16,16,16,17,17,17,17,18,18,18,18,19,19,19,
-19,19,20,20,20,21,21,21,22,22,22,22,22,22,22,22,
-22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-21,20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,
-16,16,16,15,14,14,14,13,13,13,13,12,12,12,10,10,
-10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,
-0,0,0,1,1,1,2,2,2,24,24,25,25,25,25,26,
-26,26,27,27,27,29,28,28,30,30,30,30,31,31,31,31,
-32,32,32,32,33,33,33,35,35,34,34,34,34,34,34,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,36,34,34,34,34,34,35,35,33,33,
-33,32,32,32,32,31,31,31,31,30,30,30,30,28,28,29,
-27,27,27,26,26,26,26,25,25,25,24,24,3,2,2,2,
-1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,
-8,9,9,9,10,10,10,12,12,12,13,13,13,13,14,14,
-14,15,16,16,16,17,17,17,17,18,18,18,18,19,19,19,
-19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,22,
-22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-21,20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,
-16,16,16,15,14,14,14,13,13,13,13,12,12,12,10,10,
-10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,0,
-0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,
-26,27,27,27,27,29,28,28,30,30,30,30,31,31,31,31,
-32,32,32,32,33,33,33,35,35,34,34,34,34,34,36,36,
-36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-33,32,32,32,32,31,31,31,31,30,30,30,28,28,29,29,
-27,27,27,26,26,26,25,25,25,24,24,24,2,2,2,1,
-1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,
-8,9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,
-14,15,16,16,17,17,17,17,18,18,18,18,18,19,19,19,
-19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,22,
-22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-20,20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,
-16,16,16,15,14,14,14,13,13,13,12,12,12,12,10,10,
-11,9,9,9,8,8,8,7,7,6,6,6,5,4,4,0,
-0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,
-26,27,27,27,29,29,28,28,30,30,30,31,31,31,31,32,
-32,32,32,33,33,33,35,35,34,34,34,34,34,34,36,36,
-36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-33,32,32,32,32,31,31,31,31,30,30,30,28,28,29,29,
-27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,
-1,1,0,0,0,4,4,5,6,6,6,7,7,7,8,8,
-9,9,9,11,10,10,10,12,12,12,13,13,13,14,14,14,
-15,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,
-19,20,20,21,21,21,21,22,22,22,22,22,22,22,22,22,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-20,20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,
-16,16,16,14,14,14,14,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,0,
-0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,
-26,27,27,27,29,29,28,28,30,30,30,31,31,31,31,32,
-32,32,32,33,33,33,35,35,34,34,34,34,34,34,36,36,
-36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-33,32,32,32,32,31,31,31,31,30,30,30,28,28,29,29,
-27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,
-1,1,0,0,0,4,4,5,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,13,14,14,14,
-15,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,
-19,20,20,21,21,21,21,22,22,22,22,22,22,22,22,22,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-20,20,20,19,19,19,19,18,18,18,18,18,17,17,17,17,
-16,16,15,14,14,14,14,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,0,
-0,0,1,1,1,2,2,2,24,24,24,25,25,25,26,26,
-26,27,27,27,29,28,28,30,30,30,30,31,31,31,31,32,
-32,32,32,33,33,33,35,35,34,34,34,34,34,36,36,36,
-36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-32,32,32,32,32,31,31,31,30,30,30,30,28,28,29,27,
-27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,
-1,1,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,13,14,14,14,
-15,16,16,16,17,17,17,18,18,18,18,18,19,19,19,19,
-19,20,20,21,21,21,22,22,22,22,22,22,22,22,22,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-20,20,20,19,19,19,19,18,18,18,18,18,17,17,17,17,
-16,16,15,14,14,14,14,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-27,27,27,27,29,28,28,30,30,30,30,31,31,31,32,32,
-32,32,32,33,33,35,35,34,34,34,34,34,34,36,36,36,
-36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-32,32,32,32,32,31,31,31,30,30,30,30,28,28,29,27,
-27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,
-1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,14,
-15,16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,
-20,20,20,21,21,21,22,22,22,22,22,22,22,22,22,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,16,
-16,16,15,14,14,14,13,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,6,4,4,0,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-27,27,27,29,29,28,28,30,30,30,31,31,31,31,32,32,
-32,32,33,33,33,35,35,34,34,34,34,34,34,36,36,36,
-36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-32,32,32,32,32,31,31,31,30,30,30,30,28,28,29,27,
-27,27,26,26,26,26,25,25,25,24,24,3,2,2,1,1,
-1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,14,
-16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,
-20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,16,
-16,16,15,14,14,14,13,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,5,4,4,0,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-27,27,27,29,29,28,28,30,30,30,31,31,31,31,32,32,
-32,32,33,33,33,35,35,34,34,34,34,34,36,36,36,36,
-36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-32,32,32,32,31,31,31,31,30,30,30,30,28,28,29,27,
-27,27,26,26,26,25,25,25,25,24,24,2,2,2,1,1,
-1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,15,
-16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,
-20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,16,
-16,16,15,14,14,14,13,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,5,4,4,0,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-27,27,27,29,29,28,28,30,30,30,31,31,31,31,32,32,
-32,32,33,33,33,35,35,34,34,34,34,34,36,36,36,36,
-36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-32,32,32,32,31,31,31,31,30,30,30,30,28,28,29,27,
-27,27,26,26,26,25,25,25,25,24,24,2,2,2,1,1,
-1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,15,
-16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,
-20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-20,20,19,19,19,19,19,18,18,18,18,17,17,17,17,16,
-16,16,15,14,14,14,13,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,5,4,4,0,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-27,27,27,29,29,28,28,30,30,30,31,31,31,31,32,32,
-32,32,33,33,33,35,35,34,34,34,34,34,36,36,36,36,
-36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-32,32,32,32,31,31,31,31,30,30,30,30,28,28,29,27,
-27,27,26,26,26,26,25,25,25,24,24,3,2,2,1,1,
-1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,14,
-16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,
-20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,16,
-16,16,15,14,14,14,13,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,5,4,4,0,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-27,27,27,29,29,28,28,30,30,30,31,31,31,31,32,32,
-32,32,33,33,33,35,35,34,34,34,34,34,36,36,36,36,
-36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-32,32,32,32,32,31,31,31,30,30,30,30,28,28,29,27,
-27,27,26,26,26,26,25,25,25,24,24,3,2,2,2,1,
-1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,14,
-15,16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,
-20,20,20,21,21,21,22,22,22,22,22,22,22,22,22,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,
-20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,16,
-16,16,15,14,14,14,13,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,6,4,4,0,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-27,27,27,29,29,28,28,30,30,30,31,31,31,31,32,32,
-32,32,33,33,33,35,35,34,34,34,34,34,34,36,36,36,
-36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-32,32,32,32,32,31,31,31,30,30,30,30,28,28,29,27,
-27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,
-1,1,0,0,4,4,4,6,6,6,7,7,7,8,8,8,
-9,9,9,10,10,10,12,12,12,13,13,13,13,14,14,14,
-15,16,16,16,17,17,17,18,18,18,18,18,19,19,19,19,
-19,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,23,22,22,22,22,22,22,22,22,21,21,21,21,
-20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,16,
-16,16,15,14,14,14,14,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,0,
-0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,26,
-27,27,27,27,29,28,28,30,30,30,30,31,31,31,32,32,
-32,32,32,33,33,35,35,34,34,34,34,34,34,36,36,36,
-36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,
-32,32,32,32,32,31,31,31,30,30,30,30,28,28,29,27,
-27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,
-1,1,0,0,0,4,4,5,6,6,7,7,7,8,8,8,
-9,9,9,11,10,10,12,12,12,12,13,13,13,14,14,14,
-15,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,
-19,20,20,20,21,21,21,22,22,22,22,22,22,22,22,22,
-23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,23,22,22,22,22,22,22,22,22,22,21,21,21,21,
-20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,17,
-16,16,15,14,14,14,14,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,0,
-0,0,1,1,1,2,2,2,24,24,24,25,25,25,26,26,
-26,27,27,27,29,29,28,30,30,30,30,31,31,31,31,32,
-32,32,32,33,33,33,35,35,34,34,34,34,34,34,36,36,
-36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,37,36,36,36,
-36,36,36,36,36,36,34,34,34,34,34,34,35,33,33,33,
-32,32,32,32,32,31,31,31,31,30,30,30,28,28,29,29,
-27,27,27,26,26,26,25,25,25,24,24,3,2,2,2,1,
-1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,
-8,9,9,9,10,10,10,12,12,12,13,13,13,14,14,14,
-14,15,16,16,17,17,17,17,18,18,18,18,18,19,19,19,
-19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,22,
-22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
-23,23,22,22,22,22,22,22,22,22,22,22,21,21,21,21,
-20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,17,
-16,16,15,14,14,14,14,13,13,13,12,12,12,10,10,10,
-9,9,9,8,8,8,7,7,7,6,6,6,5,4,4,0,
-0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,26,
-26,27,27,27,29,29,28,28,30,30,30,30,31,31,31,32,
-32,32,32,32,33,33,33,35,35,34,34,34,34,34,36,36,
-36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,
-36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,33,
-32,32,32,32,32,31,31,31,31,30,30,30,28,28,29,29,
-27,27,27,26,26,26,25,25,25,24,24,24,2,2,2,1,
-1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,8,
-8,9,9,9,10,10,10,12,12,12,12,13,13,13,14,14,
-14,15,16,16,16,17,17,17,17,18,18,18,18,18,19,19,
-19,19,19,20,20,21,21,21,21,22,22,22,22,22,22,22,
-22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,
-22,22,22,22,22,22,22,22,22,22,22,21,21,21,21,20,
-20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,17,
-16,16,15,14,14,14,14,13,13,13,12,12,12,10,10,10,
-11,9,9,9,8,8,8,7,7,7,6,6,6,4,4,0,
-0,0,1,1,1,2,2,2,3,24,24,25,25,25,25,26,
-26,26,27,27,27,29,29,28,28,30,30,30,31,31,31,31,
-32,32,32,32,33,33,33,35,35,34,34,34,34,34,34,34,
-36,36,36,36,36,36,36,36,36,37,37,37,37,37,37,37,
-37,37,37,37,37,37,37,37,37,37,37,36,36,36,36,36,
-36,36,36,36,36,34,34,34,34,34,34,35,35,33,33,33,
-32,32,32,32,32,31,31,31,31,30,30,30,28,28,29,29,
-27,27,27,26,26,26,26,25,25,25,24,24,3,2,2,2,
-1,1,1,0,0,0,4,4,5,6,6,6,7,7,7,8,
-8,8,9,9,9,10,10,10,12,12,12,13,13,13,13,14,
-14,14,15,16,16,16,17,17,17,17,18,18,18,18,18,19,
-19,19,19,19,20,20,20,21,21,21,21,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,21,21,21,21,20,
-20,20,19,19,19,19,19,18,18,18,18,18,17,17,17,17,
-16,16,16,14,14,14,14,13,13,13,12,12,12,12,10,10,
-10,9,9,9,8,8,8,7,7,7,6,6,6,4,4,4,
-0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,26,
-26,26,27,27,27,27,29,28,28,30,30,30,30,31,31,31,
-31,32,32,32,32,33,33,33,33,35,35,34,34,34,34,34,
-34,36,36,36,36,36,36,36,36,36,36,37,37,37,37,37,
-37,37,37,37,37,37,37,36,36,36,36,36,36,36,36,36,
-36,36,36,36,34,34,34,34,34,34,34,35,35,33,33,33,
-32,32,32,32,32,31,31,31,31,30,30,30,28,28,29,29,
-27,27,27,26,26,26,26,25,25,25,24,24,3,2,2,2,
-1,1,1,0,0,0,4,4,4,6,6,6,7,7,7,8,
-8,8,9,9,9,11,10,10,10,12,12,12,13,13,13,14,
-14,14,14,15,16,16,16,17,17,17,17,18,18,18,18,18,
-19,19,19,19,19,20,20,20,21,21,21,21,21,22,22,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,22,22,21,21,21,21,20,20,
-20,19,19,19,19,19,19,18,18,18,18,17,17,17,17,17,
-16,16,16,15,14,14,14,13,13,13,13,12,12,12,10,10,
-10,9,9,9,8,8,8,7,7,7,6,6,6,5,4,4,
-0,0,0,1,1,1,2,2,2,2,24,24,24,25,25,25,
-26,26,26,27,27,27,27,29,28,28,30,30,30,30,31,31,
-31,31,32,32,32,32,32,33,33,33,35,35,34,34,34,34,
-34,34,34,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,34,34,34,34,34,34,34,35,35,33,33,33,33,
-32,32,32,32,31,31,31,31,31,30,30,30,30,28,28,29,
-27,27,27,27,26,26,26,25,25,25,24,24,24,2,2,2,
-2,1,1,1,0,0,0,4,4,5,6,6,6,7,7,7,
-8,8,8,9,9,9,10,10,10,12,12,12,12,13,13,13,
-14,14,14,14,15,16,16,16,17,17,17,17,18,18,18,18,
-18,19,19,19,19,19,19,20,20,20,21,21,21,21,21,22,
-22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,22,22,21,21,21,21,21,21,20,20,
-20,19,19,19,19,19,18,18,18,18,18,17,17,17,17,17,
-16,16,16,15,14,14,14,13,13,13,13,12,12,12,10,10,
-10,11,9,9,9,8,8,8,7,7,7,6,6,6,4,4,
-4,0,0,0,1,1,1,2,2,2,3,24,24,25,25,25,
-25,26,26,26,27,27,27,27,29,28,28,30,30,30,30,31,
-31,31,31,32,32,32,32,32,33,33,33,35,35,35,34,34,
-34,34,34,34,34,36,36,36,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,
-36,34,34,34,34,34,34,34,34,35,35,35,33,33,33,32,
-32,32,32,32,31,31,31,31,31,30,30,30,30,28,28,29,
-27,27,27,27,26,26,26,25,25,25,25,24,24,3,2,2,
-2,1,1,1,0,0,0,4,4,4,6,6,6,6,7,7,
-7,8,8,8,9,9,9,10,10,10,12,12,12,12,13,13,
-13,13,14,14,14,15,16,16,16,17,17,17,17,17,18,18,
-18,18,18,19,19,19,19,19,19,20,20,20,20,21,21,21,
-21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,
-22,22,22,22,22,22,21,21,21,21,21,21,20,20,20,20,
-19,19,19,19,19,19,18,18,18,18,18,17,17,17,17,17,
-16,16,16,15,14,14,14,13,13,13,13,12,12,12,12,10,
-10,10,9,9,9,8,8,8,7,7,7,6,6,6,6,4,
-4,4,0,0,0,1,1,1,2,2,2,3,24,24,25,25,
-25,25,26,26,26,27,27,27,27,29,28,28,30,30,30,30,
-31,31,31,31,31,32,32,32,32,32,33,33,33,35,35,35,
-34,34,34,34,34,34,34,34,36,36,36,36,36,36,36,36,
-36,36,36,36,36,36,36,36,36,36,36,36,36,36,34,34,
-34,34,34,34,34,34,34,34,35,35,35,33,33,33,33,32,
-32,32,32,32,31,31,31,31,31,30,30,30,30,28,28,29,
-29,27,27,27,26,26,26,26,25,25,25,24,24,24,2,2,
-2,2,1,1,1,0,0,0,4,4,4,6,6,6,7,7,
-7,7,8,8,8,9,9,9,10,10,10,10,12,12,12,13,
-13,13,13,14,14,14,14,15,16,16,16,17,17,17,17,17,
-18,18,18,18,18,19,19,19,19,19,19,19,20,20,20,20,
-21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,
-22,21,21,21,21,21,21,21,21,21,20,20,20,20,19,19,
-19,19,19,19,19,18,18,18,18,18,18,17,17,17,17,16,
-16,16,16,15,14,14,14,14,13,13,13,12,12,12,12,10,
-10,10,9,9,9,9,8,8,8,7,7,7,6,6,6,5,
-4,4,0,0,0,0,1,1,1,2,2,2,3,24,24,25,
-25,25,25,26,26,26,27,27,27,27,29,29,28,28,30,30,
-30,30,31,31,31,31,31,32,32,32,32,32,33,33,33,33,
-35,35,34,34,34,34,34,34,34,34,34,34,36,36,36,36,
-34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,
-34,34,34,34,34,34,34,35,35,35,33,33,33,33,32,32,
-32,32,32,31,31,31,31,31,30,30,30,30,30,28,28,29,
-29,27,27,27,26,26,26,26,25,25,25,25,24,24,3,2,
-2,2,1,1,1,1,0,0,0,4,4,4,6,6,6,7,
-7,7,7,8,8,8,9,9,9,11,10,10,10,12,12,12,
-13,13,13,13,14,14,14,14,15,16,16,16,16,17,17,17,
-17,17,18,18,18,18,18,18,19,19,19,19,19,19,19,19,
-20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,
-21,21,21,21,21,21,21,20,20,20,20,20,19,19,19,19,
-19,19,19,19,18,18,18,18,18,18,17,17,17,17,17,16,
-16,16,16,15,14,14,14,14,13,13,13,13,12,12,12,10,
-10,10,11,9,9,9,8,8,8,7,7,7,7,6,6,6,
-4,4,4,0,0,0,1,1,1,1,2,2,2,3,24,24,
-25,25,25,25,26,26,26,26,27,27,27,29,29,28,28,30,
-30,30,30,30,31,31,31,31,31,32,32,32,32,32,33,33,
-33,33,35,35,35,34,34,34,34,34,34,34,34,34,34,34,
-34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,
-34,34,34,34,35,35,35,35,33,33,33,33,33,32,32,32,
-32,32,32,31,31,31,31,31,30,30,30,30,30,28,28,29,
-29,27,27,27,27,26,26,26,25,25,25,25,24,24,24,2,
-2,2,2,1,1,1,0,0,0,0,4,4,4,6,6,6,
-7,7,7,7,8,8,8,9,9,9,9,10,10,10,12,12,
-12,12,13,13,13,13,14,14,14,14,15,16,16,16,16,17,
-17,17,17,17,18,18,18,18,18,18,18,19,19,19,19,19,
-19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,
-20,20,20,20,20,20,20,20,20,19,19,19,19,19,19,19,
-19,19,19,18,18,18,18,18,18,17,17,17,17,17,17,16,
-16,16,15,14,14,14,14,14,13,13,13,13,12,12,12,10,
-10,10,10,9,9,9,9,8,8,8,7,7,7,6,6,6,
-6,4,4,4,0,0,0,1,1,1,1,2,2,2,3,24,
-24,24,25,25,25,26,26,26,26,27,27,27,27,29,29,28,
-28,30,30,30,30,30,31,31,31,31,31,32,32,32,32,32,
-32,33,33,33,33,33,35,35,35,35,34,34,34,34,34,34,
-34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,
-35,35,35,35,35,33,33,33,33,33,33,32,32,32,32,32,
-32,32,31,31,31,31,31,30,30,30,30,30,28,28,28,29,
-29,27,27,27,27,26,26,26,26,25,25,25,24,24,24,3,
-2,2,2,2,1,1,1,0,0,0,0,4,4,4,6,6,
-6,7,7,7,7,8,8,8,9,9,9,9,10,10,10,10,
-12,12,12,12,13,13,13,13,14,14,14,14,15,15,16,16,
-16,16,17,17,17,17,17,18,18,18,18,18,18,18,18,19,
-19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
-19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
-19,18,18,18,18,18,18,18,17,17,17,17,17,17,16,16,
-16,16,15,14,14,14,14,14,13,13,13,13,12,12,12,12,
-10,10,10,11,9,9,9,8,8,8,8,7,7,7,6,6,
-6,6,4,4,4,0,0,0,0,1,1,1,2,2,2,2,
-3,24,24,25,25,25,25,26,26,26,26,27,27,27,27,29,
-29,28,28,30,30,30,30,30,31,31,31,31,31,31,32,32,
-32,32,32,32,32,33,33,33,33,33,33,35,35,35,35,35,
-33,33,35,35,35,35,35,35,35,35,35,35,35,35,35,35,
-33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,
-32,31,31,31,31,31,31,30,30,30,30,30,28,28,28,29,
-29,27,27,27,27,26,26,26,26,25,25,25,25,24,24,24,
-3,2,2,2,1,1,1,1,0,0,0,4,4,4,4,6,
-6,6,6,7,7,7,8,8,8,8,9,9,9,9,10,10,
-10,10,12,12,12,12,13,13,13,13,14,14,14,14,14,15,
-16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,
-18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,
-19,19,19,19,19,19,19,19,19,19,19,19,19,19,18,18,
-18,18,18,18,18,18,18,17,17,17,17,17,17,16,16,16,
-16,15,15,14,14,14,14,13,13,13,13,13,12,12,12,12,
-10,10,10,10,9,9,9,9,8,8,8,7,7,7,7,6,
-6,6,6,4,4,4,0,0,0,0,1,1,1,2,2,2,
-2,3,24,24,24,25,25,25,25,26,26,26,26,27,27,27,
-27,29,29,28,28,28,30,30,30,30,30,31,31,31,31,31,
-31,32,32,32,32,32,32,32,32,33,33,33,33,33,33,33,
-33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,
-33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,31,
-31,31,31,31,31,31,30,30,30,30,30,28,28,28,29,29,
-27,27,27,27,27,26,26,26,26,25,25,25,25,24,24,24,
-3,2,2,2,2,1,1,1,1,0,0,0,0,4,4,4,
-6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,
-10,10,10,10,12,12,12,12,13,13,13,13,13,14,14,14,
-14,14,15,16,16,16,16,16,17,17,17,17,17,17,17,17,
-18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,19,
-19,19,19,19,19,19,18,18,18,18,18,18,18,18,18,18,
-18,18,18,18,17,17,17,17,17,17,17,17,16,16,16,16,
-16,15,14,14,14,14,14,13,13,13,13,13,12,12,12,12,
-10,10,10,10,9,9,9,9,8,8,8,8,7,7,7,7,
-6,6,6,6,4,4,4,0,0,0,0,1,1,1,1,2,
-2,2,2,3,24,24,24,25,25,25,25,26,26,26,26,27,
-27,27,27,27,29,29,28,28,28,30,30,30,30,30,31,31,
-31,31,31,31,31,32,32,32,32,32,32,32,32,32,32,32,
-32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
-32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,
-31,31,31,31,30,30,30,30,30,30,28,28,28,28,29,29,
-27,27,27,27,27,26,26,26,26,25,25,25,25,25,24,24,
-24,3,2,2,2,2,1,1,1,1,0,0,0,0,4,4,
-4,5,6,6,6,6,7,7,7,8,8,8,8,8,9,9,
-9,9,10,10,10,10,12,12,12,12,12,13,13,13,13,13,
-14,14,14,14,14,15,15,16,16,16,16,16,17,17,17,17,
-17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,18,
-18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,
-18,17,17,17,17,17,17,17,17,17,16,16,16,16,16,15,
-15,14,14,14,14,14,14,13,13,13,13,13,12,12,12,12,
-10,10,10,10,11,9,9,9,9,8,8,8,8,7,7,7,
-7,6,6,6,6,4,4,4,4,0,0,0,0,1,1,1,
-2,2,2,2,2,3,24,24,24,25,25,25,25,26,26,26,
-26,26,27,27,27,27,29,29,29,28,28,28,30,30,30,30,
-30,30,31,31,31,31,31,31,31,31,31,32,32,32,32,32,
-31,31,31,32,32,32,32,32,32,32,32,32,32,32,32,32,
-32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,
-31,31,30,30,30,30,30,30,30,28,28,28,28,29,29,27,
-27,27,27,27,27,26,26,26,26,26,25,25,25,25,24,24,
-24,3,3,2,2,2,2,1,1,1,1,0,0,0,0,4,
-4,4,4,6,6,6,6,7,7,7,7,8,8,8,8,8,
-9,9,9,9,10,10,10,10,10,12,12,12,12,12,13,13,
-13,13,13,14,14,14,14,14,14,14,15,16,16,16,16,16,
-16,16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
-17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
-17,17,17,17,17,17,17,16,16,16,16,16,16,16,15,14,
-14,14,14,14,14,14,13,13,13,13,13,12,12,12,12,12,
-10,10,10,10,10,9,9,9,9,8,8,8,8,8,7,7,
-7,7,6,6,6,6,4,4,4,4,0,0,0,0,1,1,
-1,1,2,2,2,2,2,3,24,24,24,25,25,25,25,25,
-26,26,26,26,27,27,27,27,27,27,29,29,28,28,28,28,
-30,30,30,30,30,30,30,31,31,31,31,31,31,31,31,31,
-31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,
-31,31,31,31,31,31,31,31,31,31,31,31,31,31,30,30,
-30,30,30,30,30,30,30,28,28,28,28,29,29,29,27,27,
-27,27,27,27,26,26,26,26,26,26,25,25,25,25,25,24,
-24,24,3,2,2,2,2,2,1,1,1,1,0,0,0,0,
-4,4,4,4,5,6,6,6,6,7,7,7,7,7,8,8,
-8,8,9,9,9,9,9,10,10,10,10,10,12,12,12,12,
-12,13,13,13,13,13,13,14,14,14,14,14,14,14,14,15,
-15,16,16,16,16,16,16,16,16,16,17,17,17,17,17,17,
-17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
-17,17,16,16,16,16,16,16,16,16,16,15,15,14,14,14,
-14,14,14,14,14,13,13,13,13,13,13,12,12,12,12,12,
-10,10,10,10,10,9,9,9,9,9,8,8,8,8,8,7,
-7,7,7,6,6,6,6,5,4,4,4,4,0,0,0,0,
-1,1,1,1,2,2,2,2,2,3,24,24,24,24,25,25,
-25,25,25,26,26,26,26,26,27,27,27,27,27,27,29,29,
-29,28,28,28,28,30,30,30,30,30,30,30,30,30,31,31,
-30,30,30,30,30,30,30,30,30,30,30,30,31,31,31,31,
-31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,30,
-30,30,30,30,28,28,28,28,28,29,29,29,29,27,27,27,
-27,27,27,27,26,26,26,26,26,25,25,25,25,25,25,24,
-24,24,3,3,2,2,2,2,2,1,1,1,1,0,0,0,
-0,0,4,4,4,4,5,6,6,6,6,7,7,7,7,7,
-8,8,8,8,8,9,9,9,9,9,10,10,10,10,10,12,
-12,12,12,12,12,13,13,13,13,13,13,13,13,14,14,14,
-14,14,14,14,14,14,15,15,15,16,16,16,16,16,16,16,
-16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,
-16,16,16,16,16,16,16,15,15,15,14,14,14,14,14,14,
-14,14,14,13,13,13,13,13,13,13,12,12,12,12,12,12,
-10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,7,
-7,7,7,7,6,6,6,6,6,4,4,4,4,0,0,0,
-0,0,1,1,1,1,1,2,2,2,2,2,3,24,24,24,
-24,25,25,25,25,25,26,26,26,26,26,26,27,27,27,27,
-27,27,27,29,29,29,28,28,28,28,28,30,30,30,30,30,
-28,28,28,28,30,30,30,30,30,30,30,30,30,30,30,30,
-30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,28,
-28,28,28,28,28,28,29,29,29,29,27,27,27,27,27,27,
-27,27,26,26,26,26,26,26,26,25,25,25,25,25,25,24,
-24,24,24,3,2,2,2,2,2,2,1,1,1,1,1,0,
-0,0,0,0,4,4,4,4,5,6,6,6,6,6,7,7,
-7,7,7,8,8,8,8,8,9,9,9,9,9,9,10,10,
-10,10,10,10,12,12,12,12,12,12,12,13,13,13,13,13,
-13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,
-14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
-15,15,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
-13,13,13,13,13,13,13,13,13,12,12,12,12,12,12,10,
-10,10,10,10,10,11,9,9,9,9,9,8,8,8,8,8,
-7,7,7,7,7,6,6,6,6,6,5,4,4,4,4,0,
-0,0,0,0,1,1,1,1,1,2,2,2,2,2,2,3,
-24,24,24,24,25,25,25,25,25,25,26,26,26,26,26,26,
-26,27,27,27,27,27,27,27,27,29,29,29,29,28,28,28,
-27,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,
-28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,
-29,29,29,29,29,29,27,27,27,27,27,27,27,27,27,27,
-26,26,26,26,26,26,26,26,25,25,25,25,25,25,25,24,
-24,24,24,3,3,2,2,2,2,2,2,1,1,1,1,1,
-0,0,0,0,0,0,4,4,4,4,5,6,6,6,6,6,
-7,7,7,7,7,7,8,8,8,8,8,8,9,9,9,9,
-9,9,10,10,10,10,10,10,10,12,12,12,12,12,12,12,
-12,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,
-14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
-14,14,14,14,14,14,14,14,14,14,14,13,13,13,13,13,
-13,13,13,13,13,13,12,12,12,12,12,12,12,12,10,10,
-10,10,10,10,10,9,9,9,9,9,9,9,8,8,8,8,
-8,7,7,7,7,7,7,6,6,6,6,6,5,4,4,4,
-4,4,0,0,0,0,0,1,1,1,1,1,1,2,2,2,
-2,2,3,3,24,24,24,24,25,25,25,25,25,25,25,26,
-26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,
-27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,
-27,29,29,29,29,29,29,29,29,29,29,27,27,27,27,27,
-27,27,27,27,27,27,27,27,27,27,27,27,27,26,26,26,
-26,26,26,26,26,26,26,25,25,25,25,25,25,25,25,24,
-24,24,24,24,3,3,2,2,2,2,2,2,1,1,1,1,
-1,1,0,0,0,0,0,0,4,4,4,4,4,5,6,6,
-6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,8,
-9,9,9,9,9,9,9,11,10,10,10,10,10,10,10,12,
-12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,
-13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
-13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
-13,13,12,12,12,12,12,12,12,12,12,12,12,10,10,10,
-10,10,10,10,11,9,9,9,9,9,9,9,8,8,8,8,
-8,8,7,7,7,7,7,7,6,6,6,6,6,6,5,4,
-4,4,4,4,0,0,0,0,0,0,1,1,1,1,1,1,
-2,2,2,2,2,2,3,3,24,24,24,24,24,25,25,25,
-25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,27,
-26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,
-27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,
-27,27,27,27,27,27,27,26,26,26,26,26,26,26,26,26,
-26,26,26,26,26,25,25,25,25,25,25,25,25,25,24,24,
-24,24,24,24,3,3,2,2,2,2,2,2,2,1,1,1,
-1,1,1,1,0,0,0,0,0,0,4,4,4,4,4,4,
-5,6,6,6,6,6,6,7,7,7,7,7,7,7,8,8,
-8,8,8,8,8,9,9,9,9,9,9,9,9,9,10,10,
-10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,
-12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,
-13,13,13,13,13,13,13,13,12,12,12,12,12,12,12,12,
-12,12,12,12,12,12,12,12,12,12,10,10,10,10,10,10,
-10,10,10,11,9,9,9,9,9,9,9,9,8,8,8,8,
-8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,
-6,4,4,4,4,4,4,0,0,0,0,0,0,0,1,1,
-1,1,1,1,2,2,2,2,2,2,2,2,3,3,24,24,
-24,24,24,24,25,25,25,25,25,25,25,25,25,26,26,26,
-25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,
-26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
-26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
-25,25,25,25,25,25,25,25,25,25,25,25,25,24,24,24,
-24,24,24,24,3,3,2,2,2,2,2,2,2,2,2,1,
-1,1,1,1,1,1,0,0,0,0,0,0,0,4,4,4,
-4,4,4,4,5,6,6,6,6,6,6,6,7,7,7,7,
-7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,
-9,9,9,9,9,9,11,10,10,10,10,10,10,10,10,10,
-10,10,10,10,12,12,12,12,12,12,12,12,12,12,12,12,
-12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
-12,12,12,12,10,10,10,10,10,10,10,10,10,10,10,10,
-10,11,9,9,9,9,9,9,9,9,9,9,8,8,8,8,
-8,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,
-6,6,6,6,4,4,4,4,4,4,4,0,0,0,0,0,
-0,0,1,1,1,1,1,1,1,1,2,2,2,2,2,2,
-2,2,3,3,24,24,24,24,24,24,24,25,25,25,25,25,
-24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,
-25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
-25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
-25,25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,
-24,24,24,3,3,3,2,2,2,2,2,2,2,2,2,2,
-1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,
-0,4,4,4,4,4,4,4,5,6,6,6,6,6,6,6,
-6,6,7,7,7,7,7,7,7,7,7,8,8,8,8,8,
-8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,
-9,9,11,10,10,10,10,10,10,10,10,10,10,10,10,10,
-10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
-10,10,10,10,10,10,10,10,10,10,10,10,10,11,9,9,
-9,9,9,9,9,9,9,9,9,9,9,9,8,8,8,8,
-8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,6,
-6,6,6,6,6,6,6,5,4,4,4,4,4,4,4,0,
-0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,
-2,2,2,2,2,2,2,2,2,2,3,3,3,24,24,24,
-2,2,2,2,2,3,3,3,3,24,24,24,24,24,24,24,
-24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,
-25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
-25,25,25,25,24,24,24,24,24,24,24,24,24,24,24,24,
-24,24,3,3,3,3,2,2,2,2,2,2,2,2,2,2,
-2,2,1,1,1,1,1,1,1,1,1,1,0,0,0,0,
-0,0,0,0,0,0,4,4,4,4,4,4,4,4,5,6,
-6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,
-7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,
-9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
-9,9,9,9,9,9,9,9,9,9,9,9,9,11,9,9,
-9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
-9,9,9,9,9,9,9,9,9,9,8,8,8,8,8,8,
-8,8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,
-7,7,6,6,6,6,6,6,6,6,6,5,4,4,4,4,
-4,4,4,4,4,0,0,0,0,0,0,0,0,0,1,1,
-1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,
-1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,3,3,3,3,3,3,24,24,24,24,24,24,
-24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
-24,24,24,24,24,24,24,24,24,24,24,24,24,24,3,3,
-3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,
-2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,
-1,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,
-4,4,4,4,4,4,5,6,6,6,6,6,6,6,6,6,
-6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,8,
-8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
-8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
-9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
-9,9,9,9,9,9,8,8,8,8,8,8,8,8,8,8,
-8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,
-7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,
-6,5,4,4,4,4,4,4,4,4,4,4,0,0,0,0,
-0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1
-};