JAL-629 PAE matrix file guesstimate from filename
authorBen Soares <b.soares@dundee.ac.uk>
Sun, 26 Feb 2023 19:43:10 +0000 (19:43 +0000)
committerBen Soares <b.soares@dundee.ac.uk>
Sun, 26 Feb 2023 19:43:10 +0000 (19:43 +0000)
examples/AlphaFold/AF-Q5VSL9-F1-predicted_aligned_error_v4B.json [deleted file]
resources/lang/Messages.properties
resources/lang/Messages_es.properties
src/jalview/gui/StructureChooser.java
src/jalview/jbgui/GStructureChooser.java
src/jalview/util/StringUtils.java

diff --git a/examples/AlphaFold/AF-Q5VSL9-F1-predicted_aligned_error_v4B.json b/examples/AlphaFold/AF-Q5VSL9-F1-predicted_aligned_error_v4B.json
deleted file mode 100644 (file)
index 9d0169a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[{"predicted_aligned_error":[[0,1,3,5,5,6,8,10,13,14,15,17,18,18,20,21,23,22,23,25,0,0,0,0,0,0,0,0,28,27,27,28,27,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,30,29,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,30,30,31,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,31,31,30,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,30,31,29,30,31,30,29,30,29,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,31,30,31,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,28,29,29,30,30,29,30,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,29,30,30,29,28,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,30,30,31,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,29,30,31,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,31,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,31,30,31,30,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,31,29,29,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,28,27,27,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,25,26,23,28,28,26,27,26,29,27,28,0,0,0,0,0,0,0,0,29,28,28,28,29,28,27,28,27],[0,0,1,3,4,5,6,7,9,12,13,15,16,17,17,19,20,21,22,23,0,0,0,0,0,0,0,0,27,27,28,28,28,28,29,28,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,29,30,29,30,30,30,29,0,0,0,0,0,0,0,0,31,31,31,30,30,31,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,30,30,30,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,31,30,29,30,31,30,29,30,29,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,30,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,31,31,30,30,31,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,30,30,29,30,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,29,29,30,29,28,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,30,31,31,31,31,30,30,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,30,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,30,30,29,30,31,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,31,30,31,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,28,30,30,30,29,0,0,0,0,0,0,0,0,28,26,27,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,25,25,25,27,27,26,27,27,28,26,27,0,0,0,0,0,0,0,0,27,28,28,28,29,28,28,29,28],[0,1,0,1,3,4,5,5,7,10,11,12,14,15,17,18,20,20,21,21,0,0,0,0,0,0,0,0,26,26,27,27,26,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,30,30,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,30,30,30,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,30,31,31,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,29,30,31,30,29,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,31,30,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,28,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,30,30,0,0,0,0,0,0,0,0,30,29,30,29,29,28,29,30,30,29,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,29,29,29,30,29,28,30,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,31,31,30,30,31,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,30,30,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,29,30,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,30,31,30,31,30,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,30,30,29,29,30,30,28,30,30,30,29,0,0,0,0,0,0,0,0,27,26,27,29,28,29,28,28,28,28,27,28,0,0,0,0,0,0,0,0,28,24,26,24,28,28,26,26,27,28,27,28,0,0,0,0,0,0,0,0,29,28,29,27,29,28,28,29,28],[0,3,2,0,1,2,4,5,6,7,9,11,13,13,15,16,18,18,19,20,0,0,0,0,0,0,0,0,27,26,28,28,26,27,28,28,27,28,28,28,0,0,0,0,0,0,0,0,29,30,30,30,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,30,30,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,31,31,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,31,30,29,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,30,29,29,29,30,30,31,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,30,30,31,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,30,30,29,30,29,29,29,29,30,29,30,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,29,30,30,29,28,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,31,30,31,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,29,31,0,0,0,0,0,0,0,0,30,30,29,30,31,30,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,31,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,28,29,30,30,28,30,30,29,29,30,30,29,0,0,0,0,0,0,0,0,28,27,28,28,29,29,29,28,28,29,28,28,0,0,0,0,0,0,0,0,27,25,27,26,28,28,27,27,28,27,27,29,0,0,0,0,0,0,0,0,27,27,28,27,28,28,27,28,28],[0,4,3,2,0,1,3,4,5,5,6,8,10,11,13,14,17,17,18,19,0,0,0,0,0,0,0,0,26,26,27,27,27,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,30,30,30,30,29,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,31,30,31,30,31,30,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,30,29,30,29,30,30,29,29,0,0,0,0,0,0,0,0,31,31,31,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,28,30,29,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,31,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,30,29,28,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,30,30,31,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,31,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,30,30,30,29,0,0,0,0,0,0,0,0,28,30,31,29,28,30,30,28,29,30,30,29,0,0,0,0,0,0,0,0,28,27,28,29,28,29,29,28,29,29,28,29,0,0,0,0,0,0,0,0,28,26,27,26,28,28,28,29,28,29,29,28,0,0,0,0,0,0,0,0,29,28,29,29,30,29,28,30,29],[0,4,4,3,2,0,1,3,3,5,5,6,8,10,11,13,16,16,18,19,0,0,0,0,0,0,0,0,25,25,26,27,25,26,27,26,28,27,28,27,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,31,31,31,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,31,29,30,30,0,0,0,0,0,0,0,0,31,30,29,30,30,30,28,29,29,30,30,31,0,0,0,0,0,0,0,0,31,30,30,31,30,30,31,31,31,30,30,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,31,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,30,31,30,0,0,0,0,0,0,0,0,31,30,30,30,31,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,28,29,29,30,29,29,30,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,29,28,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,29,29,30,29,28,29,0,0,0,0,0,0,0,0,30,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,31,31,30,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,30,31,30,31,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,31,30,31,30,0,0,0,0,0,0,0,0,31,30,30,29,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,30,31,30,31,30,0,0,0,0,0,0,0,0,30,31,31,31,31,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,28,30,30,29,28,30,30,28,29,30,30,29,0,0,0,0,0,0,0,0,28,26,28,29,29,29,28,28,29,29,28,28,0,0,0,0,0,0,0,0,28,26,27,27,29,28,28,28,28,29,28,29,0,0,0,0,0,0,0,0,28,28,29,28,29,29,28,28,29],[0,5,5,4,3,1,0,1,2,3,4,5,6,8,10,11,14,15,16,18,0,0,0,0,0,0,0,0,26,26,27,27,27,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,31,30,30,30,31,30,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,31,31,31,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,29,29,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,31,30,30,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,31,31,30,31,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,30,30,31,31,30,30,31,0,0,0,0,0,0,0,0,30,30,29,31,31,31,31,31,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,30,31,31,31,30,30,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,31,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,27,29,30,29,28,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,25,28,28,29,28,28,29,28,28,28,29,0,0,0,0,0,0,0,0,29,28,29,28,29,29,28,29,29],[0,5,5,4,3,2,1,0,1,2,4,5,5,6,9,10,12,15,15,18,0,0,0,0,0,0,0,0,25,26,27,26,26,27,27,27,27,27,28,27,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,31,30,31,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,29,30,30,29,29,30,29,29,30,29,29,0,0,0,0,0,0,0,0,30,31,31,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,28,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,30,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,29,29,30,30,29,30,28,29,29,29,28,28,0,0,0,0,0,0,0,0,30,31,31,31,31,30,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,29,30,29,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,30,31,31,30,0,0,0,0,0,0,0,0,30,31,30,31,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,28,29,30,28,28,29,30,28,29,30,29,29,0,0,0,0,0,0,0,0,28,28,28,29,28,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,28,26,27,26,28,28,28,28,27,28,29,28,0,0,0,0,0,0,0,0,29,28,29,28,29,29,28,30,29],[0,7,5,5,4,3,3,2,0,1,2,3,4,4,6,7,10,10,12,15,0,0,0,0,0,0,0,0,23,23,25,25,24,26,26,25,26,26,26,26,0,0,0,0,0,0,0,0,28,29,29,29,29,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,31,31,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,30,31,30,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,30,31,30,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,30,30,31,31,31,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,30,30,29,29,30,29,28,29,29,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,29,29,30,29,30,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,29,30,30,29,30,30,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,28,28,29,28,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,28,29,30,29,27,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,28,29,29,28,27,29,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,29,29,30,30,29,30,0,0,0,0,0,0,0,0,29,30,28,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,31,31,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,28,28,29,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,27,28,30,28,27,29,29,27,28,30,29,28,0,0,0,0,0,0,0,0,28,27,28,28,28,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,28,26,27,27,29,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,28,28],[0,9,8,5,5,4,3,2,1,0,1,2,3,4,5,5,10,11,11,15,0,0,0,0,0,0,0,0,23,23,26,25,24,25,26,26,27,26,26,26,0,0,0,0,0,0,0,0,28,29,28,28,29,28,28,29,29,29,29,28,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,30,30,30,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,29,29,30,29,29,0,0,0,0,0,0,0,0,30,31,31,30,30,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,30,30,30,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,28,29,30,30,28,29,29,30,30,30,0,0,0,0,0,0,0,0,30,29,29,31,30,30,30,31,30,30,31,31,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,29,29,30,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,30,29,30,30,30,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,31,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,31,30,30,30,29,0,0,0,0,0,0,0,0,29,29,29,30,29,30,30,29,30,29,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,28,29,29,29,27,29,0,0,0,0,0,0,0,0,29,30,30,30,29,30,29,29,29,28,27,29,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,29,29,30,30,29,29,28,29,29,28,27,29,0,0,0,0,0,0,0,0,29,29,28,29,30,30,30,30,30,29,30,29,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,29,30,29,29,0,0,0,0,0,0,0,0,30,29,28,29,28,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,29,29,29,28,28,28,28,0,0,0,0,0,0,0,0,26,27,29,28,27,28,29,27,28,29,28,28,0,0,0,0,0,0,0,0,29,27,28,28,29,29,30,29,30,29,29,30,0,0,0,0,0,0,0,0,27,26,28,27,27,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,28,28,28,29,28,28,28,29,28],[0,11,10,9,6,5,5,4,3,1,0,1,3,3,4,4,6,9,10,11,0,0,0,0,0,0,0,0,20,21,23,22,22,24,24,25,25,25,25,25,0,0,0,0,0,0,0,0,28,28,28,28,28,28,27,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,29,30,30,29,28,30,27,29,29,28,28,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,30,29,28,29,30,29,27,28,29,29,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,31,30,30,30,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,29,30,30,30,29,29,30,30,30,29,0,0,0,0,0,0,0,0,30,29,30,29,30,29,29,30,29,29,29,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,28,28,29,28,27,29,0,0,0,0,0,0,0,0,29,29,30,29,30,29,28,29,28,27,27,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,29,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,29,29,30,30,28,30,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,28,28,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,27,29,30,28,28,30,29,27,29,30,29,29,0,0,0,0,0,0,0,0,28,28,28,30,30,29,30,29,29,29,29,30,0,0,0,0,0,0,0,0,29,27,28,27,29,29,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,30,29],[0,13,11,11,10,6,6,5,4,3,1,0,1,3,3,4,5,6,8,11,0,0,0,0,0,0,0,0,22,21,23,23,22,24,24,25,24,25,25,25,0,0,0,0,0,0,0,0,28,29,28,27,28,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,31,30,31,31,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,30,30,31,31,30,0,0,0,0,0,0,0,0,30,29,30,30,29,29,30,29,30,30,28,29,0,0,0,0,0,0,0,0,30,30,31,30,29,30,30,30,30,31,30,29,0,0,0,0,0,0,0,0,31,30,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,30,29,29,29,30,29,28,28,29,30,29,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,30,29,31,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,29,29,30,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,29,30,28,29,31,29,28,30,30,29,29,30,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,30,30,30,30,28,29,0,0,0,0,0,0,0,0,29,28,29,30,27,29,30,29,30,29,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,29,29,30,29,30,30,28,28,29,27,25,29,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,29,30,30,29,29,30,30,28,29,30,0,0,0,0,0,0,0,0,29,29,30,30,29,30,28,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,30,30,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,31,31,31,30,30,30,31,31,30,31,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,29,30,29,29,29,29,30,28,29,29,0,0,0,0,0,0,0,0,29,29,27,28,28,29,29,29,29,29,30,30,0,0,0,0,0,0,0,0,29,30,30,29,30,30,30,28,30,30,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,30,30,29,29,29,28,28,28,27,0,0,0,0,0,0,0,0,26,28,29,28,27,29,28,27,29,30,28,28,0,0,0,0,0,0,0,0,28,27,28,29,30,29,29,29,29,30,30,30,0,0,0,0,0,0,0,0,28,26,28,27,28,28,28,27,28,29,28,28,0,0,0,0,0,0,0,0,27,28,28,28,29,29,27,29,29],[0,14,14,13,11,9,7,6,5,4,3,1,0,1,3,3,4,6,6,9,0,0,0,0,0,0,0,0,19,20,23,21,22,23,23,25,25,24,25,24,0,0,0,0,0,0,0,0,28,28,27,27,28,28,25,28,29,28,28,28,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,31,30,31,30,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,30,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,28,30,29,28,29,0,0,0,0,0,0,0,0,30,30,31,30,30,30,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,30,29,30,30,0,0,0,0,0,0,0,0,30,30,27,29,29,29,28,29,29,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,30,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,29,29,30,30,29,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,29,30,31,30,30,31,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,31,30,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,28,28,28,27,26,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,29,29,29,28,29,0,0,0,0,0,0,0,0,28,29,28,29,30,30,29,30,30,29,30,29,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,28,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,31,30,30,29,0,0,0,0,0,0,0,0,30,30,29,29,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,29,29,28,0,0,0,0,0,0,0,0,27,28,29,28,28,29,29,27,29,30,29,29,0,0,0,0,0,0,0,0,29,29,28,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,27,29,29,29,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,30,29],[0,15,13,14,13,11,10,6,5,5,4,3,1,0,1,2,4,4,6,8,0,0,0,0,0,0,0,0,19,19,22,21,20,23,23,24,22,24,24,24,0,0,0,0,0,0,0,0,27,29,28,26,28,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,31,30,0,0,0,0,0,0,0,0,31,30,31,30,30,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,29,29,30,28,30,30,29,29,0,0,0,0,0,0,0,0,30,30,31,30,29,31,31,30,30,31,30,29,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,31,30,31,30,29,30,29,0,0,0,0,0,0,0,0,30,29,29,30,30,29,28,28,29,30,29,30,0,0,0,0,0,0,0,0,30,29,29,31,30,29,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,31,30,31,31,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,30,30,30,30,29,29,30,30,30,29,0,0,0,0,0,0,0,0,29,29,30,29,29,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,29,29,30,29,28,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,29,30,28,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,30,29,28,30,0,0,0,0,0,0,0,0,28,29,30,29,29,29,28,28,29,26,25,28,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,30,29,30,30,30,29,30,30,28,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,29,30,28,29,30,30,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,31,31,30,0,0,0,0,0,0,0,0,30,30,29,30,29,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,28,28,29,29,29,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,30,30,29,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,29,29,28,28,29,29,28,29,30,29,29,0,0,0,0,0,0,0,0,28,28,29,30,30,30,29,30,29,30,29,30,0,0,0,0,0,0,0,0,29,28,27,29,30,29,28,28,29,28,29,29,0,0,0,0,0,0,0,0,28,29,29,28,29,29,28,29,29],[0,18,16,15,15,13,12,10,6,5,5,4,3,1,0,1,2,4,4,5,0,0,0,0,0,0,0,0,18,19,19,21,21,23,22,24,23,25,25,24,0,0,0,0,0,0,0,0,27,28,26,26,28,28,25,28,29,28,28,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,31,31,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,29,28,29,30,29,28,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,29,31,31,30,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,29,28,0,0,0,0,0,0,0,0,30,30,29,29,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,29,30,31,30,30,31,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,31,30,31,29,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,30,30,29,28,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,28,28,28,27,25,28,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,29,30,29,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,28,30,30,29,30,30,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,30,29,30,29,0,0,0,0,0,0,0,0,29,29,28,29,28,29,29,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,29,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,30,28,28,28,28,0,0,0,0,0,0,0,0,28,28,29,28,28,30,29,28,30,30,29,29,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,28,29,28,30,30,29,29,29,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,30,30],[0,18,16,15,14,14,13,12,9,7,5,4,4,3,1,0,1,3,5,5,0,0,0,0,0,0,0,0,16,17,19,19,19,21,21,22,21,23,23,23,0,0,0,0,0,0,0,0,26,29,27,26,28,28,27,28,29,29,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,31,31,30,30,31,30,30,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,30,30,30,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,30,30,31,31,31,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,31,31,29,0,0,0,0,0,0,0,0,31,31,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,28,28,28,29,30,29,30,0,0,0,0,0,0,0,0,30,29,30,31,30,30,30,30,31,30,31,30,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,30,29,28,29,29,30,28,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,29,30,29,29,31,29,28,30,30,29,28,30,0,0,0,0,0,0,0,0,30,29,29,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,30,28,29,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,30,29,28,29,0,0,0,0,0,0,0,0,28,29,30,29,29,29,28,27,29,25,25,28,0,0,0,0,0,0,0,0,29,30,31,31,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,30,29,30,30,30,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,29,30,27,29,30,30,28,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,31,30,31,30,30,31,31,30,30,30,0,0,0,0,0,0,0,0,30,31,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,29,30,29,29,30,29,29,29,0,0,0,0,0,0,0,0,30,30,29,27,29,29,29,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,29,29,28,0,0,0,0,0,0,0,0,29,30,30,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,29,30,30,29,29,29,29,28,28,28,0,0,0,0,0,0,0,0,27,29,29,28,28,29,29,28,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,28,29,29,30,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,30,29],[0,22,20,18,18,16,16,15,12,9,7,5,5,5,3,2,0,1,3,4,0,0,0,0,0,0,0,0,14,16,16,18,19,19,19,21,21,22,24,23,0,0,0,0,0,0,0,0,26,27,25,26,27,26,24,27,28,27,27,28,0,0,0,0,0,0,0,0,29,29,30,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,31,30,31,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,29,30,28,30,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,30,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,31,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,28,29,29,29,28,28,29,30,29,30,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,30,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,30,29,30,29,29,29,30,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,29,29,31,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,30,31,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,30,29,28,29,29,28,27,28,0,0,0,0,0,0,0,0,27,28,29,28,29,28,27,27,28,25,24,27,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,28,29,27,28,29,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,28,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,29,29,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,28,29,29,30,29,29,28,28,27,27,27,27,0,0,0,0,0,0,0,0,27,28,29,28,27,29,29,27,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,29,27,29,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,30,30,30,29,30,30],[0,20,19,18,17,16,16,14,13,12,8,7,5,4,3,2,1,0,1,2,0,0,0,0,0,0,0,0,13,14,14,16,17,18,19,19,19,21,21,21,0,0,0,0,0,0,0,0,25,26,25,25,27,27,25,28,28,27,27,28,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,29,30,29,29,29,29,28,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,28,30,28,28,26,27,28,29,28,29,0,0,0,0,0,0,0,0,30,29,29,31,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,29,28,0,0,0,0,0,0,0,0,30,29,28,29,29,28,28,29,29,28,29,29,0,0,0,0,0,0,0,0,28,28,28,28,28,29,29,29,28,28,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,31,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,29,28,27,29,0,0,0,0,0,0,0,0,27,28,28,28,28,27,27,26,26,24,23,26,0,0,0,0,0,0,0,0,29,30,30,30,30,30,29,30,29,30,30,29,0,0,0,0,0,0,0,0,30,29,28,29,30,29,28,30,30,28,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,27,28,29,29,27,29,29,28,29,29,0,0,0,0,0,0,0,0,29,30,30,30,31,30,30,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,29,30,30,29,28,30,30,29,29,30,0,0,0,0,0,0,0,0,29,30,27,26,28,28,29,29,28,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,29,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,29,29,28,28,28,27,0,0,0,0,0,0,0,0,27,29,29,28,29,30,29,28,30,30,29,30,0,0,0,0,0,0,0,0,30,30,28,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,28,30,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,30,30],[0,21,20,20,19,17,17,16,14,14,11,9,7,5,5,4,3,2,0,1,0,0,0,0,0,0,0,0,11,12,13,15,16,17,17,19,17,20,21,20,0,0,0,0,0,0,0,0,24,27,25,24,26,27,25,26,28,27,26,27,0,0,0,0,0,0,0,0,30,29,30,28,30,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,30,31,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,31,31,30,30,31,30,31,0,0,0,0,0,0,0,0,29,30,30,30,30,29,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,30,29,29,30,29,29,28,27,29,30,28,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,28,29,29,28,28,28,27,0,0,0,0,0,0,0,0,29,28,28,28,29,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,27,28,28,28,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,28,28,29,29,29,29,28,29,29,30,30,29,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,28,28,30,29,27,29,30,29,28,29,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,29,30,29,29,0,0,0,0,0,0,0,0,30,28,29,30,29,29,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,29,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,27,28,29,28,28,28,27,25,27,23,24,27,0,0,0,0,0,0,0,0,29,29,30,30,29,30,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,28,30,30,29,29,30,0,0,0,0,0,0,0,0,29,30,30,29,30,29,29,29,29,29,27,29,0,0,0,0,0,0,0,0,29,29,26,28,29,29,28,29,29,28,29,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,28,29,29,29,28,29,29,28,29,28,0,0,0,0,0,0,0,0,29,28,28,27,28,29,29,28,28,29,29,29,0,0,0,0,0,0,0,0,30,29,30,29,29,29,30,28,29,29,29,28,0,0,0,0,0,0,0,0,29,28,28,28,30,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,28,28,28,29,29,27,27,27,26,26,27,27,0,0,0,0,0,0,0,0,26,27,29,27,27,29,28,27,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,29,28,28,30,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,28,29,29,29,29,29,30,29,30],[0,21,21,20,20,19,18,17,15,14,13,11,9,6,4,4,3,2,1,0,0,0,0,0,0,0,0,0,10,10,11,13,15,16,16,18,18,19,21,21,0,0,0,0,0,0,0,0,23,24,23,23,25,25,23,26,26,25,25,26,0,0,0,0,0,0,0,0,29,29,30,29,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,29,29,30,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,30,31,30,30,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,28,30,29,29,27,28,29,30,29,30,0,0,0,0,0,0,0,0,30,29,29,31,30,30,30,31,31,30,30,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,28,29,29,28,26,0,0,0,0,0,0,0,0,29,29,28,28,29,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,29,28,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,29,29,31,30,28,30,31,30,29,30,0,0,0,0,0,0,0,0,31,30,30,31,30,31,31,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,30,31,30,31,29,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,29,30,30,29,29,29,29,29,28,27,28,0,0,0,0,0,0,0,0,26,28,29,28,29,26,26,25,27,24,23,25,0,0,0,0,0,0,0,0,29,30,30,30,29,30,29,30,29,30,30,29,0,0,0,0,0,0,0,0,30,29,29,29,30,29,28,30,30,29,29,30,0,0,0,0,0,0,0,0,29,29,31,30,30,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,29,29,27,28,29,29,27,29,28,28,29,29,0,0,0,0,0,0,0,0,29,30,31,30,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,28,28,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,30,29,30,30,30,29,29,29,28,29,0,0,0,0,0,0,0,0,29,28,28,29,29,29,29,29,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,27,28,26,27,27,27,0,0,0,0,0,0,0,0,27,28,28,28,28,29,28,27,30,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,30,29,30,29,29,30,29,29,0,0,0,0,0,0,0,0,30,29,30,29,30,30,30,30,30],[0,21,21,20,21,20,19,17,16,15,12,13,10,8,6,5,4,2,2,1,0,0,0,0,0,0,0,0,8,8,10,12,14,15,16,16,16,18,19,19,0,0,0,0,0,0,0,0,22,24,22,22,25,25,21,25,27,24,25,26,0,0,0,0,0,0,0,0,29,29,30,28,30,30,29,29,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,29,30,30,31,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,30,31,30,31,30,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,28,28,29,28,28,0,0,0,0,0,0,0,0,29,30,29,29,29,30,30,29,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,29,28,28,29,28,28,27,27,29,29,27,29,0,0,0,0,0,0,0,0,30,29,28,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,29,30,29,29,30,29,28,29,28,26,0,0,0,0,0,0,0,0,29,28,27,28,29,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,27,27,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,30,28,27,29,0,0,0,0,0,0,0,0,27,27,28,28,28,27,27,24,27,22,22,26,0,0,0,0,0,0,0,0,28,30,29,29,29,29,28,29,28,29,29,29,0,0,0,0,0,0,0,0,30,29,28,29,30,28,28,30,30,28,29,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,29,28,30,0,0,0,0,0,0,0,0,28,28,27,27,29,29,27,28,29,28,29,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,29,29,30,29,29,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,28,29,29,29,28,29,29,29,28,29,0,0,0,0,0,0,0,0,29,29,27,25,27,28,28,28,27,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,28,29,30,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,30,29,30,30,29,0,0,0,0,0,0,0,0,29,30,29,29,29,29,28,29,28,28,28,26,0,0,0,0,0,0,0,0,27,29,29,28,29,30,29,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30],[0,21,21,21,21,21,21,19,17,16,14,12,12,8,8,5,5,3,2,2,0,0,0,0,0,0,0,0,7,8,8,11,12,14,15,17,16,18,19,19,0,0,0,0,0,0,0,0,22,24,23,21,24,25,21,25,26,24,24,26,0,0,0,0,0,0,0,0,29,29,30,28,29,30,29,29,30,29,30,29,0,0,0,0,0,0,0,0,29,29,30,29,29,30,30,29,29,30,30,29,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,30,31,0,0,0,0,0,0,0,0,29,30,30,30,29,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,29,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,30,31,31,31,0,0,0,0,0,0,0,0,30,31,30,29,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,29,30,29,28,28,27,29,30,28,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,28,27,27,27,25,0,0,0,0,0,0,0,0,29,28,27,28,28,27,27,28,27,27,27,27,0,0,0,0,0,0,0,0,27,26,28,27,28,27,27,27,27,26,26,26,0,0,0,0,0,0,0,0,27,27,28,28,29,28,28,28,28,29,29,28,0,0,0,0,0,0,0,0,29,29,30,29,29,30,29,30,29,29,30,29,0,0,0,0,0,0,0,0,30,30,28,28,30,29,27,29,30,29,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,29,30,29,29,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,30,28,27,29,0,0,0,0,0,0,0,0,28,28,29,29,28,27,27,23,26,22,22,26,0,0,0,0,0,0,0,0,28,30,30,30,28,30,29,30,29,30,30,29,0,0,0,0,0,0,0,0,30,29,28,29,30,29,28,30,30,28,29,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,29,29,25,29,29,29,27,29,29,27,28,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,28,29,29,29,28,29,29,29,28,28,0,0,0,0,0,0,0,0,28,28,26,25,26,28,29,27,28,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,29,29,29,28,0,0,0,0,0,0,0,0,28,28,28,28,29,28,29,28,29,29,29,29,0,0,0,0,0,0,0,0,28,29,28,29,28,27,27,27,25,25,27,25,0,0,0,0,0,0,0,0,27,28,29,28,28,30,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,30,29,29,30,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,29,29,30,29,29,0,0,0,0,0,0,0,0,29,30,29,29,30,30,30,30,30],[0,22,21,21,21,20,20,20,18,16,16,13,13,9,9,6,5,4,3,2,0,0,0,0,0,0,0,0,6,7,7,10,11,12,13,16,16,18,20,20,0,0,0,0,0,0,0,0,22,23,20,20,24,24,20,24,25,23,24,25,0,0,0,0,0,0,0,0,29,29,30,28,30,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,29,30,30,29,28,0,0,0,0,0,0,0,0,29,30,30,29,29,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,30,31,30,30,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,28,28,27,29,30,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,30,30,30,31,31,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,28,28,28,27,25,0,0,0,0,0,0,0,0,28,28,27,28,28,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,27,27,28,28,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,28,29,29,29,29,29,28,28,29,29,29,0,0,0,0,0,0,0,0,30,29,30,30,29,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,30,31,29,29,31,30,28,30,31,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,31,31,30,31,30,31,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,26,28,29,27,29,25,25,23,26,22,22,25,0,0,0,0,0,0,0,0,29,30,30,30,29,30,28,30,29,30,30,29,0,0,0,0,0,0,0,0,30,29,28,29,30,29,28,29,30,28,29,30,0,0,0,0,0,0,0,0,29,29,30,30,30,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,28,28,26,28,28,28,27,28,28,27,29,29,0,0,0,0,0,0,0,0,29,30,30,30,31,30,30,31,31,31,30,31,0,0,0,0,0,0,0,0,29,30,30,30,29,30,29,29,30,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,28,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,27,27,27,28,27,28,28,28,29,28,0,0,0,0,0,0,0,0,29,30,29,29,30,29,29,28,29,29,27,28,0,0,0,0,0,0,0,0,28,28,28,28,29,28,28,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,28,29,29,27,26,27,25,26,26,27,0,0,0,0,0,0,0,0,27,28,28,27,28,29,28,28,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30],[0,22,22,21,21,21,21,20,18,18,15,15,13,11,10,8,7,4,4,3,0,0,0,0,0,0,0,0,4,6,7,8,10,12,13,16,15,17,18,18,0,0,0,0,0,0,0,0,21,23,21,21,24,25,20,24,26,23,24,25,0,0,0,0,0,0,0,0,29,29,30,29,30,30,29,29,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,29,30,30,28,29,29,28,28,0,0,0,0,0,0,0,0,29,29,30,29,29,30,30,30,29,30,31,30,0,0,0,0,0,0,0,0,31,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,29,27,28,27,29,29,27,29,0,0,0,0,0,0,0,0,30,29,29,31,30,30,30,30,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,30,0,0,0,0,0,0,0,0,29,30,29,30,29,29,29,29,28,29,27,26,0,0,0,0,0,0,0,0,29,28,27,28,29,27,27,28,28,28,29,28,0,0,0,0,0,0,0,0,28,28,28,29,28,28,28,29,29,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,30,30,30,29,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,30,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,29,30,29,27,29,0,0,0,0,0,0,0,0,26,27,28,28,28,26,26,23,25,22,22,24,0,0,0,0,0,0,0,0,29,30,29,29,28,29,28,29,28,29,29,29,0,0,0,0,0,0,0,0,30,29,28,29,30,28,28,30,30,28,29,30,0,0,0,0,0,0,0,0,29,30,30,30,31,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,29,28,27,27,29,29,27,28,29,28,28,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,31,31,30,31,0,0,0,0,0,0,0,0,28,29,30,29,28,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,28,29,29,29,28,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,26,25,27,28,29,27,28,29,29,28,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,28,29,30,29,29,0,0,0,0,0,0,0,0,29,29,29,28,30,30,28,30,29,30,30,30,0,0,0,0,0,0,0,0,29,30,28,30,29,29,29,29,28,28,28,26,0,0,0,0,0,0,0,0,28,30,30,29,29,30,30,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,31],[0,22,22,23,21,22,22,21,21,20,17,16,15,12,13,9,9,6,5,4,0,0,0,0,0,0,0,0,5,5,6,8,9,11,13,15,14,17,17,18,0,0,0,0,0,0,0,0,21,23,22,20,23,24,20,23,24,24,24,25,0,0,0,0,0,0,0,0,29,29,30,28,29,30,29,29,30,30,30,29,0,0,0,0,0,0,0,0,29,29,30,29,29,30,30,29,29,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,31,30,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,30,31,0,0,0,0,0,0,0,0,29,30,31,30,30,30,30,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,30,29,29,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,28,29,27,29,30,28,29,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,30,31,30,30,30,30,31,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,28,28,27,26,25,0,0,0,0,0,0,0,0,28,28,27,28,28,28,27,28,28,28,28,27,0,0,0,0,0,0,0,0,27,26,28,28,28,28,28,27,27,27,27,27,0,0,0,0,0,0,0,0,28,27,28,28,29,29,28,29,28,29,29,28,0,0,0,0,0,0,0,0,29,29,30,29,29,30,29,30,29,29,30,29,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,29,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,29,28,30,0,0,0,0,0,0,0,0,27,27,29,28,27,26,26,22,25,21,22,25,0,0,0,0,0,0,0,0,28,30,30,30,28,29,29,29,28,30,30,28,0,0,0,0,0,0,0,0,30,29,28,29,30,29,27,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,25,28,29,29,27,29,29,27,28,28,0,0,0,0,0,0,0,0,28,30,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,28,29,30,29,28,29,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,28,29,30,29,28,29,30,29,28,29,0,0,0,0,0,0,0,0,29,29,27,25,25,28,29,27,28,29,29,28,0,0,0,0,0,0,0,0,29,29,29,30,29,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,29,28,28,28,29,28,28,29,28,29,29,28,0,0,0,0,0,0,0,0,29,29,29,28,28,28,27,28,27,27,27,25,0,0,0,0,0,0,0,0,28,29,29,28,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,30,30,29,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30],[0,24,24,23,22,23,22,21,20,20,18,17,17,13,12,10,11,9,6,5,0,0,0,0,0,0,0,0,4,5,4,7,9,10,12,14,13,16,17,17,0,0,0,0,0,0,0,0,20,22,20,19,23,24,18,23,25,22,22,24,0,0,0,0,0,0,0,0,28,29,30,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,28,29,28,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,31,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,30,31,30,31,30,0,0,0,0,0,0,0,0,29,30,30,29,29,28,29,28,28,28,27,25,0,0,0,0,0,0,0,0,28,27,27,27,28,27,27,27,28,28,28,27,0,0,0,0,0,0,0,0,27,28,29,27,28,28,28,28,27,27,28,27,0,0,0,0,0,0,0,0,28,28,29,29,29,28,28,28,28,29,28,28,0,0,0,0,0,0,0,0,29,29,30,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,31,30,29,31,30,28,30,31,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,31,30,31,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,29,30,0,0,0,0,0,0,0,0,27,28,29,28,28,26,27,22,26,22,22,25,0,0,0,0,0,0,0,0,28,30,30,30,29,29,29,29,28,30,30,28,0,0,0,0,0,0,0,0,30,29,28,29,30,29,28,30,30,29,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,29,29,26,29,29,28,27,29,28,27,29,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,31,31,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,29,29,30,30,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,28,27,27,26,28,28,27,27,28,28,28,0,0,0,0,0,0,0,0,30,30,29,29,29,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,28,28,28,28,29,28,28,29,28,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,28,28,27,28,25,26,27,27,0,0,0,0,0,0,0,0,28,29,29,28,29,29,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,31,31],[0,25,25,25,24,24,24,23,22,21,20,18,17,15,13,13,12,11,8,6,0,0,0,0,0,0,0,0,3,4,4,5,7,9,11,12,13,15,16,16,0,0,0,0,0,0,0,0,21,22,20,20,23,23,19,24,25,23,23,25,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,31,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,29,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,29,30,29,29,29,28,30,30,28,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,29,29,27,25,0,0,0,0,0,0,0,0,28,28,28,28,29,27,27,29,28,28,29,28,0,0,0,0,0,0,0,0,28,29,29,29,30,29,29,30,29,29,29,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,29,29,29,30,29,29,0,0,0,0,0,0,0,0,30,29,30,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,27,28,29,28,28,26,26,24,25,23,22,26,0,0,0,0,0,0,0,0,28,30,30,29,29,29,28,30,28,29,30,29,0,0,0,0,0,0,0,0,30,29,28,29,30,29,29,30,30,29,29,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,27,29,29,29,27,29,29,28,28,29,0,0,0,0,0,0,0,0,29,30,30,30,30,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,29,29,30,29,28,30,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,27,27,29,30,28,28,29,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,29,29,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,28,28,29,28,0,0,0,0,0,0,0,0,29,30,30,30,30,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31],[0,24,24,25,23,26,24,23,24,22,21,22,19,17,17,14,14,12,12,10,0,0,0,0,0,0,0,0,1,3,4,5,5,7,10,12,13,15,15,16,0,0,0,0,0,0,0,0,21,23,21,19,23,23,20,24,25,24,23,26,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,29,30,28,30,30,28,30,0,0,0,0,0,0,0,0,31,30,29,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,28,28,28,26,24,0,0,0,0,0,0,0,0,29,29,28,28,29,28,27,29,28,28,29,28,0,0,0,0,0,0,0,0,28,28,29,29,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,29,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,31,31,30,30,31,31,29,30,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,30,31,30,31,0,0,0,0,0,0,0,0,31,30,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,31,30,29,30,0,0,0,0,0,0,0,0,28,28,30,29,28,26,27,24,25,22,23,27,0,0,0,0,0,0,0,0,28,30,30,30,28,30,28,30,28,30,30,28,0,0,0,0,0,0,0,0,30,30,28,29,30,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,31,31,31,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,27,29,30,29,27,30,30,27,28,29,0,0,0,0,0,0,0,0,30,31,30,30,30,31,30,31,31,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,28,27,26,29,30,27,28,29,29,28,0,0,0,0,0,0,0,0,30,29,30,30,29,29,30,30,29,30,30,28,0,0,0,0,0,0,0,0,29,29,28,29,30,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,29,30,29,29,29,29,28,29,28,28,28,27,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31],[0,26,26,26,25,26,25,23,24,24,22,22,21,18,18,16,15,15,12,12,0,0,0,0,0,0,0,0,0,1,2,4,5,5,7,10,10,14,15,15,0,0,0,0,0,0,0,0,20,22,20,19,22,23,18,23,25,22,21,24,0,0,0,0,0,0,0,0,29,29,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,31,31,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,30,29,30,28,30,31,29,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,29,29,28,29,28,27,28,26,25,0,0,0,0,0,0,0,0,28,28,27,26,28,27,26,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,29,28,29,29,29,29,28,29,29,28,0,0,0,0,0,0,0,0,28,29,29,29,29,29,28,28,28,29,29,29,0,0,0,0,0,0,0,0,29,29,30,29,29,30,29,29,30,29,30,30,0,0,0,0,0,0,0,0,31,31,30,30,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,27,29,29,28,28,26,27,23,26,22,23,27,0,0,0,0,0,0,0,0,29,30,30,30,28,30,29,29,27,30,30,28,0,0,0,0,0,0,0,0,31,30,29,29,30,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,31,31,31,31,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,27,29,29,29,28,30,28,28,28,29,0,0,0,0,0,0,0,0,29,30,30,30,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,28,30,30,29,27,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,29,30,29,29,29,0,0,0,0,0,0,0,0,30,29,29,29,28,29,29,27,29,28,28,28,0,0,0,0,0,0,0,0,30,29,30,29,30,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,29,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,30,28,29,28,28,0,0,0,0,0,0,0,0,29,30,30,30,30,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,27,27,26,26,26,25,26,24,24,23,22,22,20,19,17,16,15,14,13,0,0,0,0,0,0,0,0,2,0,1,3,3,4,5,7,9,13,14,15,0,0,0,0,0,0,0,0,20,22,21,20,22,22,21,23,24,23,23,25,0,0,0,0,0,0,0,0,29,29,30,29,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,29,30,30,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,30,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,31,30,30,30,30,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,29,29,30,29,29,30,28,30,30,28,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,28,28,29,27,24,0,0,0,0,0,0,0,0,28,28,28,27,29,28,26,28,28,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,30,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,29,29,29,30,30,29,0,0,0,0,0,0,0,0,29,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,26,27,28,28,27,26,26,25,26,24,24,27,0,0,0,0,0,0,0,0,29,29,30,29,29,29,28,29,27,29,30,28,0,0,0,0,0,0,0,0,30,29,28,29,30,29,29,30,30,29,29,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,30,31,31,30,29,30,0,0,0,0,0,0,0,0,30,30,28,29,30,29,27,29,30,28,28,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,27,29,29,29,27,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,29,28,28,29,29,27,28,29,29,27,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,28,29,31,30,29,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,28,28,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,26,27,27,25,27,26,25,25,25,23,24,22,21,21,20,19,17,16,15,0,0,0,0,0,0,0,0,3,1,0,1,3,4,6,6,10,11,13,14,0,0,0,0,0,0,0,0,20,21,21,19,22,22,20,23,24,23,23,24,0,0,0,0,0,0,0,0,29,29,30,28,30,30,29,29,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,30,31,30,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,31,31,30,30,31,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,31,30,30,30,30,29,0,0,0,0,0,0,0,0,29,29,30,30,29,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,28,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,29,28,29,28,27,29,27,26,25,0,0,0,0,0,0,0,0,28,28,28,26,29,29,27,29,29,29,28,28,0,0,0,0,0,0,0,0,28,28,29,29,29,29,29,28,29,28,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,31,31,30,30,31,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,27,27,29,29,27,26,26,23,25,22,24,27,0,0,0,0,0,0,0,0,28,30,30,30,28,29,29,30,27,30,30,28,0,0,0,0,0,0,0,0,30,29,28,29,30,30,28,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,31,31,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,28,28,30,29,27,29,29,27,27,28,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,28,29,30,29,26,29,28,29,29,30,29,29,0,0,0,0,0,0,0,0,30,29,28,29,30,30,28,29,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,28,27,29,29,27,28,29,30,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,28,29,28,29,30,29,0,0,0,0,0,0,0,0,29,30,29,29,29,29,28,29,28,29,29,28,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,28,28,28,27,28,27,26,26,26,24,24,23,22,22,20,21,18,16,17,0,0,0,0,0,0,0,0,3,3,1,0,1,3,4,5,6,7,11,12,0,0,0,0,0,0,0,0,19,20,19,18,21,21,19,21,23,21,22,22,0,0,0,0,0,0,0,0,29,28,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,30,30,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,29,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,30,31,31,31,31,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,29,30,29,29,29,28,28,28,28,28,27,25,0,0,0,0,0,0,0,0,28,28,27,27,28,27,26,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,29,28,30,28,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,28,29,28,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,28,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,30,31,30,30,31,31,30,30,31,31,29,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,29,30,29,28,25,28,24,27,24,24,28,0,0,0,0,0,0,0,0,29,30,30,29,28,29,28,29,27,30,30,28,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,28,29,30,29,27,29,29,27,29,28,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,31,31,30,30,0,0,0,0,0,0,0,0,28,29,30,29,26,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,30,29,29,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,28,29,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,30,29,30,29,30,29,29,30,0,0,0,0,0,0,0,0,29,29,28,28,29,28,29,29,28,29,30,29,0,0,0,0,0,0,0,0,29,30,29,30,29,29,29,29,28,29,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,28,28,28,28,28,28,27,26,26,25,24,25,22,23,22,21,19,19,17,0,0,0,0,0,0,0,0,4,3,3,1,0,1,3,4,6,6,7,10,0,0,0,0,0,0,0,0,20,20,19,20,22,22,20,22,24,23,23,24,0,0,0,0,0,0,0,0,29,29,30,30,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,29,30,31,30,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,28,29,29,27,26,0,0,0,0,0,0,0,0,29,29,28,27,29,27,27,29,29,28,30,29,0,0,0,0,0,0,0,0,29,30,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,28,29,29,29,28,26,27,23,27,23,25,28,0,0,0,0,0,0,0,0,29,30,30,29,29,29,28,29,27,29,30,28,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,29,30,30,30,28,30,30,28,29,29,0,0,0,0,0,0,0,0,29,30,30,30,30,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,28,29,29,29,27,29,29,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,31,30,29,28,30,30,28,29,30,30,28,0,0,0,0,0,0,0,0,30,30,31,30,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,31,30,31,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,28,28,28,27,29,28,27,27,27,26,26,25,24,24,23,22,20,19,19,0,0,0,0,0,0,0,0,5,5,4,3,2,0,1,3,4,5,5,7,0,0,0,0,0,0,0,0,19,20,19,20,21,22,20,22,23,22,23,24,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,28,29,29,28,26,0,0,0,0,0,0,0,0,29,29,28,27,29,28,27,29,28,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,29,30,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,29,29,30,29,29,27,28,25,28,25,26,28,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,30,27,30,30,29,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,29,30,30,30,28,30,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,28,29,30,30,27,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,31,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,28,29,30,30,28,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,30,29,30,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,30,31,30,31,30,30,30,30,29,29,30,29,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,29,29,30,29,30,28,28,28,28,26,27,26,26,26,25,24,22,22,22,0,0,0,0,0,0,0,0,7,6,5,4,3,2,0,1,3,4,5,5,0,0,0,0,0,0,0,0,19,20,20,20,21,22,20,22,23,22,22,23,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,30,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,28,28,28,27,26,0,0,0,0,0,0,0,0,29,28,27,26,28,28,26,28,27,29,28,28,0,0,0,0,0,0,0,0,28,28,29,28,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,29,30,30,29,29,28,29,26,28,26,26,29,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,30,27,30,30,28,0,0,0,0,0,0,0,0,31,30,29,30,31,31,30,30,31,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,29,30,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,30,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,29,29,30,29,28,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,29,29,30,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,29,29,29,28,29,28,27,28,27,26,26,26,25,26,24,24,23,21,22,0,0,0,0,0,0,0,0,9,8,6,4,4,2,1,0,1,3,4,4,0,0,0,0,0,0,0,0,19,19,18,19,21,22,20,22,23,22,23,23,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,28,29,28,27,26,0,0,0,0,0,0,0,0,28,29,28,27,29,28,26,28,28,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,30,29,30,30,29,29,30,29,0,0,0,0,0,0,0,0,29,29,30,29,30,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,29,30,30,29,30,28,28,25,28,25,27,28,0,0,0,0,0,0,0,0,29,30,30,29,29,29,29,30,27,30,30,29,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,29,30,30,30,29,30,30,29,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,28,29,30,29,28,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,29,29,29,29,30,29,29,29,29,28,28,28,28,28,26,25,25,24,23,0,0,0,0,0,0,0,0,12,10,9,6,5,4,3,2,0,1,3,4,0,0,0,0,0,0,0,0,17,17,18,19,19,21,20,21,22,22,22,23,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,28,29,28,27,26,0,0,0,0,0,0,0,0,28,29,28,25,29,27,26,28,28,28,29,28,0,0,0,0,0,0,0,0,29,29,29,30,31,29,29,30,30,29,30,29,0,0,0,0,0,0,0,0,29,29,30,29,30,29,29,29,28,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,29,29,30,30,28,28,28,27,28,26,28,29,0,0,0,0,0,0,0,0,29,30,30,30,30,29,29,29,27,29,30,29,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,29,31,31,29,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,31,30,30,31,0,0,0,0,0,0,0,0,28,29,29,29,27,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,29,30,31,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,31,31,30,31,31,31,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,29,30,29,30,28,28,29,28,28,28,27,27,28,27,26,25,24,23,0,0,0,0,0,0,0,0,14,12,8,7,6,5,4,3,2,0,1,3,0,0,0,0,0,0,0,0,16,17,17,18,19,21,19,21,22,22,22,22,0,0,0,0,0,0,0,0,29,30,30,30,30,30,31,30,30,31,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,28,28,27,27,26,0,0,0,0,0,0,0,0,28,28,27,26,29,28,26,28,28,28,29,28,0,0,0,0,0,0,0,0,29,29,29,28,30,29,30,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,30,29,29,28,28,26,29,26,28,29,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,30,27,30,30,29,0,0,0,0,0,0,0,0,31,31,30,30,31,31,30,30,31,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,29,30,30,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,31,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,28,28,30,29,27,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,30,30,29,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,29,30,29,29,29,29,29,29,28,28,28,28,27,26,26,25,0,0,0,0,0,0,0,0,16,15,11,10,7,5,5,4,3,2,0,1,0,0,0,0,0,0,0,0,15,16,17,19,19,20,20,22,22,22,23,23,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,30,30,30,29,28,29,28,27,27,0,0,0,0,0,0,0,0,28,28,28,27,29,28,27,28,28,29,29,28,0,0,0,0,0,0,0,0,29,29,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,30,29,29,29,28,30,29,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,29,30,30,29,29,29,28,26,29,27,29,29,0,0,0,0,0,0,0,0,29,30,30,30,29,29,28,29,27,29,29,29,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,29,31,31,30,30,29,0,0,0,0,0,0,0,0,30,31,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,27,28,29,29,27,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,31,29,30,31,30,29,0,0,0,0,0,0,0,0,30,30,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,29,29,30,29,28,29,28,28,28,28,27,27,26,25,0,0,0,0,0,0,0,0,18,16,13,13,10,7,5,5,5,3,2,0,0,0,0,0,0,0,0,0,14,15,17,18,18,19,19,21,21,22,22,22,0,0,0,0,0,0,0,0,29,30,30,30,31,31,31,30,30,31,31,30,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,30,30,30,29,28,29,28,27,27,0,0,0,0,0,0,0,0,28,29,28,27,29,28,27,28,27,29,29,29,0,0,0,0,0,0,0,0,29,29,30,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,29,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,29,30,30,29,29,29,29,27,29,27,29,29,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,30,27,29,30,28,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,31,30,30,30,29,0,0,0,0,0,0,0,0,30,31,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,28,28,29,29,26,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,31,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,31,31,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,29,30,31,30,30,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,29,30,29,29,29,29,29,29,28,27,27,26,26,0,0,0,0,0,0,0,0,19,17,14,14,12,9,6,5,5,5,3,2,0,0,0,0,0,0,0,0,13,13,15,16,17,18,19,21,21,21,23,23,0,0,0,0,0,0,0,0,30,29,30,30,30,30,31,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,28,29,28,28,27,0,0,0,0,0,0,0,0,28,29,28,27,29,28,27,28,27,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,30,29,30,30,29,29,30,29,0,0,0,0,0,0,0,0,29,29,30,29,30,29,29,29,28,30,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,28,29,28,29,29,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,29,27,29,29,29,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,31,30,30,31,0,0,0,0,0,0,0,0,27,28,29,29,26,29,29,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,31,29,30,30,30,28,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,29,30,29,29,29,29,28,28,28,28,27,26,26,0,0,0,0,0,0,0,0,20,18,15,16,16,13,9,7,6,5,6,3,0,0,0,0,0,0,0,0,11,13,14,14,15,17,17,19,20,20,21,22,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,28,28,28,27,27,0,0,0,0,0,0,0,0,27,28,27,25,28,27,26,27,27,28,28,28,0,0,0,0,0,0,0,0,29,29,30,29,30,30,30,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,29,29,29,29,27,29,28,29,30,0,0,0,0,0,0,0,0,29,30,31,30,29,29,29,30,27,30,30,29,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,30,30,28,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,28,28,30,29,26,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,31,30,0,0,0,0,0,0,0,0,31,30,29,29,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,31,30,30,30,30,29,29,29,29,29,29,28,28,27,26,0,0,0,0,0,0,0,0,21,20,17,18,19,16,14,11,8,6,6,6,0,0,0,0,0,0,0,0,9,11,13,14,14,16,17,20,19,20,23,24,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,29,30,29,28,29,28,27,28,0,0,0,0,0,0,0,0,27,28,28,26,27,27,27,27,27,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,29,30,30,30,29,29,29,0,0,0,0,0,0,0,0,29,29,30,29,30,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,28,29,29,30,29,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,29,26,29,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,31,30,30,31,30,30,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,31,30,30,31,0,0,0,0,0,0,0,0,27,27,29,29,25,28,29,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,31,30,30,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,30,30,30,29,29,29,29,29,28,28,28,27,27,0,0,0,0,0,0,0,0,23,21,17,19,19,18,15,14,10,7,6,5,0,0,0,0,0,0,0,0,7,9,11,12,13,15,16,17,18,19,21,20,0,0,0,0,0,0,0,0,29,30,30,30,30,30,31,30,30,31,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,29,29,29,28,28,28,27,27,27,0,0,0,0,0,0,0,0,26,27,27,25,27,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,29,27,29,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,29,30,29,29,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,27,28,28,29,30,0,0,0,0,0,0,0,0,29,30,31,30,29,29,29,29,27,29,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,29,30,30,29,30,27,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,31,30,30,31,0,0,0,0,0,0,0,0,27,27,29,28,24,29,29,30,29,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,30,30,30,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,29,29,30,29,30,30,29,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,30,30,30,30,29,29,29,29,28,29,28,27,27,0,0,0,0,0,0,0,0,23,22,18,20,20,19,16,15,13,10,7,6,0,0,0,0,0,0,0,0,5,6,9,10,9,13,14,17,16,17,20,20,0,0,0,0,0,0,0,0,29,29,30,30,30,31,31,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,29,29,29,29,27,28,27,26,27,0,0,0,0,0,0,0,0,26,27,27,26,27,26,26,27,26,28,28,27,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,30,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,29,27,29,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,27,28,28,29,29,0,0,0,0,0,0,0,0,29,30,30,30,28,28,29,29,26,28,29,28,0,0,0,0,0,0,0,0,30,30,29,29,31,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,30,29,27,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,31,31,30,30,31,0,0,0,0,0,0,0,0,27,27,28,28,24,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,30,29,30,30,28,30,30,29,27,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,30,30,29,29,30,29,30,30,30,29,31,30,0,0,0,0,0,0,0,0,30,31,30,31,30,30,30,31,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,27,26,0,0,0,0,0,0,0,0,23,23,19,20,21,20,17,16,14,13,11,8,0,0,0,0,0,0,0,0,4,4,7,9,9,9,12,15,15,14,17,20,0,0,0,0,0,0,0,0,28,29,30,30,30,30,30,29,30,31,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,29,29,29,28,26,27,26,25,26,0,0,0,0,0,0,0,0,26,27,26,25,27,26,25,26,26,27,26,27,0,0,0,0,0,0,0,0,28,28,29,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,28,29,28,28,28,26,29,28,28,0,0,0,0,0,0,0,0,28,29,29,29,29,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,29,29,30,29,28,28,29,27,28,28,29,29,0,0,0,0,0,0,0,0,29,30,30,29,28,28,28,28,26,28,29,27,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,29,29,29,27,0,0,0,0,0,0,0,0,29,30,29,30,29,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,26,27,29,28,24,28,28,29,28,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,28,29,29,29,26,0,0,0,0,0,0,0,0,29,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,28,29,30,28,29,30,29,29,30,30,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,30,30,29,29,30,29,29,29,29,28,28,27,26,0,0,0,0,0,0,0,0,24,23,18,22,21,21,19,18,16,16,15,12,0,0,0,0,0,0,0,0,3,4,4,5,7,7,8,11,12,13,15,16,0,0,0,0,0,0,0,0,29,29,30,29,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,31,31,30,30,31,30,30,31,30,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,29,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,29,28,28,28,25,26,25,24,25,0,0,0,0,0,0,0,0,24,26,25,23,25,25,25,25,25,26,26,26,0,0,0,0,0,0,0,0,28,28,28,28,29,29,29,29,28,29,29,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,27,28,27,28,28,28,0,0,0,0,0,0,0,0,28,28,29,28,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,29,29,29,28,28,29,26,29,27,29,30,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,29,26,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,29,30,30,29,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,29,29,29,25,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,30,31,30,29,30,0,0,0,0,0,0,0,0,26,25,27,28,23,27,28,28,28,29,29,30,0,0,0,0,0,0,0,0,29,29,29,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,29,29,29,27,29,29,28,26,0,0,0,0,0,0,0,0,29,29,29,29,29,30,30,29,29,30,30,29,0,0,0,0,0,0,0,0,29,28,28,28,29,28,28,29,29,28,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,31,30,30,30,30,30,30,29,29,30,29,28,28,27,28,0,0,0,0,0,0,0,0,24,22,19,22,22,22,20,20,19,18,17,14,0,0,0,0,0,0,0,0,1,3,4,3,6,6,6,7,10,10,13,14,0,0,0,0,0,0,0,0,27,28,29,29,30,30,30,29,29,30,30,29,0,0,0,0,0,0,0,0,29,30,29,29,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,30,31,31,30,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,30,30,31,31,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,31,30,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,29,29,28,28,27,27,25,27,26,23,24,0,0,0,0,0,0,0,0,24,26,26,25,26,25,25,26,26,27,27,27,0,0,0,0,0,0,0,0,28,29,29,29,30,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,28,29,28,28,29,27,28,28,28,0,0,0,0,0,0,0,0,27,29,28,28,28,29,29,28,29,29,29,28,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,29,29,29,28,28,28,29,26,28,28,29,30,0,0,0,0,0,0,0,0,28,30,30,29,28,28,29,28,26,27,28,27,0,0,0,0,0,0,0,0,29,29,29,28,30,30,28,29,30,30,29,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,29,30,29,30,29,29,28,29,25,0,0,0,0,0,0,0,0,28,29,29,29,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,26,25,27,27,24,27,28,28,27,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,29,29,29,28,29,28,28,29,28,27,0,0,0,0,0,0,0,0,28,29,29,29,28,29,30,29,29,30,30,29,0,0,0,0,0,0,0,0,30,29,28,28,30,28,28,29,29,28,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,30,30,30,29,29,29,29,29,28,28,28,27,27,0,0,0,0,0,0,0,0,24,24,20,23,22,22,20,20,18,18,18,16,0,0,0,0,0,0,0,0,0,1,3,3,4,5,5,6,7,10,11,12,0,0,0,0,0,0,0,0,27,28,29,29,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,29,30,29,29,30,30,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,30,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,30,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,29,29,28,26,27,26,23,26,25,22,24,0,0,0,0,0,0,0,0,23,24,24,23,25,23,24,25,25,25,26,25,0,0,0,0,0,0,0,0,28,28,29,28,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,28,28,27,28,27,26,28,26,27,0,0,0,0,0,0,0,0,27,28,28,28,28,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,29,28,28,28,28,27,28,27,27,28,28,29,0,0,0,0,0,0,0,0,28,29,30,29,28,27,28,28,25,27,28,26,0,0,0,0,0,0,0,0,29,29,29,28,29,30,28,29,30,30,29,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,29,30,29,29,29,28,28,28,25,0,0,0,0,0,0,0,0,28,29,28,29,28,29,29,30,30,30,29,30,0,0,0,0,0,0,0,0,25,27,26,26,23,26,26,28,27,28,27,28,0,0,0,0,0,0,0,0,30,29,29,29,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,29,28,29,29,27,28,29,27,26,0,0,0,0,0,0,0,0,29,28,29,29,28,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,29,28,28,27,29,27,28,29,28,28,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,29,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,29,30,30,28,29,29,29,28,28,28,28,27,27,0,0,0,0,0,0,0,0,24,24,20,23,23,23,20,20,19,18,18,17,0,0,0,0,0,0,0,0,1,0,1,3,4,3,5,5,6,6,10,11,0,0,0,0,0,0,0,0,27,28,29,28,29,30,29,28,30,30,29,29,0,0,0,0,0,0,0,0,29,30,29,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,31,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,30,31,30,31,30,30,30,30,31,0,0,0,0,0,0,0,0,30,29,30,30,30,30,31,30,30,30,31,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,30,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,31,31,30,31,31,30,31,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,29,28,28,27,26,26,25,22,24,23,21,23,0,0,0,0,0,0,0,0,24,25,25,23,26,24,24,25,25,25,25,25,0,0,0,0,0,0,0,0,27,27,28,28,29,28,29,28,29,28,28,28,0,0,0,0,0,0,0,0,28,27,28,27,27,27,27,27,25,28,27,27,0,0,0,0,0,0,0,0,26,27,27,27,27,28,27,27,28,28,28,27,0,0,0,0,0,0,0,0,30,31,30,30,31,31,30,31,30,31,29,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,28,28,29,28,27,27,28,27,28,27,28,29,0,0,0,0,0,0,0,0,29,29,30,30,29,28,29,29,27,28,29,28,0,0,0,0,0,0,0,0,28,29,29,28,29,29,28,29,30,30,29,29,0,0,0,0,0,0,0,0,31,30,30,30,30,31,30,31,30,30,30,31,0,0,0,0,0,0,0,0,30,30,29,28,29,28,29,29,29,28,28,24,0,0,0,0,0,0,0,0,28,28,29,29,28,29,29,30,30,29,29,30,0,0,0,0,0,0,0,0,27,26,27,28,23,28,28,28,27,27,26,28,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,29,28,28,28,26,28,28,27,26,0,0,0,0,0,0,0,0,28,28,28,29,28,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,29,27,27,27,28,26,27,28,28,27,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,30,31,30,31,30,30,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,29,30,30,29,30,29,29,29,29,28,28,28,27,0,0,0,0,0,0,0,0,23,23,19,22,23,23,21,20,19,18,18,17,0,0,0,0,0,0,0,0,3,1,0,1,3,3,3,4,5,5,7,10,0,0,0,0,0,0,0,0,27,28,29,28,29,29,30,29,29,30,30,29,0,0,0,0,0,0,0,0,29,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,30,30,30,31,30,31,30,30,31,31,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,28,28,27,25,25,24,22,24,23,22,22,0,0,0,0,0,0,0,0,23,24,24,22,25,24,24,24,24,26,25,24,0,0,0,0,0,0,0,0,27,28,29,29,29,28,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,28,28,28,28,27,27,28,25,28,28,27,0,0,0,0,0,0,0,0,27,28,27,27,27,28,28,28,27,28,28,27,0,0,0,0,0,0,0,0,31,31,30,30,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,30,30,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,31,31,31,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,28,28,28,27,28,27,26,28,27,29,29,0,0,0,0,0,0,0,0,28,29,30,29,28,28,29,29,26,28,28,27,0,0,0,0,0,0,0,0,29,29,28,27,29,29,28,29,30,29,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,28,28,28,28,26,27,22,0,0,0,0,0,0,0,0,27,29,28,29,29,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,26,25,28,26,23,26,27,27,27,28,26,27,0,0,0,0,0,0,0,0,28,28,28,28,29,29,28,29,30,30,30,30,0,0,0,0,0,0,0,0,28,30,30,29,29,28,28,27,28,28,27,26,0,0,0,0,0,0,0,0,27,27,28,28,27,28,29,28,28,28,29,28,0,0,0,0,0,0,0,0,29,28,28,27,28,26,27,28,27,27,29,28,0,0,0,0,0,0,0,0,29,29,29,28,29,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,31,30,30,30,30,30,29,30,29,30,29,29,29,28,28,0,0,0,0,0,0,0,0,25,23,20,23,24,24,22,22,21,20,20,19,0,0,0,0,0,0,0,0,5,3,1,0,2,2,4,4,6,5,7,9,0,0,0,0,0,0,0,0,26,27,28,28,29,30,29,28,29,30,29,28,0,0,0,0,0,0,0,0,29,30,29,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,30,31,31,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,31,30,31,30,31,31,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,31,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,29,31,31,31,30,31,31,30,31,30,0,0,0,0,0,0,0,0,30,30,31,31,31,31,30,31,31,31,30,30,0,0,0,0,0,0,0,0,29,28,28,27,26,26,25,23,25,23,21,23,0,0,0,0,0,0,0,0,22,24,25,23,25,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,27,29,29,29,30,29,29,29,30,29,30,29,0,0,0,0,0,0,0,0,29,29,29,28,29,27,28,28,25,29,27,27,0,0,0,0,0,0,0,0,27,28,27,28,27,29,28,28,28,28,29,28,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,30,30,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,30,31,30,30,31,30,30,31,0,0,0,0,0,0,0,0,28,29,28,28,28,27,28,26,27,28,29,29,0,0,0,0,0,0,0,0,29,29,30,29,28,28,29,28,25,26,28,27,0,0,0,0,0,0,0,0,29,29,29,27,29,30,27,29,30,30,29,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,29,30,29,28,28,29,29,27,28,24,0,0,0,0,0,0,0,0,28,28,28,28,27,29,29,29,30,29,29,30,0,0,0,0,0,0,0,0,26,25,26,26,23,26,27,26,26,26,26,27,0,0,0,0,0,0,0,0,29,28,29,28,29,30,29,29,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,28,29,28,28,28,28,27,26,0,0,0,0,0,0,0,0,27,27,29,29,28,28,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,28,28,28,29,27,27,28,28,27,29,29,0,0,0,0,0,0,0,0,30,30,29,29,29,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,30,30,30,30,29,29,28,29,28,29,28,28,27,0,0,0,0,0,0,0,0,25,25,21,24,24,24,22,22,20,20,19,18,0,0,0,0,0,0,0,0,4,4,4,1,0,1,3,3,4,5,6,7,0,0,0,0,0,0,0,0,27,27,28,28,29,30,30,28,30,30,29,28,0,0,0,0,0,0,0,0,29,30,29,29,30,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,30,31,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,30,30,31,31,30,30,31,0,0,0,0,0,0,0,0,29,29,30,30,30,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,31,30,30,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,30,29,29,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,31,31,31,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,28,28,27,24,26,24,22,24,23,20,22,0,0,0,0,0,0,0,0,22,23,24,23,24,23,24,24,24,25,26,25,0,0,0,0,0,0,0,0,28,28,29,28,30,28,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,28,28,28,28,27,27,27,24,27,26,26,0,0,0,0,0,0,0,0,27,27,28,28,27,28,27,28,28,27,28,27,0,0,0,0,0,0,0,0,31,31,30,30,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,30,31,31,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,27,27,28,27,28,27,27,26,27,27,28,29,0,0,0,0,0,0,0,0,28,29,30,29,28,27,28,28,26,27,28,27,0,0,0,0,0,0,0,0,29,29,28,27,28,29,27,29,30,30,29,30,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,31,30,30,30,31,0,0,0,0,0,0,0,0,29,29,28,28,29,28,28,28,28,27,28,22,0,0,0,0,0,0,0,0,28,28,28,29,28,28,29,30,30,29,29,30,0,0,0,0,0,0,0,0,26,27,28,27,24,27,27,28,26,27,25,27,0,0,0,0,0,0,0,0,28,28,28,27,29,30,29,29,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,27,29,28,26,27,28,26,25,0,0,0,0,0,0,0,0,27,27,28,28,27,28,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,27,27,27,28,26,27,28,27,26,29,28,0,0,0,0,0,0,0,0,30,30,29,29,28,29,29,30,29,29,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,29,30,30,29,30,29,29,29,29,29,28,28,28,0,0,0,0,0,0,0,0,26,25,20,24,25,25,22,22,21,21,20,19,0,0,0,0,0,0,0,0,5,4,4,4,1,0,1,3,4,4,6,8,0,0,0,0,0,0,0,0,26,27,28,28,29,29,29,28,30,30,29,28,0,0,0,0,0,0,0,0,29,30,29,29,30,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,29,30,29,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,29,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,31,0,0,0,0,0,0,0,0,30,31,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,28,30,30,29,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,31,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,27,27,27,25,25,24,22,24,22,20,22,0,0,0,0,0,0,0,0,22,23,24,22,24,24,24,24,25,25,25,24,0,0,0,0,0,0,0,0,27,28,29,28,30,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,28,28,27,28,26,27,28,25,28,27,26,0,0,0,0,0,0,0,0,26,25,27,27,27,28,27,28,28,27,28,27,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,28,28,28,27,28,29,28,28,28,29,29,0,0,0,0,0,0,0,0,29,29,30,30,29,28,29,29,27,28,28,29,0,0,0,0,0,0,0,0,28,29,29,28,28,29,28,29,30,30,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,28,27,27,22,0,0,0,0,0,0,0,0,28,28,29,28,28,29,28,30,30,29,29,30,0,0,0,0,0,0,0,0,26,25,26,26,23,25,27,26,26,26,25,27,0,0,0,0,0,0,0,0,28,28,29,28,28,30,29,28,30,30,29,30,0,0,0,0,0,0,0,0,29,29,28,28,28,28,28,26,28,28,26,25,0,0,0,0,0,0,0,0,27,27,28,28,28,28,28,29,28,28,29,28,0,0,0,0,0,0,0,0,28,27,27,27,27,26,26,27,26,26,28,28,0,0,0,0,0,0,0,0,29,29,28,28,28,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,30,30,30,30,30,29,29,29,28,29,29,27,29,0,0,0,0,0,0,0,0,24,25,21,25,25,25,22,23,22,22,22,20,0,0,0,0,0,0,0,0,8,6,4,4,4,1,0,2,3,4,5,6,0,0,0,0,0,0,0,0,24,26,27,27,28,28,28,28,29,29,29,27,0,0,0,0,0,0,0,0,28,29,29,28,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,30,30,29,29,29,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,31,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,29,30,30,29,29,30,30,29,30,29,29,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,27,26,26,24,24,23,22,24,22,20,21,0,0,0,0,0,0,0,0,22,25,25,23,26,26,25,24,26,27,26,26,0,0,0,0,0,0,0,0,28,28,28,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,28,28,27,27,28,26,27,28,27,0,0,0,0,0,0,0,0,26,27,27,27,26,27,28,27,27,26,28,27,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,31,31,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,28,28,27,27,27,28,27,27,27,28,29,28,0,0,0,0,0,0,0,0,28,29,29,29,29,27,28,29,27,27,28,28,0,0,0,0,0,0,0,0,29,28,28,27,29,29,27,28,29,29,28,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,29,28,29,28,27,28,27,26,27,26,22,0,0,0,0,0,0,0,0,27,28,27,27,27,28,28,29,29,28,28,28,0,0,0,0,0,0,0,0,26,24,26,26,23,24,26,26,25,26,25,26,0,0,0,0,0,0,0,0,28,28,28,27,29,29,28,28,30,29,29,30,0,0,0,0,0,0,0,0,28,29,29,28,29,27,28,27,27,27,26,26,0,0,0,0,0,0,0,0,27,26,28,27,27,28,28,28,28,28,29,28,0,0,0,0,0,0,0,0,28,27,27,27,28,26,26,28,26,26,28,28,0,0,0,0,0,0,0,0,29,29,28,28,29,29,29,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,30,30,30,31,30,30,30,30,30,30,30,30,29,29,29,29,28,29,0,0,0,0,0,0,0,0,27,25,21,25,26,26,23,24,23,22,23,22,0,0,0,0,0,0,0,0,8,7,6,4,4,4,2,0,2,3,4,5,0,0,0,0,0,0,0,0,24,25,27,26,28,29,29,27,28,29,28,27,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,30,31,31,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,31,31,30,31,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,30,30,30,30,29,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,30,30,31,31,30,30,30,0,0,0,0,0,0,0,0,28,27,26,26,23,25,23,20,23,22,18,20,0,0,0,0,0,0,0,0,20,22,24,21,24,24,24,24,26,26,27,26,0,0,0,0,0,0,0,0,27,28,28,28,29,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,28,29,29,28,28,27,25,28,27,27,0,0,0,0,0,0,0,0,26,27,27,27,27,28,27,28,27,27,28,26,0,0,0,0,0,0,0,0,31,30,30,29,31,31,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,31,30,31,30,31,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,31,30,30,30,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,28,28,27,26,26,27,27,26,26,27,28,28,0,0,0,0,0,0,0,0,28,29,29,29,28,26,28,28,27,27,28,27,0,0,0,0,0,0,0,0,28,28,27,25,28,29,27,28,30,30,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,30,30,30,31,0,0,0,0,0,0,0,0,30,30,28,29,28,28,27,28,26,26,27,23,0,0,0,0,0,0,0,0,26,27,26,27,28,28,28,29,30,29,29,29,0,0,0,0,0,0,0,0,26,26,25,25,23,26,26,25,24,25,24,25,0,0,0,0,0,0,0,0,28,28,28,27,29,30,28,28,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,28,28,28,27,26,27,27,26,24,0,0,0,0,0,0,0,0,25,26,28,28,27,27,28,28,27,28,29,29,0,0,0,0,0,0,0,0,28,27,27,26,28,25,26,27,27,26,28,28,0,0,0,0,0,0,0,0,29,29,28,28,29,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,30,30,30,30,30,29,29,29,29,29,29,29,28,27,28,0,0,0,0,0,0,0,0,26,25,23,25,25,25,23,23,22,22,22,21,0,0,0,0,0,0,0,0,11,8,7,6,4,4,4,2,0,1,3,4,0,0,0,0,0,0,0,0,25,25,27,26,28,29,29,28,28,29,29,28,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,31,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,27,26,26,26,23,24,22,20,22,20,18,19,0,0,0,0,0,0,0,0,20,22,23,21,24,23,24,23,24,26,25,24,0,0,0,0,0,0,0,0,27,27,29,28,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,27,27,27,26,26,26,24,26,25,25,0,0,0,0,0,0,0,0,25,25,26,26,26,27,26,27,27,27,28,26,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,31,31,30,30,31,30,31,30,30,30,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,28,28,27,28,27,27,27,27,27,28,28,0,0,0,0,0,0,0,0,29,29,30,29,29,28,29,29,28,28,29,27,0,0,0,0,0,0,0,0,29,29,28,27,29,29,28,29,29,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,28,28,27,27,27,26,27,27,21,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,30,30,29,29,30,0,0,0,0,0,0,0,0,27,27,27,27,24,27,28,27,25,26,24,25,0,0,0,0,0,0,0,0,27,28,27,26,28,29,28,28,30,30,29,29,0,0,0,0,0,0,0,0,28,28,28,27,27,27,27,25,26,27,24,23,0,0,0,0,0,0,0,0,26,25,27,27,26,27,28,28,27,28,28,28,0,0,0,0,0,0,0,0,27,26,26,25,27,23,25,26,25,25,27,27,0,0,0,0,0,0,0,0,29,28,28,28,28,28,28,29,28,28,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,30,30,30,30,31,30,30,30,30,30,30,30,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,27,27,23,26,27,26,24,25,24,24,23,22,0,0,0,0,0,0,0,0,12,10,8,7,7,5,5,4,1,0,1,3,0,0,0,0,0,0,0,0,24,25,27,26,28,29,28,27,29,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,29,29,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,30,30,29,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,27,27,25,24,22,23,20,18,20,18,18,20,0,0,0,0,0,0,0,0,20,22,24,21,23,25,24,23,25,27,26,26,0,0,0,0,0,0,0,0,27,28,29,28,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,28,28,28,27,28,26,28,27,27,0,0,0,0,0,0,0,0,26,26,27,27,27,27,27,27,27,26,28,26,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,28,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,28,29,28,28,26,28,27,28,28,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,29,28,29,29,28,28,29,29,0,0,0,0,0,0,0,0,28,29,28,27,29,29,28,28,29,30,28,29,0,0,0,0,0,0,0,0,30,30,29,29,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,28,28,28,28,28,28,27,27,26,20,0,0,0,0,0,0,0,0,28,27,29,27,29,29,28,29,30,29,29,29,0,0,0,0,0,0,0,0,28,25,27,27,24,26,27,26,24,26,22,26,0,0,0,0,0,0,0,0,26,28,28,27,28,29,28,28,29,30,29,29,0,0,0,0,0,0,0,0,28,29,29,28,29,28,27,26,26,26,25,24,0,0,0,0,0,0,0,0,25,24,27,26,27,27,28,27,27,28,29,27,0,0,0,0,0,0,0,0,27,26,25,25,26,22,24,26,25,25,27,27,0,0,0,0,0,0,0,0,28,28,28,27,28,29,28,29,28,29,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,30,30,30,30,30,30,29,30,29,29,29,0,0,0,0,0,0,0,0,27,27,24,27,27,27,25,26,24,25,25,24,0,0,0,0,0,0,0,0,16,15,12,11,9,8,7,6,4,2,0,1,0,0,0,0,0,0,0,0,22,24,27,26,28,28,28,26,28,29,28,27,0,0,0,0,0,0,0,0,30,29,30,29,30,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,31,30,30,31,30,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,31,30,31,31,30,30,30,0,0,0,0,0,0,0,0,28,27,27,24,21,23,18,18,20,18,16,18,0,0,0,0,0,0,0,0,21,23,25,22,24,25,25,25,26,26,28,27,0,0,0,0,0,0,0,0,29,29,29,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,28,27,28,27,27,0,0,0,0,0,0,0,0,27,26,27,27,25,27,27,26,26,25,28,27,0,0,0,0,0,0,0,0,31,31,30,29,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,31,31,30,31,30,30,30,0,0,0,0,0,0,0,0,28,29,27,27,27,27,28,27,27,28,28,28,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,28,27,27,29,28,0,0,0,0,0,0,0,0,29,29,28,26,29,30,28,27,30,30,28,29,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,30,30,30,31,0,0,0,0,0,0,0,0,30,29,29,29,28,28,28,28,27,26,27,22,0,0,0,0,0,0,0,0,27,27,27,27,27,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,26,24,26,26,23,25,25,25,24,25,22,23,0,0,0,0,0,0,0,0,26,28,28,27,29,29,28,27,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,29,28,28,27,27,27,26,25,24,0,0,0,0,0,0,0,0,25,24,27,27,26,26,28,28,26,28,29,28,0,0,0,0,0,0,0,0,27,27,27,23,27,22,24,26,24,25,27,28,0,0,0,0,0,0,0,0,29,29,28,28,28,29,29,30,29,30,29,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,30,30,30,30,30,30,30,30,29,30,29,28,29,0,0,0,0,0,0,0,0,28,26,25,26,27,27,25,26,25,25,24,24,0,0,0,0,0,0,0,0,16,15,14,13,10,10,9,7,6,5,2,0,0,0,0,0,0,0,0,0,21,22,25,25,27,28,28,27,28,28,28,27,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,27,26,25,23,19,22,18,16,19,19,17,20,0,0,0,0,0,0,0,0,22,23,23,24,24,24,25,25,27,26,27,27,0,0,0,0,0,0,0,0,28,29,29,29,30,29,30,30,29,29,30,30,0,0,0,0,0,0,0,0,28,29,28,29,29,28,28,26,26,27,26,27,0,0,0,0,0,0,0,0,26,25,27,27,26,27,26,25,26,24,27,26,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,31,31,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,29,28,26,26,26,28,27,27,28,29,29,0,0,0,0,0,0,0,0,29,29,30,30,29,29,29,29,28,28,29,28,0,0,0,0,0,0,0,0,28,29,28,26,29,29,27,28,30,30,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,28,28,27,27,26,25,26,25,22,0,0,0,0,0,0,0,0,27,27,28,27,28,28,28,29,29,29,29,30,0,0,0,0,0,0,0,0,27,27,27,26,25,27,26,25,24,25,21,22,0,0,0,0,0,0,0,0,26,28,28,26,28,29,28,27,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,28,27,28,27,25,26,25,24,23,0,0,0,0,0,0,0,0,23,22,26,27,25,25,28,27,25,28,28,27,0,0,0,0,0,0,0,0,27,26,26,24,26,21,25,26,25,24,26,26,0,0,0,0,0,0,0,0,28,28,27,27,28,29,29,29,28,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,28,28,25,28,28,28,27,28,26,26,26,25,0,0,0,0,0,0,0,0,18,17,16,15,12,11,10,9,8,6,4,2,0,0,0,0,0,0,0,0,21,21,24,24,26,27,27,24,26,27,27,25,0,0,0,0,0,0,0,0,29,28,29,29,29,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,29,28,28,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,27,29,30,30,28,29,30,29,29,28,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,29,29,28,0,0,0,0,0,0,0,0,26,25,25,21,17,20,15,15,18,17,15,20,0,0,0,0,0,0,0,0,23,23,24,24,25,25,26,26,27,26,27,27,0,0,0,0,0,0,0,0,28,29,29,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,26,27,28,26,27,0,0,0,0,0,0,0,0,26,25,27,27,25,26,26,26,26,24,26,26,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,28,30,30,29,28,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,29,27,26,26,27,28,28,28,29,29,28,0,0,0,0,0,0,0,0,29,30,29,29,29,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,28,29,28,25,29,29,26,26,29,29,27,27,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,28,28,26,26,27,25,24,26,26,21,0,0,0,0,0,0,0,0,26,26,28,27,28,29,28,29,29,29,29,30,0,0,0,0,0,0,0,0,28,27,27,27,26,27,27,26,24,23,19,20,0,0,0,0,0,0,0,0,24,26,26,23,27,28,27,26,29,29,28,28,0,0,0,0,0,0,0,0,27,28,29,28,27,27,26,24,25,24,22,21,0,0,0,0,0,0,0,0,19,19,24,25,22,23,27,26,24,27,28,27,0,0,0,0,0,0,0,0,26,26,26,23,25,20,23,25,23,22,25,26,0,0,0,0,0,0,0,0,28,28,27,27,28,29,28,29,29,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,30,30,31,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,28,26,28,28,28,27,27,27,27,27,26,0,0,0,0,0,0,0,0,19,20,18,16,15,13,12,11,10,9,7,5,0,0,0,0,0,0,0,0,18,20,24,22,25,26,27,24,27,27,26,25,0,0,0,0,0,0,0,0,29,28,28,29,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,29,30,29,30,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,30,29,30,29,30,29,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,30,30,29,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,29,28,28,28,29,28,29,28,29,29,30,0,0,0,0,0,0,0,0,29,30,30,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,28,29,30,29,29,30,30,30,29,29,29,0,0,0,0,0,0,0,0,29,28,27,29,29,28,28,29,29,28,29,28,0,0,0,0,0,0,0,0,28,29,29,29,29,30,29,30,29,29,28,27,0,0,0,0,0,0,0,0,25,25,24,19,17,17,16,15,18,18,18,22,0,0,0,0,0,0,0,0,24,23,24,25,26,26,26,26,28,27,28,28,0,0,0,0,0,0,0,0,28,29,29,29,30,29,30,29,30,29,30,30,0,0,0,0,0,0,0,0,29,29,28,29,29,28,28,28,27,28,27,27,0,0,0,0,0,0,0,0,25,24,26,25,25,26,25,26,26,24,26,26,0,0,0,0,0,0,0,0,29,30,29,28,29,29,28,29,29,29,28,29,0,0,0,0,0,0,0,0,30,30,29,30,29,30,30,29,30,30,28,29,0,0,0,0,0,0,0,0,28,28,29,28,27,29,28,29,29,29,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,29,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,27,26,26,27,28,29,28,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,27,29,28,25,28,29,27,27,28,29,26,27,0,0,0,0,0,0,0,0,29,28,29,29,29,29,30,30,28,29,30,29,0,0,0,0,0,0,0,0,29,28,29,29,26,27,28,26,24,26,25,21,0,0,0,0,0,0,0,0,26,25,27,26,28,28,27,28,28,28,29,29,0,0,0,0,0,0,0,0,28,27,27,26,26,27,25,24,22,22,17,20,0,0,0,0,0,0,0,0,22,26,26,24,27,28,27,26,29,29,28,28,0,0,0,0,0,0,0,0,27,28,29,29,28,26,26,27,27,23,24,23,0,0,0,0,0,0,0,0,20,20,24,25,23,23,27,26,25,27,28,27,0,0,0,0,0,0,0,0,26,27,26,24,25,21,23,25,22,23,25,26,0,0,0,0,0,0,0,0,27,28,27,26,28,28,28,29,28,30,29,30,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30],[0,31,31,31,31,31,31,31,31,31,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,28,27,28,28,28,28,28,27,27,27,27,0,0,0,0,0,0,0,0,22,21,19,18,17,15,14,12,11,10,10,8,0,0,0,0,0,0,0,0,14,16,21,21,23,25,25,23,25,27,25,24,0,0,0,0,0,0,0,0,29,28,29,29,29,28,29,30,29,29,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,29,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,29,29,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,30,29,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,30,29,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,29,28,28,28,29,28,29,29,29,29,30,0,0,0,0,0,0,0,0,29,30,30,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,29,28,29,30,29,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,29,28,27,28,29,29,27,28,28,28,28,27,0,0,0,0,0,0,0,0,28,28,29,29,29,29,29,29,28,29,28,27,0,0,0,0,0,0,0,0,24,23,22,17,14,16,14,14,16,16,15,20,0,0,0,0,0,0,0,0,23,24,24,24,24,25,25,25,26,26,27,27,0,0,0,0,0,0,0,0,28,29,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,30,29,28,28,27,27,27,27,27,0,0,0,0,0,0,0,0,26,24,26,26,24,26,25,24,25,23,25,25,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,28,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,29,30,30,29,29,0,0,0,0,0,0,0,0,28,29,29,28,26,28,28,29,28,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,29,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,26,25,25,26,27,28,27,29,28,28,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,28,27,24,27,28,25,25,27,28,26,26,0,0,0,0,0,0,0,0,28,28,28,28,29,29,30,29,28,29,29,29,0,0,0,0,0,0,0,0,28,28,27,28,26,26,27,24,22,25,25,20,0,0,0,0,0,0,0,0,25,25,27,26,28,28,27,29,29,28,29,29,0,0,0,0,0,0,0,0,27,27,27,26,25,26,25,23,21,19,16,18,0,0,0,0,0,0,0,0,20,24,25,22,25,27,26,24,28,28,28,27,0,0,0,0,0,0,0,0,27,28,28,28,27,26,25,24,23,22,21,21,0,0,0,0,0,0,0,0,18,17,22,24,21,21,25,25,23,26,27,27,0,0,0,0,0,0,0,0,26,26,24,22,24,19,22,24,21,20,24,24,0,0,0,0,0,0,0,0,27,28,27,26,28,28,27,28,28,29,28,30,0,0,0,0,0,0,0,0,29,29,29,30,29,29,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30],[0,31,30,30,30,31,31,30,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,28,27,28,28,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,22,21,20,20,19,18,17,15,14,12,10,9,0,0,0,0,0,0,0,0,11,12,15,17,20,21,20,17,18,21,21,18,0,0,0,0,0,0,0,0,24,24,25,25,26,24,25,27,26,27,28,28,0,0,0,0,0,0,0,0,28,27,28,28,27,28,26,28,28,28,28,29,0,0,0,0,0,0,0,0,28,29,28,29,28,28,28,28,28,28,29,29,0,0,0,0,0,0,0,0,26,27,27,26,25,27,26,24,27,25,25,25,0,0,0,0,0,0,0,0,24,25,26,26,26,27,28,27,27,28,28,29,0,0,0,0,0,0,0,0,27,28,29,28,29,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,26,26,27,28,27,27,28,27,27,27,27,26,0,0,0,0,0,0,0,0,24,25,22,23,25,25,25,26,26,26,27,28,0,0,0,0,0,0,0,0,26,28,28,26,27,28,28,27,27,28,28,28,0,0,0,0,0,0,0,0,27,24,27,27,27,26,27,27,27,27,26,27,0,0,0,0,0,0,0,0,24,24,23,25,25,25,23,24,26,24,25,24,0,0,0,0,0,0,0,0,25,26,27,28,27,28,28,28,27,27,26,25,0,0,0,0,0,0,0,0,20,19,18,15,13,16,13,13,16,16,16,20,0,0,0,0,0,0,0,0,20,21,22,21,22,23,25,24,26,25,27,28,0,0,0,0,0,0,0,0,28,29,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,29,29,29,29,28,27,26,27,28,26,27,0,0,0,0,0,0,0,0,24,24,25,24,22,25,24,23,23,22,22,23,0,0,0,0,0,0,0,0,27,28,28,27,28,28,27,27,28,28,27,27,0,0,0,0,0,0,0,0,28,28,28,29,27,28,28,28,28,29,28,28,0,0,0,0,0,0,0,0,26,27,28,27,25,26,27,27,27,26,26,29,0,0,0,0,0,0,0,0,29,28,29,28,28,28,28,28,29,29,30,29,0,0,0,0,0,0,0,0,26,27,29,29,26,28,28,27,26,26,27,26,0,0,0,0,0,0,0,0,25,26,23,22,20,23,23,24,24,25,25,26,0,0,0,0,0,0,0,0,26,25,27,27,27,24,26,25,25,24,25,25,0,0,0,0,0,0,0,0,22,24,24,20,22,25,21,20,24,25,21,23,0,0,0,0,0,0,0,0,25,25,26,26,27,27,28,27,25,26,27,26,0,0,0,0,0,0,0,0,25,25,24,25,22,23,25,22,20,22,21,19,0,0,0,0,0,0,0,0,20,19,22,20,23,23,21,24,23,23,24,25,0,0,0,0,0,0,0,0,24,23,21,22,21,21,18,17,16,15,12,13,0,0,0,0,0,0,0,0,18,21,22,20,22,24,23,22,25,26,25,25,0,0,0,0,0,0,0,0,24,26,27,26,26,23,24,22,22,20,20,19,0,0,0,0,0,0,0,0,16,17,19,20,19,19,22,22,21,24,25,25,0,0,0,0,0,0,0,0,24,24,23,20,20,18,19,22,20,20,22,22,0,0,0,0,0,0,0,0,26,27,25,23,26,27,26,27,26,28,27,28,0,0,0,0,0,0,0,0,28,28,27,28,28,28,28,28,29,29,28,28,0,0,0,0,0,0,0,0,28,28,29,29,29,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,31,30],[0,30,30,30,30,31,30,30,30,30,30,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,27,27,27,27,0,0,0,0,0,0,0,0,23,22,22,20,20,19,17,16,15,14,11,10,0,0,0,0,0,0,0,0,8,10,12,13,15,18,18,15,16,19,19,17,0,0,0,0,0,0,0,0,24,23,25,25,25,24,24,25,23,24,25,25,0,0,0,0,0,0,0,0,25,24,24,25,24,25,24,23,24,24,25,26,0,0,0,0,0,0,0,0,25,26,27,26,25,25,25,25,26,27,26,26,0,0,0,0,0,0,0,0,23,24,24,23,22,25,23,23,25,23,23,22,0,0,0,0,0,0,0,0,22,23,24,24,23,25,25,25,24,25,25,26,0,0,0,0,0,0,0,0,24,25,26,25,25,27,26,26,25,26,26,26,0,0,0,0,0,0,0,0,24,24,25,27,24,25,27,26,26,25,25,23,0,0,0,0,0,0,0,0,21,23,21,20,22,22,20,23,24,24,25,25,0,0,0,0,0,0,0,0,23,25,25,24,25,25,26,24,26,25,25,26,0,0,0,0,0,0,0,0,24,22,24,26,25,25,25,26,26,25,25,25,0,0,0,0,0,0,0,0,22,22,22,21,22,23,21,21,23,21,23,20,0,0,0,0,0,0,0,0,22,24,25,25,25,24,25,25,25,25,23,21,0,0,0,0,0,0,0,0,13,13,12,11,10,12,12,13,14,14,15,16,0,0,0,0,0,0,0,0,18,19,20,21,20,22,24,24,25,23,26,25,0,0,0,0,0,0,0,0,27,28,29,28,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,28,28,28,28,27,27,26,26,25,26,26,0,0,0,0,0,0,0,0,23,22,23,22,20,22,20,20,21,20,21,19,0,0,0,0,0,0,0,0,24,25,24,23,25,25,24,24,26,25,24,25,0,0,0,0,0,0,0,0,26,27,26,26,26,26,26,26,26,27,26,26,0,0,0,0,0,0,0,0,23,24,24,24,22,24,24,25,24,24,23,26,0,0,0,0,0,0,0,0,26,26,26,26,27,26,26,27,26,26,27,26,0,0,0,0,0,0,0,0,24,24,25,26,22,25,26,25,24,25,25,23,0,0,0,0,0,0,0,0,21,23,20,18,20,19,20,22,21,22,22,24,0,0,0,0,0,0,0,0,25,25,26,25,25,24,24,24,24,23,24,25,0,0,0,0,0,0,0,0,18,22,20,16,21,22,17,17,21,22,18,20,0,0,0,0,0,0,0,0,23,23,23,23,24,25,25,24,23,24,24,23,0,0,0,0,0,0,0,0,23,23,22,21,17,19,20,18,17,18,20,15,0,0,0,0,0,0,0,0,17,17,20,17,21,22,20,22,22,22,23,23,0,0,0,0,0,0,0,0,21,21,19,20,19,17,17,15,15,13,9,11,0,0,0,0,0,0,0,0,14,15,17,15,16,21,18,17,22,23,23,23,0,0,0,0,0,0,0,0,22,23,24,23,22,18,19,19,18,16,15,17,0,0,0,0,0,0,0,0,13,13,14,14,15,15,17,17,17,20,21,21,0,0,0,0,0,0,0,0,20,19,19,17,18,15,15,18,16,16,16,17,0,0,0,0,0,0,0,0,21,23,23,21,22,23,24,24,25,26,24,26,0,0,0,0,0,0,0,0,26,26,24,26,26,25,25,26,26,26,25,26,0,0,0,0,0,0,0,0,26,28,27,28,27,28,29,28,29,28,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,29],[0,30,30,29,29,30,30,30,29,29,29,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,27,27,27,28,27,26,28,27,27,27,26,0,0,0,0,0,0,0,0,23,22,20,21,20,19,17,17,16,15,13,11,0,0,0,0,0,0,0,0,4,6,8,10,10,13,14,11,11,14,14,12,0,0,0,0,0,0,0,0,18,18,18,21,20,18,21,22,20,21,23,22,0,0,0,0,0,0,0,0,22,20,22,22,21,22,20,22,21,21,22,23,0,0,0,0,0,0,0,0,22,23,23,24,22,21,22,22,24,23,22,24,0,0,0,0,0,0,0,0,18,20,21,20,18,19,20,17,21,19,18,19,0,0,0,0,0,0,0,0,17,18,19,20,19,20,21,21,19,21,22,23,0,0,0,0,0,0,0,0,21,22,22,22,23,22,22,21,22,23,22,22,0,0,0,0,0,0,0,0,20,19,21,22,21,22,22,22,20,21,20,20,0,0,0,0,0,0,0,0,16,18,16,14,18,16,17,19,19,20,20,21,0,0,0,0,0,0,0,0,18,20,20,19,20,21,21,21,22,22,21,22,0,0,0,0,0,0,0,0,21,18,21,21,19,20,21,22,22,22,20,21,0,0,0,0,0,0,0,0,18,18,16,17,18,18,16,17,17,17,17,15,0,0,0,0,0,0,0,0,17,18,19,20,19,20,20,20,18,18,17,16,0,0,0,0,0,0,0,0,9,11,9,9,7,8,9,10,12,12,13,14,0,0,0,0,0,0,0,0,18,20,21,21,21,22,23,23,25,23,26,24,0,0,0,0,0,0,0,0,24,26,27,27,28,26,28,28,28,27,28,29,0,0,0,0,0,0,0,0,27,28,27,27,28,26,26,24,25,26,25,26,0,0,0,0,0,0,0,0,23,21,21,22,20,21,21,19,18,17,17,16,0,0,0,0,0,0,0,0,18,19,19,19,19,21,20,18,21,21,21,21,0,0,0,0,0,0,0,0,23,23,22,22,21,21,23,21,23,23,22,22,0,0,0,0,0,0,0,0,20,19,20,19,18,18,18,19,18,19,19,20,0,0,0,0,0,0,0,0,22,22,22,22,22,23,23,23,23,23,22,21,0,0,0,0,0,0,0,0,19,20,22,23,18,21,21,20,19,19,20,19,0,0,0,0,0,0,0,0,18,18,16,16,16,17,15,17,18,18,18,19,0,0,0,0,0,0,0,0,20,21,21,21,21,19,20,19,19,18,20,18,0,0,0,0,0,0,0,0,15,17,17,13,14,17,16,15,15,17,15,13,0,0,0,0,0,0,0,0,18,19,18,18,19,20,20,20,18,19,19,19,0,0,0,0,0,0,0,0,18,18,17,17,16,17,17,15,14,16,16,14,0,0,0,0,0,0,0,0,12,11,14,12,14,15,14,16,17,15,17,17,0,0,0,0,0,0,0,0,15,14,13,13,14,14,14,11,11,10,7,8,0,0,0,0,0,0,0,0,11,13,14,12,13,15,17,15,17,18,17,16,0,0,0,0,0,0,0,0,16,18,17,17,17,16,16,16,16,13,14,13,0,0,0,0,0,0,0,0,8,8,10,11,13,11,14,15,14,16,16,17,0,0,0,0,0,0,0,0,16,15,16,14,15,14,12,15,14,14,13,15,0,0,0,0,0,0,0,0,17,17,16,16,16,17,18,18,18,20,19,19,0,0,0,0,0,0,0,0,22,21,20,21,22,21,22,21,22,22,22,22,0,0,0,0,0,0,0,0,24,24,24,25,25,26,26,26,27,26,27,27,0,0,0,0,0,0,0,0,29,28,28,28,29,28,28,28,29,29,28,29,0,0,0,0,0,0,0,0,29,28,28,29,29,28,28,28,28],[0,29,29,29,30,30,29,29,29,29,29,28,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,27,26,27,28,28,27,27,27,26,27,26,0,0,0,0,0,0,0,0,23,23,21,21,21,20,18,19,18,17,16,14,0,0,0,0,0,0,0,0,3,4,5,7,8,10,9,6,7,10,9,7,0,0,0,0,0,0,0,0,12,12,14,14,14,13,14,17,15,15,17,16,0,0,0,0,0,0,0,0,18,17,18,18,16,17,16,16,17,17,16,18,0,0,0,0,0,0,0,0,17,18,17,17,17,15,16,16,17,17,16,17,0,0,0,0,0,0,0,0,13,15,15,13,12,15,14,12,15,13,13,13,0,0,0,0,0,0,0,0,13,13,14,14,13,14,15,15,14,16,16,16,0,0,0,0,0,0,0,0,14,15,16,15,16,16,16,16,17,17,16,16,0,0,0,0,0,0,0,0,15,13,16,16,14,15,15,15,13,15,14,13,0,0,0,0,0,0,0,0,12,13,11,9,12,11,13,15,14,14,14,16,0,0,0,0,0,0,0,0,13,15,14,12,14,15,15,15,16,15,15,14,0,0,0,0,0,0,0,0,15,14,14,15,14,13,14,16,15,15,14,15,0,0,0,0,0,0,0,0,12,12,12,11,11,12,12,12,11,12,11,13,0,0,0,0,0,0,0,0,12,13,15,16,15,16,15,17,16,16,14,14,0,0,0,0,0,0,0,0,7,7,6,6,4,8,6,8,12,11,13,15,0,0,0,0,0,0,0,0,16,18,21,20,20,22,24,23,26,24,27,25,0,0,0,0,0,0,0,0,26,27,29,28,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,28,28,27,28,25,26,27,25,26,0,0,0,0,0,0,0,0,22,23,21,21,20,19,19,17,16,15,13,12,0,0,0,0,0,0,0,0,17,17,17,18,17,18,17,18,18,18,19,18,0,0,0,0,0,0,0,0,18,16,17,17,18,17,17,19,18,19,19,19,0,0,0,0,0,0,0,0,16,16,15,14,13,14,14,15,15,16,15,17,0,0,0,0,0,0,0,0,17,17,18,17,16,17,17,19,18,17,18,17,0,0,0,0,0,0,0,0,14,13,16,16,13,14,15,13,12,13,13,12,0,0,0,0,0,0,0,0,12,13,11,11,10,11,10,13,14,14,15,14,0,0,0,0,0,0,0,0,14,13,15,15,15,13,15,14,14,14,13,13,0,0,0,0,0,0,0,0,9,12,12,8,10,11,10,8,10,12,10,10,0,0,0,0,0,0,0,0,12,14,13,12,14,16,14,13,15,13,13,14,0,0,0,0,0,0,0,0,13,12,13,14,12,12,12,10,9,11,10,8,0,0,0,0,0,0,0,0,8,7,10,9,10,11,9,11,11,11,12,13,0,0,0,0,0,0,0,0,12,12,11,10,11,11,8,7,8,5,5,5,0,0,0,0,0,0,0,0,9,9,9,10,8,12,11,9,14,14,13,13,0,0,0,0,0,0,0,0,13,13,13,12,13,13,13,11,9,9,9,11,0,0,0,0,0,0,0,0,6,5,7,8,9,9,10,10,10,11,13,14,0,0,0,0,0,0,0,0,12,12,11,10,11,10,10,11,10,9,10,10,0,0,0,0,0,0,0,0,14,14,14,12,13,14,14,15,16,18,16,16,0,0,0,0,0,0,0,0,16,17,15,15,17,16,15,15,17,16,14,15,0,0,0,0,0,0,0,0,20,19,20,21,20,23,24,24,26,24,26,25,0,0,0,0,0,0,0,0,29,27,27,28,28,27,29,28,29,28,29,29,0,0,0,0,0,0,0,0,28,28,27,28,28,27,27,27,26],[0,30,29,29,30,30,30,29,29,29,29,28,29,28,29,28,29,29,28,29,0,0,0,0,0,0,0,0,28,28,27,28,28,28,27,28,27,28,27,27,0,0,0,0,0,0,0,0,24,23,22,22,22,21,20,20,19,18,17,16,0,0,0,0,0,0,0,0,1,3,3,4,6,6,6,6,5,7,8,8,0,0,0,0,0,0,0,0,12,12,11,12,12,11,12,15,14,12,14,15,0,0,0,0,0,0,0,0,14,14,14,14,14,15,15,14,14,15,14,14,0,0,0,0,0,0,0,0,14,14,14,15,13,14,13,14,14,16,14,14,0,0,0,0,0,0,0,0,12,11,12,12,11,13,11,12,12,12,12,12,0,0,0,0,0,0,0,0,12,12,11,12,13,11,12,13,12,14,14,13,0,0,0,0,0,0,0,0,13,14,13,14,14,15,15,15,15,15,14,15,0,0,0,0,0,0,0,0,15,14,14,15,14,14,13,13,12,12,12,12,0,0,0,0,0,0,0,0,10,11,8,8,10,10,11,12,12,12,13,13,0,0,0,0,0,0,0,0,12,13,12,11,13,13,13,13,14,15,14,13,0,0,0,0,0,0,0,0,13,12,12,13,14,13,13,15,14,13,14,13,0,0,0,0,0,0,0,0,11,10,10,8,11,10,10,9,10,10,10,9,0,0,0,0,0,0,0,0,12,12,13,13,14,14,14,14,14,13,14,12,0,0,0,0,0,0,0,0,6,6,6,6,6,7,7,7,9,10,12,12,0,0,0,0,0,0,0,0,17,18,20,21,21,22,23,23,24,23,26,24,0,0,0,0,0,0,0,0,26,27,27,27,28,28,28,28,29,28,29,29,0,0,0,0,0,0,0,0,27,28,27,28,28,27,27,25,26,26,25,26,0,0,0,0,0,0,0,0,21,22,21,21,19,19,18,16,16,14,13,11,0,0,0,0,0,0,0,0,13,15,14,15,15,16,15,14,16,17,15,17,0,0,0,0,0,0,0,0,16,17,16,16,17,17,17,17,16,18,18,17,0,0,0,0,0,0,0,0,13,13,14,13,12,13,12,14,14,14,13,15,0,0,0,0,0,0,0,0,15,16,16,16,16,16,16,18,16,16,17,15,0,0,0,0,0,0,0,0,12,13,14,14,13,12,14,12,13,12,12,12,0,0,0,0,0,0,0,0,10,11,8,8,7,9,9,11,11,12,13,13,0,0,0,0,0,0,0,0,14,13,13,14,14,13,14,12,12,13,11,12,0,0,0,0,0,0,0,0,9,9,8,9,10,8,9,8,7,8,9,9,0,0,0,0,0,0,0,0,11,12,12,12,13,15,12,13,13,13,12,13,0,0,0,0,0,0,0,0,11,11,10,9,10,8,8,8,9,8,7,7,0,0,0,0,0,0,0,0,7,7,7,8,9,9,7,10,9,9,10,10,0,0,0,0,0,0,0,0,11,10,9,8,8,9,8,7,7,6,3,3,0,0,0,0,0,0,0,0,6,8,7,8,7,11,9,9,9,11,11,11,0,0,0,0,0,0,0,0,12,11,10,10,10,8,8,7,7,6,7,9,0,0,0,0,0,0,0,0,5,6,6,7,7,7,8,7,8,9,11,11,0,0,0,0,0,0,0,0,9,8,9,7,8,7,8,9,7,8,9,7,0,0,0,0,0,0,0,0,11,11,11,11,10,12,12,12,13,15,14,14,0,0,0,0,0,0,0,0,15,15,13,13,15,14,15,15,16,15,14,15,0,0,0,0,0,0,0,0,20,19,20,18,20,20,22,23,25,23,25,25,0,0,0,0,0,0,0,0,27,27,28,28,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,28,27,28,28,27,26,27,27],[0,28,29,29,29,29,29,29,29,28,27,28,28,27,28,27,28,28,27,28,0,0,0,0,0,0,0,0,27,27,26,27,27,28,26,27,26,27,27,26,0,0,0,0,0,0,0,0,23,23,21,21,22,20,19,20,19,18,16,16,0,0,0,0,0,0,0,0,0,1,2,4,4,5,5,5,5,8,8,8,0,0,0,0,0,0,0,0,12,12,12,13,13,12,14,14,12,13,16,14,0,0,0,0,0,0,0,0,15,15,15,15,14,14,12,15,14,15,13,16,0,0,0,0,0,0,0,0,13,13,15,15,12,13,14,14,15,14,15,15,0,0,0,0,0,0,0,0,11,13,13,12,11,12,12,11,14,13,10,11,0,0,0,0,0,0,0,0,11,9,12,13,10,11,12,12,12,13,13,12,0,0,0,0,0,0,0,0,12,12,14,13,14,14,14,14,14,14,15,14,0,0,0,0,0,0,0,0,13,12,14,14,13,13,13,13,13,12,12,11,0,0,0,0,0,0,0,0,9,10,8,7,9,8,9,10,10,12,11,12,0,0,0,0,0,0,0,0,10,11,12,11,12,11,12,12,13,13,13,11,0,0,0,0,0,0,0,0,13,12,12,12,13,13,12,13,13,13,12,13,0,0,0,0,0,0,0,0,11,11,10,8,10,9,8,9,10,10,10,8,0,0,0,0,0,0,0,0,10,10,12,13,12,12,11,13,12,12,11,11,0,0,0,0,0,0,0,0,5,6,8,6,8,9,9,10,9,11,11,15,0,0,0,0,0,0,0,0,17,18,20,19,21,21,22,23,25,22,25,23,0,0,0,0,0,0,0,0,25,26,27,26,28,26,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,27,27,28,28,26,27,24,25,25,24,25,0,0,0,0,0,0,0,0,21,20,19,20,18,17,17,14,15,14,13,11,0,0,0,0,0,0,0,0,13,14,14,14,14,15,15,14,16,16,16,15,0,0,0,0,0,0,0,0,16,15,16,16,15,16,15,16,18,17,16,17,0,0,0,0,0,0,0,0,14,13,12,13,12,12,12,12,13,13,13,14,0,0,0,0,0,0,0,0,16,15,15,15,14,15,15,15,15,15,14,14,0,0,0,0,0,0,0,0,12,13,13,13,12,13,12,12,12,11,11,12,0,0,0,0,0,0,0,0,11,12,10,10,9,9,9,11,13,12,13,12,0,0,0,0,0,0,0,0,14,13,13,14,14,13,14,13,12,12,13,12,0,0,0,0,0,0,0,0,8,10,9,9,8,9,8,6,9,9,9,8,0,0,0,0,0,0,0,0,11,11,11,11,11,14,13,12,13,12,12,14,0,0,0,0,0,0,0,0,11,11,10,11,10,9,9,10,9,7,8,7,0,0,0,0,0,0,0,0,8,7,9,8,10,10,8,10,9,8,10,11,0,0,0,0,0,0,0,0,10,10,9,8,9,9,11,8,8,7,5,5,0,0,0,0,0,0,0,0,6,5,7,8,8,9,10,10,11,12,11,11,0,0,0,0,0,0,0,0,11,11,11,11,9,9,9,7,10,9,9,7,0,0,0,0,0,0,0,0,6,7,8,8,8,9,10,10,11,11,12,11,0,0,0,0,0,0,0,0,10,10,9,9,10,9,10,10,9,8,11,10,0,0,0,0,0,0,0,0,12,12,11,11,12,12,12,13,12,15,12,13,0,0,0,0,0,0,0,0,14,15,13,14,15,14,13,13,15,14,13,14,0,0,0,0,0,0,0,0,18,18,19,18,19,21,22,23,24,24,24,24,0,0,0,0,0,0,0,0,27,25,27,27,28,26,27,26,27,28,27,29,0,0,0,0,0,0,0,0,28,27,27,27,27,26,25,27,26],[0,29,29,29,29,30,29,29,29,28,28,27,28,27,27,27,28,28,27,28,0,0,0,0,0,0,0,0,27,27,27,27,28,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,23,23,22,22,22,21,20,21,20,19,19,19,0,0,0,0,0,0,0,0,1,0,1,2,2,3,4,2,3,5,5,4,0,0,0,0,0,0,0,0,7,7,7,8,8,8,8,8,9,9,9,9,0,0,0,0,0,0,0,0,10,10,11,10,10,9,9,10,10,10,9,10,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,10,9,10,9,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,7,8,8,8,8,9,0,0,0,0,0,0,0,0,7,7,7,7,8,7,7,8,8,8,8,8,0,0,0,0,0,0,0,0,8,8,9,8,8,9,9,10,10,10,9,10,0,0,0,0,0,0,0,0,9,9,8,8,9,8,7,7,7,7,6,7,0,0,0,0,0,0,0,0,6,6,4,5,5,7,8,8,7,8,8,7,0,0,0,0,0,0,0,0,6,6,6,6,7,7,8,8,9,9,9,8,0,0,0,0,0,0,0,0,8,7,7,7,8,8,8,8,9,8,8,7,0,0,0,0,0,0,0,0,6,5,6,5,5,5,5,5,6,5,5,4,0,0,0,0,0,0,0,0,6,6,7,7,8,7,8,8,8,8,8,7,0,0,0,0,0,0,0,0,4,5,5,5,6,7,9,9,10,12,12,14,0,0,0,0,0,0,0,0,18,16,18,19,20,20,22,23,24,23,24,22,0,0,0,0,0,0,0,0,25,26,27,27,28,27,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,27,28,28,27,27,25,27,27,25,26,0,0,0,0,0,0,0,0,21,21,20,20,19,19,17,15,15,14,11,10,0,0,0,0,0,0,0,0,9,10,9,10,10,11,11,10,12,11,11,12,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,13,12,14,13,12,0,0,0,0,0,0,0,0,9,9,9,8,8,8,8,8,8,7,8,8,0,0,0,0,0,0,0,0,9,10,10,11,11,11,11,11,11,11,10,9,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,7,6,5,6,6,7,8,9,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,9,9,8,8,7,8,7,7,0,0,0,0,0,0,0,0,6,5,5,6,6,5,5,5,5,5,6,5,0,0,0,0,0,0,0,0,6,6,6,7,6,8,7,7,6,7,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,5,5,6,6,5,5,5,0,0,0,0,0,0,0,0,5,5,5,6,6,6,5,6,6,6,7,7,0,0,0,0,0,0,0,0,7,8,7,6,7,7,7,7,6,6,3,3,0,0,0,0,0,0,0,0,2,6,5,4,4,7,5,6,5,6,6,7,0,0,0,0,0,0,0,0,7,7,6,6,6,6,6,6,6,5,8,6,0,0,0,0,0,0,0,0,3,4,4,4,6,6,6,6,7,7,6,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,6,6,7,7,0,0,0,0,0,0,0,0,8,8,8,8,8,9,9,8,10,9,9,9,0,0,0,0,0,0,0,0,8,8,8,7,8,7,9,8,9,8,8,9,0,0,0,0,0,0,0,0,14,15,15,15,16,17,18,19,21,20,23,24,0,0,0,0,0,0,0,0,26,23,27,26,27,26,27,26,27,27,27,27,0,0,0,0,0,0,0,0,27,26,25,26,27,25,23,26,25],[0,28,28,28,28,28,28,28,28,27,26,26,27,26,26,26,27,27,26,27,0,0,0,0,0,0,0,0,27,27,26,26,27,27,26,26,26,27,27,26,0,0,0,0,0,0,0,0,23,23,21,21,21,21,19,20,19,18,17,17,0,0,0,0,0,0,0,0,2,1,0,1,2,2,3,4,4,5,5,5,0,0,0,0,0,0,0,0,7,8,8,8,9,8,9,9,9,9,10,9,0,0,0,0,0,0,0,0,10,11,11,10,9,10,8,10,10,11,10,10,0,0,0,0,0,0,0,0,10,9,10,10,9,9,10,11,10,11,10,10,0,0,0,0,0,0,0,0,9,9,9,8,7,7,8,8,8,8,8,7,0,0,0,0,0,0,0,0,7,6,7,8,7,6,8,9,7,8,8,8,0,0,0,0,0,0,0,0,9,8,9,9,8,9,9,10,11,9,9,10,0,0,0,0,0,0,0,0,9,10,9,9,9,9,8,8,8,8,8,7,0,0,0,0,0,0,0,0,6,5,4,5,5,6,7,7,7,7,7,8,0,0,0,0,0,0,0,0,6,7,7,6,6,6,7,8,9,9,8,7,0,0,0,0,0,0,0,0,8,7,7,7,9,9,8,8,8,8,8,8,0,0,0,0,0,0,0,0,6,5,5,5,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,6,7,6,7,7,7,7,8,7,8,8,7,0,0,0,0,0,0,0,0,4,5,6,5,5,7,9,9,12,14,14,16,0,0,0,0,0,0,0,0,18,19,20,20,21,22,23,23,24,23,25,23,0,0,0,0,0,0,0,0,24,26,26,25,27,25,26,27,27,27,28,28,0,0,0,0,0,0,0,0,27,27,27,28,28,27,27,25,26,26,24,26,0,0,0,0,0,0,0,0,21,20,18,19,17,17,16,15,14,13,11,10,0,0,0,0,0,0,0,0,8,9,9,10,10,10,10,10,11,11,11,11,0,0,0,0,0,0,0,0,13,12,12,11,11,12,13,13,13,12,13,13,0,0,0,0,0,0,0,0,10,9,9,9,8,8,7,7,7,7,7,8,0,0,0,0,0,0,0,0,9,9,10,11,10,11,11,11,11,10,9,8,0,0,0,0,0,0,0,0,6,7,6,7,7,7,7,7,7,6,7,7,0,0,0,0,0,0,0,0,7,6,6,6,5,7,7,8,9,9,10,9,0,0,0,0,0,0,0,0,9,9,9,9,9,9,10,9,8,9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0,0,0,0,5,5,5,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,11,12,13,12,13,15,15,17,18,19,22,22,0,0,0,0,0,0,0,0,24,22,26,26,26,24,25,25,26,26,25,26,0,0,0,0,0,0,0,0,26,24,24,25,26,23,22,24,24],[0,28,28,27,28,28,28,28,27,27,26,26,27,26,26,25,26,27,26,26,0,0,0,0,0,0,0,0,26,26,26,26,26,26,25,25,25,26,26,26,0,0,0,0,0,0,0,0,22,23,22,21,21,20,19,19,19,18,18,18,0,0,0,0,0,0,0,0,3,2,1,1,0,1,1,2,2,3,3,3,0,0,0,0,0,0,0,0,5,6,6,5,6,5,6,6,6,7,7,7,0,0,0,0,0,0,0,0,8,8,8,8,7,7,6,7,7,6,7,7,0,0,0,0,0,0,0,0,7,6,6,7,6,6,7,8,7,7,6,6,0,0,0,0,0,0,0,0,5,6,5,5,5,5,5,6,6,6,5,5,0,0,0,0,0,0,0,0,5,4,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,6,5,5,6,7,7,7,6,7,0,0,0,0,0,0,0,0,6,6,6,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,3,3,3,3,4,4,5,6,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,6,5,5,5,0,0,0,0,0,0,0,0,5,4,4,5,6,6,5,6,5,6,5,5,0,0,0,0,0,0,0,0,3,3,2,3,3,3,2,3,3,3,3,2,0,0,0,0,0,0,0,0,4,5,5,5,6,5,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,4,4,5,5,6,8,10,13,13,14,15,0,0,0,0,0,0,0,0,19,19,20,21,21,21,22,23,24,22,24,23,0,0,0,0,0,0,0,0,23,24,25,25,26,25,25,26,26,26,26,26,0,0,0,0,0,0,0,0,26,26,27,26,27,26,26,25,25,25,24,25,0,0,0,0,0,0,0,0,20,19,18,19,17,16,16,14,13,11,9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,13,15,16,17,18,19,21,21,0,0,0,0,0,0,0,0,23,23,25,26,25,25,25,24,26,25,25,25,0,0,0,0,0,0,0,0,25,23,22,24,26,24,22,25,24],[0,28,28,28,28,29,28,28,28,28,28,27,28,27,27,27,27,28,27,28,0,0,0,0,0,0,0,0,28,27,27,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,25,24,23,23,23,20,20,21,20,19,19,20,0,0,0,0,0,0,0,0,4,3,3,2,2,1,1,0,1,1,2,2,0,0,0,0,0,0,0,0,4,4,4,5,4,4,5,5,5,5,6,6,0,0,0,0,0,0,0,0,7,7,7,6,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,7,6,6,7,7,6,7,6,7,0,0,0,0,0,0,0,0,5,4,4,4,3,4,4,4,5,5,4,4,0,0,0,0,0,0,0,0,3,3,4,4,4,4,5,5,5,5,5,6,0,0,0,0,0,0,0,0,5,5,6,6,5,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,5,5,6,5,5,5,5,4,0,0,0,0,0,0,0,0,3,3,3,3,4,4,5,5,4,5,5,5,0,0,0,0,0,0,0,0,4,5,5,4,5,5,5,6,6,6,6,5,0,0,0,0,0,0,0,0,5,4,5,5,5,5,5,6,5,6,6,5,0,0,0,0,0,0,0,0,3,3,2,3,3,3,2,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,7,7,7,6,5,0,0,0,0,0,0,0,0,5,5,6,6,7,7,9,9,12,14,14,16,0,0,0,0,0,0,0,0,20,20,22,23,23,23,24,25,26,25,26,24,0,0,0,0,0,0,0,0,25,24,26,25,26,26,26,26,27,26,27,27,0,0,0,0,0,0,0,0,26,26,27,27,27,27,27,26,27,27,26,26,0,0,0,0,0,0,0,0,22,19,19,20,17,17,16,14,13,11,10,9,0,0,0,0,0,0,0,0,7,8,8,8,9,8,8,9,10,9,9,10,0,0,0,0,0,0,0,0,11,9,9,9,10,10,10,11,12,12,11,12,0,0,0,0,0,0,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0,4,5,6,6,6,9,10,12,12,12,14,15,0,0,0,0,0,0,0,0,22,22,23,25,24,24,24,25,25,25,26,23,0,0,0,0,0,0,0,0,24,25,27,26,27,26,26,27,27,27,28,27,0,0,0,0,0,0,0,0,27,27,27,27,28,27,27,26,27,26,26,28,0,0,0,0,0,0,0,0,23,19,20,19,18,17,16,14,13,12,10,8,0,0,0,0,0,0,0,0,7,8,8,9,9,10,9,10,10,9,10,10,0,0,0,0,0,0,0,0,12,10,10,10,10,10,11,11,12,13,12,12,0,0,0,0,0,0,0,0,9,9,8,7,7,7,6,6,6,5,6,6,0,0,0,0,0,0,0,0,8,8,8,9,9,9,9,9,8,8,7,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,6,6,7,7,6,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,4,5,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,2,2,2,1,2,2,3,0,0,0,0,0,0,0,0,5,6,5,4,5,5,6,6,5,5,4,3,0,0,0,0,0,0,0,0,3,3,4,4,4,4,5,4,5,5,5,5,0,0,0,0,0,0,0,0,6,6,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,6,6,5,6,6,0,0,0,0,0,0,0,0,7,7,8,7,7,7,7,7,8,8,7,7,0,0,0,0,0,0,0,0,6,7,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,12,13,13,12,14,16,17,19,20,19,23,22,0,0,0,0,0,0,0,0,25,24,25,26,27,25,26,26,27,25,26,28,0,0,0,0,0,0,0,0,26,26,24,26,26,25,24,25,25],[0,28,28,28,28,29,28,28,29,27,27,27,27,27,26,27,26,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,28,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,23,22,22,22,21,21,20,20,20,19,18,18,0,0,0,0,0,0,0,0,4,3,3,3,2,3,2,1,1,1,0,1,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,3,4,4,4,0,0,0,0,0,0,0,0,5,6,6,5,4,4,4,4,4,4,4,5,0,0,0,0,0,0,0,0,4,4,5,5,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,2,3,3,3,4,4,3,3,0,0,0,0,0,0,0,0,2,2,3,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,3,4,4,3,3,4,3,3,3,3,3,0,0,0,0,0,0,0,0,2,3,3,2,3,3,4,4,3,3,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,3,4,4,4,4,5,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,2,3,3,3,3,3,3,4,3,3,0,0,0,0,0,0,0,0,4,4,5,5,5,5,6,6,6,6,5,6,0,0,0,0,0,0,0,0,5,5,6,6,6,8,9,12,12,12,14,16,0,0,0,0,0,0,0,0,19,20,22,22,22,22,23,24,25,24,25,24,0,0,0,0,0,0,0,0,23,24,25,24,26,25,26,26,26,26,26,26,0,0,0,0,0,0,0,0,26,25,26,26,26,26,26,25,25,26,25,26,0,0,0,0,0,0,0,0,22,20,20,20,18,17,16,14,13,12,10,8,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,9,10,9,9,10,0,0,0,0,0,0,0,0,11,10,9,9,9,10,10,11,11,12,11,12,0,0,0,0,0,0,0,0,8,8,7,7,7,6,7,6,6,5,5,6,0,0,0,0,0,0,0,0,7,7,7,8,8,9,8,8,8,8,6,6,0,0,0,0,0,0,0,0,4,4,5,5,4,5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,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,28,27,27,26,27,27,26,27,0,0,0,0,0,0,0,0,23,21,22,22,20,19,17,15,15,13,10,8,0,0,0,0,0,0,0,0,6,7,7,7,8,8,8,9,9,9,9,10,0,0,0,0,0,0,0,0,11,10,9,10,9,9,10,10,11,12,10,12,0,0,0,0,0,0,0,0,8,8,7,7,6,6,6,5,5,5,5,6,0,0,0,0,0,0,0,0,6,6,7,8,8,9,9,8,8,7,6,6,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,4,4,4,3,4,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,5,6,6,6,6,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,4,4,4,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,1,2,2,2,2,0,0,0,0,0,0,0,0,5,5,4,4,5,5,5,5,5,4,3,3,0,0,0,0,0,0,0,0,2,3,3,3,3,3,4,4,4,4,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,5,5,5,5,5,0,0,0,0,0,0,0,0,6,6,6,6,6,5,5,5,6,5,5,6,0,0,0,0,0,0,0,0,6,7,6,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,5,6,5,5,6,5,5,5,5,6,5,5,0,0,0,0,0,0,0,0,11,13,12,12,12,16,17,18,20,20,22,23,0,0,0,0,0,0,0,0,23,22,25,25,26,24,25,25,26,25,25,26,0,0,0,0,0,0,0,0,25,25,23,25,25,23,22,24,24],[0,28,28,29,28,29,29,28,29,28,28,27,27,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,28,27,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,24,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,7,7,7,7,7,7,7,7,8,8,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,11,13,13,12,14,15,16,18,19,20,22,21,0,0,0,0,0,0,0,0,24,23,25,26,25,25,26,25,26,25,26,27,0,0,0,0,0,0,0,0,26,25,25,26,26,26,24,25,26],[0,27,28,28,27,28,28,28,28,27,27,27,27,26,26,25,26,27,25,27,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,28,26,27,28,27,0,0,0,0,0,0,0,0,24,23,21,23,23,20,20,21,20,19,19,19,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,2,3,3,3,0,0,0,0,0,0,0,0,4,5,5,4,4,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,4,4,3,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,3,4,4,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,4,3,3,4,4,4,4,5,5,4,4,0,0,0,0,0,0,0,0,3,2,3,3,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,2,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,6,5,5,5,0,0,0,0,0,0,0,0,4,5,5,5,6,7,8,10,9,11,14,14,0,0,0,0,0,0,0,0,20,20,22,23,24,23,23,24,26,25,25,24,0,0,0,0,0,0,0,0,24,24,26,26,26,25,26,27,27,26,26,26,0,0,0,0,0,0,0,0,26,27,27,27,27,27,26,26,27,26,26,27,0,0,0,0,0,0,0,0,23,22,21,20,19,18,18,15,14,12,10,8,0,0,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17,17,18,20,21,0,0,0,0,0,0,0,0,22,22,24,24,24,24,25,23,25,25,25,26,0,0,0,0,0,0,0,0,25,24,23,25,25,24,21,23,25],[0,28,28,29,28,29,28,28,28,28,27,27,27,27,27,26,27,27,26,27,0,0,0,0,0,0,0,0,28,26,26,27,28,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,23,21,19,21,21,19,19,20,18,17,18,17,0,0,0,0,0,0,0,0,5,4,4,3,3,3,3,3,3,2,2,2,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,4,5,5,4,4,3,4,4,4,5,4,4,0,0,0,0,0,0,0,0,3,3,4,3,3,4,4,4,4,4,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,2,3,3,3,3,0,0,0,0,0,0,0,0,2,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,5,4,5,4,5,0,0,0,0,0,0,0,0,3,2,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,3,4,4,5,5,4,4,5,4,0,0,0,0,0,0,0,0,3,4,3,3,4,4,4,4,5,5,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,3,3,2,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,5,5,5,6,6,6,6,7,7,7,6,6,0,0,0,0,0,0,0,0,5,6,6,7,7,7,8,11,10,11,13,14,0,0,0,0,0,0,0,0,18,18,19,21,21,21,23,23,25,23,25,23,0,0,0,0,0,0,0,0,23,24,25,24,25,25,26,26,26,26,26,25,0,0,0,0,0,0,0,0,26,26,27,26,26,26,26,25,26,25,26,26,0,0,0,0,0,0,0,0,22,20,20,20,18,18,16,14,13,11,10,9,0,0,0,0,0,0,0,0,7,8,8,8,8,9,8,9,9,9,9,9,0,0,0,0,0,0,0,0,10,10,10,9,9,9,10,10,11,12,10,11,0,0,0,0,0,0,0,0,8,8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,7,8,8,9,11,11,11,13,13,0,0,0,0,0,0,0,0,18,18,20,21,21,21,23,23,25,24,24,23,0,0,0,0,0,0,0,0,23,24,26,26,27,25,26,26,27,27,27,26,0,0,0,0,0,0,0,0,27,27,26,26,26,26,25,25,26,25,25,26,0,0,0,0,0,0,0,0,22,21,21,20,19,19,17,15,14,14,11,10,0,0,0,0,0,0,0,0,8,9,9,9,9,10,10,10,11,10,10,12,0,0,0,0,0,0,0,0,12,11,10,11,11,12,12,14,13,13,13,14,0,0,0,0,0,0,0,0,10,10,10,9,8,8,9,8,7,7,7,8,0,0,0,0,0,0,0,0,8,8,9,9,9,10,10,10,9,9,7,8,0,0,0,0,0,0,0,0,5,5,6,6,6,5,6,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,3,3,4,4,4,5,7,7,8,6,0,0,0,0,0,0,0,0,3,2,3,3,3,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,2,2,3,2,2,3,3,3,3,4,4,4,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,4,4,5,4,4,4,4,4,4,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,6,5,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,6,6,7,7,6,7,7,0,0,0,0,0,0,0,0,8,8,8,7,8,8,8,8,9,9,8,8,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,12,13,14,12,14,15,17,19,19,19,22,21,0,0,0,0,0,0,0,0,24,22,25,25,25,24,25,24,26,26,24,27,0,0,0,0,0,0,0,0,26,25,24,25,25,24,24,24,25],[0,28,28,28,28,28,28,28,28,28,27,27,27,27,27,26,27,27,27,27,0,0,0,0,0,0,0,0,28,26,26,27,27,27,27,27,26,27,27,27,0,0,0,0,0,0,0,0,23,22,21,21,21,20,19,20,19,18,18,18,0,0,0,0,0,0,0,0,5,5,5,4,4,4,4,3,3,3,3,3,0,0,0,0,0,0,0,0,1,0,1,1,1,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,4,4,4,5,5,0,0,0,0,0,0,0,0,3,3,4,3,3,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,2,2,2,3,2,3,2,2,2,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,3,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,2,2,3,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,3,4,4,4,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,5,4,4,4,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,3,3,4,4,3,3,4,4,4,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,4,4,5,0,0,0,0,0,0,0,0,6,6,6,6,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,7,6,7,8,8,8,11,11,11,13,14,0,0,0,0,0,0,0,0,21,21,22,23,24,24,25,25,26,25,26,25,0,0,0,0,0,0,0,0,24,24,26,25,26,26,27,27,28,27,27,27,0,0,0,0,0,0,0,0,28,27,27,27,28,27,27,26,27,26,26,27,0,0,0,0,0,0,0,0,23,22,22,21,20,19,19,15,15,13,11,10,0,0,0,0,0,0,0,0,8,9,9,9,9,9,9,10,11,10,10,11,0,0,0,0,0,0,0,0,11,11,10,11,10,11,11,12,12,13,13,12,0,0,0,0,0,0,0,0,9,9,9,9,8,8,8,7,7,7,7,7,0,0,0,0,0,0,0,0,7,8,8,9,9,10,9,9,9,9,7,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,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,0,0,0,0,6,6,7,6,6,7,7,6,7,8,7,7,0,0,0,0,0,0,0,0,9,8,8,7,8,8,7,8,8,7,8,8,0,0,0,0,0,0,0,0,8,8,9,8,9,8,9,8,9,9,8,8,0,0,0,0,0,0,0,0,7,8,8,7,8,8,7,7,8,8,7,7,0,0,0,0,0,0,0,0,13,13,14,13,14,16,17,18,20,20,23,23,0,0,0,0,0,0,0,0,25,24,26,26,26,26,25,25,25,27,26,27,0,0,0,0,0,0,0,0,26,26,24,26,26,26,24,26,26],[0,27,27,27,27,28,27,27,27,25,26,24,26,25,25,26,25,26,25,26,0,0,0,0,0,0,0,0,25,26,25,26,27,27,25,26,26,25,26,25,0,0,0,0,0,0,0,0,22,19,19,20,19,19,18,18,16,16,16,16,0,0,0,0,0,0,0,0,5,5,5,5,4,4,4,3,3,3,3,3,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,2,2,2,0,0,0,0,0,0,0,0,3,4,4,3,3,3,3,4,3,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,3,3,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,3,2,2,2,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,2,3,2,2,2,3,2,2,2,3,0,0,0,0,0,0,0,0,3,4,4,4,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,5,4,4,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,4,4,5,4,5,0,0,0,0,0,0,0,0,6,6,7,7,7,7,7,8,8,8,8,8,0,0,0,0,0,0,0,0,6,6,7,7,7,8,9,10,10,10,12,13,0,0,0,0,0,0,0,0,18,18,19,19,21,20,22,22,23,23,23,22,0,0,0,0,0,0,0,0,23,23,25,25,26,25,25,25,25,26,27,26,0,0,0,0,0,0,0,0,27,26,27,25,26,24,25,25,25,26,24,26,0,0,0,0,0,0,0,0,22,21,19,19,18,17,17,15,13,13,11,10,0,0,0,0,0,0,0,0,9,9,9,9,10,10,10,10,12,10,11,12,0,0,0,0,0,0,0,0,13,12,12,11,12,11,12,13,13,13,14,13,0,0,0,0,0,0,0,0,10,10,9,9,8,9,8,8,7,7,7,8,0,0,0,0,0,0,0,0,8,8,9,9,9,10,9,10,9,8,7,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,4,3,4,4,4,4,5,6,6,6,6,0,0,0,0,0,0,0,0,2,3,3,3,3,3,4,3,4,3,2,3,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,3,4,4,4,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,4,4,4,5,4,4,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,4,5,4,4,4,0,0,0,0,0,0,0,0,4,4,4,5,5,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,5,6,6,5,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,6,6,7,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,6,6,7,7,6,7,7,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,9,8,8,0,0,0,0,0,0,0,0,7,8,7,7,7,7,7,6,7,7,7,7,0,0,0,0,0,0,0,0,12,12,13,12,13,14,15,16,17,17,20,19,0,0,0,0,0,0,0,0,23,22,23,24,24,23,24,21,25,24,23,25,0,0,0,0,0,0,0,0,23,24,23,25,24,23,23,23,23],[0,28,28,28,28,29,28,28,28,27,27,27,28,26,27,26,27,27,27,27,0,0,0,0,0,0,0,0,28,26,26,28,28,28,27,28,26,27,27,27,0,0,0,0,0,0,0,0,23,21,21,21,21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7,7,7,7,6,7,7,6,6,0,0,0,0,0,0,0,0,5,6,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,10,11,12,11,12,13,15,17,18,18,21,22,0,0,0,0,0,0,0,0,24,22,25,25,25,24,25,24,25,25,25,26,0,0,0,0,0,0,0,0,26,25,23,25,25,23,23,24,23],[0,27,27,28,27,28,28,27,27,26,26,25,26,25,25,26,26,26,26,26,0,0,0,0,0,0,0,0,26,26,25,27,27,27,26,27,26,25,26,26,0,0,0,0,0,0,0,0,22,19,20,19,19,17,16,18,15,15,16,15,0,0,0,0,0,0,0,0,5,4,4,4,3,3,3,3,3,3,2,2,0,0,0,0,0,0,0,0,2,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,3,3,3,3,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,2,2,3,3,4,3,2,2,2,0,0,0,0,0,0,0,0,1,1,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,3,2,2,3,3,2,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,2,2,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,4,4,3,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,4,3,4,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,7,7,7,6,6,0,0,0,0,0,0,0,0,5,6,6,6,6,7,8,9,10,10,11,13,0,0,0,0,0,0,0,0,16,18,18,20,20,20,22,23,24,23,24,22,0,0,0,0,0,0,0,0,24,24,25,26,27,25,25,26,26,26,26,25,0,0,0,0,0,0,0,0,27,26,28,26,26,26,26,26,26,26,25,27,0,0,0,0,0,0,0,0,21,21,18,17,16,15,16,14,12,12,10,8,0,0,0,0,0,0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,22,0,0,0,0,0,0,0,0,23,21,25,26,26,24,25,25,26,26,25,26,0,0,0,0,0,0,0,0,25,24,24,25,25,23,22,24,24],[0,28,28,28,28,29,29,28,28,27,26,26,27,26,26,26,27,26,27,27,0,0,0,0,0,0,0,0,28,27,26,28,28,28,27,28,26,27,27,27,0,0,0,0,0,0,0,0,23,20,21,21,21,19,19,19,16,18,16,16,0,0,0,0,0,0,0,0,5,4,4,3,3,3,3,3,3,2,2,2,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,2,3,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,2,2,2,3,3,4,3,3,3,4,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,3,3,3,3,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,3,3,4,4,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,5,6,6,5,0,0,0,0,0,0,0,0,5,6,5,6,6,7,8,9,9,10,11,12,0,0,0,0,0,0,0,0,17,18,19,20,21,21,22,23,24,23,24,22,0,0,0,0,0,0,0,0,23,23,24,25,26,25,25,26,26,26,26,26,0,0,0,0,0,0,0,0,27,26,27,27,27,27,26,26,27,26,26,26,0,0,0,0,0,0,0,0,22,20,19,19,17,16,15,14,12,12,10,9,0,0,0,0,0,0,0,0,6,7,7,7,7,8,8,8,9,9,9,10,0,0,0,0,0,0,0,0,10,10,9,9,9,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,8,7,7,7,6,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8,10,11,11,12,14,0,0,0,0,0,0,0,0,18,20,20,21,22,22,24,25,25,25,25,24,0,0,0,0,0,0,0,0,24,24,26,26,27,26,26,27,26,26,27,26,0,0,0,0,0,0,0,0,28,27,28,28,27,28,27,25,28,26,26,28,0,0,0,0,0,0,0,0,24,22,21,20,19,17,17,14,13,12,12,10,0,0,0,0,0,0,0,0,7,8,8,8,8,9,9,9,11,10,10,11,0,0,0,0,0,0,0,0,11,11,9,10,10,10,11,12,12,12,12,12,0,0,0,0,0,0,0,0,9,9,9,8,7,7,7,7,6,6,6,7,0,0,0,0,0,0,0,0,6,7,8,8,8,8,8,7,7,7,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,3,4,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,4,4,0,0,0,0,0,0,0,0,4,5,5,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,5,5,4,4,4,4,4,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,5,4,4,4,5,5,4,5,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,6,6,5,5,6,6,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,7,6,7,7,6,7,7,0,0,0,0,0,0,0,0,7,7,7,7,8,8,7,7,8,8,7,7,0,0,0,0,0,0,0,0,6,7,6,5,6,6,5,5,6,5,5,5,0,0,0,0,0,0,0,0,10,11,12,10,12,14,15,16,18,19,21,22,0,0,0,0,0,0,0,0,23,22,24,25,24,23,25,23,25,25,24,26,0,0,0,0,0,0,0,0,25,25,22,25,24,23,23,25,24],[0,28,28,29,28,29,29,27,29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0,5,5,5,5,5,6,6,6,6,7,7,6,0,0,0,0,0,0,0,0,8,8,7,7,7,7,6,8,7,6,7,7,0,0,0,0,0,0,0,0,7,8,8,8,8,7,8,8,9,9,7,8,0,0,0,0,0,0,0,0,7,7,6,6,6,6,6,6,6,6,5,6,0,0,0,0,0,0,0,0,11,12,12,10,13,13,15,16,17,17,19,20,0,0,0,0,0,0,0,0,22,21,22,22,24,21,23,22,23,24,23,24,0,0,0,0,0,0,0,0,24,23,22,24,24,22,21,23,23],[0,28,27,27,27,28,27,27,27,25,25,25,26,25,25,26,26,26,26,26,0,0,0,0,0,0,0,0,26,26,25,26,26,27,25,27,26,26,27,25,0,0,0,0,0,0,0,0,22,20,19,20,20,18,18,19,18,17,17,16,0,0,0,0,0,0,0,0,7,6,6,6,5,5,5,4,4,4,3,4,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,1,1,1,1,0,0,0,0,0,0,0,0,2,3,3,3,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,3,2,2,3,3,3,4,3,3,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,4,3,3,0,0,0,0,0,0,0,0,3,4,3,3,4,4,4,5,5,5,5,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,5,5,6,5,5,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,8,9,9,9,9,0,0,0,0,0,0,0,0,7,7,8,8,8,10,10,12,13,12,14,14,0,0,0,0,0,0,0,0,18,19,19,21,23,21,22,24,23,23,24,23,0,0,0,0,0,0,0,0,24,23,25,25,25,25,25,26,26,26,26,26,0,0,0,0,0,0,0,0,27,26,26,26,26,26,26,25,26,25,25,27,0,0,0,0,0,0,0,0,21,21,18,18,18,16,17,14,14,15,12,12,0,0,0,0,0,0,0,0,11,11,11,11,12,12,12,13,14,13,12,14,0,0,0,0,0,0,0,0,13,13,13,13,13,13,14,15,14,15,15,15,0,0,0,0,0,0,0,0,11,12,11,11,10,10,10,10,10,8,9,10,0,0,0,0,0,0,0,0,8,9,10,10,10,10,10,9,9,9,8,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,5,5,6,6,6,7,7,8,8,7,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,5,5,5,4,5,0,0,0,0,0,0,0,0,4,4,5,5,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,8,7,8,7,7,0,0,0,0,0,0,0,0,7,7,6,6,7,7,6,7,7,6,7,6,0,0,0,0,0,0,0,0,5,4,4,4,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,5,6,5,5,6,6,6,6,6,6,5,5,0,0,0,0,0,0,0,0,6,6,6,6,6,7,7,7,8,7,8,8,0,0,0,0,0,0,0,0,8,9,8,8,8,8,8,8,7,8,8,7,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,8,8,9,9,9,0,0,0,0,0,0,0,0,10,10,9,9,9,9,9,10,9,9,10,10,0,0,0,0,0,0,0,0,10,11,11,10,10,10,10,10,10,11,10,9,0,0,0,0,0,0,0,0,8,10,8,8,8,8,8,8,8,8,8,7,0,0,0,0,0,0,0,0,12,13,14,12,14,15,17,18,19,19,20,21,0,0,0,0,0,0,0,0,23,21,23,23,25,23,24,23,24,25,25,26,0,0,0,0,0,0,0,0,25,24,24,24,24,23,22,23,24],[0,28,28,28,28,28,28,28,28,26,26,26,27,26,26,26,26,26,26,26,0,0,0,0,0,0,0,0,26,26,25,27,27,27,25,27,26,26,26,25,0,0,0,0,0,0,0,0,23,21,21,21,21,20,19,19,19,18,17,17,0,0,0,0,0,0,0,0,8,7,7,7,6,6,6,6,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,2,2,1,2,0,0,0,0,0,0,0,0,2,3,3,2,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,3,2,2,2,3,3,4,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,3,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,3,4,3,3,3,3,3,3,3,4,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,5,4,6,6,5,6,5,6,5,5,5,4,0,0,0,0,0,0,0,0,6,5,5,5,5,6,6,5,5,6,6,5,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,6,6,6,5,5,0,0,0,0,0,0,0,0,4,5,5,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,8,8,9,8,8,9,9,9,9,9,9,0,0,0,0,0,0,0,0,9,9,9,10,10,11,11,13,14,14,15,15,0,0,0,0,0,0,0,0,20,20,20,22,23,22,23,25,25,24,25,24,0,0,0,0,0,0,0,0,25,24,26,26,27,26,26,27,26,27,26,26,0,0,0,0,0,0,0,0,27,27,28,28,27,27,27,26,27,27,27,27,0,0,0,0,0,0,0,0,24,22,20,20,18,17,17,15,15,14,14,12,0,0,0,0,0,0,0,0,12,11,12,11,12,13,13,13,14,13,12,14,0,0,0,0,0,0,0,0,14,14,13,13,13,14,13,15,15,15,16,15,0,0,0,0,0,0,0,0,11,12,12,12,11,10,11,11,10,9,9,10,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,8,9,0,0,0,0,0,0,0,0,6,7,7,7,6,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,7,7,6,6,6,7,7,8,7,9,8,7,0,0,0,0,0,0,0,0,5,4,4,4,5,5,5,6,6,5,5,5,0,0,0,0,0,0,0,0,6,5,5,6,6,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,8,8,8,8,7,0,0,0,0,0,0,0,0,7,8,8,7,7,7,7,7,7,7,8,7,0,0,0,0,0,0,0,0,6,6,5,5,4,4,4,4,4,4,3,3,0,0,0,0,0,0,0,0,6,7,7,6,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,7,6,7,7,7,8,8,8,8,9,9,0,0,0,0,0,0,0,0,9,9,9,9,9,8,9,9,8,9,9,8,0,0,0,0,0,0,0,0,7,8,8,8,8,9,8,9,9,9,10,9,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,11,10,10,10,11,0,0,0,0,0,0,0,0,10,10,11,11,11,11,11,11,11,12,11,10,0,0,0,0,0,0,0,0,9,10,9,9,9,9,8,9,9,9,8,9,0,0,0,0,0,0,0,0,12,13,14,13,15,15,16,18,19,18,21,21,0,0,0,0,0,0,0,0,24,21,23,24,25,24,24,23,26,25,24,26,0,0,0,0,0,0,0,0,25,25,24,25,25,23,23,24,24],[0,28,28,29,28,29,28,28,29,27,26,27,27,26,27,26,26,26,27,27,0,0,0,0,0,0,0,0,26,26,25,27,27,28,26,28,26,27,27,26,0,0,0,0,0,0,0,0,24,22,22,21,22,21,20,20,19,19,17,18,0,0,0,0,0,0,0,0,8,6,7,6,6,5,6,5,5,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,1,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,4,3,3,3,2,0,0,0,0,0,0,0,0,3,2,2,3,3,3,2,2,3,2,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,3,4,4,4,4,5,4,5,5,5,0,0,0,0,0,0,0,0,4,4,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,5,5,5,5,6,5,5,5,5,4,0,0,0,0,0,0,0,0,5,5,4,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,5,5,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,4,4,5,4,4,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,7,8,8,8,9,8,8,9,8,9,9,8,0,0,0,0,0,0,0,0,9,9,8,9,9,10,11,13,13,13,14,15,0,0,0,0,0,0,0,0,21,21,21,23,24,23,24,26,26,25,26,24,0,0,0,0,0,0,0,0,25,25,25,26,26,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,27,28,28,28,28,0,0,0,0,0,0,0,0,24,23,21,21,20,18,19,16,15,15,13,13,0,0,0,0,0,0,0,0,11,12,12,11,12,13,12,13,15,14,14,15,0,0,0,0,0,0,0,0,15,14,13,13,13,15,14,15,16,16,16,15,0,0,0,0,0,0,0,0,12,12,11,11,10,10,10,10,8,8,8,9,0,0,0,0,0,0,0,0,9,10,11,11,10,11,11,10,9,9,8,8,0,0,0,0,0,0,0,0,5,6,6,6,5,6,6,6,6,6,5,6,0,0,0,0,0,0,0,0,6,5,5,6,6,7,6,7,7,8,8,7,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,6,6,6,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,7,7,7,7,7,7,8,7,7,7,7,6,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,6,7,7,7,7,0,0,0,0,0,0,0,0,5,5,5,4,4,4,4,3,3,3,4,3,0,0,0,0,0,0,0,0,6,7,6,6,7,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,6,6,6,7,6,7,7,7,7,7,8,8,0,0,0,0,0,0,0,0,9,9,9,8,8,8,9,8,7,8,8,8,0,0,0,0,0,0,0,0,7,7,7,7,8,8,7,8,9,9,9,9,0,0,0,0,0,0,0,0,11,11,10,9,10,10,9,11,10,9,10,10,0,0,0,0,0,0,0,0,10,10,10,11,12,11,11,11,12,12,10,11,0,0,0,0,0,0,0,0,9,10,9,8,9,9,8,8,9,8,7,8,0,0,0,0,0,0,0,0,13,13,14,13,14,15,17,18,21,20,22,23,0,0,0,0,0,0,0,0,25,23,25,25,26,25,26,24,27,26,25,27,0,0,0,0,0,0,0,0,26,26,24,26,26,25,24,25,24],[0,27,27,28,27,29,28,27,28,27,25,26,27,27,26,26,27,27,26,27,0,0,0,0,0,0,0,0,26,27,25,26,27,28,26,27,27,26,27,26,0,0,0,0,0,0,0,0,25,21,20,22,23,20,19,21,18,17,19,17,0,0,0,0,0,0,0,0,9,7,8,7,7,6,6,6,5,5,5,5,0,0,0,0,0,0,0,0,5,4,4,3,3,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,3,3,4,3,0,0,0,0,0,0,0,0,2,3,3,4,3,4,4,6,4,4,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,4,4,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,4,4,5,4,4,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,6,7,6,6,7,0,0,0,0,0,0,0,0,6,5,5,5,4,4,4,4,4,3,4,4,0,0,0,0,0,0,0,0,4,5,5,5,6,6,6,6,5,5,6,5,0,0,0,0,0,0,0,0,5,6,6,6,6,6,6,6,6,6,7,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,6,6,7,5,6,0,0,0,0,0,0,0,0,5,5,6,5,6,6,6,6,6,6,6,7,0,0,0,0,0,0,0,0,9,9,9,10,10,10,10,11,11,11,10,10,0,0,0,0,0,0,0,0,9,10,10,11,10,12,12,13,14,14,15,16,0,0,0,0,0,0,0,0,20,21,21,23,24,22,25,26,24,25,27,24,0,0,0,0,0,0,0,0,24,25,25,26,27,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,28,27,28,27,27,27,27,27,27,27,27,28,0,0,0,0,0,0,0,0,22,23,20,19,18,17,18,16,15,15,14,14,0,0,0,0,0,0,0,0,14,14,13,14,15,15,14,16,17,16,15,17,0,0,0,0,0,0,0,0,16,15,16,15,16,16,17,18,18,18,17,17,0,0,0,0,0,0,0,0,14,14,13,13,13,12,13,13,11,11,11,13,0,0,0,0,0,0,0,0,11,11,12,12,12,12,12,11,11,11,10,9,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,8,9,9,9,9,0,0,0,0,0,0,0,0,5,6,5,6,6,7,8,7,7,7,7,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,8,9,8,8,10,11,10,9,9,10,9,8,0,0,0,0,0,0,0,0,8,9,9,7,8,9,8,8,8,9,8,8,0,0,0,0,0,0,0,0,6,6,6,5,5,5,5,4,4,4,4,4,0,0,0,0,0,0,0,0,7,8,8,8,8,8,8,7,8,8,7,7,0,0,0,0,0,0,0,0,7,7,8,8,8,8,9,9,9,9,10,11,0,0,0,0,0,0,0,0,11,11,11,10,10,10,11,10,9,10,10,9,0,0,0,0,0,0,0,0,8,10,9,9,10,11,10,10,11,11,12,11,0,0,0,0,0,0,0,0,13,12,12,11,12,11,11,12,12,11,12,12,0,0,0,0,0,0,0,0,13,13,14,13,14,13,13,13,14,14,12,13,0,0,0,0,0,0,0,0,11,12,11,11,11,11,11,10,11,11,9,10,0,0,0,0,0,0,0,0,14,15,15,15,17,16,18,19,21,21,21,22,0,0,0,0,0,0,0,0,24,24,24,24,26,25,26,24,26,27,26,27,0,0,0,0,0,0,0,0,26,25,25,26,26,24,23,24,25],[0,27,27,27,27,28,27,27,27,25,26,26,26,26,26,26,25,26,26,25,0,0,0,0,0,0,0,0,25,25,25,25,26,27,24,26,25,24,26,24,0,0,0,0,0,0,0,0,22,21,20,21,21,20,19,19,19,19,18,18,0,0,0,0,0,0,0,0,10,9,9,9,9,9,8,7,7,6,6,7,0,0,0,0,0,0,0,0,6,5,5,5,5,4,3,4,3,3,2,3,0,0,0,0,0,0,0,0,2,3,3,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,4,4,3,4,4,4,6,4,5,4,4,0,0,0,0,0,0,0,0,4,4,3,4,4,4,3,4,3,3,5,4,0,0,0,0,0,0,0,0,5,6,6,5,5,6,6,5,5,6,5,5,0,0,0,0,0,0,0,0,6,6,6,6,7,7,6,7,8,8,8,9,0,0,0,0,0,0,0,0,7,7,7,6,6,6,5,6,5,5,5,6,0,0,0,0,0,0,0,0,6,7,7,7,7,7,7,8,7,7,7,7,0,0,0,0,0,0,0,0,8,8,8,7,7,9,8,7,7,8,9,8,0,0,0,0,0,0,0,0,9,8,8,9,8,8,9,8,8,8,7,8,0,0,0,0,0,0,0,0,7,8,8,7,8,8,8,8,8,8,8,9,0,0,0,0,0,0,0,0,10,11,11,12,11,12,11,12,13,13,13,13,0,0,0,0,0,0,0,0,11,11,12,11,12,14,14,16,16,15,16,17,0,0,0,0,0,0,0,0,20,21,20,22,22,22,23,24,23,24,23,24,0,0,0,0,0,0,0,0,24,22,25,25,26,25,24,26,26,25,26,26,0,0,0,0,0,0,0,0,27,26,27,26,26,26,25,26,25,25,26,26,0,0,0,0,0,0,0,0,21,23,20,19,19,18,18,17,15,17,15,14,0,0,0,0,0,0,0,0,17,15,15,16,16,16,16,17,18,17,16,18,0,0,0,0,0,0,0,0,17,16,16,16,16,16,17,18,18,19,19,18,0,0,0,0,0,0,0,0,15,16,15,14,14,14,15,13,14,13,14,14,0,0,0,0,0,0,0,0,12,13,14,13,13,13,13,12,12,12,11,11,0,0,0,0,0,0,0,0,9,9,10,9,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,9,9,8,8,8,9,9,9,10,10,10,10,0,0,0,0,0,0,0,0,7,7,7,7,7,8,8,8,8,7,7,7,0,0,0,0,0,0,0,0,8,8,7,8,8,8,8,8,9,8,8,9,0,0,0,0,0,0,0,0,10,10,11,11,11,12,11,12,11,12,10,11,0,0,0,0,0,0,0,0,10,11,11,10,11,11,10,10,10,10,10,9,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,5,5,5,5,4,0,0,0,0,0,0,0,0,8,9,8,8,9,8,8,8,8,9,8,8,0,0,0,0,0,0,0,0,9,10,10,10,9,11,11,11,12,11,12,13,0,0,0,0,0,0,0,0,12,12,12,12,11,12,13,11,11,12,12,11,0,0,0,0,0,0,0,0,10,12,12,12,12,12,13,13,12,14,14,13,0,0,0,0,0,0,0,0,14,14,13,13,14,13,13,14,13,13,14,14,0,0,0,0,0,0,0,0,15,14,15,14,14,14,14,14,13,15,14,13,0,0,0,0,0,0,0,0,12,14,13,13,12,12,13,12,12,12,12,11,0,0,0,0,0,0,0,0,15,16,17,15,17,17,20,20,22,20,23,22,0,0,0,0,0,0,0,0,25,23,24,24,25,24,25,24,26,26,25,26,0,0,0,0,0,0,0,0,25,25,23,25,25,24,23,24,25],[0,28,28,28,28,29,28,28,28,27,27,27,27,27,26,27,27,26,27,26,0,0,0,0,0,0,0,0,26,26,26,27,26,27,27,27,26,26,27,25,0,0,0,0,0,0,0,0,24,23,22,22,22,22,21,21,20,21,19,20,0,0,0,0,0,0,0,0,11,11,11,10,11,10,9,9,9,8,8,8,0,0,0,0,0,0,0,0,8,7,7,6,6,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,1,2,3,3,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,5,5,4,4,6,5,7,5,5,5,4,0,0,0,0,0,0,0,0,5,5,5,6,6,5,5,5,5,5,5,7,0,0,0,0,0,0,0,0,6,7,6,5,6,6,4,5,6,7,5,6,0,0,0,0,0,0,0,0,7,8,8,7,8,8,7,8,9,9,8,9,0,0,0,0,0,0,0,0,8,8,7,7,8,6,6,8,7,6,7,8,0,0,0,0,0,0,0,0,8,8,9,10,9,9,9,9,7,7,8,7,0,0,0,0,0,0,0,0,9,9,8,9,8,9,9,7,8,9,10,9,0,0,0,0,0,0,0,0,10,9,10,9,9,9,9,9,9,9,8,9,0,0,0,0,0,0,0,0,9,9,10,9,9,9,10,9,10,10,10,10,0,0,0,0,0,0,0,0,11,12,12,13,12,13,12,13,14,13,14,13,0,0,0,0,0,0,0,0,12,12,13,13,13,14,14,17,17,16,18,18,0,0,0,0,0,0,0,0,22,22,21,23,24,23,24,25,24,25,25,25,0,0,0,0,0,0,0,0,26,24,26,27,27,26,26,27,27,27,27,28,0,0,0,0,0,0,0,0,28,27,28,28,28,28,27,27,28,27,28,28,0,0,0,0,0,0,0,0,24,24,23,22,21,19,19,18,17,18,16,15,0,0,0,0,0,0,0,0,17,17,17,17,17,17,18,17,19,17,16,18,0,0,0,0,0,0,0,0,18,17,17,17,17,18,17,19,18,19,20,20,0,0,0,0,0,0,0,0,16,17,16,15,14,15,16,16,14,13,14,15,0,0,0,0,0,0,0,0,13,14,14,14,13,14,13,13,13,14,12,13,0,0,0,0,0,0,0,0,9,10,11,9,10,10,11,10,10,10,10,9,0,0,0,0,0,0,0,0,11,10,10,10,10,10,10,10,10,11,11,10,0,0,0,0,0,0,0,0,8,8,8,8,8,9,9,9,9,9,10,9,0,0,0,0,0,0,0,0,9,9,10,10,10,9,10,10,9,10,10,10,0,0,0,0,0,0,0,0,11,12,11,11,12,14,13,12,12,14,12,10,0,0,0,0,0,0,0,0,11,13,13,10,12,12,12,11,12,11,11,11,0,0,0,0,0,0,0,0,10,9,9,8,9,9,9,8,8,8,8,7,0,0,0,0,0,0,0,0,10,10,10,9,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,11,10,11,12,11,12,13,13,12,12,13,14,0,0,0,0,0,0,0,0,14,14,14,14,13,13,15,14,14,14,14,13,0,0,0,0,0,0,0,0,12,13,13,13,14,14,15,14,15,16,15,14,0,0,0,0,0,0,0,0,15,15,14,15,15,15,15,16,14,14,16,16,0,0,0,0,0,0,0,0,16,15,18,16,16,16,16,16,15,17,15,15,0,0,0,0,0,0,0,0,13,15,14,14,13,14,14,13,13,13,12,12,0,0,0,0,0,0,0,0,16,16,17,16,17,18,19,20,22,20,22,22,0,0,0,0,0,0,0,0,25,25,24,25,26,25,26,25,26,26,25,27,0,0,0,0,0,0,0,0,25,25,25,26,25,25,24,25,25],[0,28,28,28,28,29,28,28,29,28,27,27,27,27,27,28,27,27,28,27,0,0,0,0,0,0,0,0,27,27,27,27,28,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,25,24,24,24,24,22,22,23,21,21,21,20,0,0,0,0,0,0,0,0,13,12,13,11,12,11,10,10,10,9,8,9,0,0,0,0,0,0,0,0,9,10,9,10,8,8,7,8,6,6,5,5,0,0,0,0,0,0,0,0,0,1,2,3,3,5,5,3,3,5,6,5,0,0,0,0,0,0,0,0,5,5,5,4,5,5,6,7,6,6,6,5,0,0,0,0,0,0,0,0,6,6,5,7,7,6,6,7,7,5,6,6,0,0,0,0,0,0,0,0,7,7,6,6,8,8,6,6,7,7,6,7,0,0,0,0,0,0,0,0,9,8,8,9,9,8,9,9,10,10,10,10,0,0,0,0,0,0,0,0,10,10,10,9,9,8,7,8,8,7,8,9,0,0,0,0,0,0,0,0,8,10,10,11,10,9,9,9,8,8,9,8,0,0,0,0,0,0,0,0,10,9,11,11,9,10,9,10,9,9,10,9,0,0,0,0,0,0,0,0,10,10,11,10,10,10,11,11,10,10,9,10,0,0,0,0,0,0,0,0,10,9,10,11,11,10,10,11,11,10,11,11,0,0,0,0,0,0,0,0,13,13,12,15,14,14,13,14,15,15,15,14,0,0,0,0,0,0,0,0,13,14,14,15,16,16,17,18,18,18,19,20,0,0,0,0,0,0,0,0,24,24,24,25,25,25,26,26,26,27,27,26,0,0,0,0,0,0,0,0,27,25,28,27,28,27,27,28,28,27,27,28,0,0,0,0,0,0,0,0,28,28,29,29,28,29,28,28,28,28,29,29,0,0,0,0,0,0,0,0,24,25,22,22,21,19,20,18,17,20,17,16,0,0,0,0,0,0,0,0,20,19,18,19,19,20,18,19,20,20,18,20,0,0,0,0,0,0,0,0,19,19,19,19,18,19,18,20,19,21,22,21,0,0,0,0,0,0,0,0,18,19,18,18,17,16,17,17,17,14,15,18,0,0,0,0,0,0,0,0,15,16,16,17,15,16,16,14,14,14,14,14,0,0,0,0,0,0,0,0,10,12,12,10,10,12,11,11,11,12,10,10,0,0,0,0,0,0,0,0,12,12,10,11,11,12,11,12,12,12,12,12,0,0,0,0,0,0,0,0,10,11,10,12,10,11,11,12,11,11,12,11,0,0,0,0,0,0,0,0,10,10,10,10,11,10,11,10,10,11,11,10,0,0,0,0,0,0,0,0,12,14,13,12,14,15,15,13,14,15,13,11,0,0,0,0,0,0,0,0,12,14,14,12,12,14,13,12,13,13,13,13,0,0,0,0,0,0,0,0,10,10,10,9,10,10,10,10,8,9,9,8,0,0,0,0,0,0,0,0,11,12,11,11,12,12,11,10,11,11,11,11,0,0,0,0,0,0,0,0,12,10,12,13,12,13,13,14,13,14,15,16,0,0,0,0,0,0,0,0,17,17,16,16,14,16,16,15,15,15,16,14,0,0,0,0,0,0,0,0,12,15,14,13,15,16,16,16,16,16,17,16,0,0,0,0,0,0,0,0,17,16,16,16,16,16,16,17,17,16,18,17,0,0,0,0,0,0,0,0,17,17,17,17,18,18,17,18,17,18,17,17,0,0,0,0,0,0,0,0,16,17,16,16,15,16,15,15,15,15,13,14,0,0,0,0,0,0,0,0,17,17,19,19,19,19,20,23,22,23,24,23,0,0,0,0,0,0,0,0,25,26,25,26,27,25,25,26,27,26,25,28,0,0,0,0,0,0,0,0,27,27,26,27,27,26,25,26,26],[0,29,28,28,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,28,28,28,28,29,29,27,29,28,28,28,28,0,0,0,0,0,0,0,0,27,25,24,25,26,25,24,26,24,24,23,23,0,0,0,0,0,0,0,0,17,18,17,17,16,17,16,15,15,13,12,13,0,0,0,0,0,0,0,0,15,13,13,13,13,11,11,9,9,8,8,7,0,0,0,0,0,0,0,0,1,0,1,3,4,5,6,5,5,7,8,7,0,0,0,0,0,0,0,0,6,7,7,6,8,9,9,11,11,12,11,8,0,0,0,0,0,0,0,0,10,8,8,11,12,9,8,9,8,7,8,10,0,0,0,0,0,0,0,0,10,11,11,11,10,10,8,9,10,10,8,10,0,0,0,0,0,0,0,0,13,12,13,13,13,13,14,14,14,13,13,15,0,0,0,0,0,0,0,0,15,14,14,14,14,15,12,13,15,12,11,13,0,0,0,0,0,0,0,0,13,12,13,15,13,15,12,12,12,12,11,11,0,0,0,0,0,0,0,0,14,12,13,14,14,13,12,12,12,12,13,13,0,0,0,0,0,0,0,0,15,15,16,15,15,15,16,16,15,14,15,15,0,0,0,0,0,0,0,0,15,13,15,15,15,16,15,16,14,16,16,16,0,0,0,0,0,0,0,0,18,19,20,20,18,20,19,18,21,20,20,19,0,0,0,0,0,0,0,0,17,19,19,20,19,19,20,21,22,22,23,23,0,0,0,0,0,0,0,0,26,26,25,27,27,26,28,28,27,28,28,27,0,0,0,0,0,0,0,0,27,28,28,29,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,26,27,22,25,24,22,24,21,20,21,21,21,0,0,0,0,0,0,0,0,24,23,24,23,24,24,24,24,25,25,25,25,0,0,0,0,0,0,0,0,24,23,24,24,24,23,25,26,26,26,26,26,0,0,0,0,0,0,0,0,23,24,24,23,22,22,24,23,23,22,22,22,0,0,0,0,0,0,0,0,21,20,22,22,20,22,20,19,19,20,18,18,0,0,0,0,0,0,0,0,14,17,17,15,16,17,17,16,17,16,17,16,0,0,0,0,0,0,0,0,17,16,15,16,17,17,16,17,16,17,17,17,0,0,0,0,0,0,0,0,14,16,15,15,16,16,16,16,17,15,16,16,0,0,0,0,0,0,0,0,17,16,16,16,16,15,17,17,15,16,17,16,0,0,0,0,0,0,0,0,19,19,19,19,20,21,20,20,21,20,19,20,0,0,0,0,0,0,0,0,20,19,19,19,20,18,19,19,20,17,20,18,0,0,0,0,0,0,0,0,16,15,15,14,14,14,14,13,11,13,13,11,0,0,0,0,0,0,0,0,15,15,15,15,16,15,14,14,15,15,17,16,0,0,0,0,0,0,0,0,19,17,18,19,19,21,19,20,22,21,21,21,0,0,0,0,0,0,0,0,21,21,21,22,20,21,20,19,21,21,20,20,0,0,0,0,0,0,0,0,20,20,19,22,21,21,21,22,20,22,22,21,0,0,0,0,0,0,0,0,22,22,21,22,21,20,21,21,22,21,23,21,0,0,0,0,0,0,0,0,23,22,22,21,22,21,22,22,22,23,22,23,0,0,0,0,0,0,0,0,22,21,22,22,20,22,23,20,21,21,21,20,0,0,0,0,0,0,0,0,21,22,22,21,23,24,24,25,26,25,26,27,0,0,0,0,0,0,0,0,28,27,27,28,28,28,29,28,28,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,29,28,26,27,28],[0,28,29,29,29,29,29,29,29,28,28,28,28,28,27,27,28,28,28,28,0,0,0,0,0,0,0,0,27,27,27,27,28,28,27,28,28,27,28,27,0,0,0,0,0,0,0,0,26,24,24,25,25,24,23,25,22,23,22,22,0,0,0,0,0,0,0,0,16,17,16,16,15,15,14,14,13,11,11,13,0,0,0,0,0,0,0,0,13,13,11,12,11,12,12,11,10,8,8,8,0,0,0,0,0,0,0,0,3,1,0,1,3,5,6,3,5,6,8,9,0,0,0,0,0,0,0,0,9,10,9,9,10,10,9,11,10,12,10,10,0,0,0,0,0,0,0,0,11,10,9,12,12,8,8,8,8,6,7,10,0,0,0,0,0,0,0,0,10,10,9,11,10,10,10,11,12,11,11,13,0,0,0,0,0,0,0,0,14,12,13,15,14,12,13,13,12,14,14,14,0,0,0,0,0,0,0,0,14,14,12,13,13,13,12,14,14,12,13,14,0,0,0,0,0,0,0,0,12,14,14,14,12,12,12,11,11,10,12,11,0,0,0,0,0,0,0,0,14,13,15,15,14,12,13,12,13,12,12,14,0,0,0,0,0,0,0,0,15,16,16,15,16,15,16,16,15,14,15,16,0,0,0,0,0,0,0,0,15,15,15,14,15,16,15,14,15,17,15,15,0,0,0,0,0,0,0,0,16,17,18,19,17,17,18,17,20,18,19,19,0,0,0,0,0,0,0,0,17,17,18,18,19,19,20,20,21,20,22,22,0,0,0,0,0,0,0,0,24,26,24,26,26,26,26,26,26,27,27,26,0,0,0,0,0,0,0,0,27,25,27,29,28,27,28,28,29,28,28,29,0,0,0,0,0,0,0,0,28,28,29,28,28,28,28,28,28,28,29,28,0,0,0,0,0,0,0,0,25,25,22,23,22,20,22,21,20,21,19,19,0,0,0,0,0,0,0,0,22,21,22,22,23,23,23,23,23,24,23,23,0,0,0,0,0,0,0,0,23,23,23,23,23,22,23,24,24,25,25,24,0,0,0,0,0,0,0,0,22,23,20,21,21,20,22,21,21,21,20,20,0,0,0,0,0,0,0,0,20,20,20,20,20,19,20,19,18,17,17,16,0,0,0,0,0,0,0,0,17,17,16,17,18,16,16,16,17,16,16,18,0,0,0,0,0,0,0,0,16,16,15,16,16,16,15,16,15,15,15,15,0,0,0,0,0,0,0,0,14,15,14,13,14,15,15,15,16,14,15,16,0,0,0,0,0,0,0,0,15,15,16,15,15,16,16,15,15,16,16,16,0,0,0,0,0,0,0,0,18,18,18,18,18,20,19,20,19,18,17,19,0,0,0,0,0,0,0,0,18,18,17,18,18,18,17,18,18,17,18,16,0,0,0,0,0,0,0,0,15,14,15,13,12,14,14,11,11,11,10,12,0,0,0,0,0,0,0,0,15,14,14,16,15,14,14,14,14,15,15,16,0,0,0,0,0,0,0,0,18,17,17,18,18,19,18,18,20,19,19,20,0,0,0,0,0,0,0,0,20,20,19,21,18,20,19,17,20,19,19,18,0,0,0,0,0,0,0,0,18,18,18,19,19,19,20,20,19,21,20,19,0,0,0,0,0,0,0,0,20,21,19,20,20,20,20,20,20,19,21,20,0,0,0,0,0,0,0,0,21,21,22,21,21,20,20,21,20,22,21,21,0,0,0,0,0,0,0,0,19,21,21,19,19,20,21,18,19,20,20,18,0,0,0,0,0,0,0,0,21,21,22,22,22,22,24,25,25,24,26,26,0,0,0,0,0,0,0,0,28,27,27,27,28,28,28,27,28,28,28,29,0,0,0,0,0,0,0,0,28,28,27,28,28,27,25,26,28],[0,29,28,29,29,29,29,28,29,28,27,28,27,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,27,27,27,28,27,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,25,22,23,23,23,21,20,22,20,19,20,18,0,0,0,0,0,0,0,0,9,9,9,8,8,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,7,7,6,7,6,5,5,5,4,4,4,4,0,0,0,0,0,0,0,0,3,2,1,0,1,1,2,3,3,3,5,5,0,0,0,0,0,0,0,0,4,5,6,6,6,7,8,8,7,7,7,7,0,0,0,0,0,0,0,0,4,4,4,4,4,3,3,3,3,3,3,5,0,0,0,0,0,0,0,0,4,5,4,4,4,6,4,4,6,7,6,7,0,0,0,0,0,0,0,0,7,7,8,9,8,8,9,9,10,9,9,9,0,0,0,0,0,0,0,0,9,8,8,8,7,7,7,7,6,7,6,6,0,0,0,0,0,0,0,0,6,6,6,7,6,7,7,8,6,7,7,7,0,0,0,0,0,0,0,0,7,7,9,8,7,8,8,8,9,8,9,8,0,0,0,0,0,0,0,0,8,8,9,9,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,7,7,8,7,8,7,7,8,8,8,8,8,0,0,0,0,0,0,0,0,10,11,10,12,12,12,13,13,14,12,12,12,0,0,0,0,0,0,0,0,11,11,11,12,12,13,14,14,15,15,17,18,0,0,0,0,0,0,0,0,22,24,22,24,25,24,25,26,26,26,25,26,0,0,0,0,0,0,0,0,26,26,27,28,28,27,26,27,28,28,28,28,0,0,0,0,0,0,0,0,28,27,28,28,27,28,27,28,28,27,28,29,0,0,0,0,0,0,0,0,23,23,20,20,20,17,19,16,16,17,14,15,0,0,0,0,0,0,0,0,17,16,15,18,17,18,17,18,19,19,18,20,0,0,0,0,0,0,0,0,19,17,17,18,18,18,19,19,20,20,20,19,0,0,0,0,0,0,0,0,17,17,16,15,14,14,14,15,15,12,13,15,0,0,0,0,0,0,0,0,13,14,15,16,15,15,15,14,14,14,12,12,0,0,0,0,0,0,0,0,9,10,10,9,9,10,10,9,9,10,10,8,0,0,0,0,0,0,0,0,10,9,8,9,9,10,9,10,10,11,11,10,0,0,0,0,0,0,0,0,8,9,9,10,9,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,8,7,9,8,8,8,9,7,7,8,8,7,0,0,0,0,0,0,0,0,10,11,10,10,11,13,13,11,11,13,12,10,0,0,0,0,0,0,0,0,10,12,12,10,10,12,11,10,11,11,10,10,0,0,0,0,0,0,0,0,8,7,7,6,6,7,6,6,6,5,6,5,0,0,0,0,0,0,0,0,9,9,9,9,10,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,9,8,9,11,9,10,12,11,10,12,13,12,0,0,0,0,0,0,0,0,13,14,14,14,13,13,14,12,12,13,13,12,0,0,0,0,0,0,0,0,10,12,11,11,12,13,13,13,14,15,15,14,0,0,0,0,0,0,0,0,16,15,14,15,14,14,14,15,15,13,15,15,0,0,0,0,0,0,0,0,14,15,16,15,15,15,15,16,16,16,16,16,0,0,0,0,0,0,0,0,14,16,15,15,14,15,14,14,14,13,12,13,0,0,0,0,0,0,0,0,17,18,18,18,19,19,21,22,23,23,24,24,0,0,0,0,0,0,0,0,26,26,26,27,27,26,27,26,27,27,27,28,0,0,0,0,0,0,0,0,27,27,26,27,27,26,24,26,27],[0,29,29,28,28,29,28,28,28,27,27,26,27,27,27,27,27,27,28,27,0,0,0,0,0,0,0,0,27,27,27,27,28,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,24,22,22,22,22,21,20,22,19,19,19,17,0,0,0,0,0,0,0,0,8,7,7,6,6,6,5,5,5,4,5,5,0,0,0,0,0,0,0,0,5,5,4,5,4,4,3,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,1,1,0,1,2,1,1,2,2,3,0,0,0,0,0,0,0,0,3,3,4,4,4,4,5,6,5,5,5,5,0,0,0,0,0,0,0,0,3,3,2,3,3,3,2,3,2,2,3,3,0,0,0,0,0,0,0,0,3,3,2,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,6,5,5,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,7,6,6,6,6,5,5,5,4,5,4,5,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,5,4,4,4,4,0,0,0,0,0,0,0,0,4,5,5,5,5,5,6,5,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,7,7,6,6,6,0,0,0,0,0,0,0,0,4,5,5,4,5,5,5,5,5,6,5,5,0,0,0,0,0,0,0,0,7,8,8,9,9,8,9,10,10,10,9,10,0,0,0,0,0,0,0,0,8,8,10,10,10,10,12,13,13,14,16,16,0,0,0,0,0,0,0,0,20,21,22,24,24,24,26,25,26,26,26,24,0,0,0,0,0,0,0,0,26,25,27,27,28,26,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,23,22,19,20,18,17,17,15,15,15,13,13,0,0,0,0,0,0,0,0,12,13,13,14,14,15,14,16,17,16,15,17,0,0,0,0,0,0,0,0,16,15,15,15,15,16,15,18,17,17,18,17,0,0,0,0,0,0,0,0,14,14,13,14,12,11,12,11,11,9,10,12,0,0,0,0,0,0,0,0,11,11,12,12,12,12,12,11,10,10,10,9,0,0,0,0,0,0,0,0,6,7,7,6,6,7,7,7,6,7,7,6,0,0,0,0,0,0,0,0,8,7,7,7,7,8,8,8,9,9,9,9,0,0,0,0,0,0,0,0,6,6,7,7,6,7,7,8,8,8,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,8,7,8,8,9,7,7,9,9,7,0,0,0,0,0,0,0,0,8,8,9,8,8,8,8,8,8,9,9,9,0,0,0,0,0,0,0,0,6,5,5,5,5,5,5,4,4,4,4,4,0,0,0,0,0,0,0,0,7,8,7,8,8,7,8,7,7,7,7,7,0,0,0,0,0,0,0,0,7,7,7,8,7,7,8,8,7,8,9,8,0,0,0,0,0,0,0,0,10,10,11,10,10,9,10,10,8,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,9,10,9,9,10,10,10,10,0,0,0,0,0,0,0,0,11,11,11,11,12,11,10,11,12,10,11,12,0,0,0,0,0,0,0,0,12,13,12,12,12,11,12,13,13,14,12,12,0,0,0,0,0,0,0,0,11,12,11,10,11,10,10,10,10,9,9,10,0,0,0,0,0,0,0,0,15,16,17,15,17,16,18,21,21,22,21,23,0,0,0,0,0,0,0,0,25,25,25,26,26,25,26,25,27,27,26,28,0,0,0,0,0,0,0,0,27,26,25,27,27,26,24,26,26],[0,28,28,28,28,28,28,28,28,26,27,27,27,26,27,26,26,27,27,27,0,0,0,0,0,0,0,0,27,26,26,27,27,28,26,27,26,27,27,26,0,0,0,0,0,0,0,0,24,23,23,23,23,22,20,21,19,20,18,19,0,0,0,0,0,0,0,0,6,5,5,4,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,2,2,2,1,1,0,1,1,1,1,1,2,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,4,4,4,3,3,0,0,0,0,0,0,0,0,3,2,2,2,2,2,1,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,1,1,2,2,1,2,2,2,2,3,0,0,0,0,0,0,0,0,3,4,4,4,4,4,5,5,5,6,5,6,0,0,0,0,0,0,0,0,5,4,4,4,4,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,4,4,4,4,4,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,4,5,4,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,3,4,4,3,4,4,4,3,4,4,4,4,0,0,0,0,0,0,0,0,5,6,6,6,7,7,6,7,7,7,7,7,0,0,0,0,0,0,0,0,6,7,7,8,9,9,10,13,14,13,15,16,0,0,0,0,0,0,0,0,21,22,22,25,26,22,25,26,26,26,27,24,0,0,0,0,0,0,0,0,26,25,26,27,27,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,28,27,28,28,28,28,27,27,28,27,27,28,0,0,0,0,0,0,0,0,23,22,21,20,18,17,17,16,15,14,12,11,0,0,0,0,0,0,0,0,9,10,10,10,11,12,12,12,13,12,13,14,0,0,0,0,0,0,0,0,15,14,13,13,12,13,13,14,14,15,15,15,0,0,0,0,0,0,0,0,11,10,10,10,9,9,8,8,7,7,7,8,0,0,0,0,0,0,0,0,8,9,10,10,9,10,10,9,8,8,7,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,5,5,5,5,0,0,0,0,0,0,0,0,6,5,5,5,5,7,7,7,8,8,8,7,0,0,0,0,0,0,0,0,4,4,5,4,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,6,6,5,5,6,6,6,6,6,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,8,8,8,7,7,8,7,8,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,7,6,7,7,7,7,7,0,0,0,0,0,0,0,0,9,9,9,9,9,8,8,9,9,8,8,9,0,0,0,0,0,0,0,0,9,9,9,9,10,10,10,9,11,10,9,10,0,0,0,0,0,0,0,0,9,9,8,7,8,8,7,7,8,7,7,7,0,0,0,0,0,0,0,0,13,14,14,14,14,16,16,18,22,20,23,23,0,0,0,0,0,0,0,0,26,22,25,24,27,25,26,25,27,26,26,27,0,0,0,0,0,0,0,0,26,27,23,26,26,24,25,25,23],[0,28,28,29,28,29,28,29,29,27,27,27,27,26,27,27,28,27,27,28,0,0,0,0,0,0,0,0,28,28,26,28,28,28,26,28,27,28,28,27,0,0,0,0,0,0,0,0,25,23,23,22,23,21,22,22,21,22,19,19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,5,6,6,6,5,6,6,6,0,0,0,0,0,0,0,0,7,8,7,7,8,8,8,8,8,8,8,7,0,0,0,0,0,0,0,0,7,8,8,7,7,8,8,7,8,8,8,8,0,0,0,0,0,0,0,0,6,5,5,4,4,4,4,4,3,4,4,3,0,0,0,0,0,0,0,0,7,7,6,7,7,7,7,6,7,7,7,7,0,0,0,0,0,0,0,0,7,7,7,8,7,7,8,8,8,8,8,8,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,8,9,8,9,0,0,0,0,0,0,0,0,7,8,8,8,9,9,9,9,9,9,10,9,0,0,0,0,0,0,0,0,10,10,10,11,10,9,10,10,10,10,9,10,0,0,0,0,0,0,0,0,10,10,11,10,11,11,11,11,12,12,12,11,0,0,0,0,0,0,0,0,10,10,10,8,10,9,9,9,8,9,8,8,0,0,0,0,0,0,0,0,14,14,14,14,15,16,17,19,20,19,22,23,0,0,0,0,0,0,0,0,25,24,24,24,25,23,25,24,26,25,25,26,0,0,0,0,0,0,0,0,26,26,24,25,25,25,24,25,25],[0,28,27,27,27,28,27,27,28,26,25,25,25,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,26,26,27,26,26,27,26,26,26,26,27,25,0,0,0,0,0,0,0,0,24,21,21,22,21,20,20,21,17,19,19,17,0,0,0,0,0,0,0,0,8,7,7,6,6,6,6,5,4,4,4,5,0,0,0,0,0,0,0,0,5,4,3,4,4,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,3,2,1,1,1,0,1,1,2,2,0,0,0,0,0,0,0,0,3,4,4,4,4,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,3,3,2,3,3,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,3,3,3,2,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,6,6,5,6,6,6,7,6,7,0,0,0,0,0,0,0,0,6,5,5,5,5,4,5,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,5,4,5,4,5,4,4,4,4,4,0,0,0,0,0,0,0,0,6,6,6,5,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,6,6,6,6,6,0,0,0,0,0,0,0,0,4,5,6,5,5,6,6,5,6,6,6,6,0,0,0,0,0,0,0,0,8,8,8,9,9,9,9,9,10,9,9,9,0,0,0,0,0,0,0,0,8,8,8,9,9,11,12,12,14,13,15,17,0,0,0,0,0,0,0,0,18,22,20,21,23,23,24,24,25,23,25,24,0,0,0,0,0,0,0,0,25,24,26,26,27,25,26,27,27,26,27,27,0,0,0,0,0,0,0,0,27,26,27,26,27,27,26,26,26,26,27,27,0,0,0,0,0,0,0,0,20,21,18,18,17,16,16,14,13,14,12,11,0,0,0,0,0,0,0,0,12,12,12,13,13,14,12,14,15,14,14,16,0,0,0,0,0,0,0,0,15,13,13,14,13,14,15,16,16,16,16,16,0,0,0,0,0,0,0,0,13,13,11,11,11,10,11,10,11,10,10,11,0,0,0,0,0,0,0,0,10,11,11,11,11,12,11,10,9,9,9,8,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,6,6,7,7,8,7,8,8,9,9,8,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,8,8,8,8,9,9,8,9,9,8,8,0,0,0,0,0,0,0,0,8,9,8,7,8,9,8,7,8,8,7,7,0,0,0,0,0,0,0,0,5,5,5,4,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,7,7,6,6,7,7,7,6,6,7,6,6,0,0,0,0,0,0,0,0,7,6,7,8,7,8,8,8,9,9,9,10,0,0,0,0,0,0,0,0,11,11,11,10,10,10,11,9,9,10,10,8,0,0,0,0,0,0,0,0,7,8,8,8,9,9,10,10,10,10,11,10,0,0,0,0,0,0,0,0,12,11,10,11,11,10,10,11,10,9,10,11,0,0,0,0,0,0,0,0,11,12,12,11,11,11,11,12,12,13,12,12,0,0,0,0,0,0,0,0,11,11,11,10,11,10,10,10,10,10,9,9,0,0,0,0,0,0,0,0,14,15,16,14,16,16,20,20,21,20,22,22,0,0,0,0,0,0,0,0,24,23,23,24,25,24,24,23,25,25,24,26,0,0,0,0,0,0,0,0,25,25,23,25,25,24,22,24,23],[0,28,28,28,28,29,28,28,28,27,27,27,27,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,28,27,27,27,26,0,0,0,0,0,0,0,0,24,23,23,22,23,21,20,21,19,20,18,18,0,0,0,0,0,0,0,0,8,7,7,6,6,6,6,5,5,5,4,5,0,0,0,0,0,0,0,0,5,5,4,4,4,4,3,4,3,3,3,3,0,0,0,0,0,0,0,0,2,3,3,2,2,1,1,1,0,1,1,2,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,6,5,5,4,4,0,0,0,0,0,0,0,0,3,3,2,2,3,3,3,3,3,2,3,3,0,0,0,0,0,0,0,0,3,3,2,2,3,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,6,6,5,6,7,7,7,7,6,7,0,0,0,0,0,0,0,0,6,6,6,5,6,5,5,5,5,4,4,4,0,0,0,0,0,0,0,0,5,4,4,5,5,5,5,5,4,4,4,3,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,7,6,6,6,6,7,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,5,6,6,6,0,0,0,0,0,0,0,0,7,7,7,8,8,7,8,8,8,8,9,9,0,0,0,0,0,0,0,0,9,8,9,9,10,10,12,13,14,14,15,17,0,0,0,0,0,0,0,0,21,22,21,23,24,24,25,26,25,26,26,25,0,0,0,0,0,0,0,0,26,25,26,27,27,26,26,28,27,27,27,27,0,0,0,0,0,0,0,0,28,27,28,28,28,28,28,27,28,27,28,28,0,0,0,0,0,0,0,0,22,23,20,20,19,17,17,14,14,14,12,12,0,0,0,0,0,0,0,0,12,11,11,12,12,13,12,13,14,14,14,15,0,0,0,0,0,0,0,0,15,14,13,14,13,14,14,15,15,15,15,15,0,0,0,0,0,0,0,0,12,12,11,11,10,10,10,9,9,8,9,10,0,0,0,0,0,0,0,0,9,10,10,11,10,11,11,9,9,9,8,8,0,0,0,0,0,0,0,0,6,6,6,6,7,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,8,8,9,9,8,0,0,0,0,0,0,0,0,6,6,6,7,6,6,7,7,7,7,6,6,0,0,0,0,0,0,0,0,7,6,5,6,6,5,6,6,6,5,6,6,0,0,0,0,0,0,0,0,7,7,8,7,7,8,7,7,8,8,7,7,0,0,0,0,0,0,0,0,8,8,8,7,8,8,7,8,8,8,8,7,0,0,0,0,0,0,0,0,6,6,5,5,4,5,5,4,3,4,4,3,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,7,6,7,7,7,7,7,7,8,8,8,9,0,0,0,0,0,0,0,0,10,10,10,9,9,9,9,9,8,9,9,8,0,0,0,0,0,0,0,0,7,8,8,8,8,8,8,9,9,9,10,9,0,0,0,0,0,0,0,0,12,11,11,11,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,10,11,11,11,11,11,11,12,12,13,11,11,0,0,0,0,0,0,0,0,10,10,9,9,9,9,9,9,9,8,8,8,0,0,0,0,0,0,0,0,13,14,15,14,15,16,18,20,22,20,22,22,0,0,0,0,0,0,0,0,24,23,25,25,26,25,25,25,26,26,25,27,0,0,0,0,0,0,0,0,25,26,24,26,26,24,24,25,24],[0,28,27,27,28,28,28,27,28,27,26,26,26,27,26,26,25,27,26,26,0,0,0,0,0,0,0,0,26,26,26,26,26,27,26,27,26,26,27,25,0,0,0,0,0,0,0,0,23,22,22,23,22,21,20,20,19,20,18,18,0,0,0,0,0,0,0,0,8,7,8,7,7,7,6,7,6,5,5,6,0,0,0,0,0,0,0,0,6,5,5,6,5,5,4,5,4,4,4,4,0,0,0,0,0,0,0,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9,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,5,5,5,6,4,0,0,0,0,0,0,0,0,8,8,7,8,8,8,8,9,8,8,7,7,0,0,0,0,0,0,0,0,7,7,8,9,8,8,9,8,8,9,9,9,0,0,0,0,0,0,0,0,11,11,10,10,10,10,10,10,9,10,10,10,0,0,0,0,0,0,0,0,8,9,9,9,9,10,9,10,10,10,10,10,0,0,0,0,0,0,0,0,11,12,12,12,12,11,11,11,11,10,11,11,0,0,0,0,0,0,0,0,12,12,12,11,12,11,12,13,12,14,12,12,0,0,0,0,0,0,0,0,11,11,10,10,10,10,9,9,9,9,8,9,0,0,0,0,0,0,0,0,14,14,16,14,15,16,19,20,23,20,23,22,0,0,0,0,0,0,0,0,25,24,26,26,26,26,26,25,26,27,26,26,0,0,0,0,0,0,0,0,26,26,25,26,26,25,23,25,24],[0,29,29,29,29,30,29,29,29,29,28,28,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,29,29,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,26,24,24,24,25,24,22,23,21,21,19,19,0,0,0,0,0,0,0,0,8,7,7,6,6,6,5,5,5,4,4,5,0,0,0,0,0,0,0,0,5,5,5,5,5,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,3,4,3,3,3,2,2,2,1,1,0,1,0,0,0,0,0,0,0,0,2,2,2,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,2,2,3,2,2,2,3,2,2,3,0,0,0,0,0,0,0,0,4,4,5,5,5,5,6,6,6,7,6,7,0,0,0,0,0,0,0,0,6,6,5,5,5,5,4,5,5,4,4,5,0,0,0,0,0,0,0,0,4,3,4,4,4,5,5,4,3,3,4,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,4,5,6,6,5,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,5,5,6,5,5,5,6,5,5,6,5,6,0,0,0,0,0,0,0,0,8,8,7,8,9,9,8,9,9,9,10,9,0,0,0,0,0,0,0,0,9,9,10,10,11,10,11,13,13,14,17,17,0,0,0,0,0,0,0,0,22,23,23,26,26,25,26,28,27,27,28,25,0,0,0,0,0,0,0,0,26,26,28,28,29,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,29,28,28,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,24,24,20,21,20,18,19,17,15,16,13,12,0,0,0,0,0,0,0,0,11,11,11,11,11,12,11,12,13,13,12,13,0,0,0,0,0,0,0,0,15,13,13,12,13,13,14,13,14,15,15,15,0,0,0,0,0,0,0,0,11,10,10,11,11,9,10,10,9,9,9,9,0,0,0,0,0,0,0,0,9,9,10,10,10,10,10,9,9,9,8,8,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,7,6,6,6,0,0,0,0,0,0,0,0,7,6,6,6,7,7,7,8,8,9,9,8,0,0,0,0,0,0,0,0,6,6,6,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,5,6,6,6,0,0,0,0,0,0,0,0,6,7,7,7,7,8,7,7,8,7,7,7,0,0,0,0,0,0,0,0,7,7,8,7,8,7,7,7,7,8,8,8,0,0,0,0,0,0,0,0,6,6,6,5,5,5,5,5,4,5,5,4,0,0,0,0,0,0,0,0,8,8,7,7,8,8,8,7,7,8,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,8,8,8,8,0,0,0,0,0,0,0,0,9,9,9,9,9,8,9,9,8,8,8,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,9,8,9,9,9,9,0,0,0,0,0,0,0,0,10,11,10,10,10,10,10,10,9,9,10,10,0,0,0,0,0,0,0,0,10,10,11,10,10,10,11,11,12,12,11,11,0,0,0,0,0,0,0,0,9,9,9,8,9,8,9,8,8,9,8,8,0,0,0,0,0,0,0,0,13,14,14,14,15,16,17,19,21,20,24,25,0,0,0,0,0,0,0,0,26,25,27,27,28,26,27,27,27,27,27,29,0,0,0,0,0,0,0,0,27,28,27,28,27,26,26,28,27],[0,29,27,28,27,28,28,28,28,27,26,27,26,26,26,26,26,26,27,26,0,0,0,0,0,0,0,0,26,25,26,27,26,27,26,27,25,26,26,25,0,0,0,0,0,0,0,0,23,22,22,21,21,22,19,20,19,19,18,18,0,0,0,0,0,0,0,0,7,7,6,6,5,5,5,5,4,4,4,5,0,0,0,0,0,0,0,0,5,5,4,4,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,1,1,0,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,4,4,4,4,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,3,3,2,3,2,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,5,5,5,5,6,6,6,6,7,0,0,0,0,0,0,0,0,6,5,5,5,5,5,4,5,4,4,3,4,0,0,0,0,0,0,0,0,4,3,4,4,4,4,4,4,4,3,4,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,4,5,6,6,5,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,5,5,4,4,5,5,4,5,5,5,5,0,0,0,0,0,0,0,0,6,6,7,7,7,8,7,8,8,8,8,8,0,0,0,0,0,0,0,0,7,8,8,9,9,10,11,13,14,14,16,17,0,0,0,0,0,0,0,0,21,21,20,22,23,23,23,24,23,25,25,23,0,0,0,0,0,0,0,0,24,23,25,26,26,25,26,27,27,26,27,26,0,0,0,0,0,0,0,0,27,27,27,27,26,27,26,27,27,27,27,28,0,0,0,0,0,0,0,0,23,23,20,19,18,16,17,14,14,14,12,11,0,0,0,0,0,0,0,0,10,10,11,11,11,12,12,12,13,12,13,14,0,0,0,0,0,0,0,0,14,12,12,12,11,12,12,14,14,15,15,15,0,0,0,0,0,0,0,0,11,11,9,9,9,9,9,9,8,8,9,9,0,0,0,0,0,0,0,0,8,9,10,9,10,10,9,9,9,9,7,8,0,0,0,0,0,0,0,0,6,6,6,6,6,7,6,6,7,6,6,7,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,8,8,9,9,8,0,0,0,0,0,0,0,0,6,6,6,6,7,7,7,7,7,7,6,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,5,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,8,8,7,7,8,7,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,9,8,8,0,0,0,0,0,0,0,0,6,6,5,5,5,5,4,5,4,4,5,4,0,0,0,0,0,0,0,0,8,7,7,7,8,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,7,6,7,7,7,7,8,7,7,8,8,8,0,0,0,0,0,0,0,0,9,10,9,10,9,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,7,8,8,8,8,9,8,9,9,9,9,9,0,0,0,0,0,0,0,0,10,11,11,10,10,10,10,10,9,9,10,10,0,0,0,0,0,0,0,0,9,10,11,10,10,10,11,10,11,12,10,11,0,0,0,0,0,0,0,0,9,9,9,9,9,9,8,8,8,8,8,7,0,0,0,0,0,0,0,0,12,13,14,13,13,14,16,17,19,18,22,22,0,0,0,0,0,0,0,0,24,23,23,26,25,24,25,24,25,25,25,26,0,0,0,0,0,0,0,0,25,25,25,25,26,25,24,25,26],[0,28,27,28,27,28,27,26,29,26,25,26,25,26,25,26,25,26,26,25,0,0,0,0,0,0,0,0,26,26,26,26,26,27,26,26,26,26,27,26,0,0,0,0,0,0,0,0,24,22,22,20,21,20,19,20,18,18,18,17,0,0,0,0,0,0,0,0,6,5,5,5,5,4,4,4,4,3,3,4,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,2,2,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2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0,0,0,0,0,0,0,21,22,20,23,25,23,24,26,25,26,26,24,0,0,0,0,0,0,0,0,26,26,25,27,27,26,27,28,27,27,28,27,0,0,0,0,0,0,0,0,28,28,28,29,28,28,28,28,28,28,27,29,0,0,0,0,0,0,0,0,24,22,22,21,19,17,17,16,14,13,11,10,0,0,0,0,0,0,0,0,8,8,8,8,8,9,9,10,11,10,10,11,0,0,0,0,0,0,0,0,12,11,11,10,9,10,11,11,12,13,13,12,0,0,0,0,0,0,0,0,9,8,8,8,7,7,7,6,6,5,6,6,0,0,0,0,0,0,0,0,6,7,7,7,7,8,8,7,6,6,5,5,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,4,4,4,5,5,5,6,6,7,7,6,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,5,4,5,0,0,0,0,0,0,0,0,3,3,4,4,3,4,4,3,3,4,4,3,0,0,0,0,0,0,0,0,4,5,4,4,5,5,5,4,5,5,5,4,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,6,5,6,0,0,0,0,0,0,0,0,4,4,4,3,3,3,3,3,2,3,3,3,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,5,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,6,6,7,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,8,8,8,7,8,8,7,8,7,6,7,8,0,0,0,0,0,0,0,0,7,8,8,7,8,8,9,8,9,9,8,8,0,0,0,0,0,0,0,0,7,7,6,6,6,6,6,6,6,5,5,5,0,0,0,0,0,0,0,0,11,12,12,12,13,14,14,17,19,19,21,22,0,0,0,0,0,0,0,0,24,22,25,24,27,25,26,25,27,26,26,27,0,0,0,0,0,0,0,0,25,26,25,26,26,24,24,25,25],[0,29,29,29,29,29,29,28,28,28,27,27,27,27,28,27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6,7,7,7,7,7,0,0,0,0,0,0,0,0,8,9,9,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,8,8,8,8,9,8,9,8,9,9,8,8,0,0,0,0,0,0,0,0,7,7,7,6,7,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,10,11,12,10,11,12,14,15,17,16,20,19,0,0,0,0,0,0,0,0,22,20,23,22,24,23,24,22,24,24,23,25,0,0,0,0,0,0,0,0,24,23,23,23,24,22,22,24,24],[0,28,28,29,28,29,28,27,28,27,26,27,26,26,26,26,26,26,27,26,0,0,0,0,0,0,0,0,26,26,25,27,27,28,26,27,26,27,27,27,0,0,0,0,0,0,0,0,24,23,22,22,23,22,19,21,19,18,17,18,0,0,0,0,0,0,0,0,6,5,5,4,4,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,2,2,1,2,2,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,1,1,2,2,1,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,3,3,3,3,4,3,3,3,3,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,3,3,4,4,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,4,3,4,0,0,0,0,0,0,0,0,5,5,5,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,7,7,8,9,11,12,12,13,14,0,0,0,0,0,0,0,0,20,21,19,23,25,23,24,26,25,25,26,24,0,0,0,0,0,0,0,0,26,26,26,27,28,26,26,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,29,28,29,28,27,28,28,28,29,0,0,0,0,0,0,0,0,24,22,21,20,19,18,17,14,13,13,11,10,0,0,0,0,0,0,0,0,8,8,8,8,9,10,9,10,12,10,10,12,0,0,0,0,0,0,0,0,12,11,11,10,10,11,11,12,12,13,13,12,0,0,0,0,0,0,0,0,9,9,8,8,7,7,7,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,8,8,8,8,7,7,6,6,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,4,4,4,5,5,5,6,6,7,7,6,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,3,4,4,3,3,4,4,0,0,0,0,0,0,0,0,4,5,4,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,5,6,6,5,5,5,5,5,5,6,5,6,0,0,0,0,0,0,0,0,4,4,4,4,4,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,6,6,5,6,6,6,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,5,5,4,5,5,5,5,6,6,0,0,0,0,0,0,0,0,6,7,7,6,7,6,6,7,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,6,6,7,7,6,0,0,0,0,0,0,0,0,8,8,8,8,9,8,7,8,7,7,7,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,9,8,9,9,8,8,0,0,0,0,0,0,0,0,6,7,6,6,6,6,5,6,6,6,5,5,0,0,0,0,0,0,0,0,10,11,12,11,12,13,15,17,18,18,21,22,0,0,0,0,0,0,0,0,24,22,25,24,26,25,25,24,26,26,24,27,0,0,0,0,0,0,0,0,25,26,25,26,25,23,23,25,24],[0,29,29,29,29,29,29,28,29,28,28,27,27,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,28,26,26,28,28,28,27,28,27,28,28,27,0,0,0,0,0,0,0,0,25,24,22,23,23,22,21,21,20,19,19,18,0,0,0,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,0,0,0,0,0,0,6,6,6,6,6,5,6,5,5,6,5,5,0,0,0,0,0,0,0,0,10,11,11,10,12,13,14,15,16,17,20,20,0,0,0,0,0,0,0,0,23,21,23,24,24,22,26,23,25,25,25,25,0,0,0,0,0,0,0,0,24,24,24,24,25,24,23,24,23],[0,28,28,28,27,28,27,27,28,26,25,25,25,26,25,26,25,25,26,25,0,0,0,0,0,0,0,0,25,25,25,25,25,26,26,26,26,26,26,25,0,0,0,0,0,0,0,0,22,21,20,20,20,20,18,19,18,17,17,16,0,0,0,0,0,0,0,0,6,6,5,5,5,4,4,4,4,3,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,1,2,0,0,0,0,0,0,0,0,2,3,2,2,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,3,3,4,4,4,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,4,4,3,4,3,0,0,0,0,0,0,0,0,3,3,4,3,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,6,6,7,7,8,9,10,12,12,12,13,14,0,0,0,0,0,0,0,0,18,18,18,19,20,20,21,23,22,21,24,22,0,0,0,0,0,0,0,0,23,23,25,25,26,25,25,25,25,25,26,26,0,0,0,0,0,0,0,0,27,26,26,27,27,27,27,26,26,26,27,27,0,0,0,0,0,0,0,0,23,22,20,19,18,16,16,14,13,13,11,10,0,0,0,0,0,0,0,0,8,8,8,8,9,9,10,10,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22,25,24,25,25,25,23,26,25,25,25,0,0,0,0,0,0,0,0,26,26,25,25,26,24,24,25,25],[0,28,27,28,28,28,28,27,27,26,26,25,25,26,25,26,25,26,25,25,0,0,0,0,0,0,0,0,25,24,25,26,25,26,25,25,25,25,25,25,0,0,0,0,0,0,0,0,21,21,21,20,20,20,19,18,18,17,17,16,0,0,0,0,0,0,0,0,6,7,6,6,5,5,5,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,2,3,3,2,0,0,0,0,0,0,0,0,3,3,4,3,3,2,3,3,2,3,2,2,0,0,0,0,0,0,0,0,1,1,0,1,1,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,2,3,3,3,3,4,4,4,5,5,0,0,0,0,0,0,0,0,5,4,4,4,3,3,3,3,3,2,2,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,5,4,4,5,5,5,5,4,4,5,4,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,3,4,4,4,5,0,0,0,0,0,0,0,0,6,6,7,7,6,6,7,7,7,8,7,8,0,0,0,0,0,0,0,0,7,7,8,8,9,10,11,12,13,13,14,16,0,0,0,0,0,0,0,0,18,18,19,20,21,20,22,23,24,22,24,23,0,0,0,0,0,0,0,0,22,22,25,25,25,25,25,26,26,26,25,26,0,0,0,0,0,0,0,0,27,27,26,26,27,26,26,26,26,26,26,27,0,0,0,0,0,0,0,0,22,22,19,19,18,15,16,14,14,14,12,11,0,0,0,0,0,0,0,0,9,9,9,9,10,10,11,11,11,11,12,12,0,0,0,0,0,0,0,0,11,11,12,11,11,12,11,12,13,13,13,13,0,0,0,0,0,0,0,0,10,10,10,9,9,8,9,8,7,7,7,7,0,0,0,0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6,6,6,7,7,7,8,7,7,8,0,0,0,0,0,0,0,0,8,8,9,8,8,8,9,8,7,8,8,8,0,0,0,0,0,0,0,0,7,7,8,7,8,8,8,8,8,9,9,9,0,0,0,0,0,0,0,0,11,10,10,10,10,10,10,10,10,9,10,10,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,11,10,10,0,0,0,0,0,0,0,0,8,8,8,8,8,7,8,7,7,8,7,7,0,0,0,0,0,0,0,0,12,12,13,12,13,14,16,17,18,18,21,20,0,0,0,0,0,0,0,0,24,23,24,23,26,26,24,23,25,25,25,26,0,0,0,0,0,0,0,0,25,25,24,25,25,24,23,25,26],[0,29,28,29,28,29,29,28,28,28,27,27,27,26,27,26,27,27,26,27,0,0,0,0,0,0,0,0,27,26,26,28,28,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,25,24,23,23,24,22,21,22,22,21,20,19,0,0,0,0,0,0,0,0,8,8,7,7,7,6,6,6,6,5,5,6,0,0,0,0,0,0,0,0,4,4,4,4,3,4,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,4,4,3,3,4,4,4,3,3,3,0,0,0,0,0,0,0,0,1,1,1,1,0,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,3,3,4,4,4,4,4,5,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,2,3,3,2,2,0,0,0,0,0,0,0,0,3,3,2,3,3,3,3,4,4,5,5,5,0,0,0,0,0,0,0,0,5,4,4,3,3,3,2,3,3,2,2,3,0,0,0,0,0,0,0,0,4,4,4,5,5,6,6,6,6,5,5,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,5,4,5,5,4,0,0,0,0,0,0,0,0,4,5,4,4,5,5,5,5,5,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,8,7,8,9,9,9,9,8,9,9,10,10,0,0,0,0,0,0,0,0,9,9,9,10,11,11,12,14,14,14,15,16,0,0,0,0,0,0,0,0,22,23,24,25,25,26,26,26,27,26,27,26,0,0,0,0,0,0,0,0,27,27,27,27,28,28,28,28,28,29,28,29,0,0,0,0,0,0,0,0,28,28,29,29,29,29,29,28,28,28,28,29,0,0,0,0,0,0,0,0,26,23,22,23,21,19,20,17,17,16,15,14,0,0,0,0,0,0,0,0,11,11,12,11,12,12,12,12,14,13,13,14,0,0,0,0,0,0,0,0,14,13,13,13,13,13,14,15,15,16,16,15,0,0,0,0,0,0,0,0,12,12,12,11,10,11,10,10,9,9,9,10,0,0,0,0,0,0,0,0,9,10,10,10,10,10,10,10,10,10,8,8,0,0,0,0,0,0,0,0,5,6,6,5,5,6,5,5,6,6,5,5,0,0,0,0,0,0,0,0,7,7,7,6,7,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,5,5,5,6,5,6,6,7,7,6,6,6,0,0,0,0,0,0,0,0,6,5,5,6,6,5,6,6,5,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,8,8,7,7,8,7,7,0,0,0,0,0,0,0,0,7,8,8,7,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,7,6,6,6,6,6,6,5,5,5,5,5,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,7,7,7,8,7,7,8,8,8,8,9,8,0,0,0,0,0,0,0,0,9,9,9,10,9,9,9,9,9,8,9,9,0,0,0,0,0,0,0,0,8,9,9,8,9,9,8,10,9,10,10,10,0,0,0,0,0,0,0,0,10,11,11,10,10,11,10,10,10,10,10,10,0,0,0,0,0,0,0,0,10,10,11,10,10,11,11,10,11,11,11,10,0,0,0,0,0,0,0,0,9,9,9,9,9,8,9,8,9,8,7,8,0,0,0,0,0,0,0,0,12,13,14,13,14,16,17,19,19,19,22,22,0,0,0,0,0,0,0,0,24,23,25,25,26,25,26,24,26,27,25,26,0,0,0,0,0,0,0,0,27,26,25,26,27,25,23,25,26],[0,28,28,28,28,28,28,29,28,27,27,26,27,26,26,26,27,27,27,28,0,0,0,0,0,0,0,0,27,27,27,28,28,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,26,25,24,23,24,23,22,23,21,21,20,19,0,0,0,0,0,0,0,0,10,10,9,9,9,8,7,8,7,6,7,7,0,0,0,0,0,0,0,0,7,6,6,6,5,5,5,5,4,5,5,4,0,0,0,0,0,0,0,0,5,6,6,6,5,5,6,6,6,5,5,5,0,0,0,0,0,0,0,0,2,2,2,2,1,0,1,2,2,3,5,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,5,6,5,5,5,5,5,4,5,5,3,4,0,0,0,0,0,0,0,0,4,4,3,4,5,5,5,6,7,7,6,7,0,0,0,0,0,0,0,0,7,6,7,7,5,6,5,5,5,5,4,6,0,0,0,0,0,0,0,0,6,6,6,7,7,7,7,7,7,6,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,8,7,7,7,7,0,0,0,0,0,0,0,0,6,6,7,6,8,8,7,7,7,8,8,8,0,0,0,0,0,0,0,0,10,10,10,12,11,11,10,11,11,11,11,11,0,0,0,0,0,0,0,0,10,11,12,12,14,14,14,16,17,17,18,20,0,0,0,0,0,0,0,0,22,23,23,25,25,25,26,26,28,26,27,25,0,0,0,0,0,0,0,0,26,26,28,28,28,27,28,28,29,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,27,28,28,27,28,0,0,0,0,0,0,0,0,25,24,24,23,22,20,20,18,17,18,16,14,0,0,0,0,0,0,0,0,14,13,13,13,13,14,13,14,15,15,14,15,0,0,0,0,0,0,0,0,15,14,14,14,14,15,15,17,17,18,18,19,0,0,0,0,0,0,0,0,14,14,13,13,13,12,13,12,12,11,12,12,0,0,0,0,0,0,0,0,12,11,12,12,12,12,12,11,10,12,10,11,0,0,0,0,0,0,0,0,7,8,8,7,8,9,8,7,8,9,8,8,0,0,0,0,0,0,0,0,9,9,9,9,8,9,9,10,10,10,10,10,0,0,0,0,0,0,0,0,8,7,7,8,9,8,9,9,9,9,9,9,0,0,0,0,0,0,0,0,8,7,8,8,8,8,8,8,8,9,8,8,0,0,0,0,0,0,0,0,10,10,9,9,10,11,11,9,10,10,10,9,0,0,0,0,0,0,0,0,9,10,10,10,10,10,10,10,10,9,10,10,0,0,0,0,0,0,0,0,9,7,8,7,7,8,7,7,6,7,7,6,0,0,0,0,0,0,0,0,10,9,9,9,9,9,9,10,9,9,9,10,0,0,0,0,0,0,0,0,10,9,10,10,9,10,10,10,11,11,11,11,0,0,0,0,0,0,0,0,11,12,12,12,11,11,12,12,11,11,11,12,0,0,0,0,0,0,0,0,10,11,10,10,11,11,11,11,11,11,12,12,0,0,0,0,0,0,0,0,13,13,13,13,12,13,13,13,12,13,14,13,0,0,0,0,0,0,0,0,13,11,14,12,12,13,12,13,13,13,13,12,0,0,0,0,0,0,0,0,11,12,11,11,11,11,10,11,11,10,10,10,0,0,0,0,0,0,0,0,13,14,14,14,15,17,17,19,20,20,22,23,0,0,0,0,0,0,0,0,23,24,26,25,26,25,27,25,26,27,27,28,0,0,0,0,0,0,0,0,27,25,26,26,27,26,24,26,26],[0,27,27,27,27,28,28,27,27,26,25,24,26,25,25,25,26,26,25,26,0,0,0,0,0,0,0,0,26,26,25,27,27,27,26,27,26,26,27,26,0,0,0,0,0,0,0,0,25,23,22,22,22,21,20,22,20,19,20,20,0,0,0,0,0,0,0,0,12,13,12,11,11,10,10,10,9,9,9,9,0,0,0,0,0,0,0,0,9,9,9,8,8,7,7,7,7,7,7,6,0,0,0,0,0,0,0,0,6,7,7,7,7,6,8,8,7,7,6,6,0,0,0,0,0,0,0,0,3,4,3,2,2,1,0,1,3,3,6,5,0,0,0,0,0,0,0,0,6,8,6,6,7,8,6,9,9,9,8,9,0,0,0,0,0,0,0,0,8,8,7,6,5,6,5,4,5,5,4,4,0,0,0,0,0,0,0,0,4,5,4,5,5,6,5,7,7,6,6,7,0,0,0,0,0,0,0,0,8,7,7,6,6,7,5,5,6,6,5,6,0,0,0,0,0,0,0,0,8,7,8,8,9,9,9,9,8,8,8,8,0,0,0,0,0,0,0,0,7,8,8,6,8,8,8,6,6,7,7,7,0,0,0,0,0,0,0,0,8,10,10,8,10,9,11,9,8,7,8,7,0,0,0,0,0,0,0,0,9,9,9,7,9,9,8,9,10,10,9,10,0,0,0,0,0,0,0,0,11,12,12,13,12,13,13,13,14,14,14,14,0,0,0,0,0,0,0,0,12,13,14,14,15,16,17,18,18,18,18,19,0,0,0,0,0,0,0,0,22,23,23,24,24,24,24,25,26,24,25,24,0,0,0,0,0,0,0,0,26,25,27,26,27,26,27,28,27,28,27,27,0,0,0,0,0,0,0,0,28,27,28,28,27,27,27,28,28,27,27,28,0,0,0,0,0,0,0,0,25,25,22,23,21,20,19,18,17,17,16,16,0,0,0,0,0,0,0,0,16,15,15,16,15,17,17,16,17,17,16,18,0,0,0,0,0,0,0,0,17,17,17,16,16,18,18,18,18,19,19,19,0,0,0,0,0,0,0,0,16,16,15,16,15,14,15,16,15,13,13,15,0,0,0,0,0,0,0,0,13,12,14,13,13,13,14,11,12,13,11,12,0,0,0,0,0,0,0,0,8,9,10,9,9,10,11,10,10,9,10,10,0,0,0,0,0,0,0,0,10,11,10,11,10,10,11,11,11,12,11,11,0,0,0,0,0,0,0,0,10,10,9,11,10,10,12,11,11,11,12,11,0,0,0,0,0,0,0,0,11,10,10,10,11,10,11,9,10,11,10,10,0,0,0,0,0,0,0,0,11,11,11,11,12,13,12,11,12,13,12,10,0,0,0,0,0,0,0,0,12,13,12,11,12,12,11,12,11,11,12,11,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,8,9,11,9,0,0,0,0,0,0,0,0,11,12,11,10,11,11,11,11,11,11,12,12,0,0,0,0,0,0,0,0,12,10,11,12,11,12,12,12,13,13,13,13,0,0,0,0,0,0,0,0,13,14,14,14,12,13,15,13,13,13,13,13,0,0,0,0,0,0,0,0,12,13,13,12,14,14,13,14,13,14,15,13,0,0,0,0,0,0,0,0,15,14,15,14,15,15,14,15,14,15,15,15,0,0,0,0,0,0,0,0,15,15,16,14,15,15,14,15,15,16,14,15,0,0,0,0,0,0,0,0,13,14,12,12,12,12,12,12,12,12,11,12,0,0,0,0,0,0,0,0,13,15,15,13,16,15,18,17,18,19,21,21,0,0,0,0,0,0,0,0,24,23,25,25,25,25,26,23,26,27,25,27,0,0,0,0,0,0,0,0,26,25,25,26,26,24,23,24,25],[0,28,28,28,28,28,28,28,27,26,27,25,27,26,26,26,27,27,26,27,0,0,0,0,0,0,0,0,27,27,26,27,27,28,26,28,27,27,27,26,0,0,0,0,0,0,0,0,25,24,24,25,24,23,23,23,22,22,21,21,0,0,0,0,0,0,0,0,12,13,11,12,11,11,11,10,9,10,9,10,0,0,0,0,0,0,0,0,8,8,9,7,10,9,8,7,10,8,8,7,0,0,0,0,0,0,0,0,8,8,8,8,8,9,9,8,8,8,8,7,0,0,0,0,0,0,0,0,6,4,3,4,5,2,1,0,1,2,3,3,0,0,0,0,0,0,0,0,9,8,6,9,9,9,9,11,10,9,9,9,0,0,0,0,0,0,0,0,10,9,9,9,8,8,8,7,7,7,5,5,0,0,0,0,0,0,0,0,6,7,5,5,6,7,6,8,6,6,7,8,0,0,0,0,0,0,0,0,7,6,6,6,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,10,9,9,10,10,10,10,10,10,9,9,9,0,0,0,0,0,0,0,0,9,9,10,9,8,8,9,7,8,8,8,8,0,0,0,0,0,0,0,0,9,10,8,9,9,8,8,8,8,8,7,7,0,0,0,0,0,0,0,0,9,9,10,10,10,11,10,11,10,11,10,11,0,0,0,0,0,0,0,0,12,12,14,14,13,13,14,13,15,14,14,15,0,0,0,0,0,0,0,0,12,14,15,14,14,15,16,17,18,19,21,21,0,0,0,0,0,0,0,0,23,24,24,25,25,24,26,26,26,25,26,26,0,0,0,0,0,0,0,0,26,26,27,28,28,27,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,27,28,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,26,25,24,23,22,22,22,20,18,20,18,16,0,0,0,0,0,0,0,0,18,16,16,17,16,18,17,17,18,18,17,19,0,0,0,0,0,0,0,0,18,16,17,17,19,18,19,20,20,19,20,19,0,0,0,0,0,0,0,0,17,17,17,16,17,15,16,16,13,14,13,14,0,0,0,0,0,0,0,0,15,15,14,15,14,14,13,13,12,14,12,12,0,0,0,0,0,0,0,0,10,11,11,10,9,11,11,9,11,10,9,11,0,0,0,0,0,0,0,0,10,9,10,10,10,11,10,11,11,11,12,10,0,0,0,0,0,0,0,0,9,8,8,9,9,10,10,10,11,10,10,10,0,0,0,0,0,0,0,0,11,10,9,10,10,10,10,9,12,11,10,12,0,0,0,0,0,0,0,0,13,12,13,13,13,14,14,12,13,13,13,12,0,0,0,0,0,0,0,0,13,11,12,12,12,11,11,12,12,11,12,12,0,0,0,0,0,0,0,0,12,11,10,10,9,12,10,12,10,9,12,10,0,0,0,0,0,0,0,0,11,11,11,11,10,11,11,12,12,12,11,12,0,0,0,0,0,0,0,0,11,12,12,12,12,13,12,13,13,13,13,13,0,0,0,0,0,0,0,0,14,14,14,14,13,13,14,13,12,13,13,13,0,0,0,0,0,0,0,0,12,13,13,13,13,13,14,14,13,14,15,14,0,0,0,0,0,0,0,0,15,15,16,17,15,15,15,14,14,15,15,15,0,0,0,0,0,0,0,0,15,14,17,14,15,15,15,16,15,16,16,15,0,0,0,0,0,0,0,0,14,13,14,14,13,13,13,14,13,14,13,13,0,0,0,0,0,0,0,0,16,15,16,17,18,18,20,20,22,22,24,23,0,0,0,0,0,0,0,0,25,25,27,26,26,26,26,27,26,27,26,28,0,0,0,0,0,0,0,0,27,26,26,26,27,26,25,26,26],[0,28,28,28,28,28,28,28,28,27,26,26,26,27,26,27,26,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,27,28,26,27,27,25,27,26,0,0,0,0,0,0,0,0,24,23,22,22,23,21,20,21,21,19,19,20,0,0,0,0,0,0,0,0,10,9,9,9,8,7,6,7,7,6,6,6,0,0,0,0,0,0,0,0,5,4,4,5,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,6,6,5,6,6,6,6,6,7,6,0,0,0,0,0,0,0,0,4,4,3,4,3,2,2,1,0,1,2,2,0,0,0,0,0,0,0,0,4,5,4,5,5,5,5,6,5,6,6,7,0,0,0,0,0,0,0,0,5,7,7,6,5,7,6,5,5,6,5,4,0,0,0,0,0,0,0,0,4,5,3,3,4,5,4,6,5,4,6,6,0,0,0,0,0,0,0,0,5,4,4,4,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,6,7,6,7,7,8,8,8,6,7,7,7,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,6,5,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,5,6,5,5,4,0,0,0,0,0,0,0,0,6,6,7,6,7,7,7,7,8,8,7,7,0,0,0,0,0,0,0,0,10,10,10,12,11,10,11,12,13,13,12,12,0,0,0,0,0,0,0,0,10,11,12,12,12,13,14,15,15,16,17,18,0,0,0,0,0,0,0,0,22,23,22,24,24,25,25,26,25,26,25,25,0,0,0,0,0,0,0,0,26,25,27,27,28,27,26,28,28,27,27,27,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,27,28,28,0,0,0,0,0,0,0,0,25,26,26,23,22,21,21,19,18,19,16,15,0,0,0,0,0,0,0,0,14,14,14,15,15,16,14,16,17,16,15,18,0,0,0,0,0,0,0,0,16,15,16,16,16,16,17,18,18,18,20,19,0,0,0,0,0,0,0,0,16,16,15,15,14,13,14,13,13,11,11,13,0,0,0,0,0,0,0,0,11,11,13,12,11,13,12,11,10,12,10,10,0,0,0,0,0,0,0,0,7,8,8,7,7,8,8,8,8,7,7,7,0,0,0,0,0,0,0,0,7,6,7,7,7,8,7,8,9,9,9,8,0,0,0,0,0,0,0,0,5,6,5,6,7,7,8,8,7,7,7,6,0,0,0,0,0,0,0,0,6,5,6,7,6,6,7,7,7,7,7,7,0,0,0,0,0,0,0,0,10,10,10,10,10,12,10,10,10,11,10,9,0,0,0,0,0,0,0,0,9,10,8,8,9,9,8,8,9,9,8,9,0,0,0,0,0,0,0,0,6,7,6,6,7,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,8,10,8,7,9,9,8,8,9,9,9,9,0,0,0,0,0,0,0,0,9,8,8,9,9,10,9,10,10,10,10,11,0,0,0,0,0,0,0,0,11,12,11,11,11,10,12,11,9,11,11,11,0,0,0,0,0,0,0,0,9,11,11,10,11,13,12,11,11,13,12,11,0,0,0,0,0,0,0,0,13,13,13,13,13,14,13,13,13,13,13,14,0,0,0,0,0,0,0,0,13,13,14,13,13,13,13,14,13,14,13,13,0,0,0,0,0,0,0,0,11,12,11,10,10,11,10,10,11,10,10,9,0,0,0,0,0,0,0,0,13,14,15,13,16,16,19,17,20,20,23,23,0,0,0,0,0,0,0,0,26,24,25,25,26,26,26,25,26,27,26,26,0,0,0,0,0,0,0,0,27,25,25,27,27,26,24,26,26],[0,29,29,29,29,29,29,29,29,28,28,27,28,27,28,27,28,28,27,28,0,0,0,0,0,0,0,0,28,28,26,28,28,29,27,28,27,27,28,27,0,0,0,0,0,0,0,0,25,23,22,23,23,22,20,22,20,19,19,19,0,0,0,0,0,0,0,0,8,7,7,6,6,5,5,5,5,4,4,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,2,3,2,2,0,0,0,0,0,0,0,0,4,5,5,4,4,4,4,4,5,4,5,5,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,1,1,0,1,1,0,0,0,0,0,0,0,0,2,2,3,3,3,4,3,3,4,4,4,4,0,0,0,0,0,0,0,0,3,4,4,4,3,4,4,3,4,4,3,3,0,0,0,0,0,0,0,0,3,3,2,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,5,6,5,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,5,4,5,5,5,5,5,6,5,6,0,0,0,0,0,0,0,0,8,7,8,8,9,8,8,9,9,10,9,9,0,0,0,0,0,0,0,0,8,9,9,10,10,10,12,12,13,13,15,15,0,0,0,0,0,0,0,0,22,22,24,25,25,26,27,27,27,26,27,24,0,0,0,0,0,0,0,0,26,26,28,28,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,29,28,28,29,0,0,0,0,0,0,0,0,26,25,24,23,22,21,21,18,17,17,14,13,0,0,0,0,0,0,0,0,10,11,11,11,11,12,12,12,13,13,13,14,0,0,0,0,0,0,0,0,14,13,12,13,13,14,14,15,15,16,15,15,0,0,0,0,0,0,0,0,13,12,11,11,10,10,9,10,9,8,9,9,0,0,0,0,0,0,0,0,9,9,10,10,10,10,10,9,9,9,8,8,0,0,0,0,0,0,0,0,5,6,6,5,5,6,6,5,6,6,5,5,0,0,0,0,0,0,0,0,6,5,5,5,6,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,4,4,4,5,5,5,6,5,6,6,5,5,0,0,0,0,0,0,0,0,4,4,4,5,4,4,5,5,4,5,5,5,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,7,7,6,6,7,7,6,7,6,6,7,0,0,0,0,0,0,0,0,5,5,5,5,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,6,8,6,6,7,7,7,7,7,7,7,6,0,0,0,0,0,0,0,0,6,6,6,7,6,7,7,7,7,8,7,7,0,0,0,0,0,0,0,0,8,8,8,9,7,8,8,7,7,8,7,8,0,0,0,0,0,0,0,0,7,7,7,7,8,8,7,8,8,8,8,8,0,0,0,0,0,0,0,0,10,9,10,9,10,9,9,10,10,9,9,10,0,0,0,0,0,0,0,0,9,10,10,10,10,10,10,10,11,10,10,9,0,0,0,0,0,0,0,0,9,9,8,9,8,8,8,8,8,8,7,8,0,0,0,0,0,0,0,0,11,13,13,13,14,15,17,18,20,19,22,22,0,0,0,0,0,0,0,0,26,24,25,25,26,26,25,24,26,26,25,27,0,0,0,0,0,0,0,0,26,27,26,27,27,26,25,27,26],[0,29,28,28,28,29,28,28,28,27,27,26,27,26,26,27,27,28,27,27,0,0,0,0,0,0,0,0,27,27,26,27,28,28,26,27,27,26,28,26,0,0,0,0,0,0,0,0,24,22,21,22,23,20,19,21,19,17,18,19,0,0,0,0,0,0,0,0,7,7,7,7,6,6,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,2,2,2,2,2,0,0,0,0,0,0,0,0,3,4,4,4,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,2,3,3,2,2,2,2,2,1,1,0,1,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,3,3,4,4,0,0,0,0,0,0,0,0,4,4,4,3,3,4,3,3,4,4,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,3,3,4,3,3,5,5,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,3,3,2,3,3,0,0,0,0,0,0,0,0,4,5,5,5,5,6,6,6,5,5,6,5,0,0,0,0,0,0,0,0,5,5,5,4,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,4,4,5,4,4,4,4,4,3,0,0,0,0,0,0,0,0,4,4,5,4,5,5,6,5,5,6,5,6,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,9,10,10,9,9,0,0,0,0,0,0,0,0,9,9,9,10,10,10,11,13,14,13,15,15,0,0,0,0,0,0,0,0,21,21,21,22,23,24,24,25,25,25,25,24,0,0,0,0,0,0,0,0,25,25,26,26,27,26,26,27,27,27,27,28,0,0,0,0,0,0,0,0,27,27,28,27,27,27,28,26,28,27,27,27,0,0,0,0,0,0,0,0,24,24,23,22,20,19,19,17,16,16,13,12,0,0,0,0,0,0,0,0,11,11,11,12,12,12,13,12,14,13,13,14,0,0,0,0,0,0,0,0,14,13,14,14,13,14,14,16,16,15,16,16,0,0,0,0,0,0,0,0,13,13,11,11,11,10,10,10,9,9,9,9,0,0,0,0,0,0,0,0,9,9,10,10,10,10,10,10,9,9,8,7,0,0,0,0,0,0,0,0,5,6,6,5,5,6,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,7,7,8,7,7,0,0,0,0,0,0,0,0,4,4,4,5,5,5,6,6,6,5,5,5,0,0,0,0,0,0,0,0,5,4,5,5,5,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,7,7,6,7,7,6,6,7,7,7,7,0,0,0,0,0,0,0,0,5,5,5,5,5,4,5,4,4,5,4,4,0,0,0,0,0,0,0,0,7,7,6,6,7,7,8,7,7,7,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,8,7,8,8,0,0,0,0,0,0,0,0,8,9,8,8,8,8,8,8,7,8,7,8,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,8,8,9,9,8,0,0,0,0,0,0,0,0,10,10,10,10,10,10,9,10,9,9,10,10,0,0,0,0,0,0,0,0,10,10,11,10,10,10,10,10,11,11,9,10,0,0,0,0,0,0,0,0,8,9,9,7,8,8,8,7,8,8,7,7,0,0,0,0,0,0,0,0,12,13,13,12,14,15,16,17,20,18,22,22,0,0,0,0,0,0,0,0,26,24,26,24,26,25,26,24,27,26,25,27,0,0,0,0,0,0,0,0,26,26,25,26,26,25,25,26,26],[0,29,28,28,28,28,28,27,28,26,26,25,25,26,25,25,25,26,25,26,0,0,0,0,0,0,0,0,25,25,25,25,26,26,25,26,25,25,26,25,0,0,0,0,0,0,0,0,22,21,20,20,20,20,18,19,18,17,17,17,0,0,0,0,0,0,0,0,7,6,6,6,5,5,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,4,4,3,3,3,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,24,25,23,26,25,24,26,0,0,0,0,0,0,0,0,25,24,25,24,25,24,23,25,24],[0,29,29,29,29,29,29,28,29,28,28,28,28,27,28,28,27,28,27,28,0,0,0,0,0,0,0,0,28,27,26,28,28,28,27,28,27,28,27,27,0,0,0,0,0,0,0,0,24,22,21,21,23,20,18,20,18,18,18,17,0,0,0,0,0,0,0,0,5,5,4,4,4,3,3,3,3,3,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,1,1,1,1,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,1,2,2,1,1,2,2,2,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,4,0,0,0,0,0,0,0,0,3,2,2,2,2,1,1,2,1,1,2,2,0,0,0,0,0,0,0,0,2,3,3,3,3,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,7,7,7,9,11,11,11,13,13,0,0,0,0,0,0,0,0,19,19,19,22,23,22,24,25,26,25,25,24,0,0,0,0,0,0,0,0,24,25,26,27,27,26,27,27,27,28,27,27,0,0,0,0,0,0,0,0,28,28,28,28,28,27,28,27,28,27,27,28,0,0,0,0,0,0,0,0,24,23,22,21,20,18,18,16,14,13,11,10,0,0,0,0,0,0,0,0,7,8,8,8,8,8,9,9,10,9,9,10,0,0,0,0,0,0,0,0,11,10,10,10,10,10,11,12,12,12,12,12,0,0,0,0,0,0,0,0,8,8,8,8,7,7,7,6,6,6,6,6,0,0,0,0,0,0,0,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19,20,18,22,23,21,23,25,24,24,25,23,0,0,0,0,0,0,0,0,24,23,25,25,26,24,26,26,26,26,26,26,0,0,0,0,0,0,0,0,27,26,27,27,27,27,27,26,27,26,26,27,0,0,0,0,0,0,0,0,23,23,20,19,19,16,17,15,13,12,10,9,0,0,0,0,0,0,0,0,6,7,7,7,7,8,8,8,9,8,9,10,0,0,0,0,0,0,0,0,10,9,9,9,8,9,10,10,11,11,11,10,0,0,0,0,0,0,0,0,7,7,7,7,6,6,6,6,5,5,5,6,0,0,0,0,0,0,0,0,5,6,6,7,7,8,7,7,6,6,5,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,5,6,6,6,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,3,3,0,0,0,0,0,0,0,0,3,3,3,3,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,5,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,5,5,4,4,5,5,5,5,5,4,4,4,0,0,0,0,0,0,0,0,4,3,3,4,4,4,4,4,4,4,5,5,0,0,0,0,0,0,0,0,5,6,5,5,5,5,5,6,5,5,5,5,0,0,0,0,0,0,0,0,4,5,5,5,5,5,5,5,5,6,6,5,0,0,0,0,0,0,0,0,7,7,7,6,7,7,6,7,6,6,6,6,0,0,0,0,0,0,0,0,6,7,7,7,7,7,7,7,7,7,6,7,0,0,0,0,0,0,0,0,5,6,5,5,5,5,5,5,5,5,4,5,0,0,0,0,0,0,0,0,9,11,11,10,12,13,15,17,18,18,20,21,0,0,0,0,0,0,0,0,23,22,24,23,25,24,25,23,26,25,24,26,0,0,0,0,0,0,0,0,24,25,24,25,24,23,23,23,23],[0,28,28,29,28,29,28,28,28,28,27,27,27,26,27,26,26,26,26,27,0,0,0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0,0,0,0,0,0,0,5,6,5,5,5,5,4,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,6,5,6,5,6,6,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,9,10,9,11,11,13,14,16,17,19,20,0,0,0,0,0,0,0,0,22,20,24,23,26,24,25,24,25,25,25,27,0,0,0,0,0,0,0,0,24,24,23,25,25,22,21,24,25],[0,27,27,28,27,28,28,27,28,27,25,26,26,25,25,26,25,25,26,26,0,0,0,0,0,0,0,0,26,24,25,26,26,27,26,27,26,26,26,26,0,0,0,0,0,0,0,0,23,22,22,20,21,19,18,18,17,17,16,16,0,0,0,0,0,0,0,0,4,4,3,3,3,3,3,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,3,3,2,2,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,2,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,2,2,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,2,3,0,0,0,0,0,0,0,0,4,4,4,4,5,4,4,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,6,6,6,7,9,10,10,11,13,0,0,0,0,0,0,0,0,18,18,17,20,22,21,21,23,22,23,24,22,0,0,0,0,0,0,0,0,23,22,24,24,25,24,25,26,26,26,25,26,0,0,0,0,0,0,0,0,26,26,27,27,27,26,27,25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,5,4,4,4,4,4,4,4,4,3,4,0,0,0,0,0,0,0,0,8,10,10,9,10,11,13,15,17,17,19,21,0,0,0,0,0,0,0,0,21,20,25,25,23,23,25,23,24,25,24,25,0,0,0,0,0,0,0,0,25,24,22,24,25,22,21,24,23],[0,28,28,28,28,28,28,27,28,27,26,26,26,26,26,26,26,26,27,26,0,0,0,0,0,0,0,0,27,25,26,27,27,28,26,27,27,27,27,27,0,0,0,0,0,0,0,0,23,23,22,21,22,20,18,19,17,18,16,16,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,1,2,2,1,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,2,2,2,1,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,1,1,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,3,3,2,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,2,2,2,2,2,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,5,5,5,7,8,9,9,11,12,0,0,0,0,0,0,0,0,17,18,17,20,22,20,21,23,24,23,24,22,0,0,0,0,0,0,0,0,23,23,24,25,27,24,25,26,25,26,26,26,0,0,0,0,0,0,0,0,26,26,27,27,26,26,26,25,27,26,26,27,0,0,0,0,0,0,0,0,22,20,18,18,17,15,14,12,10,10,8,7,0,0,0,0,0,0,0,0,5,5,6,5,6,6,6,6,7,6,7,8,0,0,0,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23,24,23,23,0,0,0,0,0,0,0,0,23,23,21,23,24,21,21,23,21],[0,27,28,28,27,28,28,27,28,27,26,26,26,26,26,26,26,26,27,26,0,0,0,0,0,0,0,0,27,26,26,28,27,27,27,27,26,27,27,26,0,0,0,0,0,0,0,0,23,22,22,21,21,19,20,19,18,19,18,18,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,1,2,2,1,1,2,1,0,0,0,0,0,0,0,0,2,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,4,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,1,2,2,2,3,3,4,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,5,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,5,5,6,6,7,7,10,10,10,12,13,0,0,0,0,0,0,0,0,17,19,19,21,22,21,22,23,24,23,24,22,0,0,0,0,0,0,0,0,23,23,25,24,26,25,25,27,26,26,26,26,0,0,0,0,0,0,0,0,27,26,27,27,26,26,25,25,26,26,26,26,0,0,0,0,0,0,0,0,21,20,20,18,18,16,15,14,12,11,9,8,0,0,0,0,0,0,0,0,6,6,7,7,7,7,7,7,8,8,8,9,0,0,0,0,0,0,0,0,9,9,8,8,8,8,9,10,10,10,10,9,0,0,0,0,0,0,0,0,7,7,6,6,6,6,6,5,5,5,4,5,0,0,0,0,0,0,0,0,5,6,6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,23,22,24,25,25,24,25,24,0,0,0,0,0,0,0,0,25,24,26,26,27,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,28,27,26,27,27,26,27,27,26,27,0,0,0,0,0,0,0,0,21,21,18,18,17,16,17,15,13,13,11,9,0,0,0,0,0,0,0,0,9,9,9,9,9,10,9,11,12,10,11,12,0,0,0,0,0,0,0,0,13,12,10,11,11,11,12,13,14,14,14,13,0,0,0,0,0,0,0,0,10,9,9,9,8,8,8,7,7,7,7,7,0,0,0,0,0,0,0,0,7,8,9,9,9,9,9,8,8,8,7,7,0,0,0,0,0,0,0,0,4,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,7,7,8,8,7,0,0,0,0,0,0,0,0,4,4,4,5,5,5,5,5,6,5,4,5,0,0,0,0,0,0,0,0,4,3,4,4,4,4,4,4,3,4,4,4,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,5,6,6,6,5,0,0,0,0,0,0,0,0,5,6,6,5,5,5,6,5,6,5,6,6,0,0,0,0,0,0,0,0,4,4,4,3,3,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,6,6,5,5,6,6,6,6,5,5,5,5,0,0,0,0,0,0,0,0,4,4,5,5,5,5,6,5,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,6,6,6,6,0,0,0,0,0,0,0,0,5,6,6,6,6,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,9,9,8,8,8,8,8,8,8,7,7,7,0,0,0,0,0,0,0,0,8,8,9,9,10,9,9,9,9,10,8,9,0,0,0,0,0,0,0,0,7,8,7,7,7,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,11,13,13,12,13,15,16,18,18,19,21,22,0,0,0,0,0,0,0,0,23,22,24,24,25,24,25,23,25,25,25,26,0,0,0,0,0,0,0,0,25,25,24,26,24,24,23,25,24],[0,28,28,28,28,29,28,28,29,27,27,28,27,27,27,27,27,27,28,27,0,0,0,0,0,0,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,0,0,0,10,9,9,9,9,8,8,9,8,8,9,9,0,0,0,0,0,0,0,0,9,10,10,9,10,10,10,10,10,11,10,10,0,0,0,0,0,0,0,0,9,10,8,8,9,8,8,8,9,8,7,8,0,0,0,0,0,0,0,0,13,14,14,13,14,16,17,18,20,20,21,22,0,0,0,0,0,0,0,0,23,23,23,24,25,23,24,23,25,26,24,26,0,0,0,0,0,0,0,0,25,25,23,24,25,23,22,23,25],[0,27,27,27,27,28,27,27,28,26,26,26,26,26,25,26,26,26,26,26,0,0,0,0,0,0,0,0,26,26,26,26,27,27,25,27,26,26,27,26,0,0,0,0,0,0,0,0,23,21,22,21,22,20,19,21,18,20,18,17,0,0,0,0,0,0,0,0,9,8,8,7,7,7,6,6,5,5,4,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,3,3,2,3,3,0,0,0,0,0,0,0,0,4,5,4,4,3,2,3,3,4,5,5,5,0,0,0,0,0,0,0,0,4,5,5,4,5,5,5,6,6,5,4,4,0,0,0,0,0,0,0,0,3,3,3,4,3,2,3,2,1,0,1,2,0,0,0,0,0,0,0,0,3,4,3,4,4,5,5,4,5,5,5,5,0,0,0,0,0,0,0,0,5,6,6,6,6,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,6,5,5,5,5,4,4,5,4,4,4,4,0,0,0,0,0,0,0,0,6,5,5,6,6,5,6,6,5,5,6,6,0,0,0,0,0,0,0,0,7,6,7,7,6,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,7,6,7,7,7,7,7,6,7,6,6,0,0,0,0,0,0,0,0,5,6,7,5,6,7,7,7,7,7,8,8,0,0,0,0,0,0,0,0,8,9,9,9,9,9,9,9,10,10,10,10,0,0,0,0,0,0,0,0,9,9,9,9,11,10,11,12,13,13,15,15,0,0,0,0,0,0,0,0,19,21,20,23,23,22,24,25,25,25,25,25,0,0,0,0,0,0,0,0,25,24,27,27,27,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,27,27,27,27,27,26,27,27,0,0,0,0,0,0,0,0,22,22,19,20,19,18,18,16,14,15,13,12,0,0,0,0,0,0,0,0,12,12,12,13,13,13,12,13,15,14,13,14,0,0,0,0,0,0,0,0,15,14,14,14,13,14,14,16,16,15,16,15,0,0,0,0,0,0,0,0,13,13,13,12,11,11,12,10,11,10,10,11,0,0,0,0,0,0,0,0,10,11,11,11,11,12,12,11,11,11,10,10,0,0,0,0,0,0,0,0,7,7,7,8,8,8,7,7,8,7,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,8,8,9,9,8,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,6,6,6,5,6,0,0,0,0,0,0,0,0,5,5,6,7,5,6,7,7,6,7,7,7,0,0,0,0,0,0,0,0,8,9,9,9,9,10,9,9,9,9,8,8,0,0,0,0,0,0,0,0,8,9,8,8,9,8,8,8,9,8,8,7,0,0,0,0,0,0,0,0,6,5,5,5,5,4,4,3,3,3,3,2,0,0,0,0,0,0,0,0,7,8,7,7,8,8,8,7,7,7,7,8,0,0,0,0,0,0,0,0,8,7,8,8,8,8,8,8,9,9,9,10,0,0,0,0,0,0,0,0,10,11,10,10,9,9,10,9,9,10,9,9,0,0,0,0,0,0,0,0,8,8,8,9,9,9,10,9,9,10,10,10,0,0,0,0,0,0,0,0,12,11,10,10,10,10,10,11,10,9,11,10,0,0,0,0,0,0,0,0,11,11,12,11,11,11,11,12,12,13,11,11,0,0,0,0,0,0,0,0,11,12,10,10,11,10,10,10,10,10,9,9,0,0,0,0,0,0,0,0,14,15,15,15,16,17,19,20,21,20,22,21,0,0,0,0,0,0,0,0,25,23,23,23,25,24,24,23,25,26,24,27,0,0,0,0,0,0,0,0,26,26,24,26,25,24,23,25,24],[0,29,29,29,29,29,29,29,29,28,27,27,28,27,27,27,28,28,28,28,0,0,0,0,0,0,0,0,28,28,26,28,28,29,27,29,27,28,28,27,0,0,0,0,0,0,0,0,25,22,22,22,22,21,21,21,19,20,19,19,0,0,0,0,0,0,0,0,6,6,6,5,6,5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0,0,0,0,0,0,0,0,8,9,8,7,9,8,8,9,8,8,8,8,0,0,0,0,0,0,0,0,6,7,8,5,7,8,7,6,7,8,8,7,0,0,0,0,0,0,0,0,9,9,10,11,10,10,11,11,11,11,10,11,0,0,0,0,0,0,0,0,8,9,9,9,10,10,11,12,12,13,15,15,0,0,0,0,0,0,0,0,18,21,21,22,22,21,24,23,24,25,26,25,0,0,0,0,0,0,0,0,25,24,26,26,28,26,27,26,27,27,27,27,0,0,0,0,0,0,0,0,27,26,28,26,27,27,26,26,26,27,26,27,0,0,0,0,0,0,0,0,20,20,18,18,17,16,16,14,15,14,12,12,0,0,0,0,0,0,0,0,12,13,13,13,13,14,13,14,16,15,15,15,0,0,0,0,0,0,0,0,16,15,16,15,16,16,15,17,16,16,17,15,0,0,0,0,0,0,0,0,13,14,13,12,12,11,13,11,11,12,11,12,0,0,0,0,0,0,0,0,12,13,13,12,13,13,13,12,12,12,11,10,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,9,8,8,9,0,0,0,0,0,0,0,0,9,9,8,8,8,9,8,9,9,9,10,10,0,0,0,0,0,0,0,0,7,6,7,7,8,6,7,6,7,6,6,7,0,0,0,0,0,0,0,0,6,6,8,7,6,8,9,7,7,8,8,7,0,0,0,0,0,0,0,0,9,10,10,10,10,11,10,10,11,10,9,10,0,0,0,0,0,0,0,0,10,10,9,10,10,10,9,9,10,9,9,9,0,0,0,0,0,0,0,0,6,5,5,4,4,4,3,4,3,2,4,3,0,0,0,0,0,0,0,0,7,7,6,6,7,6,8,6,6,6,6,7,0,0,0,0,0,0,0,0,9,8,10,10,9,10,10,9,10,11,10,11,0,0,0,0,0,0,0,0,11,10,11,11,10,10,11,10,10,11,9,10,0,0,0,0,0,0,0,0,9,9,10,10,10,10,10,12,10,10,11,11,0,0,0,0,0,0,0,0,11,10,11,11,10,10,11,11,10,10,11,10,0,0,0,0,0,0,0,0,12,11,12,11,11,11,11,12,12,13,12,12,0,0,0,0,0,0,0,0,11,12,12,11,12,11,12,11,11,12,11,10,0,0,0,0,0,0,0,0,15,16,17,17,16,18,19,20,22,20,23,22,0,0,0,0,0,0,0,0,25,23,24,24,25,25,26,24,25,27,25,26,0,0,0,0,0,0,0,0,26,26,25,26,26,25,23,24,25],[0,28,28,28,28,28,28,28,28,27,26,26,26,27,26,26,26,27,26,27,0,0,0,0,0,0,0,0,27,26,26,27,28,28,26,28,27,27,27,26,0,0,0,0,0,0,0,0,24,21,21,21,22,21,20,20,17,19,19,17,0,0,0,0,0,0,0,0,5,5,5,4,4,4,3,3,3,2,2,2,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,4,4,4,3,3,3,3,3,3,3,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,6,5,5,4,4,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,2,1,1,0,0,0,0,0,0,0,0,2,2,2,3,3,3,3,3,3,4,4,4,0,0,0,0,0,0,0,0,4,4,5,5,5,5,5,7,6,6,6,7,0,0,0,0,0,0,0,0,5,4,5,5,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,3,3,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,6,5,5,6,6,5,0,0,0,0,0,0,0,0,5,4,5,5,5,5,6,6,6,5,5,5,0,0,0,0,0,0,0,0,3,4,3,3,4,4,3,3,4,4,4,4,0,0,0,0,0,0,0,0,6,6,6,7,7,7,7,8,8,8,7,7,0,0,0,0,0,0,0,0,5,6,7,7,7,8,9,11,11,12,14,15,0,0,0,0,0,0,0,0,19,21,21,22,22,23,25,23,24,23,25,24,0,0,0,0,0,0,0,0,24,24,26,26,27,26,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,26,26,26,26,26,26,26,27,26,26,27,0,0,0,0,0,0,0,0,22,20,19,19,16,16,16,14,14,12,11,10,0,0,0,0,0,0,0,0,9,10,10,10,10,11,11,12,12,12,11,13,0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,24,24,23,25,25,24,23,24,24],[0,28,28,28,27,28,28,27,28,26,26,26,26,26,26,26,26,26,27,26,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,28,27,28,28,27,0,0,0,0,0,0,0,0,24,21,21,21,22,20,20,21,18,19,18,18,0,0,0,0,0,0,0,0,4,4,4,4,4,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,3,3,2,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,3,2,3,0,0,0,0,0,0,0,0,2,3,3,3,3,3,4,4,4,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,1,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,4,3,2,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,5,5,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,4,3,3,3,4,4,4,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,6,7,6,6,6,0,0,0,0,0,0,0,0,5,5,6,6,7,7,8,10,10,11,13,14,0,0,0,0,0,0,0,0,18,18,20,21,21,21,22,23,24,23,24,23,0,0,0,0,0,0,0,0,23,23,26,25,26,25,26,26,27,26,27,27,0,0,0,0,0,0,0,0,26,26,27,26,26,26,26,25,26,25,25,26,0,0,0,0,0,0,0,0,20,19,17,18,16,15,14,13,12,11,10,8,0,0,0,0,0,0,0,0,8,8,8,8,8,9,9,9,10,10,10,11,0,0,0,0,0,0,0,0,11,10,10,10,9,10,11,11,12,12,12,12,0,0,0,0,0,0,0,0,8,8,8,7,7,7,7,7,7,6,7,7,0,0,0,0,0,0,0,0,7,7,7,8,8,8,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6,6,6,6,5,5,5,6,5,5,5,5,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,7,7,6,6,0,0,0,0,0,0,0,0,5,6,5,5,5,5,4,5,5,4,4,5,0,0,0,0,0,0,0,0,9,11,11,10,11,12,13,14,16,16,19,20,0,0,0,0,0,0,0,0,22,21,23,23,25,23,23,23,24,23,23,25,0,0,0,0,0,0,0,0,23,23,22,24,23,22,22,24,22],[0,28,28,28,28,29,28,28,28,27,27,27,27,26,27,27,27,27,27,27,0,0,0,0,0,0,0,0,28,27,27,28,28,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,25,24,23,22,23,21,20,22,20,20,19,19,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,2,2,1,2,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,2,0,0,0,0,0,0,0,0,2,2,3,2,2,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,1,2,2,2,2,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,5,5,4,5,0,0,0,0,0,0,0,0,4,4,5,5,6,6,8,11,12,12,15,15,0,0,0,0,0,0,0,0,21,21,21,24,24,22,24,25,24,25,26,24,0,0,0,0,0,0,0,0,23,24,25,26,27,25,26,26,26,27,26,26,0,0,0,0,0,0,0,0,26,26,27,26,27,27,27,26,27,26,26,27,0,0,0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,4,4,4,4,0,0,0,0,0,0,0,0,8,9,9,9,10,11,12,13,14,15,17,20,0,0,0,0,0,0,0,0,21,19,22,21,23,21,22,22,23,22,22,25,0,0,0,0,0,0,0,0,21,22,20,23,22,21,20,22,22],[0,28,28,29,28,29,28,27,28,27,27,27,26,26,26,27,26,26,27,26,0,0,0,0,0,0,0,0,27,26,25,27,27,28,26,27,26,27,27,27,0,0,0,0,0,0,0,0,23,23,23,22,22,20,19,19,18,18,17,17,0,0,0,0,0,0,0,0,4,3,3,3,3,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,4,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,2,2,2,2,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,2,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,5,5,5,6,7,8,10,11,12,13,0,0,0,0,0,0,0,0,17,19,18,20,22,21,22,23,24,24,24,22,0,0,0,0,0,0,0,0,24,23,24,25,26,25,26,26,25,26,25,25,0,0,0,0,0,0,0,0,27,26,27,27,27,26,27,24,26,26,25,26,0,0,0,0,0,0,0,0,22,19,19,18,16,15,13,12,11,10,8,7,0,0,0,0,0,0,0,0,5,5,6,6,5,6,6,7,7,7,7,8,0,0,0,0,0,0,0,0,8,8,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0,0,0,0,0,24,23,22,23,24,22,21,24,24],[0,28,28,28,27,28,28,27,28,26,25,27,25,26,25,26,24,25,26,25,0,0,0,0,0,0,0,0,26,24,25,26,26,27,25,26,25,26,26,26,0,0,0,0,0,0,0,0,22,22,22,21,22,19,19,18,18,18,16,16,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,2,2,2,2,2,3,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,4,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,2,2,2,2,3,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,5,5,6,6,8,9,10,10,12,14,0,0,0,0,0,0,0,0,18,18,17,19,21,20,21,23,23,23,24,22,0,0,0,0,0,0,0,0,23,23,25,25,26,24,25,26,26,26,26,26,0,0,0,0,0,0,0,0,27,26,27,27,26,26,26,24,26,26,25,26,0,0,0,0,0,0,0,0,21,19,17,17,16,15,14,12,11,10,8,7,0,0,0,0,0,0,0,0,5,5,6,6,6,6,7,7,7,7,7,8,0,0,0,0,0,0,0,0,8,8,7,7,7,7,8,8,9,9,8,9,0,0,0,0,0,0,0,0,6,6,5,5,5,5,5,4,4,4,4,5,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,6,6,5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,8,7,7,8,7,7,7,7,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,8,9,8,8,8,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,9,10,11,10,12,12,13,15,15,16,18,18,0,0,0,0,0,0,0,0,20,20,23,21,24,23,24,22,24,25,23,25,0,0,0,0,0,0,0,0,23,23,23,24,23,22,21,23,23],[0,27,27,27,27,27,28,27,26,26,26,25,26,25,25,26,26,26,25,26,0,0,0,0,0,0,0,0,26,24,25,26,26,27,26,27,26,26,26,26,0,0,0,0,0,0,0,0,23,22,22,22,22,21,20,20,19,18,18,17,0,0,0,0,0,0,0,0,6,6,5,5,4,4,4,4,4,3,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,4,3,3,3,3,3,3,3,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,3,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,4,3,3,3,3,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,3,3,4,4,4,3,3,3,2,0,0,0,0,0,0,0,0,3,3,2,2,3,3,3,3,3,4,4,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,3,3,3,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,6,6,5,6,0,0,0,0,0,0,0,0,6,6,7,7,7,8,9,11,11,12,14,14,0,0,0,0,0,0,0,0,20,20,19,21,22,22,23,23,24,24,24,24,0,0,0,0,0,0,0,0,23,24,25,25,26,25,25,26,26,27,27,26,0,0,0,0,0,0,0,0,27,26,27,27,26,26,27,26,27,26,26,26,0,0,0,0,0,0,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4,0,0,0,0,0,0,0,0,9,10,11,11,11,14,14,17,17,18,20,22,0,0,0,0,0,0,0,0,24,22,25,25,25,24,25,25,26,26,25,26,0,0,0,0,0,0,0,0,25,25,22,25,24,23,22,24,23],[0,27,27,28,28,28,28,27,27,26,26,25,26,25,25,26,26,27,26,26,0,0,0,0,0,0,0,0,26,25,24,26,25,26,25,25,25,25,25,24,0,0,0,0,0,0,0,0,22,21,21,21,21,20,20,20,19,18,17,16,0,0,0,0,0,0,0,0,5,5,4,4,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,2,2,3,3,0,0,0,0,0,0,0,0,3,4,4,3,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,1,1,2,2,2,0,0,0,0,0,0,0,0,1,1,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,3,2,3,3,3,3,3,2,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,5,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,6,6,7,7,8,10,10,10,12,12,0,0,0,0,0,0,0,0,18,18,19,21,22,20,22,22,24,24,24,22,0,0,0,0,0,0,0,0,23,23,25,25,26,24,25,24,25,26,25,25,0,0,0,0,0,0,0,0,25,25,26,26,25,26,25,25,25,26,26,26,0,0,0,0,0,0,0,0,23,21,19,20,17,16,16,14,12,11,9,8,0,0,0,0,0,0,0,0,6,6,6,7,6,7,7,7,7,7,7,8,0,0,0,0,0,0,0,0,8,7,7,8,7,7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,0,25,25,24,25,26,24,23,26,25],[0,28,28,28,28,28,28,27,28,27,26,26,26,25,25,25,25,26,25,26,0,0,0,0,0,0,0,0,26,25,25,26,26,27,25,26,25,26,26,26,0,0,0,0,0,0,0,0,23,22,21,21,21,20,19,19,19,18,17,16,0,0,0,0,0,0,0,0,4,4,4,3,3,3,3,2,3,2,2,2,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,2,2,3,2,2,2,2,0,0,0,0,0,0,0,0,2,1,2,2,2,2,2,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,1,1,2,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,3,3,3,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,2,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,3,4,4,4,4,4,4,5,4,4,0,0,0,0,0,0,0,0,4,5,5,6,6,7,8,10,10,10,12,13,0,0,0,0,0,0,0,0,18,17,19,21,21,21,22,23,24,24,24,22,0,0,0,0,0,0,0,0,23,23,24,24,26,24,24,25,25,26,25,25,0,0,0,0,0,0,0,0,26,26,27,26,26,26,26,25,26,26,25,25,0,0,0,0,0,0,0,0,22,21,20,19,18,17,15,15,12,11,9,8,0,0,0,0,0,0,0,0,5,6,6,6,6,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,8,8,7,7,7,7,8,8,8,9,8,9,0,0,0,0,0,0,0,0,6,6,6,6,5,5,5,5,4,4,4,4,0,0,0,0,0,0,0,0,4,5,5,5,5,6,6,6,5,5,4,4,0,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6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,7,6,7,6,6,6,7,7,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,4,4,5,5,4,4,0,0,0,0,0,0,0,0,9,10,12,11,10,14,15,17,17,18,19,22,0,0,0,0,0,0,0,0,23,22,25,25,24,24,26,24,25,25,24,25,0,0,0,0,0,0,0,0,24,24,22,24,25,24,23,24,24],[0,27,27,27,27,27,27,26,27,25,25,24,25,24,24,24,24,25,24,25,0,0,0,0,0,0,0,0,25,25,24,25,26,27,24,26,25,25,25,24,0,0,0,0,0,0,0,0,23,20,20,20,20,18,17,19,18,16,17,16,0,0,0,0,0,0,0,0,6,6,5,5,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,5,5,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,2,3,0,0,0,0,0,0,0,0,2,3,3,2,3,3,3,4,4,4,4,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,2,3,2,3,3,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,4,4,5,5,4,4,4,4,0,0,0,0,0,0,0,0,3,3,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,3,3,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,4,5,5,5,5,5,5,6,6,6,7,0,0,0,0,0,0,0,0,6,6,7,7,8,8,10,12,12,12,13,12,0,0,0,0,0,0,0,0,17,18,19,21,21,21,23,22,24,22,23,22,0,0,0,0,0,0,0,0,22,22,24,24,25,24,25,26,26,26,25,25,0,0,0,0,0,0,0,0,26,26,27,24,26,26,26,25,25,25,25,26,0,0,0,0,0,0,0,0,23,22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,0,0,0,0,0,9,11,11,11,11,15,16,18,16,18,21,22,0,0,0,0,0,0,0,0,24,22,24,25,25,25,26,24,26,26,25,26,0,0,0,0,0,0,0,0,25,25,23,26,26,24,24,26,24],[0,28,27,27,28,27,28,28,26,26,26,24,27,25,25,26,27,27,25,27,0,0,0,0,0,0,0,0,27,27,26,27,27,28,26,27,26,27,28,27,0,0,0,0,0,0,0,0,24,23,20,21,22,20,19,21,20,18,18,18,0,0,0,0,0,0,0,0,8,7,7,7,6,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,6,7,7,6,6,6,6,7,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,5,4,4,4,4,0,0,0,0,0,0,0,0,4,5,4,5,5,5,5,6,6,6,6,7,0,0,0,0,0,0,0,0,5,5,5,5,4,5,5,4,4,4,4,4,0,0,0,0,0,0,0,0,2,1,1,1,1,0,1,2,2,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,2,3,3,3,3,0,0,0,0,0,0,0,0,4,5,4,5,5,6,7,7,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,5,4,0,0,0,0,0,0,0,0,2,3,3,3,3,4,4,4,3,4,3,3,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,4,4,4,5,5,0,0,0,0,0,0,0,0,7,6,7,7,7,8,7,8,8,9,8,8,0,0,0,0,0,0,0,0,8,8,9,9,10,10,11,12,13,13,14,15,0,0,0,0,0,0,0,0,19,21,22,23,23,22,24,24,25,24,25,24,0,0,0,0,0,0,0,0,25,24,26,25,27,26,26,26,26,26,27,27,0,0,0,0,0,0,0,0,27,27,27,27,27,26,27,26,26,26,27,27,0,0,0,0,0,0,0,0,23,24,22,21,20,19,19,17,15,15,13,12,0,0,0,0,0,0,0,0,9,9,10,9,10,10,10,10,11,11,11,12,0,0,0,0,0,0,0,0,11,11,11,10,10,11,11,12,14,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,4,4,4,5,4,3,4,4,0,0,0,0,0,0,0,0,5,6,6,5,6,8,6,8,7,7,8,8,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,5,5,6,5,5,0,0,0,0,0,0,0,0,3,2,2,2,2,1,0,1,2,3,4,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,3,3,4,4,4,4,0,0,0,0,0,0,0,0,6,6,6,7,7,7,8,9,7,7,8,7,0,0,0,0,0,0,0,0,6,5,5,4,4,5,5,5,4,5,5,4,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,4,4,5,5,5,5,5,6,5,5,6,7,0,0,0,0,0,0,0,0,8,8,8,10,9,9,9,9,10,10,9,9,0,0,0,0,0,0,0,0,10,10,10,11,11,12,12,13,13,14,15,15,0,0,0,0,0,0,0,0,22,22,23,24,25,25,26,26,27,25,27,26,0,0,0,0,0,0,0,0,27,26,28,26,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,28,27,28,28,28,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,26,25,22,23,21,21,21,18,17,17,15,14,0,0,0,0,0,0,0,0,10,11,12,11,11,12,12,13,13,12,13,14,0,0,0,0,0,0,0,0,14,12,12,13,13,14,14,14,16,16,15,16,0,0,0,0,0,0,0,0,13,12,12,12,11,10,11,11,10,9,9,10,0,0,0,0,0,0,0,0,9,9,10,10,10,10,10,10,10,10,8,8,0,0,0,0,0,0,0,0,4,6,5,5,4,5,5,5,5,5,6,4,0,0,0,0,0,0,0,0,7,7,6,6,6,7,7,8,8,8,8,7,0,0,0,0,0,0,0,0,5,5,6,6,7,6,7,8,8,8,7,8,0,0,0,0,0,0,0,0,7,5,6,7,6,5,7,7,5,5,6,6,0,0,0,0,0,0,0,0,6,8,7,7,7,8,7,7,7,7,7,6,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,7,7,7,8,8,0,0,0,0,0,0,0,0,8,8,8,7,8,7,8,7,8,7,8,7,0,0,0,0,0,0,0,0,9,10,9,8,9,10,9,9,9,9,9,8,0,0,0,0,0,0,0,0,7,7,7,7,7,7,8,7,8,8,8,8,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,8,8,9,9,9,0,0,0,0,0,0,0,0,8,9,8,8,9,9,9,9,9,9,10,9,0,0,0,0,0,0,0,0,10,11,11,10,11,11,10,11,10,10,10,11,0,0,0,0,0,0,0,0,10,10,11,10,11,10,10,10,11,11,10,10,0,0,0,0,0,0,0,0,9,9,8,8,8,8,7,7,8,8,6,8,0,0,0,0,0,0,0,0,12,14,13,13,14,14,16,18,18,19,22,22,0,0,0,0,0,0,0,0,23,22,25,25,26,25,26,24,26,26,25,26,0,0,0,0,0,0,0,0,26,25,25,26,26,26,23,26,26],[0,28,28,28,29,28,28,29,28,27,28,26,28,28,27,27,28,28,26,28,0,0,0,0,0,0,0,0,27,28,26,27,29,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,27,26,24,26,25,24,22,24,24,22,21,21,0,0,0,0,0,0,0,0,11,13,11,11,10,10,10,10,9,9,9,10,0,0,0,0,0,0,0,0,9,10,9,9,10,9,9,11,10,9,9,10,0,0,0,0,0,0,0,0,10,9,11,11,10,10,11,11,10,11,10,10,0,0,0,0,0,0,0,0,8,7,7,7,5,5,6,7,6,5,6,6,0,0,0,0,0,0,0,0,10,10,9,8,10,9,9,10,10,9,10,10,0,0,0,0,0,0,0,0,10,9,9,10,9,8,8,8,7,7,7,8,0,0,0,0,0,0,0,0,4,3,2,3,3,2,1,0,1,2,3,3,0,0,0,0,0,0,0,0,5,6,4,4,5,5,5,5,7,7,4,7,0,0,0,0,0,0,0,0,9,9,8,10,10,10,10,11,10,10,10,9,0,0,0,0,0,0,0,0,9,8,7,8,8,7,7,7,5,6,7,6,0,0,0,0,0,0,0,0,8,6,6,5,6,5,7,5,5,5,4,4,0,0,0,0,0,0,0,0,8,9,9,9,10,10,9,10,8,10,10,10,0,0,0,0,0,0,0,0,12,11,13,13,12,12,13,13,14,14,13,14,0,0,0,0,0,0,0,0,12,13,14,14,12,13,15,15,16,17,16,17,0,0,0,0,0,0,0,0,25,24,25,27,26,27,28,27,27,27,27,27,0,0,0,0,0,0,0,0,26,27,28,28,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,29,29,29,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,26,26,26,24,23,23,22,21,19,20,17,17,0,0,0,0,0,0,0,0,17,14,16,15,14,15,15,15,16,16,16,17,0,0,0,0,0,0,0,0,15,16,17,15,16,17,16,16,18,19,18,19,0,0,0,0,0,0,0,0,15,15,14,15,15,14,15,14,13,14,13,14,0,0,0,0,0,0,0,0,13,13,13,13,14,13,12,12,12,13,11,11,0,0,0,0,0,0,0,0,8,11,8,10,8,9,9,9,10,9,9,8,0,0,0,0,0,0,0,0,9,10,9,9,9,9,8,10,10,9,10,9,0,0,0,0,0,0,0,0,8,8,7,7,8,9,9,10,10,11,10,9,0,0,0,0,0,0,0,0,10,10,9,10,10,12,10,10,11,10,12,11,0,0,0,0,0,0,0,0,10,11,11,11,12,12,11,10,12,10,11,13,0,0,0,0,0,0,0,0,11,10,10,11,12,10,11,12,11,10,12,10,0,0,0,0,0,0,0,0,10,10,11,10,10,11,9,11,10,10,12,11,0,0,0,0,0,0,0,0,11,12,12,11,11,11,11,12,12,12,11,12,0,0,0,0,0,0,0,0,11,11,11,12,11,12,11,11,13,11,11,11,0,0,0,0,0,0,0,0,12,12,12,13,11,12,12,12,12,12,11,12,0,0,0,0,0,0,0,0,12,12,12,13,13,12,12,12,12,12,14,13,0,0,0,0,0,0,0,0,13,13,14,13,14,14,13,14,13,13,13,14,0,0,0,0,0,0,0,0,13,13,14,12,13,13,13,13,14,15,12,14,0,0,0,0,0,0,0,0,12,11,11,12,11,11,12,12,12,12,11,12,0,0,0,0,0,0,0,0,15,16,15,15,17,16,18,19,19,21,22,23,0,0,0,0,0,0,0,0,25,24,26,27,27,27,28,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,28,27,26,27,27],[0,27,28,28,28,28,28,27,27,27,26,25,26,26,26,26,26,26,25,27,0,0,0,0,0,0,0,0,27,27,26,27,28,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,26,25,22,23,24,22,21,23,22,20,21,20,0,0,0,0,0,0,0,0,11,11,10,10,9,9,8,9,8,8,9,8,0,0,0,0,0,0,0,0,7,7,8,7,7,8,7,8,8,8,8,8,0,0,0,0,0,0,0,0,10,11,10,10,10,9,10,11,11,10,10,10,0,0,0,0,0,0,0,0,8,8,7,7,6,5,5,5,6,5,6,6,0,0,0,0,0,0,0,0,7,9,9,9,10,10,9,10,10,10,10,10,0,0,0,0,0,0,0,0,9,9,9,9,8,8,9,8,7,7,7,8,0,0,0,0,0,0,0,0,4,3,3,4,3,2,2,1,0,1,2,1,0,0,0,0,0,0,0,0,4,5,4,3,3,5,5,4,5,6,6,6,0,0,0,0,0,0,0,0,9,9,8,9,9,9,10,11,10,10,10,10,0,0,0,0,0,0,0,0,9,8,7,7,7,7,7,7,5,6,6,6,0,0,0,0,0,0,0,0,5,6,7,5,4,6,6,4,4,3,3,3,0,0,0,0,0,0,0,0,7,8,8,8,8,8,9,9,9,9,8,9,0,0,0,0,0,0,0,0,11,11,13,14,12,11,12,12,13,13,14,13,0,0,0,0,0,0,0,0,11,13,14,14,13,14,15,15,16,17,16,16,0,0,0,0,0,0,0,0,23,23,24,25,26,25,26,26,27,26,26,26,0,0,0,0,0,0,0,0,26,25,28,26,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,27,29,28,28,28,27,28,27,28,28,28,0,0,0,0,0,0,0,0,24,25,24,23,23,22,22,19,18,19,17,16,0,0,0,0,0,0,0,0,14,14,13,15,15,14,14,16,16,14,14,17,0,0,0,0,0,0,0,0,17,15,15,15,16,16,17,17,18,18,18,19,0,0,0,0,0,0,0,0,16,15,15,15,15,14,15,12,13,12,12,12,0,0,0,0,0,0,0,0,11,11,12,11,11,12,12,12,11,11,10,10,0,0,0,0,0,0,0,0,7,8,8,7,7,8,7,7,8,7,8,7,0,0,0,0,0,0,0,0,7,7,7,8,7,8,7,8,9,8,9,8,0,0,0,0,0,0,0,0,6,6,6,6,7,7,7,8,8,9,7,7,0,0,0,0,0,0,0,0,9,8,7,8,8,7,8,8,8,8,8,8,0,0,0,0,0,0,0,0,11,10,10,11,10,11,10,9,11,9,10,9,0,0,0,0,0,0,0,0,9,10,9,7,10,9,8,8,10,8,8,9,0,0,0,0,0,0,0,0,7,8,8,8,9,8,9,10,9,9,10,9,0,0,0,0,0,0,0,0,9,11,9,8,10,11,10,11,10,10,10,10,0,0,0,0,0,0,0,0,9,9,9,9,9,10,10,10,11,10,10,10,0,0,0,0,0,0,0,0,11,11,10,10,10,11,12,10,10,11,11,10,0,0,0,0,0,0,0,0,11,11,11,12,11,12,11,11,12,12,11,11,0,0,0,0,0,0,0,0,13,13,13,12,14,13,12,13,13,13,13,14,0,0,0,0,0,0,0,0,13,12,13,13,14,13,13,12,13,13,12,11,0,0,0,0,0,0,0,0,9,11,10,9,9,10,10,9,9,10,9,9,0,0,0,0,0,0,0,0,14,13,14,15,15,17,17,18,20,20,23,21,0,0,0,0,0,0,0,0,25,22,25,24,26,25,26,24,26,26,26,27,0,0,0,0,0,0,0,0,26,26,25,26,27,26,24,26,27],[0,28,28,28,28,29,29,27,28,27,27,27,27,26,27,26,27,26,26,27,0,0,0,0,0,0,0,0,28,26,25,27,28,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,26,25,24,23,24,22,20,22,21,21,20,20,0,0,0,0,0,0,0,0,10,9,9,8,7,7,7,8,7,8,8,7,0,0,0,0,0,0,0,0,6,6,6,6,6,7,6,7,7,7,7,8,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,7,6,6,6,6,5,5,6,6,5,5,5,0,0,0,0,0,0,0,0,6,8,8,8,8,9,8,9,9,9,10,9,0,0,0,0,0,0,0,0,8,9,9,8,7,8,8,7,8,7,8,7,0,0,0,0,0,0,0,0,5,4,4,3,3,3,1,1,1,0,1,1,0,0,0,0,0,0,0,0,5,4,4,4,4,5,4,5,5,5,5,6,0,0,0,0,0,0,0,0,8,8,7,8,8,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,7,7,8,7,7,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,5,3,4,4,4,5,5,3,4,3,3,3,0,0,0,0,0,0,0,0,6,8,6,6,7,6,6,8,7,7,7,8,0,0,0,0,0,0,0,0,10,10,10,10,11,11,11,11,11,12,11,11,0,0,0,0,0,0,0,0,10,11,11,12,12,12,12,14,14,14,15,16,0,0,0,0,0,0,0,0,23,23,24,25,25,26,27,27,28,26,27,26,0,0,0,0,0,0,0,0,26,27,28,27,28,27,28,29,29,28,28,28,0,0,0,0,0,0,0,0,28,28,29,29,29,29,29,28,28,29,29,29,0,0,0,0,0,0,0,0,26,25,24,23,22,22,21,19,17,17,15,15,0,0,0,0,0,0,0,0,11,12,12,13,13,14,13,14,15,14,15,15,0,0,0,0,0,0,0,0,16,14,13,15,14,15,16,17,17,18,17,17,0,0,0,0,0,0,0,0,14,13,14,13,13,12,12,12,10,10,10,10,0,0,0,0,0,0,0,0,11,11,11,12,11,11,11,11,12,11,10,10,0,0,0,0,0,0,0,0,6,7,7,7,6,7,8,7,6,5,7,6,0,0,0,0,0,0,0,0,5,7,7,5,6,6,6,7,8,8,9,6,0,0,0,0,0,0,0,0,5,6,6,6,6,7,6,7,6,7,7,6,0,0,0,0,0,0,0,0,7,6,5,6,6,5,6,6,7,6,6,7,0,0,0,0,0,0,0,0,8,8,8,8,9,9,8,8,8,7,8,8,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,7,7,0,0,0,0,0,0,0,0,6,7,7,7,7,7,7,9,9,7,8,8,0,0,0,0,0,0,0,0,8,9,9,8,9,9,10,10,9,10,9,8,0,0,0,0,0,0,0,0,7,7,6,6,7,7,7,7,7,7,7,8,0,0,0,0,0,0,0,0,8,9,8,7,8,8,9,8,7,8,9,9,0,0,0,0,0,0,0,0,8,9,8,8,8,9,9,8,9,9,10,9,0,0,0,0,0,0,0,0,11,11,11,10,11,11,10,11,11,11,11,12,0,0,0,0,0,0,0,0,11,11,11,11,12,12,11,11,11,12,10,10,0,0,0,0,0,0,0,0,9,10,9,8,9,9,8,9,9,9,8,9,0,0,0,0,0,0,0,0,14,14,14,15,16,16,17,20,19,20,22,22,0,0,0,0,0,0,0,0,24,23,24,25,26,26,25,24,27,26,26,27,0,0,0,0,0,0,0,0,26,26,26,27,27,26,25,26,26],[0,29,29,28,29,29,29,29,28,28,28,26,28,27,28,27,28,28,27,28,0,0,0,0,0,0,0,0,28,27,25,27,28,29,27,28,27,28,28,28,0,0,0,0,0,0,0,0,27,25,23,23,25,23,22,24,23,21,21,21,0,0,0,0,0,0,0,0,12,10,10,9,10,9,9,10,8,9,9,9,0,0,0,0,0,0,0,0,6,6,8,7,7,8,7,7,8,8,7,8,0,0,0,0,0,0,0,0,9,9,10,10,9,8,10,10,9,10,9,9,0,0,0,0,0,0,0,0,7,7,7,6,6,6,5,6,5,5,5,5,0,0,0,0,0,0,0,0,8,8,8,9,9,8,8,8,8,9,9,10,0,0,0,0,0,0,0,0,9,9,8,9,8,8,8,7,8,8,8,9,0,0,0,0,0,0,0,0,5,4,4,4,5,4,1,2,2,1,0,1,0,0,0,0,0,0,0,0,4,4,4,4,3,4,4,4,5,5,5,6,0,0,0,0,0,0,0,0,9,9,9,9,10,10,11,11,9,9,11,9,0,0,0,0,0,0,0,0,9,8,9,8,9,7,8,7,7,8,7,7,0,0,0,0,0,0,0,0,6,5,6,4,5,6,6,5,5,3,3,2,0,0,0,0,0,0,0,0,8,8,9,8,8,9,9,8,9,9,9,10,0,0,0,0,0,0,0,0,11,11,11,12,12,12,12,12,12,13,13,12,0,0,0,0,0,0,0,0,12,12,13,14,13,13,13,15,16,15,16,17,0,0,0,0,0,0,0,0,23,24,25,26,26,26,27,27,28,27,27,27,0,0,0,0,0,0,0,0,26,27,28,27,28,28,29,28,28,28,28,28,0,0,0,0,0,0,0,0,29,28,29,29,29,29,29,28,29,29,29,28,0,0,0,0,0,0,0,0,26,26,26,24,24,23,22,20,20,19,17,16,0,0,0,0,0,0,0,0,14,13,13,14,13,14,14,14,16,15,15,15,0,0,0,0,0,0,0,0,16,16,15,15,15,15,16,16,18,18,17,18,0,0,0,0,0,0,0,0,15,14,15,14,13,13,13,13,12,12,12,13,0,0,0,0,0,0,0,0,12,12,12,13,12,13,13,13,12,12,11,11,0,0,0,0,0,0,0,0,8,10,9,8,8,8,7,8,7,7,7,6,0,0,0,0,0,0,0,0,7,8,7,8,8,8,7,8,9,9,9,8,0,0,0,0,0,0,0,0,6,6,5,6,7,8,7,8,9,9,8,8,0,0,0,0,0,0,0,0,8,7,7,8,8,7,8,8,8,8,8,9,0,0,0,0,0,0,0,0,9,10,10,10,12,10,10,9,10,10,9,9,0,0,0,0,0,0,0,0,8,9,8,8,10,8,8,8,9,8,9,9,0,0,0,0,0,0,0,0,9,9,9,10,9,9,9,10,9,9,10,9,0,0,0,0,0,0,0,0,11,11,10,10,10,11,10,11,10,10,10,10,0,0,0,0,0,0,0,0,9,9,8,8,9,9,9,9,10,10,9,10,0,0,0,0,0,0,0,0,9,10,10,9,9,10,10,9,9,10,10,10,0,0,0,0,0,0,0,0,9,11,10,10,10,10,10,10,11,11,12,11,0,0,0,0,0,0,0,0,12,12,11,11,12,12,11,12,12,12,11,12,0,0,0,0,0,0,0,0,11,12,13,12,12,12,11,12,12,13,11,12,0,0,0,0,0,0,0,0,10,11,10,9,10,10,11,9,10,11,9,10,0,0,0,0,0,0,0,0,14,15,15,15,16,17,19,21,20,22,24,24,0,0,0,0,0,0,0,0,25,24,26,27,27,26,27,26,26,27,26,27,0,0,0,0,0,0,0,0,27,27,27,27,29,26,26,27,27],[0,29,28,28,29,29,28,28,28,27,28,27,28,27,27,28,28,28,27,28,0,0,0,0,0,0,0,0,27,27,26,27,28,29,27,28,28,28,28,28,0,0,0,0,0,0,0,0,26,24,24,23,24,24,20,23,22,20,20,19,0,0,0,0,0,0,0,0,10,11,9,10,8,8,8,9,8,8,8,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,9,9,9,8,8,0,0,0,0,0,0,0,0,9,9,11,10,9,9,10,10,9,10,10,9,0,0,0,0,0,0,0,0,7,6,7,6,6,6,6,7,6,6,6,6,0,0,0,0,0,0,0,0,10,9,8,7,9,9,8,9,10,8,8,9,0,0,0,0,0,0,0,0,9,8,8,8,8,8,8,7,7,7,7,7,0,0,0,0,0,0,0,0,4,4,3,3,3,3,2,2,2,1,1,0,0,0,0,0,0,0,0,0,4,5,5,4,4,5,5,4,6,7,5,7,0,0,0,0,0,0,0,0,8,8,8,8,9,9,10,10,10,9,10,8,0,0,0,0,0,0,0,0,8,7,6,6,7,7,6,7,7,6,6,6,0,0,0,0,0,0,0,0,5,6,4,4,4,4,5,5,4,3,4,4,0,0,0,0,0,0,0,0,7,7,8,8,7,8,8,8,8,8,8,9,0,0,0,0,0,0,0,0,10,10,11,13,11,11,12,12,13,13,13,13,0,0,0,0,0,0,0,0,11,12,12,13,13,12,14,15,15,15,14,15,0,0,0,0,0,0,0,0,22,23,23,25,25,25,27,26,27,26,27,27,0,0,0,0,0,0,0,0,26,27,27,27,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,29,28,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,26,26,25,24,24,22,22,20,18,19,17,16,0,0,0,0,0,0,0,0,14,14,14,13,14,14,13,15,16,14,14,15,0,0,0,0,0,0,0,0,16,14,14,14,15,16,17,17,19,19,18,18,0,0,0,0,0,0,0,0,15,15,14,14,14,13,14,13,12,11,11,12,0,0,0,0,0,0,0,0,12,11,12,11,11,12,12,11,12,11,10,10,0,0,0,0,0,0,0,0,7,8,7,7,6,8,8,7,8,8,7,6,0,0,0,0,0,0,0,0,7,7,7,7,8,8,7,8,9,8,9,8,0,0,0,0,0,0,0,0,6,6,6,6,6,8,7,8,8,8,8,7,0,0,0,0,0,0,0,0,9,9,8,8,7,8,8,8,7,7,9,8,0,0,0,0,0,0,0,0,9,9,9,10,10,10,10,9,11,9,9,9,0,0,0,0,0,0,0,0,8,9,8,7,9,9,8,8,9,8,9,8,0,0,0,0,0,0,0,0,9,9,9,9,9,10,9,10,9,8,9,9,0,0,0,0,0,0,0,0,10,10,10,9,10,11,10,10,10,10,10,10,0,0,0,0,0,0,0,0,8,8,9,9,9,10,10,9,10,9,9,10,0,0,0,0,0,0,0,0,10,10,11,10,10,11,10,10,10,11,10,10,0,0,0,0,0,0,0,0,11,10,10,10,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,0,12,12,12,11,13,12,11,12,12,12,12,13,0,0,0,0,0,0,0,0,12,12,12,12,13,11,11,12,12,13,11,12,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,9,10,9,10,0,0,0,0,0,0,0,0,13,14,14,14,15,15,16,18,19,20,22,23,0,0,0,0,0,0,0,0,25,24,25,26,26,25,27,25,25,27,26,27,0,0,0,0,0,0,0,0,27,26,26,26,27,27,25,27,28],[0,28,28,28,28,28,28,27,28,27,26,26,27,26,27,26,27,26,26,28,0,0,0,0,0,0,0,0,27,26,25,27,28,28,26,27,27,27,28,27,0,0,0,0,0,0,0,0,25,23,23,23,23,22,20,22,21,20,20,20,0,0,0,0,0,0,0,0,10,10,9,9,9,9,8,9,8,8,8,8,0,0,0,0,0,0,0,0,7,7,7,7,8,7,7,8,8,8,8,8,0,0,0,0,0,0,0,0,10,11,10,10,10,10,10,11,11,10,10,10,0,0,0,0,0,0,0,0,7,8,8,7,6,6,6,7,6,6,6,7,0,0,0,0,0,0,0,0,8,7,9,8,8,10,9,10,10,10,10,11,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,8,8,8,8,8,0,0,0,0,0,0,0,0,6,5,5,3,4,3,3,3,2,2,1,1,0,0,0,0,0,0,0,0,4,5,5,4,5,6,5,6,6,6,7,7,0,0,0,0,0,0,0,0,9,9,8,9,9,9,10,11,10,10,10,10,0,0,0,0,0,0,0,0,9,8,8,7,8,7,8,8,7,7,7,7,0,0,0,0,0,0,0,0,7,6,7,5,4,5,5,5,4,3,4,3,0,0,0,0,0,0,0,0,7,8,8,8,8,8,8,8,9,9,8,8,0,0,0,0,0,0,0,0,11,10,12,14,12,11,12,12,13,14,13,13,0,0,0,0,0,0,0,0,12,12,13,13,12,13,14,14,14,15,15,14,0,0,0,0,0,0,0,0,22,22,23,24,25,25,26,26,27,25,26,26,0,0,0,0,0,0,0,0,26,26,28,27,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,29,28,29,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,25,25,23,23,23,22,22,19,18,18,16,16,0,0,0,0,0,0,0,0,15,15,14,13,15,15,14,16,16,15,15,16,0,0,0,0,0,0,0,0,17,15,15,15,16,17,17,18,19,19,18,19,0,0,0,0,0,0,0,0,16,15,16,15,14,14,14,13,13,12,12,13,0,0,0,0,0,0,0,0,12,11,13,12,12,12,13,12,12,12,11,10,0,0,0,0,0,0,0,0,7,8,8,7,7,7,7,7,7,7,8,6,0,0,0,0,0,0,0,0,7,7,6,7,7,7,7,8,7,8,10,7,0,0,0,0,0,0,0,0,5,6,5,5,6,6,7,7,7,8,7,7,0,0,0,0,0,0,0,0,7,7,6,7,6,8,8,8,7,7,8,8,0,0,0,0,0,0,0,0,10,10,9,10,10,10,10,9,11,9,9,9,0,0,0,0,0,0,0,0,7,9,8,7,8,8,7,8,9,8,8,8,0,0,0,0,0,0,0,0,7,8,8,8,8,8,9,9,9,8,8,8,0,0,0,0,0,0,0,0,9,10,10,8,9,11,10,11,10,10,10,9,0,0,0,0,0,0,0,0,8,8,9,9,9,9,10,9,10,9,10,10,0,0,0,0,0,0,0,0,11,10,10,9,10,10,11,10,8,10,10,10,0,0,0,0,0,0,0,0,10,10,10,10,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,0,12,13,11,10,13,12,11,13,13,12,12,13,0,0,0,0,0,0,0,0,13,12,12,12,13,12,12,12,12,13,11,11,0,0,0,0,0,0,0,0,10,10,11,10,10,10,10,10,9,11,9,9,0,0,0,0,0,0,0,0,14,14,14,16,16,16,17,18,20,20,23,23,0,0,0,0,0,0,0,0,26,22,25,25,26,26,26,25,27,27,26,27,0,0,0,0,0,0,0,0,27,26,26,27,27,27,25,26,27],[0,29,28,29,29,29,29,28,28,28,28,27,28,27,27,27,27,27,26,28,0,0,0,0,0,0,0,0,27,27,26,27,28,29,27,28,28,28,28,28,0,0,0,0,0,0,0,0,26,25,24,24,25,23,21,23,22,21,20,21,0,0,0,0,0,0,0,0,11,12,10,9,9,9,8,10,9,9,9,9,0,0,0,0,0,0,0,0,7,7,6,7,8,7,7,7,8,8,7,7,0,0,0,0,0,0,0,0,9,9,10,10,10,10,10,10,10,10,11,10,0,0,0,0,0,0,0,0,8,8,7,6,6,6,6,6,5,5,5,5,0,0,0,0,0,0,0,0,8,8,9,10,9,10,8,10,9,9,11,9,0,0,0,0,0,0,0,0,10,10,10,9,10,10,9,8,10,9,8,8,0,0,0,0,0,0,0,0,6,6,5,3,4,3,2,3,2,2,1,1,0,0,0,0,0,0,0,0,6,5,5,4,6,5,4,5,5,7,8,8,0,0,0,0,0,0,0,0,10,10,9,10,10,11,11,12,10,10,11,10,0,0,0,0,0,0,0,0,10,9,8,9,8,8,9,9,8,8,7,7,0,0,0,0,0,0,0,0,7,5,6,5,5,5,5,4,5,3,2,2,0,0,0,0,0,0,0,0,9,10,7,8,8,8,8,9,8,8,9,9,0,0,0,0,0,0,0,0,11,11,11,11,12,12,11,12,13,12,12,12,0,0,0,0,0,0,0,0,12,12,12,13,13,12,13,14,15,14,16,16,0,0,0,0,0,0,0,0,22,23,23,25,26,26,26,26,28,25,28,26,0,0,0,0,0,0,0,0,26,27,28,27,28,27,28,29,28,28,28,29,0,0,0,0,0,0,0,0,29,28,30,29,29,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,26,25,23,23,22,22,21,19,17,18,16,15,0,0,0,0,0,0,0,0,13,13,13,14,13,15,14,15,16,15,15,15,0,0,0,0,0,0,0,0,16,14,14,16,15,16,17,17,18,19,18,18,0,0,0,0,0,0,0,0,14,14,14,14,13,13,13,12,11,11,11,11,0,0,0,0,0,0,0,0,12,11,12,12,12,13,12,13,13,12,12,11,0,0,0,0,0,0,0,0,8,8,8,8,7,7,8,8,7,5,8,7,0,0,0,0,0,0,0,0,5,7,7,6,6,6,6,7,9,8,8,7,0,0,0,0,0,0,0,0,6,6,5,6,6,6,7,7,7,7,7,6,0,0,0,0,0,0,0,0,6,8,6,6,7,8,6,7,7,6,7,8,0,0,0,0,0,0,0,0,10,9,9,9,10,9,9,9,9,8,9,9,0,0,0,0,0,0,0,0,7,7,6,7,7,7,6,7,7,7,7,7,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,10,9,9,9,8,0,0,0,0,0,0,0,0,9,9,9,9,9,10,11,11,10,11,9,9,0,0,0,0,0,0,0,0,8,8,7,7,8,8,7,8,8,8,8,9,0,0,0,0,0,0,0,0,8,9,9,8,8,9,10,9,8,8,9,9,0,0,0,0,0,0,0,0,9,9,9,9,10,9,9,9,10,10,10,9,0,0,0,0,0,0,0,0,11,11,11,11,11,11,11,13,11,11,11,12,0,0,0,0,0,0,0,0,12,12,12,12,12,12,11,12,12,12,11,11,0,0,0,0,0,0,0,0,9,11,9,9,9,10,9,10,10,10,10,10,0,0,0,0,0,0,0,0,14,15,15,15,16,17,18,21,21,21,24,23,0,0,0,0,0,0,0,0,26,24,25,26,27,27,27,25,27,27,27,28,0,0,0,0,0,0,0,0,28,28,27,28,28,26,26,28,27],[0,29,29,28,29,29,29,28,28,27,28,26,28,26,27,27,27,28,25,28,0,0,0,0,0,0,0,0,26,28,25,27,28,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,25,24,22,23,23,22,20,22,21,20,20,19,0,0,0,0,0,0,0,0,11,10,10,9,9,8,8,9,8,7,8,8,0,0,0,0,0,0,0,0,7,6,7,7,6,7,7,8,6,8,7,8,0,0,0,0,0,0,0,0,9,10,11,10,10,9,10,10,10,10,10,10,0,0,0,0,0,0,0,0,7,7,7,7,6,7,7,7,6,5,6,6,0,0,0,0,0,0,0,0,7,8,8,7,7,8,8,8,9,9,9,10,0,0,0,0,0,0,0,0,8,9,9,9,8,9,9,7,7,8,7,7,0,0,0,0,0,0,0,0,6,6,6,4,4,4,3,4,4,3,2,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,5,6,6,8,0,0,0,0,0,0,0,0,8,8,8,8,9,10,10,11,9,10,10,9,0,0,0,0,0,0,0,0,9,9,8,7,8,8,8,8,7,8,8,7,0,0,0,0,0,0,0,0,7,6,6,4,5,5,5,4,4,3,3,3,0,0,0,0,0,0,0,0,6,7,7,7,8,8,9,8,8,9,9,9,0,0,0,0,0,0,0,0,11,11,11,12,11,12,12,12,13,13,12,13,0,0,0,0,0,0,0,0,11,12,12,13,13,12,14,15,16,15,16,17,0,0,0,0,0,0,0,0,21,21,22,23,24,24,25,24,26,25,26,25,0,0,0,0,0,0,0,0,25,26,27,26,28,26,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,29,28,28,27,27,27,27,28,27,28,0,0,0,0,0,0,0,0,24,25,23,23,22,21,21,18,17,18,16,15,0,0,0,0,0,0,0,0,14,13,14,13,13,14,14,13,15,15,14,14,0,0,0,0,0,0,0,0,15,15,15,15,15,15,17,15,18,18,17,17,0,0,0,0,0,0,0,0,15,14,13,13,13,12,13,12,13,11,12,13,0,0,0,0,0,0,0,0,11,12,12,13,12,14,13,12,13,12,11,11,0,0,0,0,0,0,0,0,8,9,9,8,8,9,8,7,8,7,7,6,0,0,0,0,0,0,0,0,7,8,6,7,7,7,7,7,9,8,8,7,0,0,0,0,0,0,0,0,6,6,5,6,6,7,7,7,8,8,8,7,0,0,0,0,0,0,0,0,8,7,6,8,7,6,7,8,8,7,8,9,0,0,0,0,0,0,0,0,9,9,9,9,11,11,10,9,9,9,9,9,0,0,0,0,0,0,0,0,8,9,8,8,9,9,7,8,9,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,9,8,0,0,0,0,0,0,0,0,10,10,9,9,10,10,10,11,10,10,9,10,0,0,0,0,0,0,0,0,9,8,9,9,9,9,10,9,9,9,9,10,0,0,0,0,0,0,0,0,10,10,12,10,10,10,11,10,10,10,11,10,0,0,0,0,0,0,0,0,10,10,10,10,11,11,10,11,11,11,12,11,0,0,0,0,0,0,0,0,12,11,12,11,12,12,11,12,12,12,11,12,0,0,0,0,0,0,0,0,11,12,13,12,12,11,11,12,12,14,12,13,0,0,0,0,0,0,0,0,12,11,10,11,11,11,11,11,11,10,10,11,0,0,0,0,0,0,0,0,14,15,16,15,16,17,19,21,19,21,23,23,0,0,0,0,0,0,0,0,25,23,26,26,27,26,27,25,27,27,27,28,0,0,0,0,0,0,0,0,27,27,27,27,28,27,25,27,27],[0,28,28,27,28,28,28,28,28,26,27,24,27,25,26,26,26,27,24,27,0,0,0,0,0,0,0,0,25,27,26,26,28,28,26,27,27,27,28,27,0,0,0,0,0,0,0,0,25,24,20,21,23,21,19,22,21,19,19,19,0,0,0,0,0,0,0,0,12,13,11,11,10,10,10,11,9,9,10,11,0,0,0,0,0,0,0,0,8,7,9,8,7,9,9,9,9,10,9,8,0,0,0,0,0,0,0,0,10,10,11,11,10,11,12,11,11,11,12,11,0,0,0,0,0,0,0,0,9,8,9,8,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,10,10,9,10,11,9,9,10,11,10,10,11,0,0,0,0,0,0,0,0,10,9,10,10,10,9,9,9,8,9,9,8,0,0,0,0,0,0,0,0,5,5,6,4,4,4,5,3,3,3,4,3,0,0,0,0,0,0,0,0,5,5,5,5,4,5,5,6,7,6,6,6,0,0,0,0,0,0,0,0,9,9,10,10,11,11,11,11,11,11,11,10,0,0,0,0,0,0,0,0,10,9,9,8,9,9,8,8,8,8,8,7,0,0,0,0,0,0,0,0,6,6,6,4,5,5,5,4,4,3,4,4,0,0,0,0,0,0,0,0,7,7,9,8,8,9,9,9,10,10,9,10,0,0,0,0,0,0,0,0,12,12,13,15,14,14,14,14,15,15,14,15,0,0,0,0,0,0,0,0,13,13,13,13,13,14,14,15,14,16,15,16,0,0,0,0,0,0,0,0,21,23,21,24,25,25,26,26,26,25,26,25,0,0,0,0,0,0,0,0,26,26,27,27,28,27,28,29,28,28,28,29,0,0,0,0,0,0,0,0,29,28,28,29,28,28,28,28,28,28,29,29,0,0,0,0,0,0,0,0,26,26,26,24,24,23,23,20,19,20,17,16,0,0,0,0,0,0,0,0,15,16,14,15,16,16,15,15,17,15,15,16,0,0,0,0,0,0,0,0,17,15,16,16,18,18,19,18,20,19,19,19,0,0,0,0,0,0,0,0,17,16,16,15,15,15,15,16,13,14,13,14,0,0,0,0,0,0,0,0,14,13,14,14,12,13,14,13,14,12,13,13,0,0,0,0,0,0,0,0,9,9,9,8,8,8,8,7,8,7,7,6,0,0,0,0,0,0,0,0,9,8,7,9,9,9,8,8,9,9,9,9,0,0,0,0,0,0,0,0,6,6,6,5,6,6,7,8,8,9,8,8,0,0,0,0,0,0,0,0,10,8,8,10,9,8,9,9,8,8,10,10,0,0,0,0,0,0,0,0,11,11,11,11,12,13,11,11,12,10,10,10,0,0,0,0,0,0,0,0,9,10,9,8,10,10,8,9,10,10,9,10,0,0,0,0,0,0,0,0,9,10,11,10,10,10,10,11,9,10,10,10,0,0,0,0,0,0,0,0,10,11,10,9,10,11,10,11,11,12,11,11,0,0,0,0,0,0,0,0,10,10,10,11,10,11,11,11,10,10,12,11,0,0,0,0,0,0,0,0,11,11,12,10,11,12,12,11,11,12,11,11,0,0,0,0,0,0,0,0,12,12,12,12,13,12,11,12,13,12,13,13,0,0,0,0,0,0,0,0,13,13,12,12,14,13,12,13,14,13,14,14,0,0,0,0,0,0,0,0,13,13,14,14,14,13,12,13,13,13,12,12,0,0,0,0,0,0,0,0,10,12,11,11,11,12,11,11,11,11,11,11,0,0,0,0,0,0,0,0,14,14,15,15,17,18,18,18,21,21,23,23,0,0,0,0,0,0,0,0,25,24,26,25,27,26,25,24,27,26,25,26,0,0,0,0,0,0,0,0,27,26,26,26,28,26,24,27,27],[0,28,28,28,28,28,28,27,27,27,27,26,27,26,26,27,27,27,26,27,0,0,0,0,0,0,0,0,26,27,25,26,28,28,26,27,27,27,27,27,0,0,0,0,0,0,0,0,25,22,21,23,23,20,20,22,21,20,21,20,0,0,0,0,0,0,0,0,14,13,14,13,14,13,12,13,12,11,11,11,0,0,0,0,0,0,0,0,7,8,8,8,9,9,9,8,9,11,11,10,0,0,0,0,0,0,0,0,12,12,12,12,12,13,13,14,13,13,13,13,0,0,0,0,0,0,0,0,12,12,11,10,9,9,8,8,8,8,7,9,0,0,0,0,0,0,0,0,11,12,12,12,13,13,13,13,13,13,13,13,0,0,0,0,0,0,0,0,13,13,14,13,12,13,13,12,11,13,11,12,0,0,0,0,0,0,0,0,8,7,8,8,7,7,6,5,5,5,4,4,0,0,0,0,0,0,0,0,5,6,6,3,5,7,7,8,8,10,9,11,0,0,0,0,0,0,0,0,13,13,11,13,13,13,13,13,12,13,13,13,0,0,0,0,0,0,0,0,12,13,12,11,12,12,11,10,11,10,10,11,0,0,0,0,0,0,0,0,9,8,8,7,6,6,6,5,5,6,5,4,0,0,0,0,0,0,0,0,10,11,12,11,13,13,12,12,13,13,13,12,0,0,0,0,0,0,0,0,15,15,15,18,16,16,16,17,17,16,16,15,0,0,0,0,0,0,0,0,14,15,15,15,15,16,15,15,17,16,16,17,0,0,0,0,0,0,0,0,22,23,23,24,25,25,26,26,27,27,27,26,0,0,0,0,0,0,0,0,26,26,27,27,28,27,28,28,28,29,28,29,0,0,0,0,0,0,0,0,29,29,29,29,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,25,26,25,25,24,22,24,21,19,21,19,17,0,0,0,0,0,0,0,0,16,18,16,17,19,19,17,19,20,18,16,18,0,0,0,0,0,0,0,0,19,18,19,19,20,20,20,21,21,20,20,21,0,0,0,0,0,0,0,0,19,18,18,17,18,16,18,19,15,16,15,16,0,0,0,0,0,0,0,0,16,15,16,16,15,16,17,17,16,15,16,15,0,0,0,0,0,0,0,0,12,13,13,11,11,12,12,11,11,10,10,9,0,0,0,0,0,0,0,0,10,9,7,9,8,8,7,9,9,9,9,8,0,0,0,0,0,0,0,0,5,6,4,5,5,7,8,8,8,8,7,6,0,0,0,0,0,0,0,0,8,8,7,9,9,8,10,10,10,11,12,13,0,0,0,0,0,0,0,0,14,14,14,14,14,16,15,15,14,14,13,12,0,0,0,0,0,0,0,0,11,12,11,10,11,12,10,11,11,10,10,10,0,0,0,0,0,0,0,0,9,10,9,10,10,9,11,12,12,11,10,10,0,0,0,0,0,0,0,0,9,10,10,9,10,11,11,12,12,12,12,11,0,0,0,0,0,0,0,0,12,10,14,13,12,13,14,12,13,12,14,14,0,0,0,0,0,0,0,0,13,13,13,11,12,12,13,11,11,13,13,11,0,0,0,0,0,0,0,0,13,14,14,13,14,15,14,13,14,15,15,14,0,0,0,0,0,0,0,0,16,13,12,12,16,14,13,16,15,14,16,17,0,0,0,0,0,0,0,0,16,16,16,16,16,15,14,15,14,15,15,13,0,0,0,0,0,0,0,0,14,15,15,14,14,14,14,14,14,15,13,14,0,0,0,0,0,0,0,0,17,16,17,18,19,19,21,20,21,22,24,23,0,0,0,0,0,0,0,0,27,25,27,26,28,28,27,26,28,27,26,28,0,0,0,0,0,0,0,0,28,28,28,28,28,27,26,28,28],[0,29,28,28,29,29,28,28,27,27,27,25,27,26,27,26,26,27,24,27,0,0,0,0,0,0,0,0,26,28,25,27,28,29,27,28,28,28,28,28,0,0,0,0,0,0,0,0,26,24,21,23,24,22,21,23,22,20,21,20,0,0,0,0,0,0,0,0,13,13,13,12,13,13,11,12,11,11,11,11,0,0,0,0,0,0,0,0,6,6,9,8,8,11,10,11,11,12,11,11,0,0,0,0,0,0,0,0,14,14,14,14,13,13,15,15,15,14,15,14,0,0,0,0,0,0,0,0,12,11,10,9,10,10,9,10,8,8,9,9,0,0,0,0,0,0,0,0,11,12,12,12,13,12,11,13,12,12,12,13,0,0,0,0,0,0,0,0,12,13,13,13,12,14,13,11,12,13,12,12,0,0,0,0,0,0,0,0,9,9,10,7,8,8,6,5,4,5,4,4,0,0,0,0,0,0,0,0,3,5,4,4,5,6,6,7,8,9,9,9,0,0,0,0,0,0,0,0,12,13,13,13,13,15,14,15,15,14,14,13,0,0,0,0,0,0,0,0,14,14,12,12,14,13,12,11,11,11,12,11,0,0,0,0,0,0,0,0,9,8,9,7,6,7,7,6,6,5,4,4,0,0,0,0,0,0,0,0,9,10,11,12,13,13,12,14,14,14,14,13,0,0,0,0,0,0,0,0,17,16,16,19,17,17,17,17,19,18,17,17,0,0,0,0,0,0,0,0,15,16,16,16,15,16,16,15,17,17,16,18,0,0,0,0,0,0,0,0,23,24,23,24,26,25,26,26,27,26,27,26,0,0,0,0,0,0,0,0,26,27,28,28,29,27,28,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,28,29,28,28,28,28,29,28,29,0,0,0,0,0,0,0,0,26,26,26,24,24,23,22,22,20,21,19,18,0,0,0,0,0,0,0,0,18,18,17,17,19,18,19,19,19,18,19,20,0,0,0,0,0,0,0,0,20,18,18,19,19,19,21,22,22,21,20,22,0,0,0,0,0,0,0,0,20,19,19,18,18,17,19,19,19,18,15,17,0,0,0,0,0,0,0,0,18,17,17,17,15,17,17,17,16,16,16,14,0,0,0,0,0,0,0,0,12,13,13,13,11,12,12,10,11,10,10,9,0,0,0,0,0,0,0,0,9,9,7,8,9,9,8,9,9,9,11,10,0,0,0,0,0,0,0,0,4,5,5,5,6,7,8,8,7,9,8,7,0,0,0,0,0,0,0,0,8,7,7,8,8,8,9,11,9,10,11,13,0,0,0,0,0,0,0,0,14,15,15,16,16,16,15,15,14,13,14,14,0,0,0,0,0,0,0,0,11,12,10,9,11,12,10,9,11,9,10,11,0,0,0,0,0,0,0,0,8,9,9,10,11,10,11,12,12,11,11,12,0,0,0,0,0,0,0,0,9,11,11,9,9,11,10,12,12,13,11,11,0,0,0,0,0,0,0,0,12,12,11,12,12,13,12,13,14,12,13,14,0,0,0,0,0,0,0,0,13,14,14,12,14,12,13,13,12,12,13,13,0,0,0,0,0,0,0,0,11,14,14,14,12,14,15,13,14,15,15,14,0,0,0,0,0,0,0,0,15,16,14,14,17,16,14,16,16,15,15,16,0,0,0,0,0,0,0,0,16,15,16,15,17,14,15,15,16,17,14,16,0,0,0,0,0,0,0,0,15,16,14,14,15,16,15,15,15,16,14,15,0,0,0,0,0,0,0,0,17,17,16,18,18,20,21,21,22,21,25,24,0,0,0,0,0,0,0,0,27,23,26,25,28,26,27,25,28,27,26,27,0,0,0,0,0,0,0,0,28,27,27,28,28,26,26,27,27],[0,28,28,28,29,29,28,28,28,27,27,27,28,27,27,27,27,28,26,28,0,0,0,0,0,0,0,0,27,28,26,27,28,28,27,28,28,27,28,27,0,0,0,0,0,0,0,0,26,24,21,24,24,22,21,24,22,20,22,21,0,0,0,0,0,0,0,0,13,12,12,11,11,11,9,10,9,9,8,9,0,0,0,0,0,0,0,0,5,6,6,6,6,7,7,8,7,8,8,8,0,0,0,0,0,0,0,0,12,11,12,13,11,10,11,13,12,14,12,14,0,0,0,0,0,0,0,0,9,9,10,9,7,8,8,9,9,7,9,7,0,0,0,0,0,0,0,0,8,9,9,10,8,9,9,9,10,10,10,11,0,0,0,0,0,0,0,0,9,10,11,9,9,12,11,9,10,12,10,10,0,0,0,0,0,0,0,0,8,7,9,9,7,7,6,6,5,5,6,5,0,0,0,0,0,0,0,0,2,4,4,2,4,4,5,5,4,6,6,8,0,0,0,0,0,0,0,0,9,10,10,10,12,12,12,12,11,12,12,13,0,0,0,0,0,0,0,0,10,12,11,9,10,11,10,10,10,11,10,11,0,0,0,0,0,0,0,0,9,7,8,7,6,7,7,6,6,5,4,3,0,0,0,0,0,0,0,0,7,8,8,9,10,11,10,10,11,11,11,11,0,0,0,0,0,0,0,0,14,14,15,15,15,15,15,16,16,16,15,15,0,0,0,0,0,0,0,0,13,14,14,15,15,14,15,16,15,16,17,18,0,0,0,0,0,0,0,0,20,23,23,23,25,24,25,25,27,26,27,26,0,0,0,0,0,0,0,0,25,26,28,27,28,28,28,28,29,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,28,28,29,28,29,0,0,0,0,0,0,0,0,26,26,24,24,24,22,22,21,20,20,18,17,0,0,0,0,0,0,0,0,17,16,17,17,17,18,17,18,19,18,18,19,0,0,0,0,0,0,0,0,20,18,18,19,19,19,20,21,22,22,22,22,0,0,0,0,0,0,0,0,19,18,17,18,17,16,16,16,15,15,15,16,0,0,0,0,0,0,0,0,16,15,16,16,15,17,16,16,16,15,14,14,0,0,0,0,0,0,0,0,11,11,12,12,11,10,10,10,11,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,9,9,10,9,10,9,0,0,0,0,0,0,0,0,4,5,5,6,4,6,7,7,7,7,6,6,0,0,0,0,0,0,0,0,7,6,6,8,7,8,9,9,9,10,9,10,0,0,0,0,0,0,0,0,13,13,14,14,15,15,15,12,12,13,13,13,0,0,0,0,0,0,0,0,11,10,9,11,10,10,10,10,10,10,10,11,0,0,0,0,0,0,0,0,8,8,8,8,8,7,8,9,8,8,8,8,0,0,0,0,0,0,0,0,8,10,9,8,9,10,10,11,10,11,11,11,0,0,0,0,0,0,0,0,11,10,11,12,11,12,12,11,12,12,13,13,0,0,0,0,0,0,0,0,12,14,13,12,13,12,13,13,12,12,13,14,0,0,0,0,0,0,0,0,12,13,13,12,14,14,13,12,14,14,14,14,0,0,0,0,0,0,0,0,14,14,13,13,14,14,14,15,15,15,14,16,0,0,0,0,0,0,0,0,15,15,15,15,16,14,14,15,15,15,14,14,0,0,0,0,0,0,0,0,14,15,13,14,14,14,13,14,15,16,13,14,0,0,0,0,0,0,0,0,17,17,17,18,19,20,21,20,23,23,26,23,0,0,0,0,0,0,0,0,28,24,27,27,28,27,28,27,29,28,28,28,0,0,0,0,0,0,0,0,29,28,28,29,29,28,27,28,28],[0,29,29,29,29,30,30,28,29,28,28,28,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,27,26,28,27,28,27,28,27,28,28,27,0,0,0,0,0,0,0,0,25,23,22,23,23,22,21,22,22,21,20,20,0,0,0,0,0,0,0,0,9,10,9,9,8,9,8,10,6,7,6,7,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,6,6,6,0,0,0,0,0,0,0,0,8,8,8,8,7,7,8,8,8,9,8,8,0,0,0,0,0,0,0,0,6,7,7,6,6,6,6,7,6,5,6,6,0,0,0,0,0,0,0,0,6,6,6,7,6,6,6,7,6,7,8,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,6,8,8,7,7,0,0,0,0,0,0,0,0,7,6,6,5,6,6,6,6,6,4,5,5,0,0,0,0,0,0,0,0,1,1,2,2,3,3,4,4,3,4,7,6,0,0,0,0,0,0,0,0,7,8,8,8,8,9,9,9,9,8,8,9,0,0,0,0,0,0,0,0,8,8,8,7,8,8,8,8,8,8,7,8,0,0,0,0,0,0,0,0,7,6,6,6,5,5,5,4,5,5,2,3,0,0,0,0,0,0,0,0,7,7,8,8,9,8,9,8,8,9,8,9,0,0,0,0,0,0,0,0,10,10,11,11,11,11,12,11,12,11,10,12,0,0,0,0,0,0,0,0,11,10,11,11,12,12,12,14,14,13,16,16,0,0,0,0,0,0,0,0,21,22,22,23,24,24,25,26,27,24,27,25,0,0,0,0,0,0,0,0,25,26,27,26,28,27,28,27,27,28,27,28,0,0,0,0,0,0,0,0,28,28,28,28,29,27,28,28,28,28,27,28,0,0,0,0,0,0,0,0,26,24,24,22,22,21,21,19,17,19,14,14,0,0,0,0,0,0,0,0,13,13,14,13,12,14,13,13,14,14,13,14,0,0,0,0,0,0,0,0,16,14,14,14,14,13,16,16,16,18,17,16,0,0,0,0,0,0,0,0,13,13,13,12,11,11,11,11,12,11,11,11,0,0,0,0,0,0,0,0,11,12,11,12,11,13,13,12,12,13,12,11,0,0,0,0,0,0,0,0,9,9,9,9,7,9,9,8,9,7,7,7,0,0,0,0,0,0,0,0,6,6,5,7,7,7,7,8,9,9,8,8,0,0,0,0,0,0,0,0,3,3,3,4,4,4,5,5,6,6,4,4,0,0,0,0,0,0,0,0,5,5,5,8,6,6,7,7,7,6,9,9,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,9,0,0,0,0,0,0,0,0,8,9,8,8,8,9,8,8,8,7,9,8,0,0,0,0,0,0,0,0,7,7,7,6,6,5,7,6,6,6,7,6,0,0,0,0,0,0,0,0,7,7,7,8,8,7,9,9,8,9,8,9,0,0,0,0,0,0,0,0,9,8,9,9,8,10,9,8,8,10,10,9,0,0,0,0,0,0,0,0,10,10,10,10,9,10,10,9,9,10,9,10,0,0,0,0,0,0,0,0,10,9,9,9,10,9,9,11,10,10,11,9,0,0,0,0,0,0,0,0,10,10,10,10,10,10,11,10,10,11,11,10,0,0,0,0,0,0,0,0,11,10,12,10,11,11,10,11,11,11,11,11,0,0,0,0,0,0,0,0,11,11,11,11,11,10,12,14,11,11,11,12,0,0,0,0,0,0,0,0,14,15,16,16,17,17,19,20,20,21,24,24,0,0,0,0,0,0,0,0,27,24,27,27,28,27,26,24,27,27,26,28,0,0,0,0,0,0,0,0,28,28,27,28,28,26,25,28,27],[0,28,28,28,28,29,29,28,29,27,27,27,27,27,27,27,27,28,26,28,0,0,0,0,0,0,0,0,28,27,27,28,29,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,26,23,22,23,24,22,21,22,22,20,19,19,0,0,0,0,0,0,0,0,8,8,7,7,7,7,6,6,6,6,5,5,0,0,0,0,0,0,0,0,3,3,4,3,3,5,4,5,5,5,5,5,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,5,5,6,6,5,5,5,6,5,5,5,4,0,0,0,0,0,0,0,0,4,5,5,5,5,5,5,6,5,6,6,6,0,0,0,0,0,0,0,0,6,6,6,5,5,5,6,5,5,6,5,6,0,0,0,0,0,0,0,0,5,5,4,4,4,4,4,4,5,5,4,4,0,0,0,0,0,0,0,0,0,1,1,1,2,2,3,4,2,2,3,4,0,0,0,0,0,0,0,0,5,6,6,6,7,7,8,9,7,7,8,7,0,0,0,0,0,0,0,0,6,6,5,6,6,7,7,6,7,7,7,6,0,0,0,0,0,0,0,0,6,7,5,4,5,4,4,3,3,4,3,2,0,0,0,0,0,0,0,0,5,5,6,5,6,6,6,6,7,7,6,7,0,0,0,0,0,0,0,0,9,9,9,10,9,10,9,9,10,10,10,10,0,0,0,0,0,0,0,0,9,10,10,10,10,11,12,14,13,13,14,15,0,0,0,0,0,0,0,0,20,21,21,23,24,24,25,25,27,25,26,25,0,0,0,0,0,0,0,0,25,26,27,27,28,26,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,27,27,29,0,0,0,0,0,0,0,0,25,25,24,22,22,21,20,18,17,16,14,13,0,0,0,0,0,0,0,0,11,12,11,11,12,12,12,13,14,13,13,15,0,0,0,0,0,0,0,0,14,13,13,14,14,14,15,15,16,16,16,16,0,0,0,0,0,0,0,0,13,12,12,12,11,11,11,11,10,10,10,10,0,0,0,0,0,0,0,0,10,10,11,11,11,12,12,11,11,11,10,9,0,0,0,0,0,0,0,0,7,7,8,7,7,7,7,6,7,6,6,6,0,0,0,0,0,0,0,0,5,5,4,5,5,6,6,6,7,7,8,6,0,0,0,0,0,0,0,0,3,3,2,3,3,4,5,6,6,7,6,5,0,0,0,0,0,0,0,0,5,4,4,6,5,5,5,5,6,6,6,7,0,0,0,0,0,0,0,0,8,8,8,9,9,9,9,9,9,8,9,8,0,0,0,0,0,0,0,0,6,7,6,7,6,7,6,6,6,7,8,7,0,0,0,0,0,0,0,0,6,5,6,5,6,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,6,6,7,5,7,7,8,8,7,8,7,7,0,0,0,0,0,0,0,0,7,6,7,7,7,7,8,7,8,9,9,8,0,0,0,0,0,0,0,0,8,8,8,8,8,9,9,8,8,8,8,9,0,0,0,0,0,0,0,0,8,8,8,8,9,9,8,9,9,8,10,9,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,9,10,10,10,0,0,0,0,0,0,0,0,10,10,11,9,10,10,10,10,11,11,10,9,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,9,10,9,9,0,0,0,0,0,0,0,0,14,15,15,14,16,17,17,20,20,20,22,22,0,0,0,0,0,0,0,0,25,24,26,25,26,25,26,24,27,27,25,27,0,0,0,0,0,0,0,0,27,26,26,26,27,26,24,25,26],[0,28,28,29,28,29,29,28,29,28,28,28,28,27,27,27,28,28,27,28,0,0,0,0,0,0,0,0,27,28,27,27,28,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,26,24,22,23,25,22,22,24,22,21,21,21,0,0,0,0,0,0,0,0,9,9,9,7,9,7,7,7,6,6,5,6,0,0,0,0,0,0,0,0,2,4,4,3,4,4,4,4,5,5,4,4,0,0,0,0,0,0,0,0,7,8,8,7,7,7,6,7,8,7,8,7,0,0,0,0,0,0,0,0,6,6,5,5,5,5,5,5,4,3,3,4,0,0,0,0,0,0,0,0,4,5,6,7,5,6,5,5,5,6,6,6,0,0,0,0,0,0,0,0,6,7,7,6,6,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,3,4,3,4,4,4,5,4,0,0,0,0,0,0,0,0,1,0,1,1,2,2,2,3,2,3,3,4,0,0,0,0,0,0,0,0,6,7,6,7,8,8,9,8,8,8,9,8,0,0,0,0,0,0,0,0,8,7,7,8,7,7,7,7,6,7,6,7,0,0,0,0,0,0,0,0,4,5,5,5,5,5,5,4,5,4,3,2,0,0,0,0,0,0,0,0,5,7,7,7,7,7,8,8,8,9,8,9,0,0,0,0,0,0,0,0,10,10,10,10,11,11,10,11,11,11,11,11,0,0,0,0,0,0,0,0,10,11,12,11,12,11,12,13,13,13,16,16,0,0,0,0,0,0,0,0,21,22,23,24,25,25,26,26,27,26,27,26,0,0,0,0,0,0,0,0,26,27,28,27,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,28,28,28,28,29,0,0,0,0,0,0,0,0,26,25,23,24,23,21,22,19,19,17,15,14,0,0,0,0,0,0,0,0,11,12,12,12,12,13,13,13,13,14,14,14,0,0,0,0,0,0,0,0,15,14,13,14,14,14,16,15,17,17,17,16,0,0,0,0,0,0,0,0,14,12,12,13,11,10,11,12,10,10,10,10,0,0,0,0,0,0,0,0,10,10,11,12,11,12,12,11,11,11,10,10,0,0,0,0,0,0,0,0,8,8,8,8,9,8,7,7,8,7,6,7,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,6,7,7,8,6,0,0,0,0,0,0,0,0,2,3,2,3,3,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,4,4,4,5,5,6,6,6,7,6,6,7,0,0,0,0,0,0,0,0,9,9,9,9,9,10,9,9,8,9,8,10,0,0,0,0,0,0,0,0,7,7,6,6,7,7,6,7,7,6,6,7,0,0,0,0,0,0,0,0,5,5,4,5,6,5,5,5,6,6,5,4,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,7,7,8,7,8,0,0,0,0,0,0,0,0,8,7,7,8,8,9,8,8,9,9,8,9,0,0,0,0,0,0,0,0,8,9,8,7,8,8,9,8,7,8,8,8,0,0,0,0,0,0,0,0,9,9,9,8,9,10,9,9,9,10,10,9,0,0,0,0,0,0,0,0,10,10,10,10,10,10,9,10,11,10,10,11,0,0,0,0,0,0,0,0,11,10,12,10,11,10,10,10,11,10,10,10,0,0,0,0,0,0,0,0,9,10,9,10,10,10,9,9,10,10,9,9,0,0,0,0,0,0,0,0,14,15,15,13,15,16,18,19,22,23,24,25,0,0,0,0,0,0,0,0,26,24,27,26,27,26,27,26,28,27,27,28,0,0,0,0,0,0,0,0,28,27,27,28,28,26,25,26,26],[0,28,27,28,28,28,28,28,28,27,27,26,27,26,26,26,27,27,26,27,0,0,0,0,0,0,0,0,26,26,26,27,27,28,26,27,27,27,28,27,0,0,0,0,0,0,0,0,24,22,22,23,22,21,19,21,18,19,18,18,0,0,0,0,0,0,0,0,7,7,7,6,6,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,3,4,5,4,4,0,0,0,0,0,0,0,0,6,7,7,6,6,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,5,5,5,5,4,4,4,4,4,3,3,4,0,0,0,0,0,0,0,0,5,4,5,6,5,6,5,5,6,6,5,6,0,0,0,0,0,0,0,0,6,6,7,6,5,6,7,5,6,6,5,5,0,0,0,0,0,0,0,0,3,4,4,3,3,4,3,4,4,3,4,4,0,0,0,0,0,0,0,0,1,1,0,1,1,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,6,6,6,5,6,6,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,5,6,6,6,6,6,5,6,5,0,0,0,0,0,0,0,0,4,5,4,5,4,5,4,4,4,3,3,2,0,0,0,0,0,0,0,0,5,5,5,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,8,8,8,9,9,9,8,9,9,9,10,10,0,0,0,0,0,0,0,0,8,9,9,9,10,10,11,12,13,12,14,15,0,0,0,0,0,0,0,0,19,21,21,21,24,23,24,24,26,25,25,24,0,0,0,0,0,0,0,0,24,24,27,26,27,26,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,27,27,26,27,27,26,26,27,0,0,0,0,0,0,0,0,24,23,21,22,20,20,19,18,16,15,13,11,0,0,0,0,0,0,0,0,10,10,10,11,11,12,11,12,13,11,12,13,0,0,0,0,0,0,0,0,14,13,12,12,13,13,13,15,15,15,15,15,0,0,0,0,0,0,0,0,11,11,11,11,10,10,10,9,9,9,9,9,0,0,0,0,0,0,0,0,9,9,10,10,10,11,10,10,9,9,8,8,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,5,5,5,0,0,0,0,0,0,0,0,4,5,4,5,4,5,6,6,7,7,9,6,0,0,0,0,0,0,0,0,2,3,3,3,3,4,4,4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0,0,0,0,0,0,8,8,9,8,9,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,6,7,7,7,7,0,0,0,0,0,0,0,0,11,12,13,12,14,14,16,18,18,19,21,22,0,0,0,0,0,0,0,0,24,22,24,24,25,25,25,24,25,26,24,26,0,0,0,0,0,0,0,0,26,26,25,26,26,25,24,25,26],[0,28,29,29,29,29,29,29,29,29,29,28,29,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,28,27,27,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,25,24,23,23,24,22,21,22,21,20,19,20,0,0,0,0,0,0,0,0,7,7,6,5,5,4,5,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,5,4,4,4,5,5,5,5,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,3,4,4,3,3,4,3,3,3,4,3,3,0,0,0,0,0,0,0,0,2,3,3,2,2,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,2,1,1,1,0,1,1,1,2,1,2,2,0,0,0,0,0,0,0,0,3,3,4,4,5,5,6,6,5,5,5,5,0,0,0,0,0,0,0,0,4,4,3,4,4,4,4,4,5,4,5,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,2,2,0,0,0,0,0,0,0,0,3,4,4,3,4,4,4,4,4,5,5,4,0,0,0,0,0,0,0,0,6,6,7,7,7,7,7,8,8,8,7,8,0,0,0,0,0,0,0,0,7,7,8,9,9,8,10,12,12,12,14,15,0,0,0,0,0,0,0,0,21,21,23,24,24,25,26,26,26,25,26,25,0,0,0,0,0,0,0,0,26,26,26,27,28,26,27,27,27,28,27,27,0,0,0,0,0,0,0,0,28,28,29,28,28,28,28,27,28,28,27,28,0,0,0,0,0,0,0,0,25,24,23,23,21,21,20,18,16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,10,10,12,13,14,17,17,17,20,21,0,0,0,0,0,0,0,0,22,21,24,23,25,24,25,24,25,25,25,26,0,0,0,0,0,0,0,0,25,25,23,25,24,23,22,25,24],[0,29,29,29,28,29,29,28,29,28,27,27,28,27,28,27,27,27,26,27,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,27,26,28,27,27,0,0,0,0,0,0,0,0,24,23,22,21,22,20,19,20,19,18,17,17,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,4,3,3,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,2,2,2,2,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,3,2,3,2,3,0,0,0,0,0,0,0,0,2,2,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,3,3,4,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,1,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,5,5,6,6,7,8,9,10,10,11,13,0,0,0,0,0,0,0,0,19,19,20,23,22,23,24,24,24,24,25,23,0,0,0,0,0,0,0,0,24,24,25,25,26,25,26,26,26,26,26,26,0,0,0,0,0,0,0,0,27,27,28,27,27,27,27,25,26,26,26,27,0,0,0,0,0,0,0,0,23,22,21,20,20,18,18,16,13,12,10,8,0,0,0,0,0,0,0,0,6,6,6,6,7,7,7,7,8,7,7,8,0,0,0,0,0,0,0,0,9,8,8,8,8,8,9,9,9,10,9,9,0,0,0,0,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,0,0,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,3,3,4,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,8,9,10,9,10,12,13,15,16,17,18,20,0,0,0,0,0,0,0,0,22,21,25,23,23,22,23,22,24,24,23,24,0,0,0,0,0,0,0,0,23,22,21,22,24,22,21,23,22],[0,28,28,29,28,29,28,28,28,28,27,27,27,26,26,26,26,27,27,27,0,0,0,0,0,0,0,0,28,26,26,27,27,28,27,27,26,28,27,27,0,0,0,0,0,0,0,0,24,23,22,21,22,21,19,20,20,18,17,17,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,2,1,2,2,1,1,2,2,1,1,2,2,0,0,0,0,0,0,0,0,2,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,2,1,0,0,0,0,0,0,0,0,1,1,2,1,1,2,2,3,3,2,2,3,0,0,0,0,0,0,0,0,2,2,2,2,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,2,2,3,3,2,2,2,2,0,0,0,0,0,0,0,0,1,2,2,1,2,2,2,2,2,3,2,2,0,0,0,0,0,0,0,0,1,1,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,2,2,0,0,0,0,0,0,0,0,2,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,4,4,5,5,6,9,9,10,12,12,0,0,0,0,0,0,0,0,18,18,18,21,22,21,22,23,24,23,24,23,0,0,0,0,0,0,0,0,22,23,23,24,26,24,25,25,25,26,25,25,0,0,0,0,0,0,0,0,25,26,26,26,26,25,26,25,26,26,25,26,0,0,0,0,0,0,0,0,22,20,20,19,17,17,15,13,11,9,8,6,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12,13,15,16,16,19,20,0,0,0,0,0,0,0,0,21,21,25,23,24,22,24,22,23,24,24,25,0,0,0,0,0,0,0,0,23,22,22,23,24,23,21,23,23],[0,27,28,28,27,28,28,27,28,27,26,27,26,26,25,26,26,26,26,26,0,0,0,0,0,0,0,0,26,25,25,26,26,27,26,26,25,26,26,26,0,0,0,0,0,0,0,0,23,22,22,21,22,20,19,21,20,19,18,18,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,2,1,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,2,2,3,3,2,2,2,2,0,0,0,0,0,0,0,0,1,2,1,1,2,2,2,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,1,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,4,3,3,0,0,0,0,0,0,0,0,3,4,4,5,5,6,7,10,10,11,13,14,0,0,0,0,0,0,0,0,20,19,20,22,22,22,22,23,23,23,24,22,0,0,0,0,0,0,0,0,22,23,23,24,26,24,24,25,25,25,25,25,0,0,0,0,0,0,0,0,25,25,26,25,26,25,25,25,25,25,24,26,0,0,0,0,0,0,0,0,21,20,19,18,17,16,15,13,11,10,8,7,0,0,0,0,0,0,0,0,4,5,5,5,5,6,6,6,6,6,7,7,0,0,0,0,0,0,0,0,7,7,7,6,6,7,7,7,8,7,7,7,0,0,0,0,0,0,0,0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,0,0,0,0,0,0,5,6,5,5,6,7,6,7,8,7,7,8,0,0,0,0,0,0,0,0,9,9,9,8,8,8,8,8,8,8,8,9,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,10,11,9,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,7,8,7,7,7,0,0,0,0,0,0,0,0,12,13,14,14,13,16,16,18,19,19,22,23,0,0,0,0,0,0,0,0,24,25,26,26,27,24,26,25,26,26,25,27,0,0,0,0,0,0,0,0,26,24,24,25,26,24,23,25,26],[0,28,28,28,28,28,28,29,28,28,28,27,28,27,27,27,28,28,28,29,0,0,0,0,0,0,0,0,28,28,27,28,28,29,28,28,28,28,29,28,0,0,0,0,0,0,0,0,26,25,24,24,25,23,24,24,23,22,22,22,0,0,0,0,0,0,0,0,7,5,5,4,4,4,4,4,4,3,4,5,0,0,0,0,0,0,0,0,7,6,6,7,6,5,6,7,6,6,7,7,0,0,0,0,0,0,0,0,7,7,8,7,6,6,6,7,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,7,6,6,7,7,7,7,6,6,0,0,0,0,0,0,0,0,5,6,5,5,4,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,5,3,4,4,3,4,4,4,4,4,5,4,0,0,0,0,0,0,0,0,5,5,6,6,6,6,7,8,8,8,8,9,0,0,0,0,0,0,0,0,8,7,7,7,7,6,6,5,5,5,5,4,0,0,0,0,0,0,0,0,2,2,1,0,1,2,3,4,2,4,4,4,0,0,0,0,0,0,0,0,3,4,4,4,4,5,6,5,6,6,6,5,0,0,0,0,0,0,0,0,6,6,6,6,6,7,7,7,6,7,6,6,0,0,0,0,0,0,0,0,4,4,3,3,3,3,3,2,3,4,4,4,0,0,0,0,0,0,0,0,6,7,7,8,8,8,8,8,9,9,8,8,0,0,0,0,0,0,0,0,7,8,8,10,10,11,13,15,15,16,18,19,0,0,0,0,0,0,0,0,23,24,25,25,26,27,27,28,27,26,27,26,0,0,0,0,0,0,0,0,26,26,28,27,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,23,22,19,21,18,17,18,15,15,14,13,12,0,0,0,0,0,0,0,0,10,11,10,11,12,12,11,12,13,12,12,13,0,0,0,0,0,0,0,0,13,12,12,12,13,13,14,13,14,15,13,14,0,0,0,0,0,0,0,0,11,10,10,11,10,10,9,10,8,8,8,10,0,0,0,0,0,0,0,0,10,10,11,11,11,11,11,11,11,10,9,9,0,0,0,0,0,0,0,0,5,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,8,8,9,10,10,10,10,0,0,0,0,0,0,0,0,7,8,8,8,9,8,9,9,10,9,9,9,0,0,0,0,0,0,0,0,6,6,6,6,6,5,6,5,5,5,6,4,0,0,0,0,0,0,0,0,6,7,7,7,7,8,7,7,6,8,7,7,0,0,0,0,0,0,0,0,8,8,8,7,8,8,7,7,8,8,8,8,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,4,5,6,6,6,0,0,0,0,0,0,0,0,9,10,9,8,9,9,8,7,8,7,7,7,0,0,0,0,0,0,0,0,6,6,6,7,6,7,7,7,7,8,8,8,0,0,0,0,0,0,0,0,9,9,10,9,9,10,10,9,8,8,9,8,0,0,0,0,0,0,0,0,7,8,7,7,8,8,8,8,9,9,10,9,0,0,0,0,0,0,0,0,10,10,10,10,10,10,9,10,10,9,9,10,0,0,0,0,0,0,0,0,10,10,11,10,11,10,10,11,12,11,10,11,0,0,0,0,0,0,0,0,9,10,9,9,10,9,9,8,9,9,8,8,0,0,0,0,0,0,0,0,14,15,15,15,16,17,18,20,20,21,23,24,0,0,0,0,0,0,0,0,25,25,26,26,27,26,28,26,28,27,27,27,0,0,0,0,0,0,0,0,26,25,25,26,27,25,24,26,26],[0,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,28,28,29,29,29,28,29,28,28,29,29,0,0,0,0,0,0,0,0,26,25,24,24,24,23,23,24,23,22,21,22,0,0,0,0,0,0,0,0,9,7,8,7,6,5,4,5,5,5,5,5,0,0,0,0,0,0,0,0,8,9,9,8,9,8,9,8,9,9,8,9,0,0,0,0,0,0,0,0,9,10,10,9,9,9,9,9,9,8,6,8,0,0,0,0,0,0,0,0,10,9,9,9,9,8,9,10,9,9,9,9,0,0,0,0,0,0,0,0,9,9,8,6,6,6,8,8,10,10,7,8,0,0,0,0,0,0,0,0,5,4,4,5,5,4,5,5,7,5,7,6,0,0,0,0,0,0,0,0,8,8,8,8,7,8,8,10,10,10,9,11,0,0,0,0,0,0,0,0,9,8,9,8,8,8,8,7,7,8,8,7,0,0,0,0,0,0,0,0,3,2,2,1,0,1,3,4,2,4,5,5,0,0,0,0,0,0,0,0,4,6,6,6,6,7,8,7,8,8,8,7,0,0,0,0,0,0,0,0,7,7,7,7,8,7,8,9,9,8,8,8,0,0,0,0,0,0,0,0,5,6,5,4,5,5,4,3,5,5,4,5,0,0,0,0,0,0,0,0,8,8,8,9,9,9,10,11,11,10,10,10,0,0,0,0,0,0,0,0,10,11,10,11,12,13,14,16,16,17,19,19,0,0,0,0,0,0,0,0,23,24,25,26,26,25,27,27,28,26,27,26,0,0,0,0,0,0,0,0,26,27,28,28,29,27,29,28,28,28,29,28,0,0,0,0,0,0,0,0,27,27,28,28,28,28,28,27,27,28,27,28,0,0,0,0,0,0,0,0,24,23,22,23,21,17,21,17,17,16,15,13,0,0,0,0,0,0,0,0,11,12,11,13,13,12,13,14,14,13,14,14,0,0,0,0,0,0,0,0,14,13,14,13,14,15,14,15,16,16,14,16,0,0,0,0,0,0,0,0,12,12,12,13,11,11,11,11,10,9,9,10,0,0,0,0,0,0,0,0,11,11,12,12,12,12,12,12,12,10,10,10,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,7,8,8,7,8,0,0,0,0,0,0,0,0,8,9,9,8,9,10,9,10,12,12,12,11,0,0,0,0,0,0,0,0,9,10,10,10,11,10,12,11,12,11,10,10,0,0,0,0,0,0,0,0,8,8,7,7,7,7,7,6,5,7,7,5,0,0,0,0,0,0,0,0,7,7,7,8,9,10,9,8,8,9,8,8,0,0,0,0,0,0,0,0,9,9,9,8,9,9,9,9,9,9,10,9,0,0,0,0,0,0,0,0,8,9,9,9,9,8,7,6,7,8,8,9,0,0,0,0,0,0,0,0,11,11,11,10,10,11,11,9,9,9,8,8,0,0,0,0,0,0,0,0,8,7,7,8,8,8,9,9,8,9,9,9,0,0,0,0,0,0,0,0,11,10,11,10,9,10,11,10,10,10,10,10,0,0,0,0,0,0,0,0,8,9,9,9,9,10,10,9,10,11,10,11,0,0,0,0,0,0,0,0,11,11,12,11,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,0,12,12,13,11,12,12,12,13,13,14,12,12,0,0,0,0,0,0,0,0,10,11,10,10,10,9,10,9,10,11,9,9,0,0,0,0,0,0,0,0,15,16,15,16,16,18,18,19,20,20,24,25,0,0,0,0,0,0,0,0,26,25,27,27,27,27,27,26,28,28,27,28,0,0,0,0,0,0,0,0,28,26,26,27,28,26,25,27,27],[0,29,29,29,29,29,29,29,29,28,28,28,29,27,28,28,28,29,28,29,0,0,0,0,0,0,0,0,29,29,27,29,29,30,28,29,28,28,29,28,0,0,0,0,0,0,0,0,27,25,25,25,25,24,23,25,23,22,22,23,0,0,0,0,0,0,0,0,11,9,9,8,7,7,5,6,5,4,6,7,0,0,0,0,0,0,0,0,10,10,10,11,11,9,11,11,11,9,11,11,0,0,0,0,0,0,0,0,11,11,12,11,10,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,11,11,11,11,11,10,11,11,12,11,11,11,0,0,0,0,0,0,0,0,9,8,8,8,8,7,8,8,9,8,8,9,0,0,0,0,0,0,0,0,8,5,7,7,7,5,7,7,7,7,8,8,0,0,0,0,0,0,0,0,9,10,10,10,10,10,11,12,13,12,12,13,0,0,0,0,0,0,0,0,12,11,11,11,10,11,10,10,11,9,9,8,0,0,0,0,0,0,0,0,5,4,3,2,1,0,1,5,3,5,6,6,0,0,0,0,0,0,0,0,4,6,6,5,6,8,8,9,9,8,8,8,0,0,0,0,0,0,0,0,10,9,10,10,11,11,11,12,11,10,11,11,0,0,0,0,0,0,0,0,6,7,7,5,5,6,5,4,5,6,6,7,0,0,0,0,0,0,0,0,10,10,10,13,12,11,12,12,13,13,13,13,0,0,0,0,0,0,0,0,10,13,13,13,13,13,14,18,19,18,18,20,0,0,0,0,0,0,0,0,23,25,25,26,26,26,27,27,27,27,28,26,0,0,0,0,0,0,0,0,26,27,28,28,28,27,28,27,28,28,28,28,0,0,0,0,0,0,0,0,28,27,28,28,27,28,27,27,28,27,26,28,0,0,0,0,0,0,0,0,23,23,21,22,19,18,20,17,18,17,16,15,0,0,0,0,0,0,0,0,14,15,13,15,15,17,15,16,17,16,15,16,0,0,0,0,0,0,0,0,18,16,15,16,16,17,17,16,18,20,17,19,0,0,0,0,0,0,0,0,15,14,14,16,14,13,13,13,11,11,11,13,0,0,0,0,0,0,0,0,13,14,15,15,15,16,14,15,15,13,12,11,0,0,0,0,0,0,0,0,8,9,9,10,10,11,11,9,11,10,10,10,0,0,0,0,0,0,0,0,11,11,11,10,12,12,10,12,12,13,13,12,0,0,0,0,0,0,0,0,11,12,12,12,13,13,13,13,14,13,12,12,0,0,0,0,0,0,0,0,10,11,10,10,9,10,10,8,7,9,9,6,0,0,0,0,0,0,0,0,9,10,10,9,11,11,11,11,10,11,11,10,0,0,0,0,0,0,0,0,12,12,12,10,11,11,12,11,12,11,12,13,0,0,0,0,0,0,0,0,10,10,10,10,10,10,8,7,8,9,10,8,0,0,0,0,0,0,0,0,12,13,11,12,12,12,12,10,10,11,10,11,0,0,0,0,0,0,0,0,11,9,10,11,11,10,10,11,11,11,12,13,0,0,0,0,0,0,0,0,13,14,14,13,13,12,13,13,12,12,12,12,0,0,0,0,0,0,0,0,11,12,11,10,11,12,12,12,12,14,13,14,0,0,0,0,0,0,0,0,14,14,13,13,14,14,12,13,14,13,13,13,0,0,0,0,0,0,0,0,14,14,14,13,14,14,13,14,14,16,13,15,0,0,0,0,0,0,0,0,14,14,13,13,14,13,12,13,14,12,12,12,0,0,0,0,0,0,0,0,16,17,18,18,19,20,22,22,24,22,26,26,0,0,0,0,0,0,0,0,27,26,28,28,28,27,28,27,28,28,28,28,0,0,0,0,0,0,0,0,28,27,26,28,28,27,26,28,27],[0,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,26,26,26,26,25,26,26,24,25,23,24,0,0,0,0,0,0,0,0,11,11,9,9,8,9,7,7,6,6,8,8,0,0,0,0,0,0,0,0,12,12,12,12,13,12,13,12,13,13,13,13,0,0,0,0,0,0,0,0,13,13,13,13,14,13,10,13,13,10,9,11,0,0,0,0,0,0,0,0,14,13,13,13,15,13,13,15,14,14,14,14,0,0,0,0,0,0,0,0,12,13,12,9,10,10,11,11,14,14,9,11,0,0,0,0,0,0,0,0,8,6,7,9,7,7,9,10,9,8,12,13,0,0,0,0,0,0,0,0,13,12,13,13,13,14,13,15,15,13,15,15,0,0,0,0,0,0,0,0,14,13,13,13,12,14,12,12,12,13,12,11,0,0,0,0,0,0,0,0,7,5,5,3,2,1,0,2,2,4,5,6,0,0,0,0,0,0,0,0,8,10,11,9,11,10,12,10,11,11,12,11,0,0,0,0,0,0,0,0,13,12,13,13,13,13,14,14,14,13,14,13,0,0,0,0,0,0,0,0,9,9,10,7,9,10,7,7,9,9,9,9,0,0,0,0,0,0,0,0,13,13,13,15,14,14,14,15,15,16,14,14,0,0,0,0,0,0,0,0,12,13,14,14,15,15,18,20,20,19,22,23,0,0,0,0,0,0,0,0,24,26,26,28,27,27,28,28,28,28,29,28,0,0,0,0,0,0,0,0,28,28,29,29,29,28,29,28,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,29,29,29,29,29,28,29,28,29,0,0,0,0,0,0,0,0,24,24,22,23,21,19,22,17,18,19,16,17,0,0,0,0,0,0,0,0,15,16,15,16,17,18,17,18,19,19,19,18,0,0,0,0,0,0,0,0,19,18,18,18,18,18,19,18,21,22,19,22,0,0,0,0,0,0,0,0,16,16,17,17,16,15,14,15,13,13,13,14,0,0,0,0,0,0,0,0,16,17,18,17,17,16,16,15,16,16,14,15,0,0,0,0,0,0,0,0,11,12,13,13,13,12,13,12,12,12,12,13,0,0,0,0,0,0,0,0,13,13,12,12,13,13,12,16,14,16,16,15,0,0,0,0,0,0,0,0,14,13,15,16,16,14,17,16,17,15,15,15,0,0,0,0,0,0,0,0,11,12,12,11,11,11,11,10,10,12,11,10,0,0,0,0,0,0,0,0,12,12,11,12,13,13,13,13,12,12,13,13,0,0,0,0,0,0,0,0,12,13,13,12,12,13,13,13,13,13,13,15,0,0,0,0,0,0,0,0,12,11,12,12,12,12,11,10,9,10,12,12,0,0,0,0,0,0,0,0,15,16,13,13,14,14,13,12,11,12,11,11,0,0,0,0,0,0,0,0,11,10,12,13,11,12,12,13,13,12,13,14,0,0,0,0,0,0,0,0,14,16,17,16,17,13,16,16,13,13,15,14,0,0,0,0,0,0,0,0,12,14,12,14,12,14,14,13,14,15,14,15,0,0,0,0,0,0,0,0,16,17,17,15,16,16,15,16,16,15,15,16,0,0,0,0,0,0,0,0,16,16,17,15,17,16,17,17,18,20,17,18,0,0,0,0,0,0,0,0,16,17,15,16,16,16,14,15,17,14,14,15,0,0,0,0,0,0,0,0,19,19,19,19,20,20,22,23,22,22,25,26,0,0,0,0,0,0,0,0,27,26,28,28,28,28,28,27,29,29,28,29,0,0,0,0,0,0,0,0,28,28,27,28,28,27,26,27,27],[0,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,29,28,28,0,0,0,0,0,0,0,0,29,28,28,29,29,29,28,29,29,29,29,28,0,0,0,0,0,0,0,0,27,24,25,26,25,24,25,25,23,23,23,23,0,0,0,0,0,0,0,0,11,10,9,9,8,7,7,8,7,7,9,9,0,0,0,0,0,0,0,0,13,15,15,14,15,14,14,13,13,11,14,14,0,0,0,0,0,0,0,0,10,12,13,10,11,10,9,10,9,8,7,7,0,0,0,0,0,0,0,0,11,10,11,13,13,13,13,13,14,14,14,13,0,0,0,0,0,0,0,0,12,12,10,10,11,9,10,11,14,11,11,10,0,0,0,0,0,0,0,0,8,6,6,7,7,5,6,7,6,6,7,9,0,0,0,0,0,0,0,0,13,13,13,14,14,14,14,15,16,15,15,16,0,0,0,0,0,0,0,0,15,13,14,15,13,14,13,13,14,13,12,12,0,0,0,0,0,0,0,0,6,4,5,4,4,3,1,0,1,2,4,5,0,0,0,0,0,0,0,0,7,8,9,9,11,10,10,9,11,11,11,11,0,0,0,0,0,0,0,0,14,14,14,15,14,14,14,14,14,15,15,15,0,0,0,0,0,0,0,0,10,11,11,8,9,10,7,7,8,9,8,7,0,0,0,0,0,0,0,0,10,10,12,13,12,13,13,13,14,12,11,12,0,0,0,0,0,0,0,0,11,11,13,14,14,14,15,17,18,18,20,21,0,0,0,0,0,0,0,0,23,25,25,26,25,26,27,26,27,27,27,26,0,0,0,0,0,0,0,0,27,26,28,27,28,28,28,28,29,28,29,28,0,0,0,0,0,0,0,0,28,28,29,28,28,28,27,27,27,28,27,27,0,0,0,0,0,0,0,0,21,21,19,20,19,16,19,17,17,17,16,15,0,0,0,0,0,0,0,0,16,17,16,16,17,18,17,18,19,18,18,18,0,0,0,0,0,0,0,0,19,18,18,17,18,18,18,18,19,21,19,20,0,0,0,0,0,0,0,0,15,17,15,15,14,14,14,14,14,13,14,14,0,0,0,0,0,0,0,0,16,16,17,16,16,16,16,16,15,15,14,15,0,0,0,0,0,0,0,0,12,13,13,15,13,13,14,13,14,13,14,13,0,0,0,0,0,0,0,0,14,15,14,14,14,15,15,15,15,15,16,15,0,0,0,0,0,0,0,0,15,15,15,16,15,15,17,17,17,16,15,16,0,0,0,0,0,0,0,0,13,14,13,13,12,14,13,12,12,13,12,10,0,0,0,0,0,0,0,0,13,12,12,13,14,14,15,14,14,14,14,14,0,0,0,0,0,0,0,0,14,16,16,14,14,15,15,14,15,15,15,16,0,0,0,0,0,0,0,0,13,12,13,12,12,13,12,12,10,13,12,12,0,0,0,0,0,0,0,0,16,15,14,14,14,14,13,11,12,11,11,12,0,0,0,0,0,0,0,0,12,12,12,13,12,13,14,13,14,14,14,15,0,0,0,0,0,0,0,0,16,17,17,18,17,17,18,17,16,15,16,15,0,0,0,0,0,0,0,0,12,13,13,13,13,14,15,15,15,15,16,17,0,0,0,0,0,0,0,0,17,18,17,17,17,15,16,17,15,15,16,16,0,0,0,0,0,0,0,0,15,16,17,16,17,17,17,18,18,18,18,18,0,0,0,0,0,0,0,0,16,18,17,17,16,17,16,16,17,15,16,15,0,0,0,0,0,0,0,0,17,18,18,18,18,19,21,21,23,22,25,25,0,0,0,0,0,0,0,0,27,26,27,26,27,27,27,26,27,28,27,28,0,0,0,0,0,0,0,0,27,27,26,26,27,26,25,27,27],[0,30,29,29,29,30,30,29,30,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,26,26,26,26,25,25,25,24,24,22,22,0,0,0,0,0,0,0,0,10,9,7,8,6,6,5,6,5,5,6,6,0,0,0,0,0,0,0,0,9,11,10,9,11,8,9,9,9,8,8,9,0,0,0,0,0,0,0,0,8,9,9,8,8,6,7,7,6,6,6,5,0,0,0,0,0,0,0,0,8,6,8,9,9,8,9,9,9,10,9,9,0,0,0,0,0,0,0,0,7,8,6,5,6,6,6,7,9,7,6,7,0,0,0,0,0,0,0,0,5,3,4,5,5,4,4,5,5,4,5,5,0,0,0,0,0,0,0,0,9,9,9,11,11,10,11,11,11,11,11,11,0,0,0,0,0,0,0,0,11,11,10,10,11,10,9,10,10,9,9,8,0,0,0,0,0,0,0,0,4,4,5,3,3,2,2,1,0,1,2,2,0,0,0,0,0,0,0,0,5,6,7,6,7,7,7,7,8,8,8,8,0,0,0,0,0,0,0,0,11,10,10,10,11,10,11,11,11,11,10,10,0,0,0,0,0,0,0,0,7,8,6,6,6,6,6,7,5,6,6,7,0,0,0,0,0,0,0,0,9,9,8,10,11,10,10,12,12,11,11,11,0,0,0,0,0,0,0,0,9,9,10,11,12,12,13,16,17,17,20,20,0,0,0,0,0,0,0,0,25,25,26,27,27,26,28,27,28,28,28,27,0,0,0,0,0,0,0,0,27,27,28,28,29,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,28,28,28,28,27,28,28,28,28,0,0,0,0,0,0,0,0,24,24,21,22,20,18,20,17,17,16,15,14,0,0,0,0,0,0,0,0,13,14,13,14,14,14,13,14,16,14,14,14,0,0,0,0,0,0,0,0,16,15,15,15,16,15,16,15,16,17,16,16,0,0,0,0,0,0,0,0,13,14,13,13,12,12,13,12,11,11,11,12,0,0,0,0,0,0,0,0,12,12,12,13,13,13,13,13,13,12,11,11,0,0,0,0,0,0,0,0,8,10,10,11,11,9,10,10,10,10,10,11,0,0,0,0,0,0,0,0,10,11,11,9,10,11,11,11,12,12,12,12,0,0,0,0,0,0,0,0,11,10,11,11,10,11,11,11,12,11,10,11,0,0,0,0,0,0,0,0,9,11,9,10,9,10,10,8,8,9,9,8,0,0,0,0,0,0,0,0,10,10,9,9,10,11,10,11,12,10,10,12,0,0,0,0,0,0,0,0,10,10,11,10,10,11,10,10,10,10,12,12,0,0,0,0,0,0,0,0,9,9,10,8,8,9,8,7,7,8,8,8,0,0,0,0,0,0,0,0,11,11,11,11,11,11,11,10,9,9,9,10,0,0,0,0,0,0,0,0,9,9,9,9,10,10,9,10,11,10,11,11,0,0,0,0,0,0,0,0,12,11,11,12,11,11,12,11,12,11,11,12,0,0,0,0,0,0,0,0,10,10,10,11,11,11,11,11,11,11,12,12,0,0,0,0,0,0,0,0,13,13,12,12,12,12,12,12,11,11,12,12,0,0,0,0,0,0,0,0,13,11,13,12,12,13,12,13,13,14,12,12,0,0,0,0,0,0,0,0,11,12,12,12,11,11,12,11,12,12,11,11,0,0,0,0,0,0,0,0,16,15,16,17,17,17,19,20,22,21,25,25,0,0,0,0,0,0,0,0,26,25,26,27,27,27,27,27,28,27,27,29,0,0,0,0,0,0,0,0,28,27,26,27,28,26,25,27,26],[0,29,29,29,29,29,28,28,29,27,27,28,28,28,27,28,27,28,27,27,0,0,0,0,0,0,0,0,28,27,27,28,28,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,26,24,24,24,24,23,22,23,21,22,20,20,0,0,0,0,0,0,0,0,8,8,7,7,6,6,5,5,5,4,5,5,0,0,0,0,0,0,0,0,8,9,8,8,8,7,8,8,6,6,8,8,0,0,0,0,0,0,0,0,6,8,8,6,6,6,5,5,5,5,4,5,0,0,0,0,0,0,0,0,6,6,7,7,8,9,8,9,9,9,8,9,0,0,0,0,0,0,0,0,6,6,5,5,5,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,4,4,3,5,4,5,4,5,5,5,5,5,0,0,0,0,0,0,0,0,8,9,9,8,9,9,9,10,10,9,9,10,0,0,0,0,0,0,0,0,10,9,9,9,9,9,8,8,7,8,8,7,0,0,0,0,0,0,0,0,4,4,3,4,4,3,3,2,1,0,1,3,0,0,0,0,0,0,0,0,4,4,4,5,6,7,7,6,7,8,8,7,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,7,7,7,6,6,7,5,5,5,6,6,6,0,0,0,0,0,0,0,0,7,7,9,9,8,8,9,10,10,10,9,10,0,0,0,0,0,0,0,0,8,9,10,11,11,12,12,14,15,15,17,18,0,0,0,0,0,0,0,0,20,22,22,24,24,23,25,25,26,26,26,25,0,0,0,0,0,0,0,0,26,25,27,27,28,26,27,26,27,27,28,27,0,0,0,0,0,0,0,0,27,27,28,27,27,27,26,27,27,27,26,27,0,0,0,0,0,0,0,0,21,21,20,20,18,16,18,16,15,14,13,12,0,0,0,0,0,0,0,0,13,12,12,13,12,13,13,13,14,13,13,14,0,0,0,0,0,0,0,0,15,15,13,13,13,13,14,14,15,16,15,16,0,0,0,0,0,0,0,0,11,12,11,11,10,10,11,10,11,10,11,11,0,0,0,0,0,0,0,0,11,12,11,11,12,12,12,11,10,10,9,9,0,0,0,0,0,0,0,0,7,9,9,8,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,9,9,9,9,9,10,10,11,11,11,12,11,0,0,0,0,0,0,0,0,10,9,10,11,10,10,11,11,11,10,10,10,0,0,0,0,0,0,0,0,8,8,8,8,8,8,9,8,8,8,9,7,0,0,0,0,0,0,0,0,9,9,9,8,9,10,9,9,10,9,9,9,0,0,0,0,0,0,0,0,10,11,10,9,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,8,7,8,7,7,7,6,6,5,6,7,6,0,0,0,0,0,0,0,0,11,11,10,9,10,9,9,8,9,9,8,8,0,0,0,0,0,0,0,0,9,8,9,9,9,9,9,9,10,10,10,10,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,11,11,11,11,10,0,0,0,0,0,0,0,0,9,9,10,9,10,10,10,11,11,10,12,11,0,0,0,0,0,0,0,0,12,12,12,12,12,11,12,12,11,11,12,11,0,0,0,0,0,0,0,0,11,12,13,11,12,12,12,13,13,14,12,13,0,0,0,0,0,0,0,0,11,11,11,11,11,11,11,11,11,10,10,10,0,0,0,0,0,0,0,0,14,15,16,14,15,16,19,18,20,21,23,23,0,0,0,0,0,0,0,0,25,25,25,26,27,25,26,25,26,27,26,27,0,0,0,0,0,0,0,0,27,27,26,27,27,25,25,27,26],[0,28,28,28,28,29,28,28,28,27,26,26,26,27,26,27,26,26,27,25,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,27,26,27,27,27,0,0,0,0,0,0,0,0,25,24,24,23,23,24,23,22,21,21,20,19,0,0,0,0,0,0,0,0,7,7,6,7,6,5,5,5,5,4,5,6,0,0,0,0,0,0,0,0,7,7,7,7,7,6,6,7,6,5,6,6,0,0,0,0,0,0,0,0,5,6,5,5,5,5,5,4,5,4,4,4,0,0,0,0,0,0,0,0,5,5,5,6,6,6,6,7,7,7,7,7,0,0,0,0,0,0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,8,8,0,0,0,0,0,0,0,0,7,7,7,8,7,8,8,8,7,8,8,9,0,0,0,0,0,0,0,0,9,9,10,10,9,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,7,8,8,8,9,9,8,9,9,9,10,9,0,0,0,0,0,0,0,0,10,10,11,11,10,10,10,10,9,10,10,10,0,0,0,0,0,0,0,0,10,10,11,10,11,10,11,11,11,12,10,11,0,0,0,0,0,0,0,0,9,9,9,9,9,9,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,14,13,13,14,14,16,17,18,19,20,20,0,0,0,0,0,0,0,0,24,24,25,25,25,24,25,24,26,26,25,26,0,0,0,0,0,0,0,0,25,24,24,25,25,23,24,24,23],[0,28,28,28,28,28,28,27,28,27,26,26,26,26,26,26,25,27,26,26,0,0,0,0,0,0,0,0,27,26,27,27,27,28,27,27,27,27,27,27,0,0,0,0,0,0,0,0,25,24,23,22,23,23,21,22,21,20,19,20,0,0,0,0,0,0,0,0,7,6,7,6,5,4,4,5,5,4,5,5,0,0,0,0,0,0,0,0,6,6,6,6,5,5,6,5,5,5,5,6,0,0,0,0,0,0,0,0,5,5,6,5,5,4,4,4,4,4,3,3,0,0,0,0,0,0,0,0,4,4,4,5,5,4,5,5,6,6,5,6,0,0,0,0,0,0,0,0,4,4,3,3,4,4,4,5,5,5,5,5,0,0,0,0,0,0,0,0,3,3,2,3,3,2,2,3,2,2,3,3,0,0,0,0,0,0,0,0,4,5,5,5,5,6,6,7,7,7,7,8,0,0,0,0,0,0,0,0,7,6,7,6,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,3,2,2,3,3,3,3,3,2,2,1,0,0,0,0,0,0,0,0,0,2,3,3,3,4,4,4,4,5,5,5,4,0,0,0,0,0,0,0,0,5,5,5,5,5,6,7,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,6,6,6,6,6,7,7,8,8,7,7,8,0,0,0,0,0,0,0,0,8,8,9,9,10,10,11,13,14,14,17,16,0,0,0,0,0,0,0,0,20,21,20,22,23,22,24,25,25,24,25,24,0,0,0,0,0,0,0,0,24,25,26,26,27,25,26,27,27,27,26,26,0,0,0,0,0,0,0,0,27,26,27,27,27,26,27,26,27,26,26,27,0,0,0,0,0,0,0,0,22,22,20,20,19,17,17,15,14,14,12,10,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,11,11,11,11,12,0,0,0,0,0,0,0,0,12,11,11,10,11,11,11,12,12,14,12,14,0,0,0,0,0,0,0,0,9,10,9,9,9,8,9,8,8,7,8,8,0,0,0,0,0,0,0,0,8,9,9,8,9,9,9,8,9,9,7,7,0,0,0,0,0,0,0,0,4,6,5,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,6,6,6,7,8,7,8,9,9,9,8,0,0,0,0,0,0,0,0,7,7,7,8,8,8,9,9,8,8,8,8,0,0,0,0,0,0,0,0,6,6,6,6,5,5,6,5,5,5,6,5,0,0,0,0,0,0,0,0,5,6,6,5,6,7,6,6,7,7,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,7,8,8,8,8,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,5,5,6,6,5,0,0,0,0,0,0,0,0,9,9,8,8,9,8,8,8,8,8,7,7,0,0,0,0,0,0,0,0,7,6,6,7,6,6,7,7,7,7,7,8,0,0,0,0,0,0,0,0,9,9,9,9,9,8,9,9,8,9,9,9,0,0,0,0,0,0,0,0,7,8,7,7,8,8,8,8,8,8,9,9,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,9,9,10,10,0,0,0,0,0,0,0,0,9,9,10,9,10,10,10,10,11,11,10,10,0,0,0,0,0,0,0,0,8,8,8,8,8,8,7,7,7,7,7,7,0,0,0,0,0,0,0,0,11,12,12,12,12,14,15,15,16,17,20,19,0,0,0,0,0,0,0,0,23,21,23,23,24,22,24,23,25,25,25,26,0,0,0,0,0,0,0,0,25,24,23,25,25,22,22,24,24],[0,29,29,29,29,29,29,29,29,28,28,28,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,27,24,24,25,26,23,23,25,23,22,20,20,0,0,0,0,0,0,0,0,6,5,5,4,4,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,5,4,4,5,4,4,4,5,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,3,4,4,4,4,4,5,5,5,5,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,3,2,2,2,2,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,6,6,6,6,6,0,0,0,0,0,0,0,0,6,5,5,5,4,4,4,4,4,4,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,2,3,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,3,3,4,4,4,4,4,3,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,2,3,3,3,3,0,0,0,0,0,0,0,0,5,5,4,5,5,5,5,6,6,6,6,5,0,0,0,0,0,0,0,0,6,6,7,7,8,9,9,11,13,13,15,17,0,0,0,0,0,0,0,0,22,23,24,25,25,24,27,27,27,27,27,25,0,0,0,0,0,0,0,0,24,26,27,28,28,26,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,27,27,28,28,28,26,28,0,0,0,0,0,0,0,0,24,23,21,21,18,17,17,15,14,12,11,9,0,0,0,0,0,0,0,0,7,8,8,8,8,9,9,9,10,10,10,11,0,0,0,0,0,0,0,0,12,10,9,10,9,10,11,11,12,13,12,11,0,0,0,0,0,0,0,0,8,8,8,7,7,7,7,6,5,5,5,6,0,0,0,0,0,0,0,0,7,8,7,8,8,8,8,8,7,7,6,6,0,0,0,0,0,0,0,0,3,4,4,4,4,4,5,4,4,4,4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0,0,0,6,6,6,6,6,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,8,8,8,7,8,7,7,7,7,7,7,8,0,0,0,0,0,0,0,0,8,8,9,7,8,8,8,8,8,9,8,8,0,0,0,0,0,0,0,0,6,6,6,6,6,5,6,6,5,5,5,5,0,0,0,0,0,0,0,0,10,11,11,11,11,13,14,16,16,17,20,20,0,0,0,0,0,0,0,0,22,23,24,24,25,24,26,24,25,25,25,26,0,0,0,0,0,0,0,0,26,24,24,25,26,23,23,24,24],[0,27,27,27,27,27,27,27,27,26,26,25,26,26,25,27,25,26,26,25,0,0,0,0,0,0,0,0,26,25,26,26,26,27,26,26,26,26,26,26,0,0,0,0,0,0,0,0,23,23,23,22,21,23,20,20,19,19,19,17,0,0,0,0,0,0,0,0,6,5,4,5,4,3,3,4,3,3,3,4,0,0,0,0,0,0,0,0,5,5,5,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,5,4,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,4,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,4,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,5,5,5,5,6,0,0,0,0,0,0,0,0,5,5,5,5,4,4,4,3,4,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,2,2,1,1,1,0,0,0,0,0,0,0,0,1,2,2,2,2,2,3,3,4,4,4,3,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,4,5,4,0,0,0,0,0,0,0,0,3,3,3,3,2,3,3,2,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,5,5,5,5,5,6,6,5,5,0,0,0,0,0,0,0,0,6,6,7,7,8,8,10,12,12,12,14,15,0,0,0,0,0,0,0,0,19,18,19,21,21,21,23,23,24,23,23,22,0,0,0,0,0,0,0,0,23,23,24,24,24,24,25,25,25,25,26,26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,7,7,7,8,7,7,7,0,0,0,0,0,0,0,0,5,5,5,4,5,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,10,11,11,11,12,14,14,16,17,18,20,20,0,0,0,0,0,0,0,0,24,22,25,24,26,25,25,24,26,25,25,26,0,0,0,0,0,0,0,0,26,25,25,25,26,24,23,25,24],[0,28,28,28,28,28,29,28,28,27,27,27,27,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,26,27,27,28,27,27,27,27,27,27,0,0,0,0,0,0,0,0,25,24,24,23,23,23,22,23,21,21,19,19,0,0,0,0,0,0,0,0,5,4,4,4,4,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,5,5,4,4,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,4,4,4,4,5,5,5,5,6,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,3,4,4,3,3,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,5,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,4,4,4,4,4,5,4,5,5,5,5,4,0,0,0,0,0,0,0,0,5,6,6,7,7,8,9,11,12,12,15,15,0,0,0,0,0,0,0,0,20,21,21,22,23,23,24,24,25,25,26,25,0,0,0,0,0,0,0,0,24,25,26,25,27,26,27,26,27,26,27,26,0,0,0,0,0,0,0,0,27,27,27,27,27,26,26,27,27,27,26,27,0,0,0,0,0,0,0,0,22,21,19,20,18,15,17,14,12,11,10,8,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,24,22,25,24,25,24,25,23,25,25,24,25,0,0,0,0,0,0,0,0,25,24,24,24,25,24,22,25,25],[0,29,29,29,29,29,29,29,29,28,28,27,28,27,28,27,28,28,28,28,0,0,0,0,0,0,0,0,29,28,27,28,28,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,25,25,24,24,25,23,22,23,21,21,20,21,0,0,0,0,0,0,0,0,5,4,4,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,3,3,4,4,3,3,4,3,0,0,0,0,0,0,0,0,4,5,5,4,4,3,3,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,4,3,0,0,0,0,0,0,0,0,3,3,3,2,3,3,3,3,4,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,3,3,3,4,4,4,4,4,5,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,2,2,2,0,0,0,0,0,0,0,0,0,1,1,1,1,1,2,3,3,3,3,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,3,4,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,1,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,6,6,7,7,8,10,11,12,14,15,0,0,0,0,0,0,0,0,20,21,22,24,24,23,25,25,26,25,25,23,0,0,0,0,0,0,0,0,24,24,26,26,28,24,26,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,28,28,28,27,27,26,27,28,26,28,0,0,0,0,0,0,0,0,24,23,22,21,18,16,16,15,13,12,10,8,0,0,0,0,0,0,0,0,5,5,6,6,7,7,7,8,8,8,8,8,0,0,0,0,0,0,0,0,9,8,7,8,8,8,9,9,9,9,9,9,0,0,0,0,0,0,0,0,6,6,6,6,5,5,5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,7,7,7,8,8,7,8,9,8,8,8,0,0,0,0,0,0,0,0,9,10,10,10,10,9,9,9,10,9,9,10,0,0,0,0,0,0,0,0,10,9,9,9,10,10,9,9,9,10,9,9,0,0,0,0,0,0,0,0,6,7,7,6,6,6,6,5,5,5,5,5,0,0,0,0,0,0,0,0,11,11,12,12,11,14,16,17,17,19,20,19,0,0,0,0,0,0,0,0,23,22,24,25,25,24,24,24,25,25,24,25,0,0,0,0,0,0,0,0,25,24,23,25,26,23,23,24,23],[0,27,26,27,27,27,27,27,26,26,26,26,26,25,25,26,26,26,26,27,0,0,0,0,0,0,0,0,27,26,26,27,27,28,26,27,26,26,27,26,0,0,0,0,0,0,0,0,25,24,24,23,23,23,22,22,22,21,21,20,0,0,0,0,0,0,0,0,9,9,7,7,6,5,5,6,6,5,6,7,0,0,0,0,0,0,0,0,8,8,8,8,9,8,8,8,7,8,8,8,0,0,0,0,0,0,0,0,8,9,9,8,8,8,7,8,7,7,7,7,0,0,0,0,0,0,0,0,7,6,6,7,6,6,6,6,6,7,7,7,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,8,8,8,7,8,0,0,0,0,0,0,0,0,6,5,6,6,5,5,6,5,5,5,5,5,0,0,0,0,0,0,0,0,5,4,5,6,5,5,6,7,7,8,7,8,0,0,0,0,0,0,0,0,8,7,8,8,7,8,7,6,6,6,6,5,0,0,0,0,0,0,0,0,4,3,3,4,4,5,6,6,5,4,5,5,0,0,0,0,0,0,0,0,3,2,2,2,1,0,1,2,3,4,3,3,0,0,0,0,0,0,0,0,5,5,5,5,7,7,7,7,6,7,7,7,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,2,4,3,4,0,0,0,0,0,0,0,0,7,7,6,6,7,7,7,8,8,8,7,7,0,0,0,0,0,0,0,0,9,9,9,10,11,11,12,13,14,14,16,15,0,0,0,0,0,0,0,0,21,20,22,23,23,23,25,24,26,25,25,25,0,0,0,0,0,0,0,0,24,24,27,26,26,26,26,26,27,27,27,27,0,0,0,0,0,0,0,0,26,27,27,27,27,26,26,27,27,26,26,27,0,0,0,0,0,0,0,0,22,22,20,20,19,17,18,15,15,13,12,11,0,0,0,0,0,0,0,0,10,10,11,10,11,11,10,11,12,12,11,12,0,0,0,0,0,0,0,0,11,11,11,11,11,11,12,12,12,14,13,14,0,0,0,0,0,0,0,0,11,10,10,10,9,9,9,9,8,7,8,9,0,0,0,0,0,0,0,0,7,9,9,8,9,8,8,9,8,7,7,6,0,0,0,0,0,0,0,0,4,5,4,3,4,5,4,4,6,6,6,5,0,0,0,0,0,0,0,0,7,9,8,8,8,8,8,9,10,10,10,9,0,0,0,0,0,0,0,0,8,9,9,9,10,10,10,10,10,10,9,10,0,0,0,0,0,0,0,0,9,9,9,8,7,7,8,6,6,7,6,5,0,0,0,0,0,0,0,0,6,6,7,6,7,7,7,7,6,7,6,6,0,0,0,0,0,0,0,0,7,9,8,9,9,9,8,9,9,8,9,8,0,0,0,0,0,0,0,0,9,8,8,8,9,9,9,8,7,8,8,9,0,0,0,0,0,0,0,0,11,10,10,10,10,10,10,10,9,9,9,9,0,0,0,0,0,0,0,0,8,6,8,7,7,7,9,8,7,9,9,9,0,0,0,0,0,0,0,0,9,9,9,10,9,9,10,9,9,9,10,9,0,0,0,0,0,0,0,0,8,8,8,8,9,8,9,9,9,9,10,9,0,0,0,0,0,0,0,0,10,11,11,10,11,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,10,10,11,10,10,10,9,11,10,10,10,10,0,0,0,0,0,0,0,0,8,9,10,9,8,8,8,7,7,7,6,6,0,0,0,0,0,0,0,0,11,12,13,12,13,14,16,16,18,17,21,19,0,0,0,0,0,0,0,0,22,21,24,25,23,23,23,25,24,25,25,25,0,0,0,0,0,0,0,0,25,23,23,24,24,23,20,24,24],[0,29,29,29,29,29,30,29,29,29,29,28,29,28,29,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,26,26,27,26,26,25,26,25,24,23,22,0,0,0,0,0,0,0,0,12,12,11,10,9,9,8,10,9,8,9,10,0,0,0,0,0,0,0,0,10,10,10,10,10,11,10,10,10,10,10,10,0,0,0,0,0,0,0,0,10,11,13,11,11,10,10,11,10,9,9,9,0,0,0,0,0,0,0,0,9,7,8,8,7,8,7,8,7,8,7,8,0,0,0,0,0,0,0,0,10,10,10,11,11,11,10,12,11,10,11,12,0,0,0,0,0,0,0,0,9,9,10,10,8,9,9,7,6,7,6,6,0,0,0,0,0,0,0,0,6,5,6,7,5,7,7,9,9,11,10,10,0,0,0,0,0,0,0,0,10,10,9,10,8,9,9,7,9,10,7,7,0,0,0,0,0,0,0,0,7,6,5,8,7,8,8,8,8,8,7,8,0,0,0,0,0,0,0,0,3,3,3,2,1,1,0,1,3,4,3,3,0,0,0,0,0,0,0,0,6,7,7,7,9,10,10,10,9,8,9,9,0,0,0,0,0,0,0,0,6,5,7,6,5,4,5,5,3,4,5,7,0,0,0,0,0,0,0,0,8,8,8,8,7,9,9,9,10,10,9,10,0,0,0,0,0,0,0,0,13,13,13,13,14,14,15,16,18,17,19,19,0,0,0,0,0,0,0,0,24,24,25,27,27,26,27,28,28,27,28,27,0,0,0,0,0,0,0,0,26,27,28,27,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,29,28,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,26,26,24,24,21,22,22,19,19,17,16,15,0,0,0,0,0,0,0,0,11,12,13,13,13,14,13,14,15,14,14,14,0,0,0,0,0,0,0,0,14,14,13,14,14,14,15,14,15,15,16,16,0,0,0,0,0,0,0,0,14,13,12,13,12,11,11,11,13,9,8,10,0,0,0,0,0,0,0,0,9,10,10,10,11,11,11,11,10,8,8,7,0,0,0,0,0,0,0,0,4,6,5,5,6,7,7,6,7,7,7,7,0,0,0,0,0,0,0,0,10,11,12,10,11,10,10,11,11,12,12,11,0,0,0,0,0,0,0,0,10,11,11,11,11,12,13,14,13,13,12,12,0,0,0,0,0,0,0,0,11,10,11,10,11,10,10,11,10,9,10,9,0,0,0,0,0,0,0,0,7,8,7,7,9,9,9,7,8,9,8,8,0,0,0,0,0,0,0,0,10,10,10,11,11,10,11,12,11,10,11,11,0,0,0,0,0,0,0,0,11,11,11,12,12,11,12,12,12,11,12,12,0,0,0,0,0,0,0,0,13,13,12,12,13,12,11,13,12,12,12,12,0,0,0,0,0,0,0,0,11,9,10,10,10,10,11,11,10,10,10,12,0,0,0,0,0,0,0,0,11,12,12,11,12,11,12,12,11,11,12,12,0,0,0,0,0,0,0,0,11,11,11,11,11,11,11,11,11,12,11,12,0,0,0,0,0,0,0,0,12,13,13,12,12,13,13,12,13,13,12,13,0,0,0,0,0,0,0,0,13,13,13,12,13,12,12,13,13,14,12,13,0,0,0,0,0,0,0,0,10,11,10,9,10,9,10,8,8,9,8,8,0,0,0,0,0,0,0,0,14,14,14,15,14,17,19,18,19,20,20,22,0,0,0,0,0,0,0,0,24,25,25,26,26,25,24,25,26,26,26,27,0,0,0,0,0,0,0,0,26,25,25,25,26,26,24,26,26],[0,28,28,28,29,29,29,28,28,28,28,27,28,27,28,27,28,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,27,26,26,27,26,26,27,26,25,25,25,0,0,0,0,0,0,0,0,16,14,15,14,13,12,12,13,13,12,13,13,0,0,0,0,0,0,0,0,14,13,14,13,12,14,13,13,12,13,13,12,0,0,0,0,0,0,0,0,15,15,16,16,15,15,15,16,15,15,12,12,0,0,0,0,0,0,0,0,11,9,9,9,10,8,10,9,10,9,10,10,0,0,0,0,0,0,0,0,11,12,11,12,12,13,13,15,15,16,16,16,0,0,0,0,0,0,0,0,11,11,12,11,11,12,13,10,9,9,11,9,0,0,0,0,0,0,0,0,10,7,8,10,9,9,10,11,11,10,12,13,0,0,0,0,0,0,0,0,13,13,13,12,12,11,11,12,11,12,11,11,0,0,0,0,0,0,0,0,11,10,9,12,11,10,12,13,12,11,10,10,0,0,0,0,0,0,0,0,8,7,4,4,4,3,1,0,2,4,4,4,0,0,0,0,0,0,0,0,9,10,10,11,12,11,12,13,12,11,12,11,0,0,0,0,0,0,0,0,9,10,10,10,9,9,10,9,7,8,10,12,0,0,0,0,0,0,0,0,12,11,11,12,12,12,11,14,13,15,14,14,0,0,0,0,0,0,0,0,16,16,16,18,15,16,18,18,20,19,20,21,0,0,0,0,0,0,0,0,26,27,27,27,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,27,26,24,25,23,23,23,21,21,20,19,18,0,0,0,0,0,0,0,0,15,16,16,17,18,17,15,17,18,17,16,17,0,0,0,0,0,0,0,0,17,15,15,17,16,16,17,18,19,19,19,19,0,0,0,0,0,0,0,0,16,16,16,16,16,15,14,15,14,13,12,13,0,0,0,0,0,0,0,0,13,13,14,13,13,14,13,13,13,12,12,11,0,0,0,0,0,0,0,0,6,7,6,6,7,8,8,8,9,11,10,9,0,0,0,0,0,0,0,0,14,14,14,14,13,14,14,15,15,15,15,16,0,0,0,0,0,0,0,0,15,15,18,16,16,17,18,19,19,19,17,16,0,0,0,0,0,0,0,0,15,14,14,13,13,13,13,13,11,12,11,11,0,0,0,0,0,0,0,0,8,10,11,7,10,11,11,8,10,11,10,9,0,0,0,0,0,0,0,0,14,14,15,14,15,14,15,15,14,14,17,16,0,0,0,0,0,0,0,0,14,15,16,15,17,15,15,14,16,15,16,16,0,0,0,0,0,0,0,0,18,17,17,15,18,17,15,17,17,16,17,15,0,0,0,0,0,0,0,0,14,13,13,13,13,14,14,13,13,14,14,13,0,0,0,0,0,0,0,0,14,16,15,15,15,14,17,16,15,14,17,17,0,0,0,0,0,0,0,0,13,16,14,14,15,16,14,14,16,16,15,16,0,0,0,0,0,0,0,0,17,16,16,17,16,18,17,17,16,17,16,17,0,0,0,0,0,0,0,0,15,16,16,16,16,17,15,17,16,17,16,17,0,0,0,0,0,0,0,0,14,14,14,13,13,12,12,12,12,12,10,12,0,0,0,0,0,0,0,0,15,16,15,17,16,18,20,20,21,21,24,21,0,0,0,0,0,0,0,0,26,23,26,26,26,25,25,25,26,27,27,27,0,0,0,0,0,0,0,0,27,26,26,27,27,25,24,26,26],[0,28,28,28,29,28,29,28,28,27,28,27,28,27,28,27,29,29,27,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,26,27,27,27,26,27,26,25,25,25,0,0,0,0,0,0,0,0,16,15,15,15,13,12,14,14,13,12,14,13,0,0,0,0,0,0,0,0,15,13,14,14,12,14,14,14,12,15,15,11,0,0,0,0,0,0,0,0,14,16,16,16,15,16,15,15,14,14,13,13,0,0,0,0,0,0,0,0,10,9,9,10,8,9,11,10,10,9,11,10,0,0,0,0,0,0,0,0,11,13,11,11,13,13,13,15,15,15,15,16,0,0,0,0,0,0,0,0,13,11,12,12,11,10,11,10,10,10,9,9,0,0,0,0,0,0,0,0,5,5,10,10,11,10,9,12,11,11,12,13,0,0,0,0,0,0,0,0,13,12,12,11,12,10,12,11,11,11,9,11,0,0,0,0,0,0,0,0,11,10,10,11,11,11,12,12,11,12,12,11,0,0,0,0,0,0,0,0,8,7,6,6,5,4,3,2,0,1,2,3,0,0,0,0,0,0,0,0,10,10,11,11,12,13,14,12,13,11,11,11,0,0,0,0,0,0,0,0,9,8,10,11,9,8,9,9,7,8,10,11,0,0,0,0,0,0,0,0,12,12,12,14,13,13,13,15,15,16,14,14,0,0,0,0,0,0,0,0,16,18,18,18,20,19,19,20,22,20,21,23,0,0,0,0,0,0,0,0,27,27,27,27,28,28,28,28,29,28,29,29,0,0,0,0,0,0,0,0,27,28,29,28,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,26,26,25,26,24,23,23,21,21,21,19,18,0,0,0,0,0,0,0,0,17,17,18,19,20,20,18,19,20,19,18,19,0,0,0,0,0,0,0,0,17,16,17,17,19,19,19,20,20,21,21,22,0,0,0,0,0,0,0,0,19,20,18,18,19,17,17,17,15,15,14,16,0,0,0,0,0,0,0,0,16,15,15,16,16,15,14,15,14,13,15,12,0,0,0,0,0,0,0,0,7,8,8,7,8,8,8,10,11,11,12,10,0,0,0,0,0,0,0,0,15,14,14,15,14,16,15,15,16,16,17,17,0,0,0,0,0,0,0,0,14,15,16,17,17,17,18,19,19,19,18,18,0,0,0,0,0,0,0,0,14,15,15,14,13,13,14,13,12,13,12,12,0,0,0,0,0,0,0,0,10,12,12,11,12,14,14,11,13,14,12,13,0,0,0,0,0,0,0,0,14,16,15,14,15,15,15,14,15,16,17,17,0,0,0,0,0,0,0,0,15,15,17,16,17,15,15,15,15,15,16,16,0,0,0,0,0,0,0,0,19,18,18,16,18,17,16,16,18,16,17,17,0,0,0,0,0,0,0,0,15,13,14,15,13,14,15,15,13,15,17,15,0,0,0,0,0,0,0,0,17,19,18,17,17,16,20,19,17,16,19,18,0,0,0,0,0,0,0,0,14,19,16,14,17,19,16,16,19,17,17,18,0,0,0,0,0,0,0,0,19,19,19,19,18,20,20,20,18,20,20,20,0,0,0,0,0,0,0,0,17,17,19,18,18,20,18,19,18,19,18,18,0,0,0,0,0,0,0,0,15,16,15,15,15,15,13,13,16,14,12,13,0,0,0,0,0,0,0,0,16,16,17,17,16,19,20,20,21,21,24,22,0,0,0,0,0,0,0,0,26,23,26,26,26,26,26,26,27,27,27,28,0,0,0,0,0,0,0,0,27,26,26,27,27,25,24,25,26],[0,29,28,28,29,28,29,29,28,28,28,28,28,27,28,28,28,29,27,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,27,27,27,27,27,25,27,26,25,23,24,0,0,0,0,0,0,0,0,16,16,15,15,14,15,14,14,13,13,14,14,0,0,0,0,0,0,0,0,14,13,14,14,13,14,14,13,12,12,13,12,0,0,0,0,0,0,0,0,13,15,17,15,14,15,14,15,14,13,13,12,0,0,0,0,0,0,0,0,11,8,10,10,9,11,11,11,10,8,10,10,0,0,0,0,0,0,0,0,11,12,11,10,13,13,13,14,15,14,16,17,0,0,0,0,0,0,0,0,13,13,12,13,11,12,12,10,9,11,9,9,0,0,0,0,0,0,0,0,8,5,8,8,9,8,8,11,11,10,10,11,0,0,0,0,0,0,0,0,12,12,13,11,10,10,10,9,9,9,8,9,0,0,0,0,0,0,0,0,10,10,11,11,12,12,12,13,12,11,11,10,0,0,0,0,0,0,0,0,7,7,6,5,6,4,3,2,1,0,1,3,0,0,0,0,0,0,0,0,9,8,10,9,11,11,12,11,11,10,9,10,0,0,0,0,0,0,0,0,9,8,10,9,9,9,9,9,9,9,12,12,0,0,0,0,0,0,0,0,14,14,14,15,15,14,14,16,17,17,16,15,0,0,0,0,0,0,0,0,17,18,18,17,17,18,19,20,21,21,21,22,0,0,0,0,0,0,0,0,26,26,26,27,27,26,27,27,28,28,28,28,0,0,0,0,0,0,0,0,27,28,29,28,29,29,29,28,29,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,26,27,25,25,24,22,23,21,21,22,20,19,0,0,0,0,0,0,0,0,16,18,18,18,19,19,19,19,20,19,19,18,0,0,0,0,0,0,0,0,19,18,18,18,18,18,19,20,19,21,21,21,0,0,0,0,0,0,0,0,19,20,18,18,18,17,17,18,16,17,14,16,0,0,0,0,0,0,0,0,14,16,16,15,14,16,15,15,14,12,12,11,0,0,0,0,0,0,0,0,7,8,8,6,8,8,8,10,9,10,11,11,0,0,0,0,0,0,0,0,14,13,14,14,13,15,14,15,15,16,16,15,0,0,0,0,0,0,0,0,14,14,15,15,15,15,18,18,18,17,16,16,0,0,0,0,0,0,0,0,15,14,15,14,14,13,14,15,11,11,14,12,0,0,0,0,0,0,0,0,10,14,13,10,13,15,13,10,15,14,12,11,0,0,0,0,0,0,0,0,15,16,16,14,16,15,16,16,16,17,17,17,0,0,0,0,0,0,0,0,15,15,16,15,17,15,15,16,15,15,16,15,0,0,0,0,0,0,0,0,18,16,16,15,16,16,15,16,17,16,17,17,0,0,0,0,0,0,0,0,16,14,15,16,16,16,15,16,16,15,16,16,0,0,0,0,0,0,0,0,16,18,17,17,18,15,19,18,16,16,20,18,0,0,0,0,0,0,0,0,15,19,17,14,17,19,17,16,19,19,17,17,0,0,0,0,0,0,0,0,19,18,19,19,18,19,19,19,18,19,19,20,0,0,0,0,0,0,0,0,17,18,18,18,18,18,18,18,18,19,17,19,0,0,0,0,0,0,0,0,18,17,17,14,15,15,13,12,13,13,10,12,0,0,0,0,0,0,0,0,17,16,18,18,17,18,20,20,23,22,25,24,0,0,0,0,0,0,0,0,26,25,26,27,27,26,27,27,27,27,27,28,0,0,0,0,0,0,0,0,28,27,27,27,27,25,24,26,26],[0,28,28,28,28,28,29,28,28,28,27,28,28,27,27,27,28,27,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,29,29,28,28,28,0,0,0,0,0,0,0,0,27,27,27,27,27,27,25,26,26,25,23,23,0,0,0,0,0,0,0,0,15,14,14,13,13,11,10,13,12,13,12,13,0,0,0,0,0,0,0,0,14,14,13,12,14,15,13,13,13,13,13,12,0,0,0,0,0,0,0,0,14,16,16,16,14,16,15,15,14,14,15,13,0,0,0,0,0,0,0,0,13,10,10,11,9,8,10,9,9,9,9,10,0,0,0,0,0,0,0,0,12,13,15,12,15,15,14,14,15,15,16,16,0,0,0,0,0,0,0,0,15,14,14,15,11,12,14,12,9,11,12,9,0,0,0,0,0,0,0,0,7,6,7,8,7,7,8,8,10,10,8,10,0,0,0,0,0,0,0,0,11,12,11,11,11,12,9,9,11,11,10,9,0,0,0,0,0,0,0,0,10,9,8,11,10,11,12,13,11,11,10,9,0,0,0,0,0,0,0,0,6,7,6,5,5,4,3,3,2,1,0,1,0,0,0,0,0,0,0,0,6,7,8,8,10,9,9,10,9,9,11,11,0,0,0,0,0,0,0,0,8,6,8,9,7,6,8,7,7,7,9,9,0,0,0,0,0,0,0,0,11,10,10,11,12,11,11,14,14,14,13,13,0,0,0,0,0,0,0,0,15,16,14,16,15,15,17,18,19,18,19,20,0,0,0,0,0,0,0,0,25,25,25,26,27,26,27,28,27,28,28,28,0,0,0,0,0,0,0,0,28,27,28,28,29,29,28,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,29,28,29,29,29,0,0,0,0,0,0,0,0,26,26,24,24,23,22,23,21,19,20,18,18,0,0,0,0,0,0,0,0,12,15,14,14,17,16,15,17,19,17,17,17,0,0,0,0,0,0,0,0,17,15,15,16,16,17,17,17,18,20,19,20,0,0,0,0,0,0,0,0,16,16,17,16,15,15,13,14,12,12,10,12,0,0,0,0,0,0,0,0,10,11,13,12,11,13,13,13,12,12,11,9,0,0,0,0,0,0,0,0,5,7,7,5,5,8,7,7,7,8,8,7,0,0,0,0,0,0,0,0,12,12,11,11,12,11,11,13,13,14,13,12,0,0,0,0,0,0,0,0,13,14,13,14,13,14,16,16,14,15,15,14,0,0,0,0,0,0,0,0,13,13,13,13,13,11,12,13,9,9,10,9,0,0,0,0,0,0,0,0,8,9,10,9,10,10,10,9,10,10,9,9,0,0,0,0,0,0,0,0,10,12,12,12,13,13,13,13,13,12,13,14,0,0,0,0,0,0,0,0,14,13,15,14,15,15,14,16,15,15,16,15,0,0,0,0,0,0,0,0,15,15,15,15,15,14,14,14,15,15,15,15,0,0,0,0,0,0,0,0,13,11,12,13,12,10,13,12,11,10,12,14,0,0,0,0,0,0,0,0,14,14,14,13,15,12,15,13,13,13,17,15,0,0,0,0,0,0,0,0,14,16,14,11,13,16,13,13,15,16,13,14,0,0,0,0,0,0,0,0,16,17,16,15,16,17,16,16,15,16,16,16,0,0,0,0,0,0,0,0,14,15,16,15,16,14,15,16,15,17,14,16,0,0,0,0,0,0,0,0,13,12,11,10,10,10,10,10,9,9,9,9,0,0,0,0,0,0,0,0,16,15,15,18,16,19,21,21,23,22,25,24,0,0,0,0,0,0,0,0,27,25,26,27,27,27,27,27,27,28,27,27,0,0,0,0,0,0,0,0,27,26,26,27,27,25,25,26,27],[0,28,28,28,28,28,28,28,27,27,27,25,28,26,27,26,28,28,27,28,0,0,0,0,0,0,0,0,28,28,27,28,28,28,28,29,28,28,28,27,0,0,0,0,0,0,0,0,26,25,23,24,25,23,22,24,23,21,21,21,0,0,0,0,0,0,0,0,9,9,8,8,7,7,6,7,6,6,7,7,0,0,0,0,0,0,0,0,8,8,8,9,8,9,9,9,8,9,9,9,0,0,0,0,0,0,0,0,9,10,11,10,9,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,8,7,7,8,7,8,7,8,7,8,7,8,0,0,0,0,0,0,0,0,8,8,8,7,8,8,9,9,9,9,9,10,0,0,0,0,0,0,0,0,7,7,7,7,6,6,8,6,5,6,6,6,0,0,0,0,0,0,0,0,5,5,6,6,5,5,6,6,8,7,7,8,0,0,0,0,0,0,0,0,8,8,8,8,7,7,7,6,6,7,6,5,0,0,0,0,0,0,0,0,5,4,5,6,7,6,7,8,7,7,7,7,0,0,0,0,0,0,0,0,3,4,3,2,3,3,2,3,3,3,1,0,0,0,0,0,0,0,0,0,4,5,4,5,5,5,5,6,5,5,6,6,0,0,0,0,0,0,0,0,4,4,4,4,3,4,4,4,3,4,5,5,0,0,0,0,0,0,0,0,7,7,7,8,8,8,8,9,9,9,9,9,0,0,0,0,0,0,0,0,9,10,10,11,11,11,13,13,15,14,15,16,0,0,0,0,0,0,0,0,23,23,24,25,26,25,26,26,27,26,26,26,0,0,0,0,0,0,0,0,25,25,27,27,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,28,28,28,28,27,27,27,28,27,27,28,0,0,0,0,0,0,0,0,24,23,22,22,20,19,19,17,16,14,14,12,0,0,0,0,0,0,0,0,10,11,11,10,11,11,11,11,13,12,11,12,0,0,0,0,0,0,0,0,13,11,12,12,12,12,13,13,14,14,13,15,0,0,0,0,0,0,0,0,11,11,10,11,10,10,10,10,8,9,7,8,0,0,0,0,0,0,0,0,8,9,9,9,10,10,10,10,9,9,8,7,0,0,0,0,0,0,0,0,3,4,5,4,4,5,4,4,5,6,6,4,0,0,0,0,0,0,0,0,7,7,8,7,7,8,8,9,9,10,9,9,0,0,0,0,0,0,0,0,9,9,10,9,9,10,11,11,10,11,10,10,0,0,0,0,0,0,0,0,8,8,8,7,7,6,7,6,5,5,6,5,0,0,0,0,0,0,0,0,6,6,7,6,8,7,8,7,6,6,6,6,0,0,0,0,0,0,0,0,7,8,8,7,8,8,9,8,8,8,9,9,0,0,0,0,0,0,0,0,8,8,9,9,9,9,9,9,8,9,9,10,0,0,0,0,0,0,0,0,11,11,10,10,11,10,10,10,10,10,9,9,0,0,0,0,0,0,0,0,7,6,7,7,7,7,8,7,7,7,8,9,0,0,0,0,0,0,0,0,9,9,10,9,9,10,10,9,8,9,9,9,0,0,0,0,0,0,0,0,7,9,8,9,8,9,9,9,9,10,9,9,0,0,0,0,0,0,0,0,10,10,11,9,11,11,9,10,10,10,10,11,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,11,12,10,10,0,0,0,0,0,0,0,0,8,9,8,7,8,8,7,7,7,8,6,7,0,0,0,0,0,0,0,0,12,12,13,13,13,15,17,17,20,20,22,21,0,0,0,0,0,0,0,0,24,23,24,25,25,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,26,25,24,26,26,24,23,26,26],[0,28,28,28,28,28,28,28,28,27,27,27,27,26,27,27,27,28,27,27,0,0,0,0,0,0,0,0,28,27,26,28,28,28,27,28,27,28,28,27,0,0,0,0,0,0,0,0,25,24,23,23,24,23,22,23,22,21,21,20,0,0,0,0,0,0,0,0,6,6,5,5,5,4,4,4,5,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,4,4,4,5,4,0,0,0,0,0,0,0,0,6,6,7,6,5,5,5,6,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,5,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4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,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,8,9,9,10,10,13,13,16,16,17,20,21,0,0,0,0,0,0,0,0,21,21,24,24,23,22,23,22,24,23,22,24,0,0,0,0,0,0,0,0,22,24,22,23,24,22,22,23,23],[0,27,27,27,27,27,27,27,26,26,25,24,26,25,25,25,25,26,24,26,0,0,0,0,0,0,0,0,26,25,25,26,26,27,25,26,25,26,26,26,0,0,0,0,0,0,0,0,22,21,20,19,20,18,17,18,18,15,16,15,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,3,3,3,2,0,0,0,0,0,0,0,0,2,2,3,3,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,3,3,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,3,2,2,3,2,2,3,2,2,0,0,0,0,0,0,0,0,1,2,2,2,1,2,2,3,3,3,2,3,0,0,0,0,0,0,0,0,2,3,2,2,2,2,2,2,2,2,2,1,0,0,0,0,0,0,0,0,2,2,2,2,3,3,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,1,2,1,0,0,0,0,0,0,0,0,1,1,1,2,1,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,3,4,4,3,0,0,0,0,0,0,0,0,4,4,4,5,5,5,6,9,9,9,11,11,0,0,0,0,0,0,0,0,15,15,16,18,19,18,20,21,21,20,22,21,0,0,0,0,0,0,0,0,20,21,23,22,24,23,24,24,24,24,25,24,0,0,0,0,0,0,0,0,25,25,25,26,25,25,25,24,24,24,24,25,0,0,0,0,0,0,0,0,21,19,19,18,16,15,15,12,11,10,8,7,0,0,0,0,0,0,0,0,4,4,4,4,5,5,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0,22,22,25,24,24,24,24,23,26,24,24,26,0,0,0,0,0,0,0,0,25,24,23,25,25,24,23,26,25],[0,28,28,28,28,27,28,28,26,26,26,24,27,24,26,24,26,27,24,27,0,0,0,0,0,0,0,0,27,26,25,26,27,27,26,27,26,27,26,26,0,0,0,0,0,0,0,0,22,21,20,20,20,19,17,18,17,16,15,15,0,0,0,0,0,0,0,0,4,4,3,3,3,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,5,5,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,3,3,3,3,0,0,0,0,0,0,0,0,2,3,3,2,3,3,3,3,3,3,4,4,0,0,0,0,0,0,0,0,3,3,3,3,2,3,3,3,2,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,2,3,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,3,3,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,2,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,2,2,0,0,0,0,0,0,0,0,2,1,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,5,5,5,6,6,8,8,9,9,11,11,0,0,0,0,0,0,0,0,15,15,16,17,19,18,20,21,22,21,22,21,0,0,0,0,0,0,0,0,22,22,25,24,26,24,25,25,25,25,26,25,0,0,0,0,0,0,0,0,25,26,26,26,26,25,26,25,26,26,25,25,0,0,0,0,0,0,0,0,22,21,20,20,19,17,16,15,11,11,8,7,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,6,7,7,7,7,7,7,0,0,0,0,0,0,0,0,5,5,5,5,5,4,4,4,4,3,3,4,0,0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,5,5,5,5,0,0,0,0,0,0,0,0,6,6,7,6,7,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,4,5,5,4,5,5,5,4,5,5,4,5,0,0,0,0,0,0,0,0,10,11,13,12,13,14,15,16,16,17,20,19,0,0,0,0,0,0,0,0,21,19,24,23,22,23,25,23,24,26,25,23,0,0,0,0,0,0,0,0,25,23,24,23,25,24,23,25,26],[0,27,27,27,27,27,28,27,26,27,25,25,26,26,26,26,26,27,25,26,0,0,0,0,0,0,0,0,26,26,25,27,28,27,26,28,27,27,28,27,0,0,0,0,0,0,0,0,24,23,20,21,21,19,18,19,18,17,17,17,0,0,0,0,0,0,0,0,7,7,7,7,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,6,5,5,6,6,5,5,0,0,0,0,0,0,0,0,8,8,8,8,7,7,7,8,8,7,8,7,0,0,0,0,0,0,0,0,6,6,6,6,5,5,5,5,4,4,4,5,0,0,0,0,0,0,0,0,5,7,6,6,6,7,6,7,7,6,7,7,0,0,0,0,0,0,0,0,6,7,6,7,6,6,7,6,6,6,6,7,0,0,0,0,0,0,0,0,4,4,4,3,3,3,3,4,4,3,3,4,0,0,0,0,0,0,0,0,3,4,4,4,4,4,3,4,4,4,4,6,0,0,0,0,0,0,0,0,6,6,5,6,6,7,7,8,7,7,7,7,0,0,0,0,0,0,0,0,5,6,5,5,6,6,6,5,5,5,5,4,0,0,0,0,0,0,0,0,3,3,2,2,1,1,1,0,1,2,2,2,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,6,0,0,0,0,0,0,0,0,7,6,7,7,7,7,7,8,8,8,8,8,0,0,0,0,0,0,0,0,8,8,8,9,8,8,10,10,11,11,12,13,0,0,0,0,0,0,0,0,18,17,19,21,20,20,22,21,23,22,23,22,0,0,0,0,0,0,0,0,22,23,25,24,26,24,25,26,25,26,26,26,0,0,0,0,0,0,0,0,27,27,27,27,27,26,27,26,26,26,26,26,0,0,0,0,0,0,0,0,23,23,22,20,19,19,18,16,14,14,12,10,0,0,0,0,0,0,0,0,7,8,8,8,9,9,9,9,10,10,10,10,0,0,0,0,0,0,0,0,11,9,9,9,10,10,11,12,12,13,12,12,0,0,0,0,0,0,0,0,9,9,8,9,8,8,8,8,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,8,8,9,8,8,7,6,6,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,3,3,3,2,3,0,0,0,0,0,0,0,0,3,3,4,4,4,4,5,5,6,6,7,5,0,0,0,0,0,0,0,0,4,4,4,5,5,5,6,6,6,6,5,6,0,0,0,0,0,0,0,0,5,4,4,5,5,4,4,5,5,4,4,5,0,0,0,0,0,0,0,0,5,5,5,6,5,6,5,5,5,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,4,5,5,5,5,5,0,0,0,0,0,0,0,0,5,6,6,6,6,6,6,7,7,6,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,8,8,7,7,6,7,0,0,0,0,0,0,0,0,6,5,4,5,5,5,5,5,5,4,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,5,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,8,7,7,7,7,7,6,7,7,7,7,8,0,0,0,0,0,0,0,0,7,8,8,8,8,7,8,7,7,7,7,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,10,11,12,12,13,14,15,17,18,19,21,21,0,0,0,0,0,0,0,0,22,21,24,23,24,23,23,22,25,25,23,24,0,0,0,0,0,0,0,0,25,24,23,25,26,23,23,25,25],[0,28,28,28,28,28,29,28,26,26,26,24,26,25,26,26,26,27,24,27,0,0,0,0,0,0,0,0,27,27,26,27,27,28,26,27,27,27,27,26,0,0,0,0,0,0,0,0,24,23,21,22,22,20,19,21,20,18,19,19,0,0,0,0,0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0,0,0,0,0,5,6,6,5,5,5,5,5,5,6,5,5,0,0,0,0,0,0,0,0,10,12,11,11,13,13,15,17,16,18,20,20,0,0,0,0,0,0,0,0,22,21,24,24,23,24,25,23,25,24,24,25,0,0,0,0,0,0,0,0,25,23,24,24,26,24,23,25,26],[0,28,28,29,28,28,28,28,28,27,27,26,28,27,27,26,27,28,26,27,0,0,0,0,0,0,0,0,27,27,26,27,28,28,27,28,27,28,28,27,0,0,0,0,0,0,0,0,24,21,20,20,21,19,17,19,18,17,16,16,0,0,0,0,0,0,0,0,6,5,5,5,5,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,6,6,6,6,5,5,5,6,5,6,6,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,5,4,3,3,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,5,5,5,0,0,0,0,0,0,0,0,4,4,5,5,4,4,5,4,4,5,4,4,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,3,3,3,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,6,6,5,5,6,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,5,4,4,4,3,0,0,0,0,0,0,0,0,2,2,2,2,1,2,2,2,1,1,0,1,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,5,4,4,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,8,9,10,11,10,12,13,0,0,0,0,0,0,0,0,17,17,17,19,21,20,22,22,23,23,24,22,0,0,0,0,0,0,0,0,22,23,24,24,26,24,25,26,25,26,26,26,0,0,0,0,0,0,0,0,27,26,27,26,27,26,26,25,26,26,26,26,0,0,0,0,0,0,0,0,22,22,21,20,20,18,18,16,13,13,11,10,0,0,0,0,0,0,0,0,8,7,8,7,7,8,8,8,9,8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,25,25,24,24,23,25,24,23,26,0,0,0,0,0,0,0,0,25,24,23,24,25,24,23,24,25],[0,28,28,28,28,28,28,28,28,27,27,26,26,26,27,26,26,27,26,26,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,24,23,21,21,21,19,18,20,18,17,18,17,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,2,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,2,2,3,0,0,0,0,0,0,0,0,2,3,3,2,2,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,2,2,3,3,2,3,3,2,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,1,1,2,2,2,3,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,1,1,1,1,1,2,1,1,0,0,0,0,0,0,0,0,2,2,2,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,2,3,3,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,1,1,2,1,1,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,1,1,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,5,5,5,4,0,0,0,0,0,0,0,0,4,5,5,5,6,6,7,9,10,10,12,14,0,0,0,0,0,0,0,0,17,18,18,20,22,21,22,23,24,23,24,23,0,0,0,0,0,0,0,0,23,22,25,24,26,25,25,26,26,26,26,26,0,0,0,0,0,0,0,0,27,26,28,26,26,26,26,26,27,27,26,27,0,0,0,0,0,0,0,0,22,21,20,20,19,17,16,15,12,11,9,8,0,0,0,0,0,0,0,0,5,6,6,6,6,6,6,7,7,7,7,8,0,0,0,0,0,0,0,0,8,7,7,7,7,8,8,9,9,9,9,9,0,0,0,0,0,0,0,0,6,6,6,6,5,5,5,5,4,4,4,4,0,0,0,0,0,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3,0,0,0,0,0,0,0,0,4,4,4,3,4,3,3,3,4,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,2,2,3,3,2,2,3,2,2,2,0,0,0,0,0,0,0,0,7,8,9,9,10,11,11,14,14,15,17,18,0,0,0,0,0,0,0,0,20,20,23,22,21,21,23,21,23,22,21,22,0,0,0,0,0,0,0,0,23,21,21,22,23,21,20,22,23],[0,28,28,28,28,28,28,28,27,27,27,27,27,25,26,25,26,27,26,27,0,0,0,0,0,0,0,0,27,26,25,26,27,27,27,27,26,27,27,27,0,0,0,0,0,0,0,0,24,23,22,22,22,20,18,20,19,17,17,17,0,0,0,0,0,0,0,0,3,2,2,2,2,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,2,2,1,1,2,2,3,3,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,3,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,5,6,8,9,9,10,12,0,0,0,0,0,0,0,0,17,16,18,19,20,20,20,21,22,23,23,22,0,0,0,0,0,0,0,0,22,22,24,23,26,23,24,25,24,25,25,24,0,0,0,0,0,0,0,0,25,25,26,25,26,25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,0,3,3,2,2,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,6,8,9,8,9,11,12,14,16,16,17,19,0,0,0,0,0,0,0,0,20,20,23,23,22,21,23,22,22,23,22,22,0,0,0,0,0,0,0,0,23,22,22,22,24,23,20,22,24],[0,28,28,28,28,28,28,27,27,27,27,27,26,25,26,25,26,26,25,25,0,0,0,0,0,0,0,0,27,25,25,26,26,26,26,26,26,26,26,26,0,0,0,0,0,0,0,0,22,22,21,21,22,20,18,19,18,16,17,16,0,0,0,0,0,0,0,0,3,2,2,2,2,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,2,2,3,3,3,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,2,2,2,2,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,3,3,2,2,3,0,0,0,0,0,0,0,0,2,2,2,2,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,2,2,2,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,1,2,2,1,1,2,2,2,3,3,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,1,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,6,7,8,9,11,13,0,0,0,0,0,0,0,0,18,18,18,20,21,20,20,22,22,22,22,21,0,0,0,0,0,0,0,0,22,22,23,23,26,23,24,24,24,25,24,24,0,0,0,0,0,0,0,0,25,25,26,25,26,25,25,25,24,25,24,24,0,0,0,0,0,0,0,0,21,19,19,18,17,16,15,13,11,9,7,6,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,5,5,5,5,0,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23,23,23,22,22,23,0,0,0,0,0,0,0,0,22,21,22,22,23,22,19,23,24],[0,28,28,28,27,28,27,27,27,26,27,26,26,26,26,26,26,27,26,26,0,0,0,0,0,0,0,0,26,26,25,26,26,27,25,26,25,26,26,26,0,0,0,0,0,0,0,0,22,22,21,21,21,20,18,21,19,17,18,18,0,0,0,0,0,0,0,0,3,2,2,2,2,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,4,4,3,3,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,1,1,0,0,0,0,0,0,0,0,1,1,1,2,2,3,3,3,2,3,2,2,0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,3,3,3,2,2,0,0,0,0,0,0,0,0,1,1,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,4,5,5,5,6,8,10,10,12,13,0,0,0,0,0,0,0,0,18,18,18,20,21,20,21,22,22,23,23,22,0,0,0,0,0,0,0,0,22,22,25,24,26,24,24,25,26,26,25,25,0,0,0,0,0,0,0,0,26,25,26,25,26,25,25,24,24,25,24,25,0,0,0,0,0,0,0,0,21,20,19,18,16,16,15,13,11,9,8,6,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,5,5,5,5,6,0,0,0,0,0,0,0,0,6,6,5,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,3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,0,0,0,0,0,5,5,5,5,5,5,4,5,5,4,4,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,6,5,5,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,9,10,10,10,10,13,13,16,17,17,19,17,0,0,0,0,0,0,0,0,20,20,23,23,23,21,22,22,23,23,22,25,0,0,0,0,0,0,0,0,22,21,21,22,24,21,20,22,21],[0,28,28,28,28,29,28,28,28,27,27,27,27,26,26,26,26,27,26,26,0,0,0,0,0,0,0,0,27,26,26,27,27,27,26,26,26,26,27,26,0,0,0,0,0,0,0,0,24,24,21,22,23,20,19,21,21,19,18,19,0,0,0,0,0,0,0,0,4,3,3,2,2,2,2,2,3,3,3,3,0,0,0,0,0,0,0,0,3,3,4,3,3,3,4,3,3,4,4,4,0,0,0,0,0,0,0,0,5,5,6,5,4,4,4,5,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,3,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,2,3,3,3,2,3,3,3,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,1,2,2,2,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,5,6,7,7,10,11,12,12,15,0,0,0,0,0,0,0,0,19,19,20,20,21,21,22,23,23,23,24,22,0,0,0,0,0,0,0,0,25,24,25,25,26,25,25,26,26,26,26,26,0,0,0,0,0,0,0,0,25,25,26,26,26,26,26,26,25,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4,4,5,4,4,5,5,4,4,5,0,0,0,0,0,0,0,0,10,11,11,10,11,13,15,16,17,19,21,20,0,0,0,0,0,0,0,0,23,23,25,24,24,24,24,24,25,25,24,25,0,0,0,0,0,0,0,0,25,23,25,23,26,24,21,24,23],[0,28,28,28,28,29,28,28,28,28,27,27,27,27,27,27,27,28,27,28,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,25,25,25,24,24,23,21,23,21,21,19,19,0,0,0,0,0,0,0,0,4,3,3,2,2,1,2,2,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,5,4,4,5,5,4,5,5,5,0,0,0,0,0,0,0,0,6,7,7,6,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,5,5,5,4,5,6,6,6,5,5,5,0,0,0,0,0,0,0,0,4,4,4,3,3,4,5,4,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,3,4,4,4,3,4,4,4,0,0,0,0,0,0,0,0,3,4,4,4,4,4,5,6,5,5,5,6,0,0,0,0,0,0,0,0,5,5,5,5,4,4,4,4,4,4,3,3,0,0,0,0,0,0,0,0,3,3,2,3,3,4,5,5,4,4,5,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,4,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,4,4,5,4,4,4,0,0,0,0,0,0,0,0,2,2,2,2,2,2,1,2,2,2,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,5,5,6,8,10,12,14,14,16,0,0,0,0,0,0,0,0,19,20,21,22,23,22,24,24,24,24,25,23,0,0,0,0,0,0,0,0,23,23,26,25,26,26,26,27,27,27,28,27,0,0,0,0,0,0,0,0,27,28,28,27,28,26,27,26,27,27,26,28,0,0,0,0,0,0,0,0,24,20,22,21,19,18,17,15,13,12,9,7,0,0,0,0,0,0,0,0,4,4,5,5,5,6,6,6,6,7,7,7,0,0,0,0,0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,24,24,0,0,0,0,0,0,0,0,24,21,22,23,24,21,20,23,21],[0,28,28,29,29,29,28,28,29,27,27,28,27,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,28,27,27,28,29,27,28,28,28,28,28,0,0,0,0,0,0,0,0,25,25,24,24,23,22,20,22,20,19,19,19,0,0,0,0,0,0,0,0,4,3,3,2,2,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,4,4,4,5,4,4,5,5,4,5,5,5,0,0,0,0,0,0,0,0,6,6,7,6,5,5,4,5,5,5,5,5,0,0,0,0,0,0,0,0,5,4,5,5,4,5,6,6,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,4,5,5,4,5,0,0,0,0,0,0,0,0,3,3,3,4,3,3,4,3,3,3,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,4,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,3,3,2,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,2,3,3,3,3,3,4,4,4,4,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,4,5,4,5,4,4,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,2,2,1,1,0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,5,5,6,8,10,12,11,13,15,0,0,0,0,0,0,0,0,19,19,21,21,23,22,22,23,24,23,24,22,0,0,0,0,0,0,0,0,23,25,25,25,26,27,26,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,27,26,27,26,26,27,26,27,0,0,0,0,0,0,0,0,22,21,21,20,18,16,15,14,12,11,8,6,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,5,5,5,5,6,0,0,0,0,0,0,0,0,6,6,5,5,5,5,6,5,7,7,6,6,0,0,0,0,0,0,0,0,4,4,3,3,3,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,4,4,4,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0,0,4,4,4,4,4,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,3,4,4,4,4,5,4,4,5,5,4,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,7,8,8,8,9,11,11,13,15,16,19,20,0,0,0,0,0,0,0,0,20,20,24,22,23,22,22,20,24,23,23,22,0,0,0,0,0,0,0,0,21,20,20,22,22,19,19,22,19],[0,28,28,28,28,28,28,28,28,27,26,26,27,26,26,27,26,27,27,27,0,0,0,0,0,0,0,0,28,26,26,27,28,28,27,28,27,28,28,27,0,0,0,0,0,0,0,0,25,24,23,23,23,22,22,21,20,20,19,18,0,0,0,0,0,0,0,0,4,3,3,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,5,5,5,5,5,5,5,5,6,5,0,0,0,0,0,0,0,0,6,7,6,6,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,6,6,5,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,3,4,4,4,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,6,6,5,5,6,0,0,0,0,0,0,0,0,5,5,5,5,4,5,4,4,4,4,4,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,4,4,3,0,0,0,0,0,0,0,0,4,3,3,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,2,2,2,0,0,0,0,0,0,0,0,3,4,4,4,5,5,7,8,9,10,13,15,0,0,0,0,0,0,0,0,17,18,19,20,21,21,22,21,23,22,23,20,0,0,0,0,0,0,0,0,23,24,25,25,25,25,26,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,26,27,26,26,26,26,26,25,27,0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,2,3,3,2,3,3,0,0,0,0,0,0,0,0,7,8,8,8,8,10,10,12,14,15,18,19,0,0,0,0,0,0,0,0,19,19,21,21,22,21,22,20,23,22,21,22,0,0,0,0,0,0,0,0,21,19,19,20,21,18,16,19,18],[0,29,29,29,29,29,28,28,29,27,28,27,28,27,27,27,27,28,27,27,0,0,0,0,0,0,0,0,28,28,27,28,28,29,27,28,28,28,28,28,0,0,0,0,0,0,0,0,25,24,24,24,24,23,22,21,20,20,19,18,0,0,0,0,0,0,0,0,5,4,3,3,3,2,3,3,3,3,4,4,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,6,7,7,6,6,6,5,6,6,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,5,5,4,4,4,5,5,5,6,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,4,4,5,4,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,5,4,3,0,0,0,0,0,0,0,0,4,3,3,4,4,4,4,5,4,4,4,5,0,0,0,0,0,0,0,0,3,3,3,3,3,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,2,1,0,0,0,0,0,0,0,0,3,4,4,4,5,5,7,8,9,10,13,14,0,0,0,0,0,0,0,0,18,19,20,21,21,21,22,23,24,22,24,21,0,0,0,0,0,0,0,0,23,25,26,26,26,25,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,27,28,27,28,27,27,25,26,28,26,28,0,0,0,0,0,0,0,0,24,23,23,22,21,17,18,16,14,12,7,6,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,5,5,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,21,18,21,20,21,18,17,19,19],[0,29,28,28,28,28,29,28,28,27,26,26,27,26,27,26,27,27,26,27,0,0,0,0,0,0,0,0,28,27,26,27,28,29,27,28,28,28,28,27,0,0,0,0,0,0,0,0,26,25,24,23,24,22,22,21,21,20,19,19,0,0,0,0,0,0,0,0,5,4,4,4,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,6,6,6,7,7,0,0,0,0,0,0,0,0,7,9,9,8,7,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,7,7,6,7,7,0,0,0,0,0,0,0,0,5,6,6,5,5,5,6,6,6,7,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,4,5,5,4,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,7,7,7,7,7,0,0,0,0,0,0,0,0,7,6,7,6,6,6,6,5,5,5,5,4,0,0,0,0,0,0,0,0,4,4,3,4,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,5,5,5,5,4,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,6,5,5,0,0,0,0,0,0,0,0,4,4,3,3,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,2,2,0,0,0,0,0,0,0,0,4,4,4,5,6,6,8,9,10,11,14,14,0,0,0,0,0,0,0,0,17,17,19,20,20,21,21,22,22,22,24,20,0,0,0,0,0,0,0,0,23,23,25,25,27,25,26,27,27,27,27,27,0,0,0,0,0,0,0,0,27,26,26,26,27,26,26,24,25,25,25,26,0,0,0,0,0,0,0,0,22,21,20,19,19,16,15,14,13,12,8,7,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,5,6,0,0,0,0,0,0,0,0,6,6,5,5,4,4,5,6,6,6,5,6,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,1,2,2,0,0,0,0,0,0,0,0,3,3,3,4,4,6,6,5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0,0,0,0,0,9,10,10,10,10,10,11,11,10,10,10,9,0,0,0,0,0,0,0,0,7,7,7,6,6,7,6,6,6,5,6,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,4,4,4,4,5,5,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,7,6,7,7,7,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,8,8,8,9,9,0,0,0,0,0,0,0,0,10,10,9,9,9,8,9,8,7,7,6,6,0,0,0,0,0,0,0,0,5,4,5,5,4,5,5,4,4,5,5,4,0,0,0,0,0,0,0,0,6,6,6,7,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,4,5,5,5,4,5,5,5,5,5,0,0,0,0,0,0,0,0,5,6,6,6,6,6,6,6,5,5,5,5,0,0,0,0,0,0,0,0,4,5,5,5,5,6,6,6,6,7,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,4,5,5,5,4,5,5,0,0,0,0,0,0,0,0,9,10,10,10,10,11,12,13,14,15,16,18,0,0,0,0,0,0,0,0,19,20,22,22,19,21,21,22,22,23,22,22,0,0,0,0,0,0,0,0,20,19,18,20,20,18,16,18,18],[0,29,28,28,28,28,28,28,28,27,27,26,28,26,27,26,27,27,27,27,0,0,0,0,0,0,0,0,28,28,27,28,28,29,28,28,28,28,29,28,0,0,0,0,0,0,0,0,26,25,25,25,25,24,24,24,22,22,21,19,0,0,0,0,0,0,0,0,6,6,6,5,5,5,6,6,6,6,7,7,0,0,0,0,0,0,0,0,10,10,10,10,10,11,10,10,11,11,11,11,0,0,0,0,0,0,0,0,11,12,11,11,11,11,11,10,10,10,11,10,0,0,0,0,0,0,0,0,11,10,11,11,10,11,11,11,11,11,10,11,0,0,0,0,0,0,0,0,10,10,10,9,9,9,10,10,10,10,11,9,0,0,0,0,0,0,0,0,8,8,8,9,9,8,9,9,9,9,9,9,0,0,0,0,0,0,0,0,8,9,9,9,9,9,10,10,11,11,10,11,0,0,0,0,0,0,0,0,10,10,11,10,9,10,10,9,9,9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,8,7,7,6,6,6,6,5,5,5,0,0,0,0,0,0,0,0,5,6,6,6,6,7,7,7,8,8,8,8,0,0,0,0,0,0,0,0,7,7,6,7,7,6,6,6,6,6,7,7,0,0,0,0,0,0,0,0,12,12,12,13,12,14,15,16,17,18,20,19,0,0,0,0,0,0,0,0,23,22,24,24,23,23,24,24,25,24,25,25,0,0,0,0,0,0,0,0,24,23,22,23,23,22,21,22,22],[0,29,29,29,29,29,30,29,29,29,28,28,29,28,29,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,28,29,29,29,29,29,0,0,0,0,0,0,0,0,27,26,25,26,26,24,24,24,24,22,21,21,0,0,0,0,0,0,0,0,8,7,6,5,7,7,8,9,8,9,10,10,0,0,0,0,0,0,0,0,12,13,13,13,13,13,14,13,13,13,14,14,0,0,0,0,0,0,0,0,13,15,15,14,13,14,15,14,13,13,13,13,0,0,0,0,0,0,0,0,14,13,14,13,12,13,13,14,13,14,13,14,0,0,0,0,0,0,0,0,12,14,13,12,12,12,13,12,13,13,13,13,0,0,0,0,0,0,0,0,11,11,11,11,11,11,11,11,12,11,11,11,0,0,0,0,0,0,0,0,12,12,12,12,12,13,12,13,13,13,12,14,0,0,0,0,0,0,0,0,13,13,13,13,12,13,13,12,12,13,12,11,0,0,0,0,0,0,0,0,10,10,8,9,9,9,10,10,10,11,10,10,0,0,0,0,0,0,0,0,9,9,8,10,10,9,10,10,11,10,10,10,0,0,0,0,0,0,0,0,10,11,10,12,11,11,12,11,12,12,12,12,0,0,0,0,0,0,0,0,10,10,9,8,9,9,8,8,9,9,8,6,0,0,0,0,0,0,0,0,3,4,4,2,3,4,4,4,2,2,1,0,0,0,0,0,0,0,0,0,6,5,6,6,8,8,10,12,14,14,16,16,0,0,0,0,0,0,0,0,20,21,22,23,23,23,25,24,25,23,25,23,0,0,0,0,0,0,0,0,22,24,25,26,25,26,27,27,27,28,28,28,0,0,0,0,0,0,0,0,27,27,27,27,27,26,27,24,27,26,25,27,0,0,0,0,0,0,0,0,24,23,22,21,19,17,18,15,14,13,10,8,0,0,0,0,0,0,0,0,4,6,6,6,6,7,7,7,8,8,9,9,0,0,0,0,0,0,0,0,11,10,9,8,7,8,9,10,10,11,10,10,0,0,0,0,0,0,0,0,6,5,5,6,5,5,3,3,4,3,6,5,0,0,0,0,0,0,0,0,8,9,8,10,9,9,11,11,10,10,8,8,0,0,0,0,0,0,0,0,9,9,9,9,10,9,9,9,11,10,10,11,0,0,0,0,0,0,0,0,10,11,9,9,10,10,10,11,11,12,12,12,0,0,0,0,0,0,0,0,13,13,13,14,13,14,15,14,14,13,13,12,0,0,0,0,0,0,0,0,11,11,10,9,10,10,9,8,9,9,8,8,0,0,0,0,0,0,0,0,7,6,5,6,7,6,7,8,7,8,9,9,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,11,10,13,12,12,12,12,12,12,13,13,13,0,0,0,0,0,0,0,0,12,14,12,13,13,12,11,11,10,10,9,10,0,0,0,0,0,0,0,0,6,6,7,6,5,7,7,5,6,7,7,5,0,0,0,0,0,0,0,0,9,8,9,9,8,9,8,8,9,8,8,8,0,0,0,0,0,0,0,0,6,6,5,5,6,6,5,6,7,6,6,8,0,0,0,0,0,0,0,0,8,8,8,8,7,7,8,7,7,7,6,5,0,0,0,0,0,0,0,0,6,7,7,7,7,8,8,9,9,9,9,9,0,0,0,0,0,0,0,0,8,9,9,9,8,9,9,8,8,8,9,8,0,0,0,0,0,0,0,0,13,13,13,13,13,16,16,17,19,19,22,23,0,0,0,0,0,0,0,0,24,23,25,25,25,25,25,24,27,25,25,24,0,0,0,0,0,0,0,0,25,24,23,25,26,23,22,25,23],[0,29,28,29,29,29,29,29,29,28,28,28,28,27,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,28,26,26,26,26,25,25,25,24,23,22,22,0,0,0,0,0,0,0,0,9,9,7,7,7,8,10,11,10,11,13,12,0,0,0,0,0,0,0,0,16,15,16,15,16,16,16,16,15,16,17,16,0,0,0,0,0,0,0,0,15,16,16,15,14,16,15,15,15,14,15,15,0,0,0,0,0,0,0,0,15,15,16,16,15,15,15,16,15,16,16,17,0,0,0,0,0,0,0,0,14,16,15,15,14,14,14,14,15,15,14,15,0,0,0,0,0,0,0,0,13,13,13,14,13,13,14,14,12,13,13,13,0,0,0,0,0,0,0,0,14,13,14,15,15,16,15,16,16,16,16,17,0,0,0,0,0,0,0,0,16,16,16,17,15,16,16,15,16,16,15,13,0,0,0,0,0,0,0,0,13,12,10,10,11,12,10,13,13,13,12,12,0,0,0,0,0,0,0,0,11,11,10,10,10,12,11,12,12,12,12,12,0,0,0,0,0,0,0,0,13,12,13,14,14,13,14,13,14,15,15,15,0,0,0,0,0,0,0,0,11,10,11,12,11,10,10,11,10,10,9,9,0,0,0,0,0,0,0,0,4,5,5,3,4,5,5,5,3,3,2,1,0,0,0,0,0,0,0,0,7,5,6,7,8,9,12,13,14,16,16,19,0,0,0,0,0,0,0,0,20,21,22,24,23,24,26,25,25,24,26,24,0,0,0,0,0,0,0,0,24,25,26,26,27,27,27,29,29,28,29,29,0,0,0,0,0,0,0,0,28,28,28,27,27,27,27,26,27,26,26,27,0,0,0,0,0,0,0,0,23,22,22,20,19,17,17,15,14,14,10,9,0,0,0,0,0,0,0,0,6,7,8,7,8,9,9,9,9,9,10,10,0,0,0,0,0,0,0,0,12,10,9,10,8,9,11,10,13,14,11,12,0,0,0,0,0,0,0,0,8,7,6,7,6,6,5,6,5,5,7,6,0,0,0,0,0,0,0,0,9,9,9,11,10,11,11,11,12,10,8,10,0,0,0,0,0,0,0,0,10,10,10,11,12,11,11,11,12,11,11,12,0,0,0,0,0,0,0,0,12,13,13,11,12,13,12,14,14,14,14,14,0,0,0,0,0,0,0,0,16,16,17,16,17,16,17,17,17,17,16,16,0,0,0,0,0,0,0,0,14,14,13,13,14,13,12,12,12,11,11,10,0,0,0,0,0,0,0,0,8,8,6,7,7,8,9,10,8,10,10,11,0,0,0,0,0,0,0,0,12,12,11,12,12,11,12,12,11,12,12,13,0,0,0,0,0,0,0,0,13,13,15,14,15,15,13,15,15,15,16,15,0,0,0,0,0,0,0,0,15,16,15,15,14,15,13,13,13,12,12,12,0,0,0,0,0,0,0,0,7,9,10,8,7,10,10,8,8,10,9,7,0,0,0,0,0,0,0,0,12,12,12,12,12,12,11,11,12,12,12,11,0,0,0,0,0,0,0,0,8,9,8,8,9,8,8,8,9,8,9,10,0,0,0,0,0,0,0,0,9,12,11,11,12,10,10,9,8,8,8,8,0,0,0,0,0,0,0,0,8,8,8,8,9,9,11,11,11,13,11,11,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,11,11,0,0,0,0,0,0,0,0,14,15,14,15,15,16,18,19,19,19,22,23,0,0,0,0,0,0,0,0,24,24,25,25,24,24,25,25,25,26,26,25,0,0,0,0,0,0,0,0,25,24,23,24,24,22,22,24,23],[0,29,29,29,29,29,29,29,29,28,28,28,29,28,29,28,29,28,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,29,29,29,30,29,0,0,0,0,0,0,0,0,28,27,25,26,26,25,24,25,23,23,22,22,0,0,0,0,0,0,0,0,7,6,7,6,6,6,8,8,9,9,10,9,0,0,0,0,0,0,0,0,14,13,14,15,15,14,15,16,14,15,16,16,0,0,0,0,0,0,0,0,15,16,15,15,15,15,14,15,15,14,14,14,0,0,0,0,0,0,0,0,15,14,16,16,14,16,16,16,16,17,16,16,0,0,0,0,0,0,0,0,12,14,14,12,12,13,14,13,15,14,13,13,0,0,0,0,0,0,0,0,11,12,12,13,12,12,13,13,12,12,14,13,0,0,0,0,0,0,0,0,13,13,14,14,14,15,15,16,16,16,16,16,0,0,0,0,0,0,0,0,15,14,15,16,14,16,16,14,12,15,14,11,0,0,0,0,0,0,0,0,10,11,8,9,10,10,11,11,12,11,12,12,0,0,0,0,0,0,0,0,9,11,10,11,11,12,12,12,13,12,12,11,0,0,0,0,0,0,0,0,12,11,12,13,12,12,14,13,14,14,13,13,0,0,0,0,0,0,0,0,10,10,9,10,10,10,9,10,10,9,8,6,0,0,0,0,0,0,0,0,5,6,6,6,6,7,7,7,6,4,3,3,0,0,0,0,0,0,0,0,5,5,4,7,8,7,10,12,13,16,17,19,0,0,0,0,0,0,0,0,20,22,23,23,23,24,26,25,26,25,26,25,0,0,0,0,0,0,0,0,25,26,27,26,27,27,28,28,28,28,29,28,0,0,0,0,0,0,0,0,27,28,28,28,27,27,27,25,27,27,26,26,0,0,0,0,0,0,0,0,22,21,21,19,18,17,16,14,13,13,9,9,0,0,0,0,0,0,0,0,7,7,8,7,7,9,9,9,10,10,11,11,0,0,0,0,0,0,0,0,12,12,12,11,9,9,11,10,12,13,13,11,0,0,0,0,0,0,0,0,7,6,6,6,6,6,7,6,7,7,8,8,0,0,0,0,0,0,0,0,12,12,12,13,13,13,13,14,13,13,12,12,0,0,0,0,0,0,0,0,12,12,13,12,12,13,12,11,13,12,12,12,0,0,0,0,0,0,0,0,13,12,11,10,11,12,12,14,13,14,14,14,0,0,0,0,0,0,0,0,16,16,16,17,15,16,16,16,17,16,15,16,0,0,0,0,0,0,0,0,11,12,11,10,11,11,11,9,10,11,9,8,0,0,0,0,0,0,0,0,9,8,8,9,9,10,11,11,9,11,13,11,0,0,0,0,0,0,0,0,12,11,11,12,11,12,11,11,11,11,11,11,0,0,0,0,0,0,0,0,11,11,13,12,13,14,12,12,12,12,14,14,0,0,0,0,0,0,0,0,15,15,13,13,14,13,13,11,11,10,9,9,0,0,0,0,0,0,0,0,6,6,8,7,7,7,9,7,9,9,8,9,0,0,0,0,0,0,0,0,12,12,13,13,12,11,11,11,12,10,11,11,0,0,0,0,0,0,0,0,7,7,6,7,8,8,7,8,8,8,10,10,0,0,0,0,0,0,0,0,9,11,11,11,11,8,9,8,7,8,7,7,0,0,0,0,0,0,0,0,7,7,7,7,8,10,11,12,13,14,13,12,0,0,0,0,0,0,0,0,13,13,12,13,13,12,13,12,13,13,13,12,0,0,0,0,0,0,0,0,16,17,16,16,17,18,20,20,21,22,23,23,0,0,0,0,0,0,0,0,26,23,27,26,26,26,26,26,27,27,27,27,0,0,0,0,0,0,0,0,26,25,24,25,26,23,23,25,24],[0,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,27,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,25,25,26,25,24,23,25,23,22,22,21,0,0,0,0,0,0,0,0,6,5,5,4,5,6,7,6,7,8,9,8,0,0,0,0,0,0,0,0,11,12,11,12,12,12,12,13,14,13,14,13,0,0,0,0,0,0,0,0,14,13,13,13,12,13,12,13,14,13,13,12,0,0,0,0,0,0,0,0,13,13,13,13,12,14,13,13,14,14,12,13,0,0,0,0,0,0,0,0,11,11,12,11,10,11,11,11,12,12,12,11,0,0,0,0,0,0,0,0,10,9,11,11,10,11,11,11,10,12,11,12,0,0,0,0,0,0,0,0,11,11,13,12,11,14,13,13,13,13,12,13,0,0,0,0,0,0,0,0,12,12,13,13,11,13,13,11,10,11,11,10,0,0,0,0,0,0,0,0,9,9,7,8,9,9,8,9,10,11,9,11,0,0,0,0,0,0,0,0,8,9,10,9,9,10,9,11,11,10,10,9,0,0,0,0,0,0,0,0,10,10,9,11,10,10,11,11,11,11,10,11,0,0,0,0,0,0,0,0,9,9,8,9,9,8,7,7,7,8,7,6,0,0,0,0,0,0,0,0,3,4,5,5,4,6,6,6,5,4,3,2,0,0,0,0,0,0,0,0,3,4,4,5,5,6,9,10,13,14,15,16,0,0,0,0,0,0,0,0,19,18,22,22,21,23,24,22,25,23,25,22,0,0,0,0,0,0,0,0,24,25,27,26,28,26,28,28,28,28,28,28,0,0,0,0,0,0,0,0,26,27,26,27,27,26,27,26,26,26,25,27,0,0,0,0,0,0,0,0,22,22,21,19,18,16,16,15,13,11,9,8,0,0,0,0,0,0,0,0,5,6,8,8,7,8,8,10,10,9,10,10,0,0,0,0,0,0,0,0,12,10,10,9,9,9,10,10,11,12,10,10,0,0,0,0,0,0,0,0,6,7,6,5,5,5,5,5,5,5,6,7,0,0,0,0,0,0,0,0,11,10,10,11,11,12,12,13,11,11,10,10,0,0,0,0,0,0,0,0,10,10,10,9,9,10,9,9,9,8,9,9,0,0,0,0,0,0,0,0,9,8,8,8,8,9,9,10,11,12,11,11,0,0,0,0,0,0,0,0,12,12,13,14,13,12,13,13,13,13,13,12,0,0,0,0,0,0,0,0,9,9,8,8,8,8,8,7,8,8,6,6,0,0,0,0,0,0,0,0,6,5,5,6,7,7,9,9,7,9,10,9,0,0,0,0,0,0,0,0,9,8,7,9,8,8,7,8,8,8,8,8,0,0,0,0,0,0,0,0,9,8,10,10,11,10,9,11,11,11,11,12,0,0,0,0,0,0,0,0,12,13,11,11,11,11,11,10,9,8,8,8,0,0,0,0,0,0,0,0,4,5,6,6,5,6,7,5,5,7,7,5,0,0,0,0,0,0,0,0,9,9,9,9,8,9,8,7,8,8,8,8,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,6,8,6,7,9,0,0,0,0,0,0,0,0,8,8,8,9,8,8,8,8,6,6,6,5,0,0,0,0,0,0,0,0,6,7,7,7,8,9,9,9,10,10,9,9,0,0,0,0,0,0,0,0,10,10,9,9,9,10,9,9,10,10,10,9,0,0,0,0,0,0,0,0,14,15,15,16,16,18,19,20,21,20,23,23,0,0,0,0,0,0,0,0,26,24,26,25,26,26,25,26,27,26,26,26,0,0,0,0,0,0,0,0,27,25,25,25,26,24,24,26,26],[0,29,29,29,29,30,29,29,29,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,29,29,28,28,28,28,29,28,0,0,0,0,0,0,0,0,26,25,25,25,25,24,23,23,23,21,21,20,0,0,0,0,0,0,0,0,5,4,5,4,5,6,7,6,6,9,8,8,0,0,0,0,0,0,0,0,11,11,11,12,11,12,12,12,13,13,13,13,0,0,0,0,0,0,0,0,13,14,14,14,13,14,13,12,13,13,12,13,0,0,0,0,0,0,0,0,13,13,13,13,12,12,12,14,12,14,12,13,0,0,0,0,0,0,0,0,11,12,12,10,10,11,12,11,12,11,12,11,0,0,0,0,0,0,0,0,10,10,10,11,10,11,11,11,11,10,11,11,0,0,0,0,0,0,0,0,11,11,12,11,11,13,12,13,13,13,12,13,0,0,0,0,0,0,0,0,11,11,12,12,11,12,12,11,11,11,11,10,0,0,0,0,0,0,0,0,9,9,8,8,9,8,9,10,10,10,10,10,0,0,0,0,0,0,0,0,10,9,9,9,10,10,10,11,11,11,10,10,0,0,0,0,0,0,0,0,10,10,10,11,10,10,10,11,12,11,10,10,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,7,6,0,0,0,0,0,0,0,0,4,5,5,4,5,6,6,6,5,5,4,3,0,0,0,0,0,0,0,0,2,3,3,4,4,6,8,10,13,14,14,16,0,0,0,0,0,0,0,0,18,20,20,21,22,22,23,24,23,23,24,23,0,0,0,0,0,0,0,0,24,26,26,25,27,27,27,28,28,27,28,28,0,0,0,0,0,0,0,0,27,27,27,27,27,26,27,25,26,26,26,27,0,0,0,0,0,0,0,0,22,20,20,19,17,15,14,16,13,11,9,7,0,0,0,0,0,0,0,0,6,7,8,7,7,8,9,9,10,11,10,11,0,0,0,0,0,0,0,0,12,12,11,10,10,10,11,10,12,14,12,12,0,0,0,0,0,0,0,0,7,7,6,6,6,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,10,10,10,10,11,11,11,11,12,11,10,9,0,0,0,0,0,0,0,0,9,9,9,10,10,9,9,8,10,9,8,9,0,0,0,0,0,0,0,0,8,8,9,8,8,8,9,9,11,11,11,12,0,0,0,0,0,0,0,0,12,13,12,12,14,13,13,12,13,12,12,11,0,0,0,0,0,0,0,0,8,9,8,8,8,8,7,7,8,7,7,6,0,0,0,0,0,0,0,0,6,5,5,6,7,7,7,7,7,7,8,8,0,0,0,0,0,0,0,0,8,8,8,8,7,8,8,9,8,8,8,7,0,0,0,0,0,0,0,0,8,9,9,8,10,10,9,10,10,10,11,11,0,0,0,0,0,0,0,0,12,12,11,10,10,10,10,9,8,8,7,6,0,0,0,0,0,0,0,0,5,5,6,6,5,5,7,5,5,6,6,5,0,0,0,0,0,0,0,0,8,8,8,8,8,9,8,7,8,8,8,8,0,0,0,0,0,0,0,0,5,5,4,5,5,6,4,5,8,6,6,7,0,0,0,0,0,0,0,0,8,7,8,9,9,7,7,7,5,6,6,5,0,0,0,0,0,0,0,0,6,7,8,6,8,8,8,9,10,9,9,9,0,0,0,0,0,0,0,0,8,9,10,9,9,9,10,8,9,11,9,9,0,0,0,0,0,0,0,0,14,16,15,15,16,17,18,19,21,20,22,22,0,0,0,0,0,0,0,0,25,24,26,25,26,25,25,25,26,25,25,26,0,0,0,0,0,0,0,0,26,25,25,26,27,24,24,26,24],[0,29,29,29,30,30,29,29,29,29,28,28,29,28,29,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,25,25,25,25,24,23,24,22,21,21,21,0,0,0,0,0,0,0,0,5,4,4,4,4,4,6,6,7,7,8,7,0,0,0,0,0,0,0,0,11,11,10,12,11,11,12,12,12,12,12,12,0,0,0,0,0,0,0,0,13,13,14,13,12,13,11,13,13,12,12,13,0,0,0,0,0,0,0,0,12,12,13,12,12,12,12,14,13,13,13,13,0,0,0,0,0,0,0,0,11,11,11,10,10,9,11,11,11,11,11,9,0,0,0,0,0,0,0,0,9,8,9,10,9,9,10,11,9,10,11,10,0,0,0,0,0,0,0,0,12,10,12,11,11,12,12,14,14,13,12,13,0,0,0,0,0,0,0,0,12,13,12,12,12,12,12,12,11,10,11,10,0,0,0,0,0,0,0,0,8,8,7,7,8,8,9,9,9,10,10,10,0,0,0,0,0,0,0,0,8,9,9,10,9,9,9,11,11,10,10,9,0,0,0,0,0,0,0,0,12,9,9,10,11,10,10,11,12,11,11,11,0,0,0,0,0,0,0,0,8,8,8,8,7,7,7,8,7,7,5,5,0,0,0,0,0,0,0,0,4,5,5,4,6,7,6,6,6,5,4,3,0,0,0,0,0,0,0,0,2,2,3,4,5,6,8,9,11,14,14,15,0,0,0,0,0,0,0,0,18,20,20,21,22,22,23,22,24,23,24,22,0,0,0,0,0,0,0,0,24,25,25,26,27,27,27,27,28,28,28,28,0,0,0,0,0,0,0,0,27,27,27,27,27,26,27,26,26,27,25,26,0,0,0,0,0,0,0,0,23,21,21,20,18,16,16,15,13,11,9,8,0,0,0,0,0,0,0,0,5,6,6,6,7,7,7,8,8,8,9,9,0,0,0,0,0,0,0,0,11,10,10,9,9,9,10,9,12,14,10,11,0,0,0,0,0,0,0,0,7,6,6,6,5,5,4,5,4,5,5,6,0,0,0,0,0,0,0,0,8,8,9,10,10,12,11,11,11,10,9,9,0,0,0,0,0,0,0,0,8,8,8,9,9,8,8,9,10,8,8,8,0,0,0,0,0,0,0,0,8,9,8,7,7,9,9,10,11,11,11,12,0,0,0,0,0,0,0,0,12,12,13,13,13,12,13,12,13,13,11,11,0,0,0,0,0,0,0,0,8,9,8,9,8,8,7,8,7,7,6,6,0,0,0,0,0,0,0,0,6,5,5,6,6,7,6,7,6,7,7,8,0,0,0,0,0,0,0,0,10,9,8,8,9,8,8,8,9,7,8,8,0,0,0,0,0,0,0,0,8,8,9,7,9,9,8,10,9,8,10,10,0,0,0,0,0,0,0,0,11,11,11,11,10,10,9,8,8,8,6,6,0,0,0,0,0,0,0,0,5,5,6,6,5,5,7,5,5,6,6,6,0,0,0,0,0,0,0,0,9,7,7,8,8,9,7,8,8,8,7,8,0,0,0,0,0,0,0,0,5,5,4,4,5,5,5,6,7,6,6,7,0,0,0,0,0,0,0,0,6,7,8,8,7,7,7,6,6,6,6,5,0,0,0,0,0,0,0,0,5,6,7,7,7,7,8,7,9,9,8,10,0,0,0,0,0,0,0,0,8,7,8,8,8,8,8,7,8,9,8,8,0,0,0,0,0,0,0,0,14,17,15,15,15,18,18,18,21,21,23,23,0,0,0,0,0,0,0,0,25,24,26,26,26,26,26,26,27,26,26,27,0,0,0,0,0,0,0,0,27,26,26,26,27,25,25,27,25],[0,28,28,28,29,29,29,29,29,28,27,26,27,27,27,27,27,28,27,28,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,26,25,24,24,24,23,22,22,22,20,20,20,0,0,0,0,0,0,0,0,5,4,5,5,5,5,6,6,6,6,8,8,0,0,0,0,0,0,0,0,10,10,10,11,10,10,11,11,11,11,11,12,0,0,0,0,0,0,0,0,12,12,12,11,11,11,11,11,11,12,11,11,0,0,0,0,0,0,0,0,11,11,13,11,11,12,12,13,11,13,11,12,0,0,0,0,0,0,0,0,10,10,10,9,9,9,10,10,10,10,10,10,0,0,0,0,0,0,0,0,9,8,9,9,8,8,9,9,8,9,10,10,0,0,0,0,0,0,0,0,9,9,12,11,10,11,11,12,12,13,12,12,0,0,0,0,0,0,0,0,11,10,12,11,9,12,12,10,10,10,9,9,0,0,0,0,0,0,0,0,7,7,6,6,8,8,8,7,8,8,8,9,0,0,0,0,0,0,0,0,7,7,8,7,7,8,8,9,10,9,9,8,0,0,0,0,0,0,0,0,9,8,9,9,10,9,9,10,10,10,10,10,0,0,0,0,0,0,0,0,7,7,7,7,7,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,4,5,4,5,5,5,5,5,4,4,3,0,0,0,0,0,0,0,0,1,2,2,3,4,5,7,10,12,13,13,15,0,0,0,0,0,0,0,0,16,17,19,19,19,19,22,21,22,20,23,21,0,0,0,0,0,0,0,0,23,24,26,26,27,26,27,27,28,27,28,27,0,0,0,0,0,0,0,0,27,27,26,27,27,25,26,24,25,25,23,25,0,0,0,0,0,0,0,0,20,20,19,18,17,14,15,13,12,11,8,7,0,0,0,0,0,0,0,0,6,6,7,7,7,8,8,8,9,9,9,9,0,0,0,0,0,0,0,0,11,10,9,9,8,9,9,9,11,12,10,10,0,0,0,0,0,0,0,0,6,6,6,5,5,5,5,5,4,4,5,6,0,0,0,0,0,0,0,0,8,8,8,9,10,10,10,10,10,9,9,8,0,0,0,0,0,0,0,0,7,7,7,7,8,7,7,7,7,7,8,7,0,0,0,0,0,0,0,0,8,8,8,7,8,9,8,9,11,10,11,10,0,0,0,0,0,0,0,0,11,12,12,12,13,11,12,13,13,12,11,11,0,0,0,0,0,0,0,0,9,9,8,8,8,8,7,7,7,7,6,5,0,0,0,0,0,0,0,0,5,5,4,5,5,6,6,7,6,7,6,7,0,0,0,0,0,0,0,0,8,8,7,8,8,8,7,7,7,7,8,8,0,0,0,0,0,0,0,0,8,8,9,8,9,9,8,9,9,9,10,10,0,0,0,0,0,0,0,0,11,11,10,10,10,10,9,8,7,7,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,5,6,7,5,0,0,0,0,0,0,0,0,8,8,8,8,7,8,8,8,8,8,7,7,0,0,0,0,0,0,0,0,4,4,4,4,5,4,4,5,7,5,7,8,0,0,0,0,0,0,0,0,7,6,7,7,7,6,7,6,5,6,5,5,0,0,0,0,0,0,0,0,6,6,8,7,7,8,8,8,9,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,7,8,8,8,8,0,0,0,0,0,0,0,0,13,14,14,14,15,16,18,18,19,20,22,22,0,0,0,0,0,0,0,0,25,25,25,25,26,24,26,24,26,26,25,26,0,0,0,0,0,0,0,0,26,24,24,25,26,23,23,26,24],[0,29,28,29,29,29,29,29,29,28,28,27,28,27,27,28,28,28,27,28,0,0,0,0,0,0,0,0,27,28,27,28,28,29,27,28,28,28,29,28,0,0,0,0,0,0,0,0,26,25,24,24,24,24,23,23,21,20,20,19,0,0,0,0,0,0,0,0,4,3,4,4,4,4,5,5,6,6,7,7,0,0,0,0,0,0,0,0,9,9,10,10,10,10,10,10,11,11,11,10,0,0,0,0,0,0,0,0,11,12,12,11,11,11,11,11,11,10,11,10,0,0,0,0,0,0,0,0,11,11,10,11,11,10,11,12,12,12,11,11,0,0,0,0,0,0,0,0,9,10,9,9,9,9,10,10,10,10,9,10,0,0,0,0,0,0,0,0,9,8,9,9,9,8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,0,0,7,7,6,7,6,7,5,5,6,5,5,5,0,0,0,0,0,0,0,0,3,3,2,3,3,4,3,4,5,4,5,6,0,0,0,0,0,0,0,0,5,5,5,6,6,4,5,5,4,4,4,4,0,0,0,0,0,0,0,0,5,5,4,5,5,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,7,7,8,7,7,8,8,6,7,8,8,7,0,0,0,0,0,0,0,0,13,14,13,13,14,15,17,17,19,19,21,21,0,0,0,0,0,0,0,0,24,22,25,24,25,24,24,24,26,26,25,25,0,0,0,0,0,0,0,0,25,23,22,24,25,22,21,24,23],[0,29,29,29,29,30,29,29,29,29,29,28,29,28,28,28,28,29,28,29,0,0,0,0,0,0,0,0,29,29,27,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,26,25,25,24,24,24,22,23,22,21,21,21,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,5,6,8,8,6,0,0,0,0,0,0,0,0,10,9,10,10,10,11,10,11,11,12,11,11,0,0,0,0,0,0,0,0,12,13,13,12,11,11,11,11,11,11,11,12,0,0,0,0,0,0,0,0,12,12,12,12,11,11,12,13,12,12,12,11,0,0,0,0,0,0,0,0,9,10,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,9,9,9,10,10,10,10,10,10,9,10,10,0,0,0,0,0,0,0,0,11,10,11,10,11,11,11,11,12,13,12,13,0,0,0,0,0,0,0,0,11,11,11,11,10,11,11,10,10,9,10,9,0,0,0,0,0,0,0,0,8,9,7,7,8,8,9,9,8,9,9,9,0,0,0,0,0,0,0,0,9,9,8,9,9,9,9,10,11,10,10,9,0,0,0,0,0,0,0,0,10,9,9,10,10,9,10,10,11,10,10,10,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,8,7,7,7,5,0,0,0,0,0,0,0,0,4,6,6,5,5,6,6,6,5,4,4,3,0,0,0,0,0,0,0,0,1,1,2,2,4,5,6,7,8,11,11,15,0,0,0,0,0,0,0,0,17,18,19,19,20,21,22,23,23,22,24,23,0,0,0,0,0,0,0,0,24,25,26,25,28,26,27,27,27,27,28,28,0,0,0,0,0,0,0,0,27,27,27,26,27,26,27,25,25,26,24,26,0,0,0,0,0,0,0,0,22,20,20,18,17,16,15,15,11,9,8,6,0,0,0,0,0,0,0,0,5,6,6,6,6,7,7,7,8,8,8,9,0,0,0,0,0,0,0,0,12,10,10,9,8,8,10,9,11,12,10,10,0,0,0,0,0,0,0,0,6,5,5,5,4,5,4,5,4,5,6,6,0,0,0,0,0,0,0,0,8,8,9,10,10,11,11,10,10,10,9,8,0,0,0,0,0,0,0,0,9,9,8,9,9,9,8,8,10,8,8,9,0,0,0,0,0,0,0,0,8,8,7,7,7,8,8,9,10,10,11,11,0,0,0,0,0,0,0,0,10,11,10,11,11,11,11,11,11,11,10,9,0,0,0,0,0,0,0,0,7,8,7,7,7,7,5,6,7,7,6,6,0,0,0,0,0,0,0,0,7,5,6,7,6,7,7,8,7,7,8,8,0,0,0,0,0,0,0,0,8,8,7,8,6,7,7,6,6,7,6,6,0,0,0,0,0,0,0,0,7,7,8,7,8,8,8,9,9,9,9,9,0,0,0,0,0,0,0,0,9,10,9,9,9,8,9,7,7,6,6,5,0,0,0,0,0,0,0,0,4,5,5,4,4,5,6,4,5,7,6,5,0,0,0,0,0,0,0,0,7,7,7,7,7,7,6,6,6,7,7,7,0,0,0,0,0,0,0,0,5,5,3,3,5,5,4,5,5,5,5,7,0,0,0,0,0,0,0,0,7,6,7,7,7,5,6,6,4,5,5,4,0,0,0,0,0,0,0,0,5,5,5,6,6,6,7,7,8,8,8,8,0,0,0,0,0,0,0,0,8,8,9,8,8,8,10,7,8,9,9,8,0,0,0,0,0,0,0,0,13,15,15,14,16,17,18,18,21,20,22,23,0,0,0,0,0,0,0,0,26,23,26,26,26,25,26,26,27,26,26,27,0,0,0,0,0,0,0,0,26,25,25,26,27,25,24,26,25],[0,29,29,29,29,29,29,29,29,29,28,28,28,28,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,26,25,25,24,24,23,23,22,20,21,21,0,0,0,0,0,0,0,0,5,5,4,4,5,6,7,6,6,7,9,8,0,0,0,0,0,0,0,0,12,12,12,13,12,12,13,13,13,13,14,14,0,0,0,0,0,0,0,0,13,13,14,13,12,14,13,13,13,13,12,13,0,0,0,0,0,0,0,0,13,13,14,13,12,14,13,14,13,14,13,14,0,0,0,0,0,0,0,0,13,13,12,12,12,11,12,12,12,12,11,11,0,0,0,0,0,0,0,0,11,10,12,13,11,10,12,11,11,12,12,11,0,0,0,0,0,0,0,0,11,11,13,12,12,13,13,15,15,14,13,14,0,0,0,0,0,0,0,0,12,12,13,13,11,14,13,11,12,12,11,12,0,0,0,0,0,0,0,0,9,10,8,7,8,8,9,9,10,10,9,11,0,0,0,0,0,0,0,0,10,11,10,10,10,10,9,10,11,11,11,10,0,0,0,0,0,0,0,0,11,10,10,11,11,10,11,12,13,12,11,12,0,0,0,0,0,0,0,0,9,9,9,10,9,9,8,9,8,8,8,8,0,0,0,0,0,0,0,0,6,6,7,6,7,7,7,7,6,6,6,4,0,0,0,0,0,0,0,0,0,1,2,3,3,5,6,6,9,12,12,16,0,0,0,0,0,0,0,0,17,18,19,19,19,20,23,22,24,21,24,22,0,0,0,0,0,0,0,0,24,24,27,26,27,26,27,28,28,27,28,28,0,0,0,0,0,0,0,0,27,27,26,27,28,26,27,24,25,26,24,26,0,0,0,0,0,0,0,0,23,21,20,20,18,17,17,16,13,13,10,8,0,0,0,0,0,0,0,0,5,7,7,7,8,8,8,9,10,11,11,11,0,0,0,0,0,0,0,0,13,12,11,10,10,10,12,10,13,15,13,11,0,0,0,0,0,0,0,0,7,7,7,7,5,5,5,6,5,6,6,7,0,0,0,0,0,0,0,0,9,10,10,11,12,13,13,12,13,12,10,10,0,0,0,0,0,0,0,0,9,8,9,10,10,9,9,9,10,9,9,9,0,0,0,0,0,0,0,0,10,10,9,9,8,9,10,10,11,12,12,12,0,0,0,0,0,0,0,0,12,12,14,14,14,12,14,14,13,12,12,12,0,0,0,0,0,0,0,0,10,11,10,10,9,10,10,7,8,9,8,7,0,0,0,0,0,0,0,0,7,6,6,8,7,8,7,9,8,8,8,9,0,0,0,0,0,0,0,0,9,8,8,9,9,9,9,9,9,9,9,8,0,0,0,0,0,0,0,0,8,10,11,9,11,11,10,11,11,10,12,12,0,0,0,0,0,0,0,0,12,11,11,11,11,10,10,8,8,7,7,6,0,0,0,0,0,0,0,0,5,6,7,5,4,6,6,5,5,7,7,5,0,0,0,0,0,0,0,0,9,9,9,9,8,8,9,9,9,7,9,9,0,0,0,0,0,0,0,0,5,4,4,4,6,5,5,6,7,6,7,9,0,0,0,0,0,0,0,0,8,7,8,8,8,7,7,7,7,6,5,6,0,0,0,0,0,0,0,0,7,6,7,8,7,8,8,9,10,10,10,11,0,0,0,0,0,0,0,0,9,9,9,9,10,9,9,9,10,10,9,11,0,0,0,0,0,0,0,0,15,16,16,16,16,18,21,20,21,21,23,24,0,0,0,0,0,0,0,0,27,24,27,26,27,26,26,25,27,28,27,28,0,0,0,0,0,0,0,0,27,25,26,26,27,26,24,26,27],[0,29,29,29,29,30,29,29,29,28,28,28,29,28,28,29,28,28,28,28,0,0,0,0,0,0,0,0,28,29,27,29,29,29,28,28,28,28,29,28,0,0,0,0,0,0,0,0,25,25,24,25,24,23,22,22,21,20,20,20,0,0,0,0,0,0,0,0,6,6,5,5,6,7,7,7,8,9,9,9,0,0,0,0,0,0,0,0,13,12,13,14,13,12,14,16,13,15,15,15,0,0,0,0,0,0,0,0,14,14,15,14,14,15,14,14,14,13,13,14,0,0,0,0,0,0,0,0,14,13,14,15,14,14,15,15,15,16,15,14,0,0,0,0,0,0,0,0,12,13,12,11,12,12,12,12,14,13,11,13,0,0,0,0,0,0,0,0,11,11,11,12,12,11,11,11,11,12,12,12,0,0,0,0,0,0,0,0,12,12,14,14,12,14,14,14,15,15,14,15,0,0,0,0,0,0,0,0,14,13,14,14,12,16,14,13,13,13,12,11,0,0,0,0,0,0,0,0,9,9,8,8,9,9,9,9,10,10,10,11,0,0,0,0,0,0,0,0,10,10,10,10,10,11,11,11,12,12,12,11,0,0,0,0,0,0,0,0,11,11,12,12,12,11,11,12,12,13,13,12,0,0,0,0,0,0,0,0,8,8,9,9,8,8,8,8,8,8,7,7,0,0,0,0,0,0,0,0,6,7,7,6,8,8,8,8,8,7,7,6,0,0,0,0,0,0,0,0,1,0,1,2,3,4,6,7,8,11,12,15,0,0,0,0,0,0,0,0,15,17,19,18,19,20,22,21,23,22,23,22,0,0,0,0,0,0,0,0,24,26,27,26,28,26,28,28,28,27,29,28,0,0,0,0,0,0,0,0,27,28,27,28,28,27,27,25,26,26,24,26,0,0,0,0,0,0,0,0,21,19,19,19,18,16,15,12,13,11,9,7,0,0,0,0,0,0,0,0,8,10,9,9,9,10,10,11,11,12,11,12,0,0,0,0,0,0,0,0,15,13,12,12,11,12,12,12,14,15,12,12,0,0,0,0,0,0,0,0,8,8,8,8,7,7,7,8,7,7,9,10,0,0,0,0,0,0,0,0,12,12,13,13,13,13,13,12,14,13,12,12,0,0,0,0,0,0,0,0,10,9,11,11,11,11,11,10,10,10,10,10,0,0,0,0,0,0,0,0,10,11,10,9,10,11,11,12,13,13,13,12,0,0,0,0,0,0,0,0,14,14,14,14,15,13,14,15,14,13,14,12,0,0,0,0,0,0,0,0,11,11,10,11,10,10,10,9,9,9,8,7,0,0,0,0,0,0,0,0,8,8,7,8,9,10,9,10,11,10,9,11,0,0,0,0,0,0,0,0,11,10,10,10,10,11,10,10,9,10,11,10,0,0,0,0,0,0,0,0,10,9,11,9,11,12,10,11,11,10,12,12,0,0,0,0,0,0,0,0,13,13,12,12,12,11,11,9,9,9,8,9,0,0,0,0,0,0,0,0,5,6,7,6,6,8,9,6,6,9,9,6,0,0,0,0,0,0,0,0,11,11,10,11,10,11,10,11,11,9,10,11,0,0,0,0,0,0,0,0,5,5,4,5,5,6,6,7,8,7,10,10,0,0,0,0,0,0,0,0,8,9,9,11,10,6,7,7,6,6,6,5,0,0,0,0,0,0,0,0,8,8,9,7,9,10,9,10,10,11,10,11,0,0,0,0,0,0,0,0,11,11,11,11,11,10,11,11,11,11,11,11,0,0,0,0,0,0,0,0,15,17,16,17,16,19,19,20,21,20,23,22,0,0,0,0,0,0,0,0,26,24,25,25,27,25,26,25,26,26,26,27,0,0,0,0,0,0,0,0,26,24,25,26,26,25,24,25,26],[0,29,29,29,29,30,29,29,29,29,29,28,29,28,28,28,29,28,28,28,0,0,0,0,0,0,0,0,28,29,27,28,29,29,28,28,28,28,28,27,0,0,0,0,0,0,0,0,25,24,24,23,23,22,22,22,21,21,21,20,0,0,0,0,0,0,0,0,5,6,5,6,6,8,8,8,9,9,10,10,0,0,0,0,0,0,0,0,15,14,15,15,15,15,15,15,15,14,15,16,0,0,0,0,0,0,0,0,16,16,15,15,15,15,16,14,15,15,16,15,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,0,0,0,0,0,0,0,0,14,16,15,15,14,15,14,13,15,15,14,13,0,0,0,0,0,0,0,0,12,12,12,13,12,13,15,14,13,15,15,14,0,0,0,0,0,0,0,0,14,14,15,15,14,16,15,16,15,16,16,16,0,0,0,0,0,0,0,0,15,14,16,16,14,16,16,15,14,15,14,12,0,0,0,0,0,0,0,0,11,11,8,9,10,9,11,11,11,12,12,12,0,0,0,0,0,0,0,0,11,12,13,11,12,14,13,13,15,14,13,14,0,0,0,0,0,0,0,0,13,12,12,14,13,12,14,14,14,14,14,14,0,0,0,0,0,0,0,0,10,9,10,9,10,9,9,10,10,9,9,8,0,0,0,0,0,0,0,0,7,8,7,9,9,9,9,9,9,8,7,6,0,0,0,0,0,0,0,0,2,1,0,1,3,4,6,7,8,8,10,13,0,0,0,0,0,0,0,0,16,17,18,18,19,20,21,21,22,22,24,22,0,0,0,0,0,0,0,0,24,25,27,26,26,26,26,27,27,27,28,28,0,0,0,0,0,0,0,0,26,26,27,26,26,26,26,23,25,25,24,25,0,0,0,0,0,0,0,0,20,19,19,17,15,16,15,14,12,10,10,8,0,0,0,0,0,0,0,0,9,9,9,9,9,11,10,10,13,12,12,13,0,0,0,0,0,0,0,0,14,13,14,13,13,12,13,13,14,16,15,13,0,0,0,0,0,0,0,0,9,9,9,8,7,7,8,9,9,8,9,9,0,0,0,0,0,0,0,0,12,12,13,14,14,14,14,13,15,15,13,13,0,0,0,0,0,0,0,0,11,12,12,14,12,12,13,12,13,11,11,12,0,0,0,0,0,0,0,0,11,12,12,10,10,11,11,12,12,12,13,14,0,0,0,0,0,0,0,0,15,14,16,15,16,14,15,16,15,15,14,13,0,0,0,0,0,0,0,0,11,12,11,10,10,10,9,9,10,9,8,8,0,0,0,0,0,0,0,0,10,8,7,10,10,10,11,10,11,11,10,11,0,0,0,0,0,0,0,0,10,9,9,11,8,9,10,9,7,9,10,9,0,0,0,0,0,0,0,0,11,10,11,11,13,13,11,13,12,12,14,14,0,0,0,0,0,0,0,0,12,13,13,12,11,11,11,9,10,8,7,7,0,0,0,0,0,0,0,0,6,6,6,7,6,7,7,6,7,8,7,7,0,0,0,0,0,0,0,0,10,10,11,11,9,8,7,8,8,7,6,8,0,0,0,0,0,0,0,0,5,6,4,6,6,7,6,7,8,7,7,8,0,0,0,0,0,0,0,0,7,8,8,8,9,6,7,7,6,6,6,5,0,0,0,0,0,0,0,0,6,7,6,7,8,9,9,10,10,11,11,11,0,0,0,0,0,0,0,0,13,11,12,10,13,12,13,12,14,13,11,13,0,0,0,0,0,0,0,0,16,17,17,16,17,19,20,20,21,22,24,23,0,0,0,0,0,0,0,0,27,25,27,27,27,27,27,26,28,28,27,27,0,0,0,0,0,0,0,0,27,25,25,26,27,25,23,25,25],[0,28,29,29,29,29,28,29,28,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,28,27,28,29,29,28,29,28,29,28,28,0,0,0,0,0,0,0,0,25,25,24,23,23,23,21,22,21,19,19,18,0,0,0,0,0,0,0,0,5,6,6,7,9,11,11,9,10,11,11,11,0,0,0,0,0,0,0,0,14,14,14,15,15,15,16,16,16,16,16,16,0,0,0,0,0,0,0,0,17,17,16,15,14,16,17,15,15,16,16,16,0,0,0,0,0,0,0,0,16,16,17,16,16,16,15,16,17,16,17,17,0,0,0,0,0,0,0,0,14,15,15,14,13,15,14,15,15,14,14,15,0,0,0,0,0,0,0,0,13,14,13,15,14,14,14,14,14,16,15,16,0,0,0,0,0,0,0,0,15,15,16,14,16,15,16,16,16,16,16,16,0,0,0,0,0,0,0,0,14,14,16,16,14,16,15,15,13,15,14,13,0,0,0,0,0,0,0,0,12,12,11,11,11,10,12,12,13,14,13,14,0,0,0,0,0,0,0,0,13,14,14,12,13,13,13,14,15,14,14,14,0,0,0,0,0,0,0,0,14,12,13,13,13,13,12,13,13,13,12,13,0,0,0,0,0,0,0,0,10,11,12,11,11,10,13,10,10,11,11,10,0,0,0,0,0,0,0,0,9,9,11,11,9,10,10,10,10,8,9,8,0,0,0,0,0,0,0,0,4,2,1,0,1,2,4,5,6,8,7,11,0,0,0,0,0,0,0,0,14,15,16,17,16,18,21,20,23,21,22,22,0,0,0,0,0,0,0,0,23,24,26,25,26,25,26,27,28,27,27,28,0,0,0,0,0,0,0,0,26,27,27,26,26,25,26,24,25,25,23,25,0,0,0,0,0,0,0,0,20,16,18,18,17,17,14,15,12,12,10,8,0,0,0,0,0,0,0,0,10,11,10,10,12,12,11,12,12,13,13,13,0,0,0,0,0,0,0,0,16,15,14,14,14,14,14,12,16,16,13,14,0,0,0,0,0,0,0,0,10,10,10,9,9,9,10,11,10,10,11,12,0,0,0,0,0,0,0,0,15,15,14,15,14,15,15,16,16,15,15,14,0,0,0,0,0,0,0,0,14,14,14,14,14,14,13,12,14,12,13,12,0,0,0,0,0,0,0,0,11,11,11,10,9,11,10,12,12,13,14,13,0,0,0,0,0,0,0,0,14,14,16,14,16,13,15,16,14,14,13,13,0,0,0,0,0,0,0,0,12,11,12,10,10,12,10,11,11,12,10,10,0,0,0,0,0,0,0,0,12,11,10,11,11,14,13,13,14,12,12,14,0,0,0,0,0,0,0,0,11,10,10,10,10,9,10,10,9,8,10,8,0,0,0,0,0,0,0,0,11,10,11,10,12,12,12,13,13,11,13,13,0,0,0,0,0,0,0,0,12,13,12,12,11,10,11,10,10,8,8,8,0,0,0,0,0,0,0,0,8,8,8,8,7,9,10,9,10,10,10,9,0,0,0,0,0,0,0,0,11,11,10,11,9,10,9,8,9,7,7,9,0,0,0,0,0,0,0,0,5,4,5,6,6,7,8,8,8,8,8,10,0,0,0,0,0,0,0,0,9,8,8,8,7,8,8,6,7,8,7,6,0,0,0,0,0,0,0,0,9,9,9,8,9,10,10,11,11,12,12,12,0,0,0,0,0,0,0,0,13,12,13,13,14,14,14,13,15,15,14,14,0,0,0,0,0,0,0,0,18,19,18,19,18,20,22,21,22,23,25,23,0,0,0,0,0,0,0,0,27,25,27,27,28,26,27,26,28,27,26,28,0,0,0,0,0,0,0,0,27,25,27,27,28,26,24,26,26],[0,30,30,30,30,30,30,30,30,29,29,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,25,24,24,23,23,22,21,21,20,20,20,18,0,0,0,0,0,0,0,0,6,6,5,6,9,9,10,9,8,10,10,10,0,0,0,0,0,0,0,0,16,15,16,16,16,16,15,18,16,18,17,17,0,0,0,0,0,0,0,0,17,17,17,16,17,17,17,16,17,17,17,17,0,0,0,0,0,0,0,0,17,17,17,18,17,18,17,17,17,19,18,17,0,0,0,0,0,0,0,0,15,16,16,15,13,16,16,15,17,16,15,14,0,0,0,0,0,0,0,0,14,13,14,15,14,15,16,15,15,17,16,17,0,0,0,0,0,0,0,0,15,16,18,17,16,18,17,18,18,17,15,18,0,0,0,0,0,0,0,0,16,15,16,18,16,16,18,16,15,16,15,14,0,0,0,0,0,0,0,0,12,13,11,11,14,11,12,13,13,14,15,16,0,0,0,0,0,0,0,0,13,16,16,13,14,15,15,15,16,16,16,14,0,0,0,0,0,0,0,0,16,13,14,16,15,16,15,17,16,15,16,16,0,0,0,0,0,0,0,0,12,12,12,11,12,12,11,12,11,13,11,10,0,0,0,0,0,0,0,0,9,12,12,13,12,12,13,12,12,11,11,9,0,0,0,0,0,0,0,0,4,3,2,1,0,1,3,4,6,8,9,9,0,0,0,0,0,0,0,0,14,15,18,18,17,19,19,20,22,20,22,21,0,0,0,0,0,0,0,0,22,24,25,24,25,25,27,27,28,27,27,27,0,0,0,0,0,0,0,0,26,26,26,26,27,25,25,24,25,25,24,24,0,0,0,0,0,0,0,0,21,21,20,19,17,17,16,14,14,13,11,9,0,0,0,0,0,0,0,0,11,12,12,11,12,13,12,13,13,15,15,14,0,0,0,0,0,0,0,0,16,15,14,15,15,14,16,15,16,18,15,14,0,0,0,0,0,0,0,0,12,11,11,11,11,12,10,12,13,12,14,14,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,17,17,17,17,17,0,0,0,0,0,0,0,0,14,15,15,16,14,14,15,14,14,13,13,13,0,0,0,0,0,0,0,0,13,13,12,13,9,11,12,13,14,13,14,15,0,0,0,0,0,0,0,0,16,17,16,16,16,16,15,15,17,17,14,16,0,0,0,0,0,0,0,0,11,13,12,12,11,12,11,11,11,12,12,10,0,0,0,0,0,0,0,0,13,12,12,11,12,15,13,12,15,15,13,15,0,0,0,0,0,0,0,0,14,13,11,13,11,8,11,11,11,9,11,8,0,0,0,0,0,0,0,0,12,11,11,10,12,13,11,14,13,12,14,14,0,0,0,0,0,0,0,0,15,14,12,13,12,11,11,10,9,10,8,7,0,0,0,0,0,0,0,0,7,10,10,8,7,12,11,10,10,13,10,9,0,0,0,0,0,0,0,0,9,12,11,12,11,11,11,10,11,11,11,10,0,0,0,0,0,0,0,0,7,5,5,8,9,6,8,10,11,9,11,10,0,0,0,0,0,0,0,0,9,7,9,8,6,5,9,8,5,6,7,6,0,0,0,0,0,0,0,0,9,9,9,9,9,9,10,11,11,11,12,11,0,0,0,0,0,0,0,0,13,14,16,12,15,16,15,14,16,16,14,16,0,0,0,0,0,0,0,0,17,20,19,19,19,20,22,23,23,23,26,24,0,0,0,0,0,0,0,0,29,26,28,28,29,28,28,27,29,28,28,29,0,0,0,0,0,0,0,0,28,27,27,28,28,26,26,27,25],[0,29,29,30,30,30,30,29,29,29,29,28,29,28,29,28,28,29,27,29,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,24,23,23,22,22,21,21,22,20,20,20,19,0,0,0,0,0,0,0,0,7,7,8,8,8,11,11,11,10,12,11,13,0,0,0,0,0,0,0,0,19,17,18,17,18,19,18,18,18,20,18,19,0,0,0,0,0,0,0,0,21,20,20,19,19,20,19,19,18,19,18,19,0,0,0,0,0,0,0,0,20,20,19,20,20,20,19,20,20,21,20,20,0,0,0,0,0,0,0,0,16,18,19,17,17,18,18,18,19,18,16,16,0,0,0,0,0,0,0,0,17,17,16,17,17,18,19,17,17,19,19,19,0,0,0,0,0,0,0,0,18,19,20,19,19,20,21,20,20,21,19,19,0,0,0,0,0,0,0,0,18,19,19,19,18,19,20,18,20,18,17,16,0,0,0,0,0,0,0,0,15,16,13,13,14,14,14,15,15,16,16,18,0,0,0,0,0,0,0,0,16,17,17,17,16,17,18,18,19,18,17,17,0,0,0,0,0,0,0,0,17,13,16,17,17,18,17,18,17,17,17,17,0,0,0,0,0,0,0,0,14,12,13,12,13,13,11,13,14,13,12,10,0,0,0,0,0,0,0,0,10,13,14,17,13,15,15,14,16,13,13,12,0,0,0,0,0,0,0,0,5,5,4,3,1,0,1,3,5,6,7,7,0,0,0,0,0,0,0,0,12,14,17,17,16,19,21,21,23,21,23,21,0,0,0,0,0,0,0,0,23,25,25,26,26,26,26,27,27,27,28,27,0,0,0,0,0,0,0,0,26,27,26,26,26,25,25,23,25,25,23,25,0,0,0,0,0,0,0,0,20,19,20,19,18,17,17,15,15,13,12,10,0,0,0,0,0,0,0,0,15,14,14,14,15,15,14,14,17,16,16,18,0,0,0,0,0,0,0,0,18,17,17,17,18,17,17,18,18,19,18,17,0,0,0,0,0,0,0,0,13,13,13,12,13,13,15,13,14,15,17,18,0,0,0,0,0,0,0,0,18,18,19,17,18,19,18,19,18,19,18,18,0,0,0,0,0,0,0,0,16,15,17,17,17,14,16,15,14,15,16,16,0,0,0,0,0,0,0,0,15,16,15,14,13,15,14,16,15,17,18,17,0,0,0,0,0,0,0,0,18,18,20,18,18,18,17,18,19,19,16,18,0,0,0,0,0,0,0,0,14,14,14,12,12,14,12,12,13,13,12,12,0,0,0,0,0,0,0,0,13,15,14,13,14,18,15,14,16,16,14,16,0,0,0,0,0,0,0,0,14,16,14,13,13,13,13,12,16,12,13,10,0,0,0,0,0,0,0,0,13,12,14,13,15,16,15,14,15,14,18,17,0,0,0,0,0,0,0,0,17,18,14,15,15,14,12,11,13,11,9,9,0,0,0,0,0,0,0,0,8,11,11,11,11,11,13,12,13,14,15,12,0,0,0,0,0,0,0,0,16,14,15,15,13,12,14,15,14,11,11,9,0,0,0,0,0,0,0,0,7,5,5,8,8,6,10,11,13,9,15,15,0,0,0,0,0,0,0,0,14,12,12,11,10,7,13,15,10,7,9,12,0,0,0,0,0,0,0,0,12,11,15,14,11,11,11,13,13,16,14,16,0,0,0,0,0,0,0,0,15,16,18,15,17,15,15,16,18,17,16,17,0,0,0,0,0,0,0,0,20,21,21,22,20,23,23,23,23,23,25,25,0,0,0,0,0,0,0,0,27,26,28,28,28,27,28,25,28,28,27,27,0,0,0,0,0,0,0,0,28,26,26,27,27,25,25,27,26],[0,29,29,29,29,30,29,29,29,29,29,28,29,28,28,28,29,28,27,28,0,0,0,0,0,0,0,0,28,27,27,28,29,29,28,29,28,29,29,28,0,0,0,0,0,0,0,0,24,24,23,22,23,22,21,20,21,20,20,20,0,0,0,0,0,0,0,0,10,11,11,13,12,13,15,13,13,15,14,16,0,0,0,0,0,0,0,0,20,20,21,21,20,21,21,20,20,21,22,22,0,0,0,0,0,0,0,0,23,22,22,21,20,21,22,21,21,22,22,22,0,0,0,0,0,0,0,0,22,22,22,23,22,21,20,21,23,22,22,22,0,0,0,0,0,0,0,0,20,20,21,21,20,21,19,21,21,20,19,20,0,0,0,0,0,0,0,0,19,19,19,19,20,21,20,21,20,21,20,20,0,0,0,0,0,0,0,0,22,20,20,21,22,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,19,20,21,21,19,21,21,22,23,21,21,20,0,0,0,0,0,0,0,0,18,18,18,18,18,16,18,19,19,19,19,20,0,0,0,0,0,0,0,0,20,20,19,19,21,19,21,21,21,20,19,20,0,0,0,0,0,0,0,0,19,19,19,19,21,18,18,19,18,18,19,18,0,0,0,0,0,0,0,0,17,17,18,16,17,17,16,17,17,17,17,15,0,0,0,0,0,0,0,0,14,16,18,18,16,16,16,17,17,15,14,13,0,0,0,0,0,0,0,0,8,7,5,5,3,1,0,1,4,4,6,7,0,0,0,0,0,0,0,0,13,13,14,15,15,17,20,20,22,20,22,21,0,0,0,0,0,0,0,0,22,24,25,26,26,26,26,26,28,27,27,28,0,0,0,0,0,0,0,0,27,27,26,27,27,26,26,22,26,25,23,25,0,0,0,0,0,0,0,0,22,20,22,21,18,20,18,17,17,15,15,11,0,0,0,0,0,0,0,0,17,17,17,16,17,17,16,17,17,18,18,20,0,0,0,0,0,0,0,0,20,20,19,20,21,19,20,18,20,22,20,19,0,0,0,0,0,0,0,0,16,15,16,13,15,15,15,16,17,17,17,18,0,0,0,0,0,0,0,0,20,20,21,20,21,21,21,22,21,21,22,20,0,0,0,0,0,0,0,0,21,20,20,21,20,19,19,18,20,18,17,19,0,0,0,0,0,0,0,0,16,17,17,15,16,16,16,18,16,18,18,18,0,0,0,0,0,0,0,0,20,21,21,20,20,20,20,20,22,20,18,20,0,0,0,0,0,0,0,0,18,17,18,14,16,17,15,15,16,17,14,15,0,0,0,0,0,0,0,0,18,18,17,17,17,19,18,20,21,19,17,20,0,0,0,0,0,0,0,0,18,15,16,17,16,15,15,16,14,12,14,13,0,0,0,0,0,0,0,0,16,17,16,15,18,18,16,18,19,17,18,19,0,0,0,0,0,0,0,0,19,19,18,18,16,15,16,14,16,13,14,12,0,0,0,0,0,0,0,0,13,12,13,14,14,14,15,14,15,17,15,14,0,0,0,0,0,0,0,0,16,17,17,15,15,14,13,13,10,13,12,12,0,0,0,0,0,0,0,0,8,7,8,10,11,10,10,11,12,13,13,16,0,0,0,0,0,0,0,0,13,10,12,12,12,8,14,11,10,10,11,9,0,0,0,0,0,0,0,0,15,14,15,13,13,14,15,16,18,19,18,19,0,0,0,0,0,0,0,0,17,18,20,20,18,19,21,19,20,21,20,19,0,0,0,0,0,0,0,0,23,24,24,23,22,24,25,25,26,25,27,26,0,0,0,0,0,0,0,0,29,27,28,28,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,27,28,27,28,28,27,28,28],[0,30,30,30,30,31,30,30,30,30,30,30,30,29,30,29,30,29,28,30,0,0,0,0,0,0,0,0,28,29,28,29,29,29,29,29,28,29,29,28,0,0,0,0,0,0,0,0,25,24,24,24,23,22,21,22,22,20,20,20,0,0,0,0,0,0,0,0,10,13,12,14,15,18,17,18,16,19,18,19,0,0,0,0,0,0,0,0,22,22,23,23,23,23,23,23,22,24,24,23,0,0,0,0,0,0,0,0,24,24,24,23,23,23,23,22,22,24,23,25,0,0,0,0,0,0,0,0,24,23,24,24,23,24,23,23,24,24,25,24,0,0,0,0,0,0,0,0,21,23,22,21,22,21,21,23,23,22,22,21,0,0,0,0,0,0,0,0,20,22,21,22,20,23,23,22,22,23,23,23,0,0,0,0,0,0,0,0,22,23,23,25,22,24,24,24,24,23,22,24,0,0,0,0,0,0,0,0,23,24,23,25,22,23,24,23,23,23,23,21,0,0,0,0,0,0,0,0,20,20,19,20,20,20,20,20,20,22,22,23,0,0,0,0,0,0,0,0,22,22,24,20,21,23,23,24,23,24,23,21,0,0,0,0,0,0,0,0,22,19,21,22,22,23,21,22,21,21,22,22,0,0,0,0,0,0,0,0,19,18,21,19,18,20,21,19,20,19,19,18,0,0,0,0,0,0,0,0,18,20,20,21,20,20,20,21,18,18,17,17,0,0,0,0,0,0,0,0,11,10,8,6,5,2,1,0,1,4,5,7,0,0,0,0,0,0,0,0,12,11,13,15,15,16,20,20,21,20,22,21,0,0,0,0,0,0,0,0,22,24,25,26,25,26,26,27,27,26,27,27,0,0,0,0,0,0,0,0,26,27,26,27,26,26,25,25,26,25,24,25,0,0,0,0,0,0,0,0,23,22,22,22,20,20,19,18,18,17,16,14,0,0,0,0,0,0,0,0,18,19,18,19,19,20,19,19,21,20,21,20,0,0,0,0,0,0,0,0,22,23,22,22,21,21,22,22,23,25,21,22,0,0,0,0,0,0,0,0,19,19,18,16,20,18,20,18,23,19,21,22,0,0,0,0,0,0,0,0,23,23,25,24,23,24,23,24,24,25,24,24,0,0,0,0,0,0,0,0,22,21,23,23,20,21,23,21,21,20,21,20,0,0,0,0,0,0,0,0,18,21,20,17,17,13,16,18,18,21,19,21,0,0,0,0,0,0,0,0,23,24,24,24,22,24,23,23,25,24,22,23,0,0,0,0,0,0,0,0,20,20,19,21,17,20,20,21,19,19,19,20,0,0,0,0,0,0,0,0,19,23,20,20,20,23,19,21,24,21,20,21,0,0,0,0,0,0,0,0,22,18,16,18,19,21,17,20,18,18,17,14,0,0,0,0,0,0,0,0,18,19,20,19,21,21,20,21,21,21,22,22,0,0,0,0,0,0,0,0,22,21,21,20,18,18,17,16,16,15,13,15,0,0,0,0,0,0,0,0,17,17,18,16,17,18,18,17,20,20,17,17,0,0,0,0,0,0,0,0,19,18,18,18,18,21,18,16,18,17,15,17,0,0,0,0,0,0,0,0,12,9,12,15,13,11,16,17,15,17,17,19,0,0,0,0,0,0,0,0,14,10,11,14,12,6,11,12,10,9,14,12,0,0,0,0,0,0,0,0,18,16,16,14,15,15,16,17,18,19,19,20,0,0,0,0,0,0,0,0,21,21,22,21,22,22,21,21,23,23,20,22,0,0,0,0,0,0,0,0,24,26,26,26,26,26,27,27,27,27,29,29,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,28,28,29,28],[0,30,30,30,30,30,30,30,30,30,30,29,30,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,24,23,23,23,22,22,22,21,21,20,19,18,0,0,0,0,0,0,0,0,10,12,11,12,14,15,15,16,13,18,17,14,0,0,0,0,0,0,0,0,23,22,23,24,23,23,24,24,23,25,24,24,0,0,0,0,0,0,0,0,26,26,24,25,25,25,25,24,24,24,24,26,0,0,0,0,0,0,0,0,24,24,24,25,24,25,24,25,25,24,25,25,0,0,0,0,0,0,0,0,22,24,24,23,23,23,23,22,25,23,22,22,0,0,0,0,0,0,0,0,23,23,22,23,23,24,24,23,23,24,24,24,0,0,0,0,0,0,0,0,23,25,23,25,24,24,24,23,24,22,22,24,0,0,0,0,0,0,0,0,23,23,23,24,23,24,24,24,23,23,24,22,0,0,0,0,0,0,0,0,21,21,20,20,19,22,20,23,22,24,23,24,0,0,0,0,0,0,0,0,22,22,23,21,21,23,23,24,24,24,23,22,0,0,0,0,0,0,0,0,23,17,21,22,21,21,22,23,22,22,22,22,0,0,0,0,0,0,0,0,19,19,18,19,20,19,20,19,20,19,19,18,0,0,0,0,0,0,0,0,18,20,20,22,20,21,21,20,21,19,19,19,0,0,0,0,0,0,0,0,12,12,9,9,6,4,2,1,0,1,4,4,0,0,0,0,0,0,0,0,10,13,12,14,14,16,20,20,21,20,22,21,0,0,0,0,0,0,0,0,22,24,24,26,25,25,26,27,27,27,28,28,0,0,0,0,0,0,0,0,27,27,27,27,26,25,26,24,25,26,24,25,0,0,0,0,0,0,0,0,23,21,22,22,20,21,20,20,19,17,19,17,0,0,0,0,0,0,0,0,21,20,20,21,21,21,21,21,22,22,23,22,0,0,0,0,0,0,0,0,23,23,22,23,22,21,22,22,24,24,23,24,0,0,0,0,0,0,0,0,22,21,19,18,20,19,19,19,21,21,21,22,0,0,0,0,0,0,0,0,23,23,24,24,23,24,23,24,24,24,24,24,0,0,0,0,0,0,0,0,21,21,22,23,20,21,23,22,21,22,21,21,0,0,0,0,0,0,0,0,20,21,19,18,17,17,17,19,19,21,22,23,0,0,0,0,0,0,0,0,23,23,25,24,23,23,24,23,25,24,21,23,0,0,0,0,0,0,0,0,18,18,20,17,17,19,18,18,18,20,19,16,0,0,0,0,0,0,0,0,19,21,20,19,20,24,21,20,21,21,21,20,0,0,0,0,0,0,0,0,22,18,18,18,19,22,18,17,18,16,18,14,0,0,0,0,0,0,0,0,17,15,21,18,20,21,18,20,21,21,22,22,0,0,0,0,0,0,0,0,22,22,19,19,20,19,18,15,16,15,13,12,0,0,0,0,0,0,0,0,14,15,18,15,17,18,20,19,20,21,19,18,0,0,0,0,0,0,0,0,23,22,19,18,19,21,20,18,21,18,12,19,0,0,0,0,0,0,0,0,11,8,11,16,15,13,16,18,18,18,21,20,0,0,0,0,0,0,0,0,17,15,14,10,14,6,10,16,12,10,16,13,0,0,0,0,0,0,0,0,18,17,18,20,17,17,15,18,16,21,20,20,0,0,0,0,0,0,0,0,24,22,22,22,22,22,22,22,23,22,21,22,0,0,0,0,0,0,0,0,25,26,26,25,25,26,26,26,26,26,28,27,0,0,0,0,0,0,0,0,29,28,29,29,28,29,29,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,27,29,28,28,27,28,27],[0,30,30,30,30,30,30,30,30,29,29,29,29,28,29,28,29,28,27,28,0,0,0,0,0,0,0,0,28,28,26,28,28,29,27,28,27,28,28,27,0,0,0,0,0,0,0,0,24,23,22,22,22,21,21,21,21,20,20,19,0,0,0,0,0,0,0,0,16,16,14,16,15,18,18,18,18,19,18,17,0,0,0,0,0,0,0,0,23,23,23,23,24,24,24,24,24,25,24,25,0,0,0,0,0,0,0,0,26,26,25,25,25,25,25,24,25,26,25,26,0,0,0,0,0,0,0,0,25,24,25,26,25,24,24,25,25,26,25,25,0,0,0,0,0,0,0,0,24,25,24,25,24,25,24,24,25,23,22,22,0,0,0,0,0,0,0,0,23,24,23,24,24,25,25,24,25,24,25,25,0,0,0,0,0,0,0,0,25,24,25,25,25,24,24,24,24,24,24,24,0,0,0,0,0,0,0,0,24,24,24,24,25,24,25,25,25,24,24,24,0,0,0,0,0,0,0,0,23,23,22,23,21,22,20,22,24,22,23,24,0,0,0,0,0,0,0,0,24,24,23,24,25,23,24,24,25,24,24,24,0,0,0,0,0,0,0,0,24,22,23,24,24,24,22,23,23,22,23,23,0,0,0,0,0,0,0,0,20,21,20,21,22,22,22,21,22,22,22,22,0,0,0,0,0,0,0,0,20,20,22,22,19,20,21,21,21,19,20,18,0,0,0,0,0,0,0,0,16,15,13,11,9,5,5,3,1,0,1,3,0,0,0,0,0,0,0,0,10,10,14,15,14,15,17,17,19,20,21,21,0,0,0,0,0,0,0,0,21,24,24,25,25,25,26,26,27,27,28,28,0,0,0,0,0,0,0,0,26,26,26,27,26,25,26,24,25,25,24,25,0,0,0,0,0,0,0,0,23,21,22,21,21,21,21,20,20,19,18,17,0,0,0,0,0,0,0,0,22,20,20,21,20,21,19,20,22,22,21,22,0,0,0,0,0,0,0,0,24,24,23,23,23,23,23,23,24,25,23,23,0,0,0,0,0,0,0,0,20,20,20,19,20,20,19,19,21,20,21,21,0,0,0,0,0,0,0,0,25,24,25,24,24,24,25,25,24,24,25,23,0,0,0,0,0,0,0,0,23,25,24,24,24,23,22,22,23,22,21,22,0,0,0,0,0,0,0,0,19,22,21,19,18,18,19,20,20,21,21,22,0,0,0,0,0,0,0,0,24,23,24,24,24,21,23,23,24,23,21,23,0,0,0,0,0,0,0,0,20,20,20,19,18,21,19,19,20,21,19,21,0,0,0,0,0,0,0,0,22,21,21,22,22,23,23,22,23,22,22,23,0,0,0,0,0,0,0,0,23,18,19,20,17,18,18,17,18,15,17,18,0,0,0,0,0,0,0,0,19,18,21,18,21,23,21,21,21,22,22,23,0,0,0,0,0,0,0,0,23,22,21,22,20,19,20,16,16,16,15,15,0,0,0,0,0,0,0,0,15,18,17,16,17,21,17,17,19,21,19,18,0,0,0,0,0,0,0,0,17,20,19,17,17,16,19,18,17,14,12,16,0,0,0,0,0,0,0,0,14,10,13,16,13,11,15,15,14,15,14,18,0,0,0,0,0,0,0,0,17,15,16,15,15,8,12,12,11,9,13,13,0,0,0,0,0,0,0,0,17,18,16,16,16,17,16,19,19,21,20,22,0,0,0,0,0,0,0,0,22,21,22,23,21,23,23,22,23,24,24,24,0,0,0,0,0,0,0,0,26,25,26,27,26,26,27,27,27,26,29,28,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,29,29,30,29,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,29,28],[0,31,30,30,30,31,31,30,30,30,30,30,30,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,28,28,26,28,29,29,28,28,27,28,28,28,0,0,0,0,0,0,0,0,24,24,24,24,22,22,21,22,20,19,19,17,0,0,0,0,0,0,0,0,14,18,16,18,19,21,20,20,21,23,22,20,0,0,0,0,0,0,0,0,25,25,25,25,25,25,25,25,25,25,25,24,0,0,0,0,0,0,0,0,25,27,27,25,25,25,26,26,25,26,26,27,0,0,0,0,0,0,0,0,25,25,26,25,23,26,25,25,25,25,25,24,0,0,0,0,0,0,0,0,24,25,24,24,25,26,23,25,26,25,24,25,0,0,0,0,0,0,0,0,24,24,23,24,24,26,25,24,25,25,24,25,0,0,0,0,0,0,0,0,24,24,25,25,24,26,24,24,25,24,23,25,0,0,0,0,0,0,0,0,24,25,24,25,23,25,26,25,25,25,26,23,0,0,0,0,0,0,0,0,25,24,23,24,23,24,24,26,26,25,26,25,0,0,0,0,0,0,0,0,23,24,25,24,25,25,25,24,25,25,25,24,0,0,0,0,0,0,0,0,25,21,23,24,23,24,24,25,25,23,24,24,0,0,0,0,0,0,0,0,23,21,23,22,24,22,24,23,24,23,24,24,0,0,0,0,0,0,0,0,21,22,22,24,22,21,23,22,22,22,23,20,0,0,0,0,0,0,0,0,18,18,14,11,11,7,6,4,3,1,0,1,0,0,0,0,0,0,0,0,8,9,10,12,11,12,16,16,19,18,19,19,0,0,0,0,0,0,0,0,24,24,26,25,26,26,27,27,28,26,28,28,0,0,0,0,0,0,0,0,26,27,25,27,26,26,26,24,25,25,24,26,0,0,0,0,0,0,0,0,23,22,24,22,22,22,21,21,20,19,20,17,0,0,0,0,0,0,0,0,22,22,21,22,22,23,21,21,23,23,22,21,0,0,0,0,0,0,0,0,25,25,26,24,23,24,25,24,24,26,24,24,0,0,0,0,0,0,0,0,22,21,22,20,22,21,21,22,24,22,23,24,0,0,0,0,0,0,0,0,24,24,25,24,25,25,26,25,26,25,25,25,0,0,0,0,0,0,0,0,24,23,25,25,23,23,25,24,23,23,24,23,0,0,0,0,0,0,0,0,21,22,22,20,21,19,21,20,22,23,22,23,0,0,0,0,0,0,0,0,24,25,27,26,25,25,26,27,24,25,25,24,0,0,0,0,0,0,0,0,22,22,21,22,21,23,22,22,22,23,24,23,0,0,0,0,0,0,0,0,23,22,22,23,23,25,23,23,23,24,23,23,0,0,0,0,0,0,0,0,24,21,21,22,22,23,20,22,21,17,20,15,0,0,0,0,0,0,0,0,22,22,23,22,23,24,22,24,24,23,24,25,0,0,0,0,0,0,0,0,24,23,24,24,20,22,22,20,20,20,16,17,0,0,0,0,0,0,0,0,19,21,21,20,21,23,21,20,22,24,22,21,0,0,0,0,0,0,0,0,22,22,20,22,18,22,20,18,21,19,14,13,0,0,0,0,0,0,0,0,18,11,13,17,16,15,17,20,17,17,20,21,0,0,0,0,0,0,0,0,15,13,14,14,13,9,14,13,11,11,16,12,0,0,0,0,0,0,0,0,20,17,19,16,18,19,20,20,22,22,22,21,0,0,0,0,0,0,0,0,23,23,23,24,24,23,23,23,24,24,23,23,0,0,0,0,0,0,0,0,26,27,27,26,26,27,27,28,27,27,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,30,30],[0,30,30,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,0,0,0,0,0,0,0,0,28,28,26,28,28,29,28,28,27,28,27,27,0,0,0,0,0,0,0,0,24,24,23,22,22,22,21,20,20,19,18,17,0,0,0,0,0,0,0,0,15,16,16,17,19,20,19,18,20,21,20,17,0,0,0,0,0,0,0,0,22,23,24,24,23,25,25,26,24,24,26,26,0,0,0,0,0,0,0,0,27,28,27,27,27,27,27,27,26,28,27,28,0,0,0,0,0,0,0,0,26,25,26,26,24,26,25,26,27,27,27,26,0,0,0,0,0,0,0,0,22,25,25,25,24,26,24,26,26,26,25,25,0,0,0,0,0,0,0,0,24,24,25,25,24,26,26,25,24,26,26,27,0,0,0,0,0,0,0,0,24,24,25,26,23,26,25,26,27,25,23,25,0,0,0,0,0,0,0,0,24,23,24,24,24,24,26,24,25,25,24,22,0,0,0,0,0,0,0,0,24,25,23,25,24,25,23,25,25,26,27,28,0,0,0,0,0,0,0,0,25,26,27,25,26,26,25,26,26,26,26,24,0,0,0,0,0,0,0,0,25,22,22,25,24,25,24,25,25,23,24,22,0,0,0,0,0,0,0,0,22,21,22,23,22,21,22,24,24,21,24,23,0,0,0,0,0,0,0,0,22,23,23,25,21,23,23,24,22,23,23,20,0,0,0,0,0,0,0,0,15,16,16,13,11,8,7,5,4,2,1,0,0,0,0,0,0,0,0,0,5,5,6,9,9,10,13,14,17,15,19,17,0,0,0,0,0,0,0,0,23,24,24,24,26,25,26,26,26,26,27,28,0,0,0,0,0,0,0,0,25,26,25,26,26,25,25,23,23,24,24,24,0,0,0,0,0,0,0,0,22,22,23,21,21,21,21,19,20,19,18,17,0,0,0,0,0,0,0,0,23,22,21,21,22,22,20,22,22,22,21,21,0,0,0,0,0,0,0,0,23,24,22,24,22,23,23,23,24,26,22,24,0,0,0,0,0,0,0,0,21,19,22,21,20,21,22,21,21,21,22,23,0,0,0,0,0,0,0,0,24,24,26,25,24,25,24,24,26,26,26,26,0,0,0,0,0,0,0,0,24,23,24,25,23,23,24,23,23,23,23,24,0,0,0,0,0,0,0,0,20,21,20,22,20,21,19,22,22,23,22,23,0,0,0,0,0,0,0,0,24,24,26,26,26,23,24,24,26,24,23,23,0,0,0,0,0,0,0,0,22,19,21,20,20,20,20,21,20,20,19,22,0,0,0,0,0,0,0,0,23,22,23,23,23,23,22,23,24,23,23,24,0,0,0,0,0,0,0,0,24,22,21,20,21,21,23,21,20,17,19,18,0,0,0,0,0,0,0,0,19,18,21,20,22,22,21,23,24,22,23,23,0,0,0,0,0,0,0,0,23,23,21,20,21,20,21,18,18,19,16,17,0,0,0,0,0,0,0,0,18,19,19,16,19,20,20,19,24,22,19,19,0,0,0,0,0,0,0,0,22,22,22,22,19,22,19,16,19,17,14,15,0,0,0,0,0,0,0,0,14,11,14,17,15,12,19,19,15,18,21,19,0,0,0,0,0,0,0,0,16,14,13,13,15,8,11,15,12,13,13,15,0,0,0,0,0,0,0,0,19,18,20,17,18,20,19,21,20,22,21,22,0,0,0,0,0,0,0,0,24,23,22,25,24,23,22,23,24,24,22,24,0,0,0,0,0,0,0,0,26,28,27,27,26,27,27,28,28,29,28,28,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,29,29,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,29,30,29],[0,30,30,30,30,30,30,30,29,29,29,28,29,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,28,28,26,28,28,28,28,28,27,28,27,27,0,0,0,0,0,0,0,0,22,23,23,21,21,21,20,19,19,18,18,15,0,0,0,0,0,0,0,0,15,19,16,18,19,19,20,20,21,21,21,19,0,0,0,0,0,0,0,0,24,25,25,25,25,25,24,25,25,25,24,26,0,0,0,0,0,0,0,0,26,26,27,26,26,27,25,26,26,27,27,28,0,0,0,0,0,0,0,0,27,26,26,27,25,26,25,27,26,27,26,26,0,0,0,0,0,0,0,0,24,26,26,26,24,27,24,25,27,25,24,26,0,0,0,0,0,0,0,0,23,26,24,26,25,26,26,26,26,26,25,27,0,0,0,0,0,0,0,0,26,25,26,26,25,26,25,25,25,26,23,25,0,0,0,0,0,0,0,0,23,24,24,26,24,26,27,25,27,25,26,23,0,0,0,0,0,0,0,0,25,25,24,24,24,25,24,25,25,25,26,26,0,0,0,0,0,0,0,0,25,25,26,26,26,25,26,25,26,26,26,25,0,0,0,0,0,0,0,0,25,21,22,25,24,23,22,24,24,23,24,23,0,0,0,0,0,0,0,0,23,21,20,21,24,21,21,23,23,23,24,23,0,0,0,0,0,0,0,0,21,22,23,25,21,23,23,22,23,22,21,20,0,0,0,0,0,0,0,0,17,16,15,15,10,9,8,5,3,3,3,1,0,0,0,0,0,0,0,0,3,6,7,8,9,10,13,12,17,15,18,17,0,0,0,0,0,0,0,0,21,23,24,25,26,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,25,24,24,25,24,24,24,23,23,25,23,25,0,0,0,0,0,0,0,0,24,22,24,22,22,21,22,20,20,19,19,17,0,0,0,0,0,0,0,0,23,22,22,21,22,22,19,20,23,22,19,21,0,0,0,0,0,0,0,0,25,25,24,24,24,23,24,24,24,26,24,24,0,0,0,0,0,0,0,0,20,20,22,20,20,20,21,21,23,22,22,23,0,0,0,0,0,0,0,0,25,24,25,25,26,25,25,26,26,26,26,25,0,0,0,0,0,0,0,0,25,24,25,26,24,24,25,22,24,21,22,23,0,0,0,0,0,0,0,0,20,21,21,21,21,21,21,20,20,21,20,22,0,0,0,0,0,0,0,0,23,25,26,26,25,24,25,25,25,25,24,24,0,0,0,0,0,0,0,0,22,20,21,20,21,21,21,21,21,22,22,20,0,0,0,0,0,0,0,0,23,22,21,23,23,23,24,23,24,22,23,24,0,0,0,0,0,0,0,0,23,21,20,20,21,20,20,21,21,17,18,16,0,0,0,0,0,0,0,0,19,20,21,20,22,23,20,24,24,23,23,25,0,0,0,0,0,0,0,0,23,23,22,21,19,20,22,19,18,19,16,17,0,0,0,0,0,0,0,0,19,19,21,18,19,23,21,18,20,22,21,19,0,0,0,0,0,0,0,0,21,18,19,21,18,20,17,16,19,17,12,14,0,0,0,0,0,0,0,0,14,13,15,16,17,14,15,18,15,17,17,17,0,0,0,0,0,0,0,0,15,14,13,12,13,9,13,14,14,14,15,14,0,0,0,0,0,0,0,0,17,17,19,19,17,18,18,18,20,20,19,20,0,0,0,0,0,0,0,0,22,20,22,24,23,22,24,23,24,26,24,24,0,0,0,0,0,0,0,0,26,27,27,27,27,27,27,28,28,28,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,29],[0,30,30,30,30,30,30,30,30,29,29,29,29,28,29,28,29,28,28,29,0,0,0,0,0,0,0,0,28,28,27,28,28,29,28,28,27,27,27,27,0,0,0,0,0,0,0,0,22,23,22,21,21,21,20,21,20,19,18,18,0,0,0,0,0,0,0,0,15,16,17,16,18,19,19,19,20,22,21,20,0,0,0,0,0,0,0,0,22,23,23,24,24,23,24,25,24,25,26,26,0,0,0,0,0,0,0,0,26,26,26,26,26,27,26,26,26,27,27,28,0,0,0,0,0,0,0,0,26,26,26,27,25,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,24,26,26,25,24,25,24,24,26,25,24,25,0,0,0,0,0,0,0,0,23,24,25,26,24,26,26,26,25,26,26,26,0,0,0,0,0,0,0,0,25,25,26,25,25,25,25,24,25,25,23,25,0,0,0,0,0,0,0,0,23,24,25,25,23,25,26,25,25,26,26,24,0,0,0,0,0,0,0,0,24,25,22,23,24,24,25,25,25,25,26,26,0,0,0,0,0,0,0,0,24,26,26,24,25,25,25,24,25,25,25,25,0,0,0,0,0,0,0,0,25,22,22,24,22,21,22,23,22,24,22,24,0,0,0,0,0,0,0,0,23,22,20,21,24,22,22,22,23,22,24,23,0,0,0,0,0,0,0,0,22,23,22,24,23,23,22,23,23,24,23,21,0,0,0,0,0,0,0,0,16,17,15,13,12,8,7,6,3,4,2,1,0,0,0,0,0,0,0,0,3,4,8,8,8,10,13,13,16,15,20,19,0,0,0,0,0,0,0,0,23,24,26,25,26,26,26,26,27,26,27,28,0,0,0,0,0,0,0,0,26,26,25,27,27,24,26,23,24,26,24,26,0,0,0,0,0,0,0,0,25,23,24,24,23,23,21,21,22,18,21,18,0,0,0,0,0,0,0,0,22,23,22,21,22,23,21,22,23,24,21,22,0,0,0,0,0,0,0,0,24,26,24,24,24,24,25,25,25,27,25,25,0,0,0,0,0,0,0,0,20,22,22,22,21,21,21,23,22,22,22,23,0,0,0,0,0,0,0,0,25,24,25,25,25,25,26,25,26,26,26,25,0,0,0,0,0,0,0,0,24,23,26,26,23,24,25,23,23,22,22,22,0,0,0,0,0,0,0,0,21,21,21,21,21,19,20,20,20,21,20,23,0,0,0,0,0,0,0,0,22,23,25,24,22,21,22,22,22,21,21,22,0,0,0,0,0,0,0,0,20,20,21,20,19,21,21,20,19,21,22,20,0,0,0,0,0,0,0,0,22,21,22,23,24,22,23,23,22,22,22,22,0,0,0,0,0,0,0,0,22,21,21,22,21,18,20,20,20,19,19,17,0,0,0,0,0,0,0,0,20,19,21,21,21,21,21,23,23,21,22,24,0,0,0,0,0,0,0,0,21,21,20,21,18,19,21,19,18,17,15,17,0,0,0,0,0,0,0,0,16,19,21,18,18,21,21,19,19,21,21,19,0,0,0,0,0,0,0,0,21,21,22,21,20,21,19,15,19,15,14,14,0,0,0,0,0,0,0,0,15,14,14,16,18,16,17,17,19,16,17,18,0,0,0,0,0,0,0,0,15,15,14,11,13,9,12,16,14,14,15,14,0,0,0,0,0,0,0,0,19,20,18,17,18,20,20,21,21,22,22,22,0,0,0,0,0,0,0,0,22,23,22,24,24,22,24,24,25,25,24,25,0,0,0,0,0,0,0,0,26,27,27,27,28,28,28,28,28,28,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,30,29],[0,30,30,30,30,30,30,30,30,30,30,29,30,29,29,29,29,28,28,28,0,0,0,0,0,0,0,0,27,27,25,28,28,28,27,27,26,27,27,26,0,0,0,0,0,0,0,0,22,21,21,19,19,19,19,19,18,18,16,16,0,0,0,0,0,0,0,0,15,14,17,14,17,18,19,18,21,19,19,18,0,0,0,0,0,0,0,0,22,23,23,24,24,24,24,25,25,25,26,26,0,0,0,0,0,0,0,0,27,27,26,27,27,27,26,27,26,27,26,27,0,0,0,0,0,0,0,0,26,26,26,27,26,26,25,26,26,27,26,26,0,0,0,0,0,0,0,0,25,26,26,25,24,25,25,24,26,25,25,24,0,0,0,0,0,0,0,0,24,24,25,27,25,26,26,26,25,26,25,26,0,0,0,0,0,0,0,0,26,26,25,27,25,25,25,25,25,25,22,24,0,0,0,0,0,0,0,0,23,23,24,25,22,25,25,25,25,26,25,24,0,0,0,0,0,0,0,0,24,24,21,23,22,24,23,25,25,25,25,25,0,0,0,0,0,0,0,0,24,25,26,24,24,23,26,25,25,26,25,25,0,0,0,0,0,0,0,0,25,21,23,25,23,22,23,23,24,24,22,24,0,0,0,0,0,0,0,0,22,21,20,22,24,22,22,23,24,22,23,22,0,0,0,0,0,0,0,0,21,22,22,23,22,23,21,23,22,23,22,20,0,0,0,0,0,0,0,0,17,17,16,14,11,9,7,5,5,4,2,2,0,0,0,0,0,0,0,0,3,4,6,9,8,8,14,14,16,15,19,16,0,0,0,0,0,0,0,0,22,24,22,25,26,25,26,26,26,26,27,28,0,0,0,0,0,0,0,0,26,26,25,26,26,25,25,23,24,25,24,24,0,0,0,0,0,0,0,0,24,23,24,23,23,22,23,22,22,19,20,18,0,0,0,0,0,0,0,0,22,21,22,21,21,22,21,22,22,23,22,21,0,0,0,0,0,0,0,0,24,25,23,24,23,24,24,23,25,27,24,26,0,0,0,0,0,0,0,0,21,21,21,21,21,21,20,22,22,22,21,24,0,0,0,0,0,0,0,0,23,24,25,25,26,26,25,24,26,26,25,26,0,0,0,0,0,0,0,0,24,22,24,25,23,23,25,23,22,21,22,21,0,0,0,0,0,0,0,0,20,21,20,19,19,19,19,20,20,22,22,22,0,0,0,0,0,0,0,0,22,23,25,24,23,23,23,25,25,23,23,21,0,0,0,0,0,0,0,0,20,19,19,18,18,20,17,19,18,20,19,20,0,0,0,0,0,0,0,0,21,21,21,23,23,22,22,23,21,21,22,23,0,0,0,0,0,0,0,0,22,21,21,21,20,20,21,19,19,18,17,15,0,0,0,0,0,0,0,0,18,17,20,19,20,22,22,23,24,22,23,24,0,0,0,0,0,0,0,0,21,21,20,19,18,18,18,16,16,17,15,15,0,0,0,0,0,0,0,0,17,19,20,20,19,21,23,19,22,22,20,18,0,0,0,0,0,0,0,0,23,21,20,20,21,21,17,16,18,15,14,13,0,0,0,0,0,0,0,0,14,12,16,18,17,14,18,20,17,17,19,19,0,0,0,0,0,0,0,0,17,13,12,13,14,11,13,15,14,14,15,15,0,0,0,0,0,0,0,0,18,18,20,16,17,19,17,19,19,20,20,21,0,0,0,0,0,0,0,0,23,22,21,24,24,23,22,24,26,23,24,25,0,0,0,0,0,0,0,0,26,28,27,26,27,28,28,28,28,28,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,29,29,29],[0,30,30,30,30,31,30,30,30,30,29,29,30,28,29,28,28,29,28,28,0,0,0,0,0,0,0,0,28,26,26,28,28,28,28,28,27,27,27,27,0,0,0,0,0,0,0,0,23,23,22,22,21,22,21,20,20,20,18,16,0,0,0,0,0,0,0,0,15,16,16,17,18,20,19,21,20,21,21,20,0,0,0,0,0,0,0,0,23,24,24,25,25,24,25,26,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,27,27,26,27,27,27,26,28,0,0,0,0,0,0,0,0,27,27,26,27,26,26,26,27,26,27,27,27,0,0,0,0,0,0,0,0,25,26,27,27,25,26,26,25,27,26,25,25,0,0,0,0,0,0,0,0,26,26,25,28,27,26,27,27,26,26,27,27,0,0,0,0,0,0,0,0,27,26,27,26,26,26,26,26,26,26,25,26,0,0,0,0,0,0,0,0,24,23,26,26,25,26,27,26,25,26,26,25,0,0,0,0,0,0,0,0,25,25,25,24,22,24,22,24,25,25,25,26,0,0,0,0,0,0,0,0,26,26,26,25,26,25,26,26,26,27,26,26,0,0,0,0,0,0,0,0,26,22,24,25,23,23,23,24,25,25,24,25,0,0,0,0,0,0,0,0,24,23,22,24,25,24,23,23,24,23,24,23,0,0,0,0,0,0,0,0,22,23,24,26,23,24,23,22,23,22,21,22,0,0,0,0,0,0,0,0,17,16,13,14,14,9,8,5,4,4,2,2,0,0,0,0,0,0,0,0,3,3,5,6,9,9,10,13,15,14,16,16,0,0,0,0,0,0,0,0,22,24,23,24,25,25,26,26,26,26,26,27,0,0,0,0,0,0,0,0,26,26,24,26,26,24,24,22,23,24,24,24,0,0,0,0,0,0,0,0,23,23,24,22,22,22,23,21,20,21,19,18,0,0,0,0,0,0,0,0,23,23,23,21,22,22,21,20,23,23,21,21,0,0,0,0,0,0,0,0,24,25,25,25,24,23,25,24,24,26,23,24,0,0,0,0,0,0,0,0,21,21,22,20,21,20,22,22,22,22,22,23,0,0,0,0,0,0,0,0,24,25,25,26,26,26,26,26,26,26,26,25,0,0,0,0,0,0,0,0,25,25,25,26,24,26,25,24,24,22,22,23,0,0,0,0,0,0,0,0,20,22,21,21,21,21,21,20,22,21,21,22,0,0,0,0,0,0,0,0,23,24,25,24,24,24,25,25,24,24,25,23,0,0,0,0,0,0,0,0,21,20,20,21,22,21,21,23,20,22,22,21,0,0,0,0,0,0,0,0,23,23,23,24,25,25,23,25,24,22,22,25,0,0,0,0,0,0,0,0,23,23,21,21,23,19,21,21,19,18,18,19,0,0,0,0,0,0,0,0,20,20,22,21,22,22,23,23,24,23,23,25,0,0,0,0,0,0,0,0,23,23,22,21,20,20,20,19,19,19,17,18,0,0,0,0,0,0,0,0,20,19,22,19,20,22,21,19,21,22,19,19,0,0,0,0,0,0,0,0,22,19,21,21,19,21,18,15,18,17,12,14,0,0,0,0,0,0,0,0,17,13,16,17,16,14,18,20,15,18,19,18,0,0,0,0,0,0,0,0,15,13,14,14,15,11,15,14,13,13,17,15,0,0,0,0,0,0,0,0,17,16,17,17,17,19,18,19,19,20,20,20,0,0,0,0,0,0,0,0,22,23,23,24,24,22,25,23,25,25,26,25,0,0,0,0,0,0,0,0,27,28,27,27,27,28,28,28,28,28,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,29,29,30],[0,30,30,30,30,30,30,29,29,29,29,28,29,28,29,28,29,28,28,28,0,0,0,0,0,0,0,0,28,28,27,29,29,29,28,28,27,28,27,28,0,0,0,0,0,0,0,0,22,23,22,20,20,20,20,20,19,19,18,15,0,0,0,0,0,0,0,0,18,17,19,18,20,22,20,21,22,22,22,19,0,0,0,0,0,0,0,0,23,25,24,25,26,25,25,26,26,27,28,28,0,0,0,0,0,0,0,0,27,28,28,28,27,28,27,28,28,28,27,29,0,0,0,0,0,0,0,0,28,27,27,27,27,27,27,27,27,27,28,27,0,0,0,0,0,0,0,0,27,28,28,28,26,26,26,25,27,27,25,26,0,0,0,0,0,0,0,0,26,26,27,27,27,28,27,28,27,28,27,27,0,0,0,0,0,0,0,0,28,26,27,28,27,26,26,26,27,27,25,27,0,0,0,0,0,0,0,0,24,24,26,26,25,27,27,27,26,27,27,27,0,0,0,0,0,0,0,0,25,27,24,24,25,25,25,26,27,27,27,27,0,0,0,0,0,0,0,0,26,28,27,27,27,26,27,26,26,26,27,27,0,0,0,0,0,0,0,0,26,22,24,26,23,21,24,24,24,26,22,25,0,0,0,0,0,0,0,0,25,24,22,24,26,25,22,24,26,24,25,23,0,0,0,0,0,0,0,0,23,25,24,27,25,26,24,24,24,24,22,22,0,0,0,0,0,0,0,0,18,18,17,16,16,11,8,7,5,4,3,3,0,0,0,0,0,0,0,0,2,3,4,5,6,9,11,10,14,14,16,16,0,0,0,0,0,0,0,0,22,23,25,23,26,25,26,25,26,25,27,27,0,0,0,0,0,0,0,0,25,25,24,25,26,24,25,23,23,25,22,24,0,0,0,0,0,0,0,0,24,24,24,24,23,22,23,21,22,21,21,20,0,0,0,0,0,0,0,0,23,24,23,21,23,24,21,22,23,24,21,24,0,0,0,0,0,0,0,0,25,27,26,26,26,26,26,25,26,27,26,25,0,0,0,0,0,0,0,0,21,23,24,22,23,21,23,24,23,24,24,25,0,0,0,0,0,0,0,0,26,25,26,26,27,27,26,27,27,28,28,27,0,0,0,0,0,0,0,0,27,26,27,27,25,26,26,25,25,22,24,24,0,0,0,0,0,0,0,0,21,21,21,21,21,19,22,20,21,22,21,23,0,0,0,0,0,0,0,0,23,24,26,26,24,23,22,24,23,23,23,23,0,0,0,0,0,0,0,0,22,21,22,21,21,22,21,21,21,23,21,19,0,0,0,0,0,0,0,0,24,23,23,25,26,24,24,25,24,24,23,24,0,0,0,0,0,0,0,0,21,22,19,22,22,19,21,21,18,17,18,19,0,0,0,0,0,0,0,0,22,21,22,22,22,23,23,24,24,22,23,25,0,0,0,0,0,0,0,0,23,23,21,22,20,20,22,21,19,20,18,19,0,0,0,0,0,0,0,0,19,19,22,19,18,21,22,19,19,22,20,19,0,0,0,0,0,0,0,0,21,19,20,20,18,20,17,16,15,14,14,15,0,0,0,0,0,0,0,0,18,13,17,18,16,15,17,20,16,18,18,18,0,0,0,0,0,0,0,0,15,16,13,12,16,12,16,14,16,15,18,16,0,0,0,0,0,0,0,0,18,19,17,18,18,19,19,19,19,21,19,20,0,0,0,0,0,0,0,0,22,22,24,25,25,24,26,26,25,27,27,26,0,0,0,0,0,0,0,0,28,28,27,28,28,28,28,29,29,28,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,29],[0,30,30,30,30,30,30,30,29,29,29,29,29,29,29,28,29,28,28,28,0,0,0,0,0,0,0,0,27,27,26,28,28,28,27,27,27,27,27,27,0,0,0,0,0,0,0,0,22,23,22,21,21,20,19,21,20,18,17,17,0,0,0,0,0,0,0,0,17,17,18,17,19,19,20,19,21,20,20,20,0,0,0,0,0,0,0,0,23,23,23,24,25,25,25,26,26,26,26,27,0,0,0,0,0,0,0,0,27,27,27,28,28,28,27,27,27,28,27,28,0,0,0,0,0,0,0,0,28,27,27,27,27,26,25,26,26,27,26,27,0,0,0,0,0,0,0,0,26,27,27,26,25,24,26,25,26,26,26,25,0,0,0,0,0,0,0,0,26,26,26,27,26,27,27,27,26,27,26,27,0,0,0,0,0,0,0,0,27,26,27,26,26,26,26,26,26,26,24,26,0,0,0,0,0,0,0,0,24,24,25,25,24,26,26,26,25,26,27,26,0,0,0,0,0,0,0,0,24,26,23,24,24,25,25,25,26,27,27,27,0,0,0,0,0,0,0,0,26,27,27,26,25,26,26,26,27,26,26,27,0,0,0,0,0,0,0,0,26,22,23,25,23,22,23,22,22,25,22,24,0,0,0,0,0,0,0,0,23,22,20,22,25,23,21,22,25,22,23,22,0,0,0,0,0,0,0,0,21,24,23,24,23,25,23,23,23,23,22,22,0,0,0,0,0,0,0,0,19,20,17,16,13,10,8,7,6,5,4,3,0,0,0,0,0,0,0,0,2,4,5,6,7,9,12,12,14,14,16,15,0,0,0,0,0,0,0,0,23,24,25,25,25,26,26,26,27,26,27,27,0,0,0,0,0,0,0,0,25,26,24,25,25,24,24,24,24,23,23,24,0,0,0,0,0,0,0,0,25,23,25,23,23,24,23,23,23,21,24,20,0,0,0,0,0,0,0,0,23,23,23,21,22,23,22,21,22,24,23,22,0,0,0,0,0,0,0,0,25,26,25,25,23,25,26,23,25,26,24,24,0,0,0,0,0,0,0,0,22,21,23,22,21,21,21,23,22,22,21,22,0,0,0,0,0,0,0,0,26,25,26,27,26,26,26,26,26,27,27,27,0,0,0,0,0,0,0,0,25,24,26,26,24,24,24,24,24,22,23,22,0,0,0,0,0,0,0,0,19,20,19,17,19,20,19,18,20,21,22,22,0,0,0,0,0,0,0,0,23,23,25,24,24,22,23,23,22,21,22,21,0,0,0,0,0,0,0,0,20,18,19,17,20,21,18,18,19,22,19,18,0,0,0,0,0,0,0,0,22,20,21,23,23,23,23,24,21,21,22,23,0,0,0,0,0,0,0,0,20,21,20,20,21,19,19,20,17,17,19,16,0,0,0,0,0,0,0,0,19,19,21,19,20,22,21,24,24,22,23,24,0,0,0,0,0,0,0,0,22,21,20,21,19,19,21,19,19,19,17,16,0,0,0,0,0,0,0,0,17,17,20,18,16,20,20,19,18,19,20,18,0,0,0,0,0,0,0,0,21,20,20,19,19,19,21,17,16,15,13,14,0,0,0,0,0,0,0,0,17,14,16,18,14,15,17,19,17,17,19,19,0,0,0,0,0,0,0,0,18,16,15,15,16,11,14,16,16,17,17,16,0,0,0,0,0,0,0,0,18,19,19,18,20,21,20,20,22,21,20,22,0,0,0,0,0,0,0,0,22,23,22,24,24,23,25,25,25,25,25,26,0,0,0,0,0,0,0,0,28,28,28,28,28,29,29,28,29,28,29,29,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29],[0,30,30,30,30,30,30,30,30,30,29,29,29,29,30,28,29,28,28,28,0,0,0,0,0,0,0,0,28,27,26,28,27,28,27,27,26,26,26,26,0,0,0,0,0,0,0,0,22,22,22,20,20,21,19,19,19,19,17,16,0,0,0,0,0,0,0,0,16,15,18,18,20,20,21,21,21,21,21,21,0,0,0,0,0,0,0,0,25,25,25,25,27,27,26,26,28,27,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,28,27,27,28,27,27,26,27,27,28,28,27,0,0,0,0,0,0,0,0,27,27,28,27,26,26,27,26,27,27,26,26,0,0,0,0,0,0,0,0,27,26,27,29,28,28,28,28,27,28,28,27,0,0,0,0,0,0,0,0,28,27,28,27,28,27,28,27,27,27,26,27,0,0,0,0,0,0,0,0,26,26,26,26,27,27,27,27,26,28,28,27,0,0,0,0,0,0,0,0,25,27,24,25,24,26,25,25,26,27,27,28,0,0,0,0,0,0,0,0,27,27,27,27,26,27,27,27,28,27,27,27,0,0,0,0,0,0,0,0,27,23,24,26,24,23,25,24,25,27,24,24,0,0,0,0,0,0,0,0,24,23,22,24,26,25,24,23,26,24,24,24,0,0,0,0,0,0,0,0,23,25,25,26,24,26,24,24,24,24,22,22,0,0,0,0,0,0,0,0,19,19,17,16,15,10,9,7,6,5,4,4,0,0,0,0,0,0,0,0,3,3,5,6,7,8,10,13,14,13,16,16,0,0,0,0,0,0,0,0,22,24,23,25,25,24,26,26,26,25,26,26,0,0,0,0,0,0,0,0,25,25,24,26,24,24,23,23,24,23,23,24,0,0,0,0,0,0,0,0,23,23,24,23,22,23,22,22,21,21,21,19,0,0,0,0,0,0,0,0,25,23,23,22,23,23,23,23,22,23,23,23,0,0,0,0,0,0,0,0,25,25,26,25,25,25,26,24,25,25,25,24,0,0,0,0,0,0,0,0,24,22,23,22,22,22,23,23,23,23,23,23,0,0,0,0,0,0,0,0,27,26,26,27,27,27,27,26,27,28,27,27,0,0,0,0,0,0,0,0,27,26,27,27,25,26,26,25,26,23,24,24,0,0,0,0,0,0,0,0,20,20,21,20,20,21,20,21,22,23,24,25,0,0,0,0,0,0,0,0,24,24,26,25,26,24,25,26,25,23,24,23,0,0,0,0,0,0,0,0,22,19,21,19,20,22,21,20,21,23,22,20,0,0,0,0,0,0,0,0,23,23,22,25,25,24,24,25,23,22,23,25,0,0,0,0,0,0,0,0,23,24,21,21,23,21,21,22,18,19,19,19,0,0,0,0,0,0,0,0,20,20,22,21,22,23,23,25,25,23,25,25,0,0,0,0,0,0,0,0,23,23,22,20,19,21,21,19,19,20,17,17,0,0,0,0,0,0,0,0,19,18,21,18,20,22,22,20,21,22,21,20,0,0,0,0,0,0,0,0,23,21,21,21,20,21,22,16,18,17,14,15,0,0,0,0,0,0,0,0,17,14,17,19,16,15,19,21,16,18,22,20,0,0,0,0,0,0,0,0,17,14,13,15,16,11,15,17,16,13,19,18,0,0,0,0,0,0,0,0,20,20,20,19,20,21,19,21,20,21,21,21,0,0,0,0,0,0,0,0,24,24,23,25,25,25,26,26,26,25,26,26,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,28,29,29,28,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,30],[0,30,30,30,30,30,30,29,29,29,29,28,29,29,29,28,29,28,27,29,0,0,0,0,0,0,0,0,28,27,26,28,27,27,28,27,26,27,26,26,0,0,0,0,0,0,0,0,23,24,23,22,21,22,21,21,20,20,19,17,0,0,0,0,0,0,0,0,19,19,20,20,22,23,24,23,24,24,23,23,0,0,0,0,0,0,0,0,25,26,25,25,28,27,27,28,28,27,28,28,0,0,0,0,0,0,0,0,28,28,28,29,28,29,28,28,29,29,28,29,0,0,0,0,0,0,0,0,29,28,28,28,27,27,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,29,28,27,27,28,26,28,28,27,26,0,0,0,0,0,0,0,0,28,28,28,29,29,28,29,28,27,28,28,28,0,0,0,0,0,0,0,0,29,28,29,28,28,28,28,28,27,28,26,28,0,0,0,0,0,0,0,0,26,25,26,27,28,28,29,28,27,28,29,28,0,0,0,0,0,0,0,0,27,28,27,27,26,27,26,26,27,28,27,28,0,0,0,0,0,0,0,0,28,28,28,27,28,27,28,26,28,28,27,28,0,0,0,0,0,0,0,0,28,24,26,27,24,24,26,23,26,27,24,24,0,0,0,0,0,0,0,0,26,26,23,26,28,27,26,25,27,26,26,26,0,0,0,0,0,0,0,0,25,26,26,27,25,26,25,25,26,25,23,25,0,0,0,0,0,0,0,0,19,19,17,17,16,13,10,7,7,5,5,4,0,0,0,0,0,0,0,0,2,4,4,5,6,7,10,11,12,14,15,15,0,0,0,0,0,0,0,0,21,21,24,23,25,24,25,25,26,25,26,26,0,0,0,0,0,0,0,0,24,25,23,25,23,24,22,23,23,23,23,24,0,0,0,0,0,0,0,0,23,23,24,24,21,23,22,22,21,20,22,19,0,0,0,0,0,0,0,0,26,25,24,24,25,25,23,22,24,24,22,23,0,0,0,0,0,0,0,0,26,26,26,27,27,26,27,25,26,26,26,24,0,0,0,0,0,0,0,0,24,24,24,22,23,24,23,25,26,25,26,26,0,0,0,0,0,0,0,0,27,27,26,27,27,26,27,26,27,28,27,27,0,0,0,0,0,0,0,0,27,27,27,28,27,27,27,26,27,25,26,26,0,0,0,0,0,0,0,0,21,21,21,21,21,21,22,21,22,22,23,25,0,0,0,0,0,0,0,0,24,25,27,26,26,25,25,26,25,24,25,24,0,0,0,0,0,0,0,0,23,22,21,21,23,24,22,22,23,25,24,23,0,0,0,0,0,0,0,0,25,25,25,27,26,27,26,27,26,24,25,27,0,0,0,0,0,0,0,0,23,23,20,22,23,21,19,21,21,20,20,20,0,0,0,0,0,0,0,0,22,23,23,24,23,24,25,26,26,25,26,27,0,0,0,0,0,0,0,0,23,24,24,23,21,22,23,22,23,22,21,19,0,0,0,0,0,0,0,0,21,20,22,19,21,22,22,21,21,22,21,22,0,0,0,0,0,0,0,0,22,20,20,20,20,21,19,17,19,20,13,16,0,0,0,0,0,0,0,0,19,17,18,19,17,16,18,20,18,18,21,19,0,0,0,0,0,0,0,0,16,14,14,14,15,12,13,16,15,15,18,19,0,0,0,0,0,0,0,0,20,20,17,19,19,19,19,20,19,20,20,21,0,0,0,0,0,0,0,0,23,24,24,25,26,25,27,26,26,26,27,27,0,0,0,0,0,0,0,0,29,28,27,28,28,28,28,28,29,28,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,30],[0,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,28,28,28,28,0,0,0,0,0,0,0,0,27,28,26,28,27,28,28,27,27,27,27,27,0,0,0,0,0,0,0,0,23,23,24,23,21,21,21,21,19,20,19,17,0,0,0,0,0,0,0,0,23,22,23,21,24,25,25,23,25,26,25,22,0,0,0,0,0,0,0,0,26,27,25,27,28,28,28,29,28,28,29,29,0,0,0,0,0,0,0,0,29,30,29,30,29,29,29,29,29,30,30,30,0,0,0,0,0,0,0,0,29,29,28,28,28,28,27,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,29,29,28,27,29,27,28,28,28,28,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,28,29,28,29,0,0,0,0,0,0,0,0,29,28,29,28,28,28,28,28,27,28,27,28,0,0,0,0,0,0,0,0,27,27,28,28,28,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,29,27,27,28,28,28,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,26,26,27,26,25,26,25,25,28,25,27,0,0,0,0,0,0,0,0,27,27,24,26,28,27,25,25,28,27,26,25,0,0,0,0,0,0,0,0,25,28,27,27,27,28,27,28,27,26,25,25,0,0,0,0,0,0,0,0,23,23,21,20,18,14,9,9,8,6,6,4,0,0,0,0,0,0,0,0,0,2,4,4,5,7,9,10,10,11,13,15,0,0,0,0,0,0,0,0,22,23,24,24,26,25,25,25,26,25,26,25,0,0,0,0,0,0,0,0,25,25,24,24,24,24,23,23,23,23,22,24,0,0,0,0,0,0,0,0,25,23,26,26,24,25,25,24,25,24,25,24,0,0,0,0,0,0,0,0,26,27,25,24,26,27,26,24,26,26,24,25,0,0,0,0,0,0,0,0,28,28,28,28,28,28,29,27,28,28,27,27,0,0,0,0,0,0,0,0,25,25,26,26,25,25,25,27,26,26,26,27,0,0,0,0,0,0,0,0,28,27,28,28,28,28,28,29,29,29,29,28,0,0,0,0,0,0,0,0,28,28,29,28,27,27,27,27,28,24,26,26,0,0,0,0,0,0,0,0,22,22,22,20,21,21,23,21,23,23,24,26,0,0,0,0,0,0,0,0,25,27,27,27,26,25,27,27,25,23,27,24,0,0,0,0,0,0,0,0,23,23,23,21,23,25,21,21,24,26,22,23,0,0,0,0,0,0,0,0,26,25,25,27,28,27,26,27,26,25,26,27,0,0,0,0,0,0,0,0,23,24,22,22,23,21,22,23,19,19,22,19,0,0,0,0,0,0,0,0,24,24,24,25,24,26,25,27,27,25,26,28,0,0,0,0,0,0,0,0,25,24,24,25,22,23,24,25,24,24,23,21,0,0,0,0,0,0,0,0,22,22,24,21,21,23,22,21,22,23,23,21,0,0,0,0,0,0,0,0,22,21,22,21,20,23,18,17,19,20,15,16,0,0,0,0,0,0,0,0,22,21,21,21,20,20,22,22,20,21,23,22,0,0,0,0,0,0,0,0,20,16,14,15,20,14,16,20,21,18,21,22,0,0,0,0,0,0,0,0,23,24,22,20,21,22,21,22,22,22,22,23,0,0,0,0,0,0,0,0,25,25,26,26,26,27,28,27,28,28,28,27,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,30,29,30,29,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,30,30],[0,30,30,30,30,31,31,30,30,30,30,30,30,30,30,30,29,29,29,29,0,0,0,0,0,0,0,0,28,28,26,28,28,28,28,27,27,28,27,27,0,0,0,0,0,0,0,0,22,23,24,22,21,22,21,20,20,20,19,18,0,0,0,0,0,0,0,0,23,23,22,23,24,25,26,24,26,27,25,24,0,0,0,0,0,0,0,0,27,28,27,28,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,29,30,30,30,29,29,29,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,29,28,28,29,29,28,28,29,0,0,0,0,0,0,0,0,29,29,29,29,28,28,29,28,29,28,29,28,0,0,0,0,0,0,0,0,28,29,29,29,29,30,30,29,28,29,29,29,0,0,0,0,0,0,0,0,30,29,29,27,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,27,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,28,27,27,28,28,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,28,28,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,26,28,28,28,26,27,27,27,28,27,27,0,0,0,0,0,0,0,0,28,27,25,27,29,28,26,27,28,28,27,26,0,0,0,0,0,0,0,0,26,28,28,28,28,29,28,28,28,28,26,25,0,0,0,0,0,0,0,0,24,23,24,22,19,15,11,9,9,8,9,7,0,0,0,0,0,0,0,0,2,0,3,4,4,6,8,10,11,12,14,13,0,0,0,0,0,0,0,0,21,24,24,24,26,25,27,27,27,26,27,27,0,0,0,0,0,0,0,0,24,25,23,25,24,23,24,22,23,24,23,24,0,0,0,0,0,0,0,0,25,26,27,26,26,27,26,26,25,25,25,24,0,0,0,0,0,0,0,0,27,28,27,25,27,28,27,25,27,28,26,26,0,0,0,0,0,0,0,0,28,29,29,29,28,29,29,27,29,28,27,28,0,0,0,0,0,0,0,0,26,26,28,27,25,26,26,28,26,27,26,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,29,28,29,28,27,28,26,27,27,0,0,0,0,0,0,0,0,23,24,23,22,23,22,23,23,25,24,26,27,0,0,0,0,0,0,0,0,27,27,28,27,28,27,28,28,26,26,28,25,0,0,0,0,0,0,0,0,24,25,24,22,24,26,23,23,25,27,24,25,0,0,0,0,0,0,0,0,28,25,26,27,28,27,28,28,27,25,27,28,0,0,0,0,0,0,0,0,26,25,24,24,24,24,24,24,23,22,23,21,0,0,0,0,0,0,0,0,22,23,25,24,24,26,26,28,27,25,27,28,0,0,0,0,0,0,0,0,25,24,25,25,22,24,24,24,23,24,22,22,0,0,0,0,0,0,0,0,23,22,25,23,24,25,25,23,25,25,25,25,0,0,0,0,0,0,0,0,25,24,25,25,24,25,22,20,20,22,18,19,0,0,0,0,0,0,0,0,24,22,24,24,22,23,25,25,23,23,26,25,0,0,0,0,0,0,0,0,20,17,16,18,20,16,20,21,20,22,23,22,0,0,0,0,0,0,0,0,25,24,24,23,23,25,22,25,25,26,25,26,0,0,0,0,0,0,0,0,27,28,26,28,29,27,28,28,29,29,29,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,31,31,30,31,31,30,30,30],[0,30,30,30,30,31,30,30,30,30,30,30,30,30,30,30,29,29,28,29,0,0,0,0,0,0,0,0,28,28,27,28,28,29,28,28,27,28,27,28,0,0,0,0,0,0,0,0,23,24,25,24,22,24,22,23,22,21,20,20,0,0,0,0,0,0,0,0,22,24,24,25,25,27,27,26,27,27,26,25,0,0,0,0,0,0,0,0,28,29,28,28,29,29,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,28,28,30,29,29,30,29,0,0,0,0,0,0,0,0,30,30,30,29,29,28,30,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,29,30,29,29,0,0,0,0,0,0,0,0,30,29,30,29,30,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,29,30,30,30,0,0,0,0,0,0,0,0,29,29,29,28,28,29,28,28,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,29,29,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,28,28,27,28,29,27,28,0,0,0,0,0,0,0,0,28,29,26,28,29,29,28,27,28,29,28,28,0,0,0,0,0,0,0,0,27,28,28,29,27,28,28,28,29,27,26,27,0,0,0,0,0,0,0,0,23,23,23,22,20,18,13,13,10,9,11,10,0,0,0,0,0,0,0,0,3,1,0,2,3,5,6,7,10,12,13,13,0,0,0,0,0,0,0,0,21,23,23,24,26,23,26,25,25,26,26,26,0,0,0,0,0,0,0,0,25,25,24,24,24,22,24,23,23,23,23,24,0,0,0,0,0,0,0,0,25,26,26,26,25,26,24,25,24,24,25,23,0,0,0,0,0,0,0,0,29,28,27,27,28,28,27,26,28,28,26,27,0,0,0,0,0,0,0,0,28,28,29,28,29,28,29,28,28,27,28,26,0,0,0,0,0,0,0,0,26,27,27,26,27,27,28,28,29,28,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,30,29,29,29,29,28,30,28,28,29,0,0,0,0,0,0,0,0,25,25,25,24,25,25,25,25,26,26,26,28,0,0,0,0,0,0,0,0,27,28,29,28,28,27,28,28,28,27,29,27,0,0,0,0,0,0,0,0,27,27,25,24,27,28,25,25,27,28,26,27,0,0,0,0,0,0,0,0,29,29,28,28,29,29,29,29,29,27,29,29,0,0,0,0,0,0,0,0,28,28,26,27,27,26,25,26,25,24,26,24,0,0,0,0,0,0,0,0,25,26,27,26,27,27,28,28,28,27,28,29,0,0,0,0,0,0,0,0,26,27,27,26,24,25,25,25,24,25,23,24,0,0,0,0,0,0,0,0,25,25,26,24,25,27,27,25,27,27,26,26,0,0,0,0,0,0,0,0,27,26,27,27,25,27,23,21,24,24,17,22,0,0,0,0,0,0,0,0,24,22,24,24,23,23,25,26,21,25,26,26,0,0,0,0,0,0,0,0,23,18,17,19,20,15,18,21,19,20,24,24,0,0,0,0,0,0,0,0,26,26,25,23,25,26,25,27,25,27,27,27,0,0,0,0,0,0,0,0,27,28,28,29,29,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,29,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31],[0,31,31,30,31,31,30,30,30,30,30,29,30,29,30,29,29,29,28,29,0,0,0,0,0,0,0,0,28,28,27,28,27,28,28,27,27,27,27,27,0,0,0,0,0,0,0,0,23,24,25,24,22,24,23,22,23,24,22,22,0,0,0,0,0,0,0,0,26,27,26,27,28,28,29,28,29,29,29,26,0,0,0,0,0,0,0,0,29,30,29,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,29,30,29,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,30,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,29,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,29,28,29,30,29,29,0,0,0,0,0,0,0,0,30,29,28,30,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,30,29,29,29,29,29,29,28,28,0,0,0,0,0,0,0,0,26,25,24,25,21,19,16,16,14,11,12,11,0,0,0,0,0,0,0,0,4,4,2,0,2,4,5,6,7,9,13,13,0,0,0,0,0,0,0,0,21,22,24,23,26,25,26,26,26,25,26,25,0,0,0,0,0,0,0,0,23,24,23,24,23,24,23,23,22,24,24,24,0,0,0,0,0,0,0,0,26,25,27,26,25,27,26,26,25,26,25,25,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,28,29,29,27,28,0,0,0,0,0,0,0,0,29,29,30,29,30,29,30,29,29,29,29,27,0,0,0,0,0,0,0,0,27,28,29,27,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,29,29,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,29,29,30,29,29,29,0,0,0,0,0,0,0,0,27,27,27,27,26,26,27,27,28,28,29,30,0,0,0,0,0,0,0,0,29,29,30,30,30,29,30,30,29,28,29,28,0,0,0,0,0,0,0,0,28,28,27,25,28,29,27,27,29,29,27,28,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,30,30,28,29,30,0,0,0,0,0,0,0,0,28,28,27,27,27,27,27,27,26,26,27,24,0,0,0,0,0,0,0,0,27,28,28,28,28,29,29,30,29,28,29,30,0,0,0,0,0,0,0,0,29,29,28,28,27,27,27,28,28,27,27,25,0,0,0,0,0,0,0,0,26,26,27,26,26,28,28,26,27,27,27,27,0,0,0,0,0,0,0,0,27,26,26,27,25,27,25,22,25,25,21,24,0,0,0,0,0,0,0,0,26,25,25,25,26,24,25,26,22,25,26,27,0,0,0,0,0,0,0,0,23,18,18,19,19,19,21,22,21,23,24,25,0,0,0,0,0,0,0,0,26,26,26,24,25,26,24,26,25,26,26,27,0,0,0,0,0,0,0,0,28,29,29,30,29,29,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,31,31],[0,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,28,29,28,29,28,29,29,27,28,28,27,28,0,0,0,0,0,0,0,0,24,26,26,25,23,24,24,23,23,23,22,22,0,0,0,0,0,0,0,0,27,28,28,27,29,29,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,30,30,30,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,29,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,29,30,30,30,29,29,0,0,0,0,0,0,0,0,28,27,28,26,25,22,19,18,17,15,13,12,0,0,0,0,0,0,0,0,5,5,4,2,0,2,4,5,6,9,10,11,0,0,0,0,0,0,0,0,21,23,25,23,26,24,25,26,26,25,26,25,0,0,0,0,0,0,0,0,24,24,24,24,24,22,23,22,21,23,22,24,0,0,0,0,0,0,0,0,26,26,27,27,26,28,27,27,27,27,27,27,0,0,0,0,0,0,0,0,29,30,29,28,30,30,29,28,29,30,28,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,28,29,30,29,28,30,30,30,29,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,29,29,30,0,0,0,0,0,0,0,0,28,28,28,27,27,27,27,27,28,27,29,30,0,0,0,0,0,0,0,0,29,29,30,30,30,29,30,30,29,29,30,29,0,0,0,0,0,0,0,0,29,29,28,26,29,29,28,27,29,29,28,29,0,0,0,0,0,0,0,0,30,29,29,29,30,30,30,30,30,29,29,30,0,0,0,0,0,0,0,0,29,29,28,28,28,27,27,28,27,27,28,26,0,0,0,0,0,0,0,0,28,28,29,29,28,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,27,28,28,28,28,28,28,27,0,0,0,0,0,0,0,0,28,27,29,27,28,29,29,27,29,28,29,28,0,0,0,0,0,0,0,0,28,27,27,27,27,28,27,24,27,28,23,26,0,0,0,0,0,0,0,0,29,27,28,27,28,27,27,28,26,27,28,28,0,0,0,0,0,0,0,0,25,22,21,22,24,24,25,25,25,26,27,27,0,0,0,0,0,0,0,0,28,28,27,26,27,28,26,28,27,28,27,28,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,30,31,31,31,31,30,31,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,30,28,29,28,29,29,28,28,29,28,28,0,0,0,0,0,0,0,0,24,25,26,24,25,25,24,24,23,23,22,21,0,0,0,0,0,0,0,0,27,27,28,28,29,29,29,28,30,30,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,30,31,30,31,30,31,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,31,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,28,28,28,27,26,23,21,22,21,16,18,17,0,0,0,0,0,0,0,0,7,7,6,4,2,0,1,4,5,7,8,10,0,0,0,0,0,0,0,0,21,23,25,23,26,25,26,26,27,25,27,26,0,0,0,0,0,0,0,0,24,25,22,23,24,21,24,22,22,24,22,25,0,0,0,0,0,0,0,0,26,27,27,27,26,27,27,27,26,27,28,27,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,29,0,0,0,0,0,0,0,0,29,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,28,28,28,28,28,29,28,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,29,30,30,28,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,29,29,29,28,28,29,28,0,0,0,0,0,0,0,0,28,28,29,28,29,29,29,30,30,29,29,30,0,0,0,0,0,0,0,0,29,29,29,29,28,28,28,29,28,29,28,27,0,0,0,0,0,0,0,0,28,28,29,28,28,30,29,28,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,27,28,28,25,27,0,0,0,0,0,0,0,0,28,27,28,27,28,28,28,28,27,29,29,29,0,0,0,0,0,0,0,0,27,23,23,26,26,23,26,28,27,27,29,28,0,0,0,0,0,0,0,0,29,29,28,27,28,29,28,29,28,29,28,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,29,30,29,0,0,0,0,0,0,0,0,29,29,28,29,28,29,29,28,28,28,28,28,0,0,0,0,0,0,0,0,26,27,27,25,25,26,26,25,25,25,24,23,0,0,0,0,0,0,0,0,27,29,29,29,29,29,30,29,30,30,30,29,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,30,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,30,31,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,31,30,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,30,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,31,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,29,30,30,31,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,28,27,28,27,25,24,22,22,21,17,19,20,0,0,0,0,0,0,0,0,7,7,5,5,4,2,0,1,3,4,7,8,0,0,0,0,0,0,0,0,20,23,23,23,25,24,24,24,25,24,26,24,0,0,0,0,0,0,0,0,23,24,21,24,23,22,23,23,22,23,23,25,0,0,0,0,0,0,0,0,26,26,27,26,26,27,27,27,26,27,26,26,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,31,30,30,30,31,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,30,31,30,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,30,31,30,0,0,0,0,0,0,0,0,30,30,30,29,29,30,29,30,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,30,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,29,30,30,29,29,30,28,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,30,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,30,29,29,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,28,29,29,27,29,29,25,28,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,29,28,29,29,30,0,0,0,0,0,0,0,0,28,23,24,26,26,24,27,27,26,27,29,28,0,0,0,0,0,0,0,0,29,29,29,28,28,28,28,29,29,29,29,29,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,30,31,30,30,30,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,28,29,28,29,28,29,29,28,28,28,28,28,0,0,0,0,0,0,0,0,25,26,27,25,23,25,25,25,25,26,24,24,0,0,0,0,0,0,0,0,29,30,29,29,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,30,31,31,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,30,31,30,31,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,30,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,30,30,31,30,31,31,0,0,0,0,0,0,0,0,30,31,30,31,31,31,30,31,31,30,30,30,0,0,0,0,0,0,0,0,30,29,29,28,27,26,24,24,23,19,21,18,0,0,0,0,0,0,0,0,10,8,8,6,5,4,2,0,1,3,5,6,0,0,0,0,0,0,0,0,19,21,23,23,24,23,23,24,24,24,25,24,0,0,0,0,0,0,0,0,23,24,23,23,22,22,22,22,22,23,22,24,0,0,0,0,0,0,0,0,26,25,28,27,26,27,27,27,27,27,28,28,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,30,31,30,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,31,30,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,29,30,30,29,29,30,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,29,29,30,30,30,30,29,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,28,28,29,28,29,28,27,29,29,27,29,0,0,0,0,0,0,0,0,30,29,30,29,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,23,23,27,26,27,28,27,27,29,29,29,0,0,0,0,0,0,0,0,29,29,29,27,27,28,28,29,28,28,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,30,30,31,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,30,29,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,25,27,26,25,25,26,25,25,25,25,25,23,0,0,0,0,0,0,0,0,29,30,30,30,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,30,29,29,29,28,26,27,25,23,20,23,22,0,0,0,0,0,0,0,0,11,10,10,7,7,6,4,2,0,1,4,4,0,0,0,0,0,0,0,0,18,19,21,21,24,22,24,24,25,25,26,24,0,0,0,0,0,0,0,0,23,24,21,23,23,22,22,22,22,22,22,24,0,0,0,0,0,0,0,0,25,27,28,27,26,28,27,28,27,27,28,28,0,0,0,0,0,0,0,0,31,31,30,29,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,29,30,29,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,30,29,28,29,29,27,29,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,28,29,30,30,0,0,0,0,0,0,0,0,28,23,25,28,26,26,28,27,27,29,29,28,0,0,0,0,0,0,0,0,30,29,29,28,27,29,28,30,29,30,29,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,28,29,29,27,28,28,27,28,0,0,0,0,0,0,0,0,26,27,27,25,26,28,26,26,26,27,26,25,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,30,30,30,29,28,26,26,27,24,22,24,24,0,0,0,0,0,0,0,0,13,12,11,10,9,7,6,5,2,0,1,3,0,0,0,0,0,0,0,0,18,21,20,23,25,24,25,24,25,24,26,25,0,0,0,0,0,0,0,0,23,23,22,24,22,20,22,21,21,22,21,24,0,0,0,0,0,0,0,0,27,27,28,28,27,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,31,31,30,29,30,31,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,30,30,30,31,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,30,29,28,29,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,30,29,29,30,30,0,0,0,0,0,0,0,0,27,22,26,27,26,27,28,27,25,29,29,28,0,0,0,0,0,0,0,0,29,29,29,27,26,29,27,30,29,30,29,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,30,31,30,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,29,29,27,29,28,29,29,28,28,28,27,28,0,0,0,0,0,0,0,0,26,26,26,25,25,26,25,25,25,26,24,24,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,31,30,30,30,30,31,30,31,0,0,0,0,0,0,0,0,31,30,30,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,30,30,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,31,31,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,30,30,0,0,0,0,0,0,0,0,30,29,28,28,28,25,26,24,23,22,23,23,0,0,0,0,0,0,0,0,14,11,13,11,8,8,7,6,4,2,0,1,0,0,0,0,0,0,0,0,15,18,19,19,23,20,22,22,24,23,24,24,0,0,0,0,0,0,0,0,23,23,21,23,23,20,23,20,21,22,22,23,0,0,0,0,0,0,0,0,25,26,27,26,26,27,26,26,27,27,28,27,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,30,30,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,29,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,31,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,30,30,31,0,0,0,0,0,0,0,0,29,30,30,30,30,29,30,30,29,29,30,29,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,30,31,30,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,27,28,29,29,26,29,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,29,28,29,29,29,0,0,0,0,0,0,0,0,27,23,25,26,25,26,28,26,25,29,28,28,0,0,0,0,0,0,0,0,29,28,29,27,26,27,27,29,28,29,29,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,28,30,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,26,26,27,25,26,26,26,26,26,27,26,24,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,28,28,28,24,26,27,24,23,25,25,0,0,0,0,0,0,0,0,17,13,15,12,11,9,7,6,6,3,2,0,0,0,0,0,0,0,0,0,14,16,17,19,21,21,22,22,24,22,24,23,0,0,0,0,0,0,0,0,23,22,21,22,21,21,21,21,21,22,22,23,0,0,0,0,0,0,0,0,25,26,26,26,26,27,26,27,26,27,27,27,0,0,0,0,0,0,0,0,30,30,30,28,30,30,29,28,30,30,28,28,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,30,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,31,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,29,30,30,29,0,0,0,0,0,0,0,0,30,31,31,30,30,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,31,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,29,27,28,30,30,28,30,0,0,0,0,0,0,0,0,30,29,30,29,30,29,30,30,29,28,29,29,0,0,0,0,0,0,0,0,26,21,26,25,25,26,27,26,26,28,28,27,0,0,0,0,0,0,0,0,28,28,28,25,25,28,26,29,28,29,28,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,30,30,30,31,31,30,30,30,30,30,30,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,28,29,28,29,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,25,28,27,25,25,26,26,26,26,27,25,26,0,0,0,0,0,0,0,0,29,30,29,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,28,25,28,27,24,24,26,24,0,0,0,0,0,0,0,0,19,15,16,16,12,11,9,6,7,6,3,2,0,0,0,0,0,0,0,0,13,15,16,19,19,19,22,22,23,22,24,23,0,0,0,0,0,0,0,0,21,24,20,22,22,19,22,19,22,22,21,23,0,0,0,0,0,0,0,0,26,26,27,27,26,28,27,27,27,27,28,28,0,0,0,0,0,0,0,0,30,30,30,28,29,29,29,28,29,29,28,28,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,28,29,29,29,28,0,0,0,0,0,0,0,0,29,28,30,29,29,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,29,29,29,30,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,29,28,29,29,30,28,29,29,28,29,30,29,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,28,30,29,29,29,0,0,0,0,0,0,0,0,28,28,28,29,28,28,27,28,28,28,27,29,0,0,0,0,0,0,0,0,30,28,29,29,29,28,29,29,28,27,29,28,0,0,0,0,0,0,0,0,25,21,25,26,25,26,27,26,26,28,28,26,0,0,0,0,0,0,0,0,28,26,28,26,24,27,26,28,27,28,28,29,0,0,0,0,0,0,0,0,29,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,30],[0,31,31,31,31,31,31,30,31,31,31,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,28,30,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,28,28,27,26,27,27,27,27,27,26,25,0,0,0,0,0,0,0,0,29,30,30,30,30,31,30,31,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,31,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,30,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,28,28,28,25,27,27,23,24,26,26,0,0,0,0,0,0,0,0,19,15,19,16,14,13,11,8,7,6,5,3,0,0,0,0,0,0,0,0,11,13,15,16,19,19,21,21,22,23,24,24,0,0,0,0,0,0,0,0,24,24,22,23,23,21,21,20,21,23,22,24,0,0,0,0,0,0,0,0,26,27,28,27,26,28,27,27,27,26,27,28,0,0,0,0,0,0,0,0,30,30,30,28,30,30,29,28,29,30,28,28,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,29,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,29,29,30,29,0,0,0,0,0,0,0,0,30,30,31,30,31,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,31,30,30,30,0,0,0,0,0,0,0,0,29,28,29,29,28,29,27,28,29,29,28,29,0,0,0,0,0,0,0,0,30,29,30,30,30,28,29,29,28,28,29,29,0,0,0,0,0,0,0,0,26,22,25,25,25,26,27,26,25,28,28,27,0,0,0,0,0,0,0,0,28,26,28,25,24,26,26,28,27,28,28,29,0,0,0,0,0,0,0,0,30,30,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,27,28,28,26,27,28,27,27,27,28,27,27,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,30,31,30,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,31,30,31,30,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,31,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,30,30,31,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,28,26,27,28,26,26,26,25,0,0,0,0,0,0,0,0,20,17,20,18,16,15,12,10,8,7,6,5,0,0,0,0,0,0,0,0,8,12,13,16,19,18,21,21,22,23,23,24,0,0,0,0,0,0,0,0,25,25,20,24,25,21,23,21,22,24,23,24,0,0,0,0,0,0,0,0,27,26,28,27,28,28,28,28,28,26,28,27,0,0,0,0,0,0,0,0,30,30,29,27,29,29,29,25,29,29,27,27,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,30,29,28,29,0,0,0,0,0,0,0,0,28,28,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,30,31,31,31,31,30,0,0,0,0,0,0,0,0,31,30,31,31,31,31,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,31,30,31,31,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,29,30,31,0,0,0,0,0,0,0,0,30,28,29,30,29,27,30,29,29,29,30,29,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,28,30,30,29,28,30,30,30,29,0,0,0,0,0,0,0,0,29,27,28,28,29,28,26,28,28,29,27,29,0,0,0,0,0,0,0,0,30,28,29,29,29,28,29,29,27,27,28,28,0,0,0,0,0,0,0,0,25,21,26,25,23,26,27,26,25,28,27,26,0,0,0,0,0,0,0,0,28,26,28,26,23,26,25,28,27,28,28,29,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,30,31,31,31,31,30,31,31,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,28,28,28,28,0,0,0,0,0,0,0,0,27,28,28,26,28,28,27,28,28,28,27,28,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,31,30,29,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,30,31,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,31,31,30,31,31,30,0,0,0,0,0,0,0,0,31,30,29,31,31,30,30,30,31,30,31,30,0,0,0,0,0,0,0,0,29,31,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,28,29,28,25,27,28,25,25,26,26,0,0,0,0,0,0,0,0,22,18,21,20,18,18,15,13,11,8,7,6,0,0,0,0,0,0,0,0,5,8,10,13,16,15,19,19,20,21,23,22,0,0,0,0,0,0,0,0,23,23,21,24,23,22,23,20,22,23,23,24,0,0,0,0,0,0,0,0,27,26,28,28,28,28,29,28,29,27,28,27,0,0,0,0,0,0,0,0,30,30,30,28,29,30,29,27,29,30,27,28,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,28,29,29,28,29,0,0,0,0,0,0,0,0,28,28,30,30,29,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,30,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,29,30,30,28,30,30,29,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,30,30,28,29,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,29,29,30,30,0,0,0,0,0,0,0,0,30,27,29,30,29,27,30,30,29,29,30,29,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,29,29,27,30,29,28,27,30,29,29,29,0,0,0,0,0,0,0,0,28,28,29,30,28,29,27,28,29,28,28,30,0,0,0,0,0,0,0,0,29,29,29,30,28,27,28,29,28,28,28,28,0,0,0,0,0,0,0,0,25,19,24,24,23,27,27,25,25,28,26,25,0,0,0,0,0,0,0,0,27,25,27,24,20,25,24,27,28,29,28,30,0,0,0,0,0,0,0,0,30,30,29,31,30,30,30,31,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31],[0,31,31,31,31,31,31,30,31,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,28,30,30,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,26,28,28,26,26,27,26,27,27,28,26,26,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,30,30,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,30,31,31,31,30,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,30,31,31,30,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,30,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,29,31,31,30,30,30,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,27,28,28,24,27,27,23,23,26,25,0,0,0,0,0,0,0,0,20,16,20,19,16,17,15,14,13,9,7,6,0,0,0,0,0,0,0,0,4,6,8,10,14,14,18,17,19,20,22,22,0,0,0,0,0,0,0,0,22,22,21,23,22,21,22,20,23,23,23,23,0,0,0,0,0,0,0,0,25,26,28,26,26,28,27,26,27,25,27,26,0,0,0,0,0,0,0,0,30,30,29,26,28,29,27,27,28,29,26,27,0,0,0,0,0,0,0,0,29,30,30,29,28,29,29,28,29,29,28,27,0,0,0,0,0,0,0,0,28,28,30,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,29,30,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,30,31,31,31,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,31,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,29,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,28,29,30,29,29,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,31,30,30,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,29,30,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,30,29,29,29,0,0,0,0,0,0,0,0,29,27,28,29,28,29,27,27,29,29,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,29,28,28,28,27,0,0,0,0,0,0,0,0,25,20,26,24,23,26,27,26,26,28,28,26,0,0,0,0,0,0,0,0,28,25,27,26,22,25,24,27,26,28,27,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,30,30,31,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,28,28,26,27,26,27,27,27,28,27,27,0,0,0,0,0,0,0,0,29,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,30,30,30,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,28,29,28,26,26,26,24,24,26,26,0,0,0,0,0,0,0,0,22,19,23,21,19,18,17,16,15,13,12,7,0,0,0,0,0,0,0,0,4,5,7,7,12,12,16,16,19,20,21,22,0,0,0,0,0,0,0,0,22,23,22,24,22,21,22,21,22,23,24,24,0,0,0,0,0,0,0,0,25,25,27,25,26,28,27,28,28,26,27,27,0,0,0,0,0,0,0,0,29,30,29,27,28,29,28,27,28,28,25,27,0,0,0,0,0,0,0,0,29,30,30,30,28,29,29,28,29,29,27,28,0,0,0,0,0,0,0,0,28,28,29,29,29,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,29,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,29,29,30,30,28,30,29,29,28,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,30,30,30,30,29,30,29,30,0,0,0,0,0,0,0,0,29,30,30,29,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,29,26,27,28,27,28,26,27,28,28,27,28,0,0,0,0,0,0,0,0,30,29,29,29,29,27,29,29,27,26,28,27,0,0,0,0,0,0,0,0,25,20,24,24,23,26,26,25,24,26,27,26,0,0,0,0,0,0,0,0,27,25,27,25,22,25,26,27,26,27,27,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,30,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,28,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,29,28,27,27,28,28,28,28,28,28,27,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,30,30,31,31,31,30,31,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,31,31,30,30,30,31,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,30,29,28,29,28,26,27,27,23,25,26,26,0,0,0,0,0,0,0,0,23,18,22,21,19,18,17,17,15,14,14,10,0,0,0,0,0,0,0,0,3,5,5,7,8,9,13,14,16,18,20,20,0,0,0,0,0,0,0,0,22,24,22,24,24,22,23,21,23,24,24,25,0,0,0,0,0,0,0,0,27,26,28,28,28,29,28,28,28,27,28,28,0,0,0,0,0,0,0,0,29,30,30,28,28,29,28,26,28,28,26,27,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,28,29,29,28,27,0,0,0,0,0,0,0,0,28,28,29,29,29,29,29,30,30,30,30,29,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,28,29,29,30,29,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,28,29,30,30,29,29,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,29,28,30,30,0,0,0,0,0,0,0,0,29,27,28,29,29,27,29,29,28,28,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,29,29,27,29,30,29,28,30,29,29,29,0,0,0,0,0,0,0,0,28,27,28,29,27,28,26,27,27,28,27,29,0,0,0,0,0,0,0,0,29,28,29,29,29,27,29,29,28,27,28,27,0,0,0,0,0,0,0,0,26,20,24,23,23,26,27,26,26,27,27,27,0,0,0,0,0,0,0,0,28,25,27,26,22,25,26,27,26,27,27,28,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,30,30],[0,31,31,31,31,31,31,31,31,31,31,31,31,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,29,29,29,29,0,0,0,0,0,0,0,0,27,29,29,28,27,29,28,28,28,29,27,27,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,31,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,27,28,28,26,25,27,27,0,0,0,0,0,0,0,0,23,18,23,22,19,19,19,17,16,15,14,12,0,0,0,0,0,0,0,0,1,3,5,5,6,8,11,12,15,17,19,20,0,0,0,0,0,0,0,0,23,23,22,23,22,22,22,21,22,23,23,23,0,0,0,0,0,0,0,0,26,27,28,27,27,28,27,28,28,27,29,27,0,0,0,0,0,0,0,0,29,29,29,27,28,28,27,27,28,29,26,27,0,0,0,0,0,0,0,0,29,29,30,29,28,29,29,28,28,28,28,27,0,0,0,0,0,0,0,0,29,28,29,29,29,29,30,30,29,30,30,29,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,31,29,30,31,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,30,30,28,30,31,0,0,0,0,0,0,0,0,30,29,29,30,30,28,30,30,29,29,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,29,30,30,29,28,30,30,29,29,0,0,0,0,0,0,0,0,29,28,29,30,29,29,27,28,29,29,28,29,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,29,28,28,28,28,0,0,0,0,0,0,0,0,26,22,28,25,25,27,27,28,27,28,27,27,0,0,0,0,0,0,0,0,27,24,26,26,23,25,24,26,27,28,27,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,30,31,31,31,31,30,31,30,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,28,26,28,28,27,28,28,29,28,28,0,0,0,0,0,0,0,0,30,29,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,31,31,30,30,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,31,30,31,0,0,0,0,0,0,0,0,31,30,30,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,31,31,31,30,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,27,29,28,26,28,28,25,25,27,27,0,0,0,0,0,0,0,0,23,20,23,23,21,20,21,20,18,17,17,15,0,0,0,0,0,0,0,0,0,1,3,5,6,7,9,11,13,15,18,20,0,0,0,0,0,0,0,0,22,22,20,23,23,22,22,21,22,23,23,24,0,0,0,0,0,0,0,0,25,27,28,26,26,28,26,27,27,26,27,25,0,0,0,0,0,0,0,0,29,30,29,27,29,29,27,27,28,28,26,26,0,0,0,0,0,0,0,0,29,29,29,29,28,29,29,28,29,29,27,26,0,0,0,0,0,0,0,0,28,28,29,29,29,29,29,30,30,30,30,29,0,0,0,0,0,0,0,0,31,30,30,30,31,30,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,31,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,29,29,29,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,31,30,29,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,29,29,29,29,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,31,31,30,30,31,0,0,0,0,0,0,0,0,31,31,30,31,30,30,30,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,28,30,29,29,29,0,0,0,0,0,0,0,0,29,28,29,30,29,29,27,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,29,28,27,28,27,0,0,0,0,0,0,0,0,26,21,25,24,25,26,27,26,26,28,28,27,0,0,0,0,0,0,0,0,27,24,27,25,22,25,25,26,25,27,27,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,31,31,31,31,31,30],[0,31,31,31,31,31,31,30,31,31,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,29,29,28,30,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,28,28,27,27,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,30,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,28,29,28,26,28,28,25,26,26,27,0,0,0,0,0,0,0,0,24,21,24,24,22,21,21,20,20,17,18,17,0,0,0,0,0,0,0,0,2,0,1,3,4,5,9,10,13,14,15,17,0,0,0,0,0,0,0,0,21,21,21,22,22,22,22,21,22,23,24,24,0,0,0,0,0,0,0,0,26,26,29,27,27,28,28,28,27,28,28,27,0,0,0,0,0,0,0,0,29,30,29,27,29,29,27,28,28,28,26,27,0,0,0,0,0,0,0,0,29,29,30,29,29,29,29,28,29,29,28,28,0,0,0,0,0,0,0,0,30,29,30,29,29,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,31,31,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,30,30,31,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,31,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,29,27,28,29,28,28,26,27,28,29,27,29,0,0,0,0,0,0,0,0,30,29,30,29,30,28,29,29,28,28,28,28,0,0,0,0,0,0,0,0,27,23,25,26,25,27,28,25,26,28,28,27,0,0,0,0,0,0,0,0,27,26,28,26,23,27,24,26,27,27,27,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,28,28,29,28,28,29,29,28,28,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,30,31,30,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,30,31,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,28,27,28,29,27,26,28,26,0,0,0,0,0,0,0,0,25,21,24,24,22,22,21,21,21,18,19,17,0,0,0,0,0,0,0,0,3,2,0,1,2,5,6,7,9,11,12,15,0,0,0,0,0,0,0,0,21,22,22,22,22,22,22,22,24,23,24,23,0,0,0,0,0,0,0,0,26,27,29,26,27,28,27,28,28,27,29,26,0,0,0,0,0,0,0,0,30,30,29,27,28,29,28,28,28,28,25,25,0,0,0,0,0,0,0,0,29,29,29,29,28,29,29,28,29,28,27,27,0,0,0,0,0,0,0,0,29,28,30,29,29,29,29,30,30,30,30,29,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,29,31,31,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,29,29,30,29,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,30,30,29,29,30,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,29,28,27,28,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,29,29,29,29,29,28,28,28,28,0,0,0,0,0,0,0,0,27,23,27,27,26,28,28,26,27,29,28,28,0,0,0,0,0,0,0,0,27,25,27,26,22,26,24,26,27,27,27,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30],[0,30,30,30,30,31,31,30,30,30,30,30,30,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,28,28,29,28,0,0,0,0,0,0,0,0,28,28,28,27,28,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,31,30,31,31,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,30,31,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,29,28,29,29,27,28,28,26,26,26,26,0,0,0,0,0,0,0,0,24,23,23,24,23,20,22,22,20,18,19,17,0,0,0,0,0,0,0,0,4,2,1,0,1,3,5,7,8,10,12,14,0,0,0,0,0,0,0,0,21,22,22,22,22,22,22,21,22,23,23,25,0,0,0,0,0,0,0,0,26,26,29,27,27,28,28,28,28,27,28,27,0,0,0,0,0,0,0,0,29,29,28,27,28,28,27,27,27,27,26,27,0,0,0,0,0,0,0,0,29,28,29,29,28,29,29,28,29,28,27,28,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,30,29,30,29,29,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,30,31,31,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,29,29,30,30,0,0,0,0,0,0,0,0,31,30,31,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,30,29,29,30,30,0,0,0,0,0,0,0,0,29,29,29,30,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,29,29,30,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,27,27,28,27,28,26,27,28,29,29,29,0,0,0,0,0,0,0,0,30,28,29,29,29,28,29,29,28,28,28,28,0,0,0,0,0,0,0,0,26,23,25,27,26,27,28,26,27,29,28,27,0,0,0,0,0,0,0,0,27,25,27,26,22,26,25,26,26,25,27,28,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,30,31,31,31,30],[0,30,30,31,31,31,31,30,31,31,30,30,30,29,30,29,30,29,30,30,0,0,0,0,0,0,0,0,30,29,28,30,29,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,28,28,27,28,28,28,28,28,29,28,29,0,0,0,0,0,0,0,0,30,30,30,29,31,30,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,28,29,28,28,28,28,26,26,27,27,0,0,0,0,0,0,0,0,25,22,24,24,22,21,22,21,20,19,19,17,0,0,0,0,0,0,0,0,5,4,3,1,0,1,3,5,5,6,9,11,0,0,0,0,0,0,0,0,20,21,20,22,22,21,22,22,22,23,23,24,0,0,0,0,0,0,0,0,26,27,29,27,27,29,29,28,29,28,29,27,0,0,0,0,0,0,0,0,30,30,30,27,29,29,28,27,29,29,26,26,0,0,0,0,0,0,0,0,29,29,30,29,29,29,28,29,29,28,28,27,0,0,0,0,0,0,0,0,29,28,30,30,30,30,29,30,29,30,29,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,31,30,29,30,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,29,29,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,29,29,30,30,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,31,30,31,30,30,0,0,0,0,0,0,0,0,29,29,30,29,29,30,30,28,29,30,29,29,0,0,0,0,0,0,0,0,30,28,30,30,29,29,28,28,29,29,29,29,0,0,0,0,0,0,0,0,30,29,29,29,30,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,27,24,27,26,23,28,29,26,26,29,29,28,0,0,0,0,0,0,0,0,28,27,28,28,24,28,26,29,27,28,29,29,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,30],[0,31,31,31,31,31,31,30,31,31,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,28,28,28,28,29,29,29,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,28,29,29,28,29,30,28,27,28,29,0,0,0,0,0,0,0,0,26,23,25,26,24,24,24,24,23,21,22,20,0,0,0,0,0,0,0,0,9,8,5,3,2,0,1,3,4,6,7,9,0,0,0,0,0,0,0,0,19,20,21,21,21,22,22,22,24,24,23,24,0,0,0,0,0,0,0,0,26,27,29,27,27,28,28,29,28,28,29,28,0,0,0,0,0,0,0,0,29,30,29,28,29,29,28,28,28,28,24,26,0,0,0,0,0,0,0,0,28,29,30,29,28,29,29,28,28,27,27,25,0,0,0,0,0,0,0,0,29,29,29,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,30,31,30,30,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,31,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,31,30,29,31,30,30,29,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,28,30,30,29,29,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,29,29,30,29,30,0,0,0,0,0,0,0,0,30,30,30,29,30,29,30,30,30,29,30,28,0,0,0,0,0,0,0,0,29,26,28,28,27,28,29,28,28,30,29,28,0,0,0,0,0,0,0,0,29,27,29,28,24,27,26,27,27,27,28,28,0,0,0,0,0,0,0,0,30,30,30,31,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,30,31,31,30,30,30,30,30,29,30,29,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,28,28,28,27,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,30,31,31,31,30,0,0,0,0,0,0,0,0,30,31,31,30,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,30,30,29,29,28,28,29,29,28,27,27,28,0,0,0,0,0,0,0,0,25,23,25,25,23,23,24,22,22,20,22,19,0,0,0,0,0,0,0,0,8,10,5,5,3,2,0,1,3,5,6,6,0,0,0,0,0,0,0,0,18,19,20,21,22,22,21,22,23,23,22,23,0,0,0,0,0,0,0,0,26,27,29,26,26,28,28,28,28,28,29,27,0,0,0,0,0,0,0,0,29,30,29,29,30,29,27,28,29,28,26,28,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,29,30,29,29,28,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,31,30,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,31,30,30,31,31,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,29,29,30,29,30,29,29,29,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,29,30,29,29,0,0,0,0,0,0,0,0,27,24,28,28,27,28,29,27,28,29,29,29,0,0,0,0,0,0,0,0,29,27,29,28,25,28,27,29,28,28,28,29,0,0,0,0,0,0,0,0,30,30,30,31,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,31,30],[0,31,31,31,31,31,31,30,31,31,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,29,29,29,28,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,30,29,28,28,28,0,0,0,0,0,0,0,0,26,23,26,26,25,24,25,24,22,21,23,21,0,0,0,0,0,0,0,0,11,11,7,5,5,3,2,0,1,3,5,6,0,0,0,0,0,0,0,0,19,20,20,21,22,22,22,22,23,23,24,24,0,0,0,0,0,0,0,0,27,27,29,28,27,29,29,29,28,28,29,28,0,0,0,0,0,0,0,0,30,31,30,28,30,29,28,28,29,29,25,27,0,0,0,0,0,0,0,0,29,29,30,30,30,29,30,29,30,29,29,28,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,31,30,30,30,31,0,0,0,0,0,0,0,0,30,31,30,31,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,29,30,30,30,30,29,29,30,30,29,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,25,29,29,27,29,30,27,29,30,30,29,0,0,0,0,0,0,0,0,29,27,30,29,26,28,27,28,28,27,29,29,0,0,0,0,0,0,0,0,30,30,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,27,28,29,28,29,29,29,28,29,0,0,0,0,0,0,0,0,30,31,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,31,31,31,31,31,31,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,28,29,30,29,28,28,28,0,0,0,0,0,0,0,0,26,23,25,26,24,24,25,23,23,22,24,22,0,0,0,0,0,0,0,0,12,10,8,6,6,4,4,2,0,1,3,5,0,0,0,0,0,0,0,0,17,18,19,20,20,21,21,21,22,22,22,23,0,0,0,0,0,0,0,0,26,27,29,26,26,29,28,28,28,28,29,28,0,0,0,0,0,0,0,0,30,30,30,28,30,30,28,28,29,29,26,27,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,29,30,29,29,27,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,31,30,30,29,29,31,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,26,29,29,28,30,30,28,29,30,30,29,0,0,0,0,0,0,0,0,29,28,30,29,26,28,27,28,29,28,29,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,29,30,29,0,0,0,0,0,0,0,0,29,28,29,28,29,28,29,29,29,28,29,29,0,0,0,0,0,0,0,0,31,30,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,29,29,29,30,29,29,28,29,0,0,0,0,0,0,0,0,27,24,26,27,25,25,26,24,23,23,23,22,0,0,0,0,0,0,0,0,15,12,9,8,6,5,6,5,2,0,1,4,0,0,0,0,0,0,0,0,16,17,18,20,21,21,21,22,23,22,22,23,0,0,0,0,0,0,0,0,27,27,29,28,28,29,28,29,28,29,30,29,0,0,0,0,0,0,0,0,30,31,30,29,30,30,29,28,30,30,25,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,30,28,0,0,0,0,0,0,0,0,30,30,31,31,31,31,30,31,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,25,29,29,28,30,30,29,29,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,26,29,28,29,29,28,29,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,30,31,31,30,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,30,29,29,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,30,29,28,29,29,0,0,0,0,0,0,0,0,27,23,26,27,24,24,25,24,23,22,24,22,0,0,0,0,0,0,0,0,16,13,11,10,9,6,6,6,6,2,0,1,0,0,0,0,0,0,0,0,15,16,17,18,19,20,21,21,22,21,22,22,0,0,0,0,0,0,0,0,26,26,29,27,27,29,28,29,29,29,30,29,0,0,0,0,0,0,0,0,30,31,30,30,30,30,29,29,30,30,26,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,27,0,0,0,0,0,0,0,0,30,30,31,30,31,31,30,31,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,30,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,30,29,30,31,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,25,29,30,27,30,30,28,28,31,30,29,0,0,0,0,0,0,0,0,29,29,30,29,26,29,27,29,29,29,29,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,30,30,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,27,28,28,28,29,28,29,28,29,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,30,29,28,28,29,0,0,0,0,0,0,0,0,25,22,26,26,23,24,25,23,23,22,24,22,0,0,0,0,0,0,0,0,17,14,12,13,11,7,7,6,7,4,2,0,0,0,0,0,0,0,0,0,13,15,16,17,18,19,20,20,21,20,21,21,0,0,0,0,0,0,0,0,27,27,29,27,27,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,30,31,30,29,31,30,29,29,30,30,26,29,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,31,30,30,27,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,29,30,31,30,30,29,30,30,30,30,31,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,29,24,29,29,27,30,30,29,28,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,26,29,27,29,29,28,29,30,0,0,0,0,0,0,0,0,30,31,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,28,28,29,28,29,28,29,28,29,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,29,30,30,29,28,28,29,0,0,0,0,0,0,0,0,26,23,26,26,24,24,25,24,23,22,23,22,0,0,0,0,0,0,0,0,18,15,15,15,14,9,8,6,7,6,5,2,0,0,0,0,0,0,0,0,11,13,14,16,17,18,19,20,21,21,21,22,0,0,0,0,0,0,0,0,27,27,29,27,27,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,30,31,30,29,30,30,29,29,30,30,27,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,30,28,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,29,30,31,31,30,31,0,0,0,0,0,0,0,0,31,30,31,30,31,30,31,31,30,30,30,30,0,0,0,0,0,0,0,0,29,24,29,29,28,30,30,29,29,31,30,30,0,0,0,0,0,0,0,0,30,29,30,29,28,29,28,29,28,28,30,30,0,0,0,0,0,0,0,0,30,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,30,31,31,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,27,28,29,27,27,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,31,30,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,30,30,29,28,29,30,28,28,28,28,0,0,0,0,0,0,0,0,25,21,26,26,23,24,25,23,23,22,24,22,0,0,0,0,0,0,0,0,19,15,16,17,15,11,11,7,6,6,6,4,0,0,0,0,0,0,0,0,10,12,13,15,16,17,18,18,20,20,20,21,0,0,0,0,0,0,0,0,26,26,28,26,26,28,27,28,27,28,29,27,0,0,0,0,0,0,0,0,30,31,30,30,30,30,29,29,30,30,27,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,30,28,0,0,0,0,0,0,0,0,30,30,30,30,31,30,31,31,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,29,30,31,30,30,0,0,0,0,0,0,0,0,31,29,30,31,30,30,29,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,29,24,29,29,27,30,30,29,28,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,27,29,27,29,29,28,30,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,29,30,29,29,28,29,29,29,0,0,0,0,0,0,0,0,27,28,28,27,27,27,27,28,28,28,27,28,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,28,29,30,29,27,28,28,0,0,0,0,0,0,0,0,25,22,26,26,23,24,25,23,23,22,23,22,0,0,0,0,0,0,0,0,19,16,17,19,17,13,13,9,7,5,6,6,0,0,0,0,0,0,0,0,7,10,11,13,15,16,17,18,20,19,19,20,0,0,0,0,0,0,0,0,26,26,28,26,26,28,27,28,27,28,29,27,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,29,30,30,27,29,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,31,30,30,28,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,31,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,30,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,30,31,31,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,31,30,31,30,31,31,30,30,30,30,0,0,0,0,0,0,0,0,29,24,29,29,27,30,30,29,28,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,26,29,27,29,28,28,30,30,0,0,0,0,0,0,0,0,30,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,30,30,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,28,28,27,27,27,28,28,28,28,27,28,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,28,29,30,28,27,28,28,0,0,0,0,0,0,0,0,25,21,26,26,22,24,24,22,23,22,23,22,0,0,0,0,0,0,0,0,20,16,18,20,18,14,15,12,10,7,6,6,0,0,0,0,0,0,0,0,5,7,10,12,14,15,16,17,19,19,19,20,0,0,0,0,0,0,0,0,25,26,28,26,26,28,26,28,27,28,28,27,0,0,0,0,0,0,0,0,30,31,30,30,31,30,29,29,30,30,27,29,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,31,30,30,27,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,29,30,31,30,30,31,0,0,0,0,0,0,0,0,31,30,31,30,31,30,31,31,30,30,30,30,0,0,0,0,0,0,0,0,29,23,29,29,27,29,30,29,28,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,27,29,27,29,29,29,30,30,0,0,0,0,0,0,0,0,30,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,28,30,29,30,30,29,28,29,29,29,0,0,0,0,0,0,0,0,27,28,28,27,27,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,29,28,29,29,29,26,28,28,0,0,0,0,0,0,0,0,25,22,27,26,23,24,25,23,24,22,24,21,0,0,0,0,0,0,0,0,20,17,18,20,20,15,15,13,11,9,7,5,0,0,0,0,0,0,0,0,5,5,7,10,12,13,15,15,18,18,18,20,0,0,0,0,0,0,0,0,25,25,28,26,26,28,27,28,28,29,29,27,0,0,0,0,0,0,0,0,30,31,30,30,30,31,29,29,30,30,28,29,0,0,0,0,0,0,0,0,31,31,31,31,30,30,31,30,31,30,30,28,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,30,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,30,30,29,30,31,31,30,31,0,0,0,0,0,0,0,0,31,30,31,30,31,30,31,31,30,30,30,30,0,0,0,0,0,0,0,0,29,24,29,29,27,29,30,29,28,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,27,29,28,30,29,29,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,29,29,29,29,28,0,0,0,0,0,0,0,0,27,28,28,26,27,28,28,28,28,29,27,28,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,29,28,29,29,28,26,28,28,0,0,0,0,0,0,0,0,24,21,26,26,22,24,24,22,24,21,24,21,0,0,0,0,0,0,0,0,22,17,19,21,21,17,16,15,14,12,10,7,0,0,0,0,0,0,0,0,4,5,6,7,11,13,14,15,17,17,18,19,0,0,0,0,0,0,0,0,25,26,27,25,26,28,26,27,27,28,28,27,0,0,0,0,0,0,0,0,30,31,30,29,31,30,30,29,30,30,28,29,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,28,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,31,30,31,30,31,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,29,24,29,29,26,29,30,29,28,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,27,29,28,30,29,29,30,30,0,0,0,0,0,0,0,0,30,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,28,28,27,27,27,28,28,28,28,27,28,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,29,28,28,29,28,26,28,28,0,0,0,0,0,0,0,0,24,22,25,25,22,24,24,22,24,22,23,21,0,0,0,0,0,0,0,0,22,18,21,22,22,18,18,16,15,13,12,10,0,0,0,0,0,0,0,0,3,4,5,6,7,10,12,14,15,15,16,19,0,0,0,0,0,0,0,0,24,25,27,25,26,28,26,27,27,28,28,26,0,0,0,0,0,0,0,0,30,31,30,29,31,31,29,29,30,30,28,29,0,0,0,0,0,0,0,0,30,31,30,31,30,31,30,30,30,30,30,28,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,30,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,31,30,31,30,31,30,31,31,30,30,30,30,0,0,0,0,0,0,0,0,29,24,29,29,26,29,30,29,27,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,26,29,28,30,29,29,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,29,29,29,29,28,0,0,0,0,0,0,0,0,27,28,28,26,27,27,28,27,27,28,27,27,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,29,28,28,29,28,25,27,27,0,0,0,0,0,0,0,0,23,21,25,24,21,23,23,22,23,21,23,21,0,0,0,0,0,0,0,0,21,18,21,22,22,18,18,17,16,14,13,12,0,0,0,0,0,0,0,0,1,3,4,5,6,7,10,12,13,14,16,17,0,0,0,0,0,0,0,0,23,24,26,24,25,28,25,27,27,27,28,26,0,0,0,0,0,0,0,0,30,31,30,29,31,30,29,29,30,30,28,29,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,28,0,0,0,0,0,0,0,0,29,30,31,30,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,25,29,29,25,29,30,28,26,30,30,29,0,0,0,0,0,0,0,0,30,30,30,29,27,29,28,30,29,29,30,30,0,0,0,0,0,0,0,0,30,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,30,29,29,0,0,0,0,0,0,0,0,28,29,29,28,28,29,29,28,28,28,27,28,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,29,28,28,29,28,25,28,28,0,0,0,0,0,0,0,0,24,22,26,25,23,23,23,21,23,22,22,21,0,0,0,0,0,0,0,0,23,19,22,24,25,20,20,19,17,16,15,14,0,0,0,0,0,0,0,0,0,1,3,5,6,7,8,11,13,14,15,17,0,0,0,0,0,0,0,0,23,23,25,25,25,27,25,27,27,27,28,27,0,0,0,0,0,0,0,0,30,31,31,30,30,30,29,28,30,30,28,28,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,30,30,30,30,28,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,30,30,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,29,30,31,30,29,31,0,0,0,0,0,0,0,0,31,30,31,30,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,29,26,29,29,27,29,30,28,27,30,30,29,0,0,0,0,0,0,0,0,30,30,30,29,27,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,30,30,30,30,30,30,31,30,29,30,0,0,0,0,0,0,0,0,29,29,29,30,29,29,29,29,28,29,29,28,0,0,0,0,0,0,0,0,28,27,28,27,27,27,27,28,27,27,27,26,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,29,28,28,28,28,28,25,28,28,0,0,0,0,0,0,0,0,23,22,25,24,22,23,22,21,22,20,23,20,0,0,0,0,0,0,0,0,22,19,22,24,25,20,19,19,17,17,16,14,0,0,0,0,0,0,0,0,2,0,1,3,5,5,6,8,10,12,13,15,0,0,0,0,0,0,0,0,22,22,24,24,24,26,24,27,27,27,29,25,0,0,0,0,0,0,0,0,30,31,30,29,30,30,30,28,30,30,29,29,0,0,0,0,0,0,0,0,30,31,31,31,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,31,30,30,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,30,31,30,31,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,26,29,29,26,28,29,29,27,30,30,29,0,0,0,0,0,0,0,0,30,30,30,29,28,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,28,28,28,29,29,29,29,28,28,0,0,0,0,0,0,0,0,31,30,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,29,30,29,28,27,29,28,25,29,28,0,0,0,0,0,0,0,0,25,23,26,26,23,24,23,21,22,21,21,22,0,0,0,0,0,0,0,0,23,21,24,25,25,22,22,21,20,19,18,17,0,0,0,0,0,0,0,0,5,2,0,1,3,4,6,7,8,11,13,15,0,0,0,0,0,0,0,0,22,23,24,24,25,26,26,26,26,26,28,26,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,28,30,30,29,28,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,31,30,30,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,30,31,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,31,31,31,30,29,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,31,30,29,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,27,30,29,27,28,29,28,28,29,30,28,0,0,0,0,0,0,0,0,30,30,30,28,27,30,29,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,27,27,28,26,26,27,27,27,26,28,25,26,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,29,29,29,29,27,27,28,27,25,26,27,0,0,0,0,0,0,0,0,23,21,24,24,22,23,23,21,22,20,22,20,0,0,0,0,0,0,0,0,21,19,23,23,24,20,22,20,20,18,18,17,0,0,0,0,0,0,0,0,5,5,2,0,1,3,4,6,6,7,10,13,0,0,0,0,0,0,0,0,21,22,23,23,22,25,23,25,24,25,27,24,0,0,0,0,0,0,0,0,30,31,30,29,30,30,29,29,30,30,28,29,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,31,30,30,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,30,31,30,31,0,0,0,0,0,0,0,0,31,30,31,30,31,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,31,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,25,28,29,26,28,29,29,27,30,30,29,0,0,0,0,0,0,0,0,30,29,30,28,27,29,28,30,28,29,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,30,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,27,27,28,27,27,27,28,27,28,27,26,26,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,29,29,28,27,28,28,25,27,28,0,0,0,0,0,0,0,0,24,23,25,24,22,23,23,21,22,21,21,21,0,0,0,0,0,0,0,0,23,21,24,24,25,22,22,22,21,20,20,18,0,0,0,0,0,0,0,0,6,5,3,2,0,1,3,4,5,6,8,11,0,0,0,0,0,0,0,0,21,21,23,22,23,24,23,26,25,26,27,25,0,0,0,0,0,0,0,0,31,31,31,30,30,31,30,29,30,30,29,29,0,0,0,0,0,0,0,0,31,31,31,31,30,30,31,30,30,30,30,29,0,0,0,0,0,0,0,0,29,31,31,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,30,31,30,30,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,27,29,29,28,28,29,29,27,29,30,29,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,27,27,28,27,27,27,27,26,26,0,0,0,0,0,0,0,0,30,30,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,30,30,0,0,0,0,0,0,0,0,30,30,28,29,28,27,26,27,26,25,27,27,0,0,0,0,0,0,0,0,24,22,25,24,23,22,22,22,22,21,19,22,0,0,0,0,0,0,0,0,23,21,25,24,25,23,23,22,22,20,21,19,0,0,0,0,0,0,0,0,6,6,6,5,2,0,1,3,5,5,6,8,0,0,0,0,0,0,0,0,20,20,22,23,22,24,23,24,24,24,27,25,0,0,0,0,0,0,0,0,30,31,30,29,30,30,29,29,30,30,27,29,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,30,29,30,28,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,30,31,30,30,0,0,0,0,0,0,0,0,31,30,31,30,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,29,30,30,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,27,28,28,27,28,29,29,27,29,30,29,0,0,0,0,0,0,0,0,29,29,30,29,28,29,29,30,29,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,28,30,29,30,29,29,29,28,29,28,0,0,0,0,0,0,0,0,26,27,27,26,25,27,27,26,26,26,25,24,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,29,28,27,25,27,27,23,26,26,0,0,0,0,0,0,0,0,22,21,23,22,20,21,20,20,21,19,21,19,0,0,0,0,0,0,0,0,22,21,24,24,25,22,22,23,22,21,22,21,0,0,0,0,0,0,0,0,7,6,6,5,4,2,0,1,3,5,6,7,0,0,0,0,0,0,0,0,19,20,22,22,22,23,21,25,24,24,27,24,0,0,0,0,0,0,0,0,30,31,31,30,30,31,30,29,30,30,29,29,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,31,30,30,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,31,29,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,29,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,27,28,28,27,28,29,29,26,29,30,29,0,0,0,0,0,0,0,0,30,30,30,29,28,29,29,30,29,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,29,29,29,29,0,0,0,0,0,0,0,0,27,28,29,28,27,28,28,28,27,28,26,26,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,30,31,30,0,0,0,0,0,0,0,0,30,30,28,28,28,27,25,27,27,25,26,27,0,0,0,0,0,0,0,0,23,22,25,23,21,24,22,21,22,21,20,22,0,0,0,0,0,0,0,0,23,23,25,25,26,25,24,24,24,23,22,22,0,0,0,0,0,0,0,0,9,8,7,6,4,4,2,0,1,3,4,6,0,0,0,0,0,0,0,0,19,19,22,21,21,23,22,25,24,24,27,25,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,29,29,30,29,28,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,28,30,30,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,30,31,30,31,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,31,31,29,31,31,30,30,0,0,0,0,0,0,0,0,30,30,31,31,31,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,27,29,28,26,27,28,28,27,28,29,28,0,0,0,0,0,0,0,0,29,29,30,28,28,30,29,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,29,29,29,0,0,0,0,0,0,0,0,27,27,28,26,26,28,27,27,26,27,27,26,0,0,0,0,0,0,0,0,29,30,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,30,29,29,28,28,28,25,28,27,25,28,28,0,0,0,0,0,0,0,0,23,23,25,24,23,23,23,22,22,21,22,22,0,0,0,0,0,0,0,0,23,23,25,25,26,24,25,24,24,22,23,22,0,0,0,0,0,0,0,0,13,11,8,7,6,5,4,1,0,1,3,5,0,0,0,0,0,0,0,0,18,18,21,21,21,22,21,23,24,23,26,24,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,28,30,30,29,29,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,31,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,27,27,28,28,27,28,28,26,28,29,28,0,0,0,0,0,0,0,0,29,29,30,29,28,29,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,29,29,29,29,28,0,0,0,0,0,0,0,0,27,27,28,27,26,27,27,27,26,27,25,26,0,0,0,0,0,0,0,0,29,30,30,30,30,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,28,28,28,27,25,28,27,25,26,27,0,0,0,0,0,0,0,0,23,22,24,22,21,23,22,20,21,20,20,21,0,0,0,0,0,0,0,0,24,22,25,25,26,25,24,24,24,22,23,21,0,0,0,0,0,0,0,0,13,12,11,8,7,6,5,4,2,0,1,4,0,0,0,0,0,0,0,0,16,17,19,19,20,23,20,24,24,23,27,23,0,0,0,0,0,0,0,0,30,31,31,30,30,31,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,31,31,31,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,31,30,30,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,29,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,29,31,31,31,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,31,30,30,30,30,30,0,0,0,0,0,0,0,0,29,28,29,28,27,28,29,29,26,28,29,29,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,30,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,27,28,28,27,26,28,27,26,26,28,26,26,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,30,29,28,27,28,26,26,27,26,26,26,28,0,0,0,0,0,0,0,0,23,22,25,24,22,24,24,22,24,21,22,22,0,0,0,0,0,0,0,0,24,22,26,24,26,24,24,24,24,22,23,22,0,0,0,0,0,0,0,0,16,14,13,12,8,6,6,5,4,2,0,1,0,0,0,0,0,0,0,0,16,16,19,19,19,22,20,23,22,23,26,24,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,31,31,31,30,30,30,29,30,30,30,28,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,29,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,28,28,28,28,29,28,28,30,29,0,0,0,0,0,0,0,0,30,30,30,28,29,29,30,30,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,30,30,31,30,31,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,28,30,29,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,26,27,28,27,25,26,28,26,26,27,26,27,0,0,0,0,0,0,0,0,29,30,29,30,30,31,31,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,30,29,29,27,27,26,24,26,26,23,26,27,0,0,0,0,0,0,0,0,24,23,26,24,22,25,24,22,23,21,22,22,0,0,0,0,0,0,0,0,24,23,25,24,26,24,24,24,24,23,23,22,0,0,0,0,0,0,0,0,17,16,15,14,12,9,7,7,5,4,2,0,0,0,0,0,0,0,0,0,15,15,18,18,19,22,19,22,22,22,26,24,0,0,0,0,0,0,0,0,30,31,30,29,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,31,31,30,31,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,31,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,30,31,30,30,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,30,30,31,30,29,30,30,29,30,28,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,27,28,28,28,27,28,28,25,28,30,29,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,27,28,27,26,27,27,27,25,27,26,26,0,0,0,0,0,0,0,0,29,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,29,28,27,28,26,25,28,26,25,26,27,0,0,0,0,0,0,0,0,24,24,26,24,23,24,24,22,24,23,23,24,0,0,0,0,0,0,0,0,25,23,27,26,27,25,25,24,24,24,24,22,0,0,0,0,0,0,0,0,18,17,17,16,14,11,7,8,6,5,4,2,0,0,0,0,0,0,0,0,13,14,16,17,18,22,18,22,22,22,25,23,0,0,0,0,0,0,0,0,30,31,30,30,30,31,30,30,30,30,29,29,0,0,0,0,0,0,0,0,30,31,31,31,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,31,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,30,30,31,30,29,30,30,29,30,27,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,29,31,30,30,30,0,0,0,0,0,0,0,0,30,31,30,31,31,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,28,30,30,30,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,29,27,27,29,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,30,29,29,0,0,0,0,0,0,0,0,26,27,28,27,25,26,27,27,25,28,27,27,0,0,0,0,0,0,0,0,29,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,31,30,31,30,30,30,0,0,0,0,0,0,0,0,29,28,28,25,27,25,25,27,26,26,27,28,0,0,0,0,0,0,0,0,24,24,27,25,23,24,24,23,24,23,23,24,0,0,0,0,0,0,0,0,26,24,26,25,27,25,25,25,25,24,24,24,0,0,0,0,0,0,0,0,18,18,17,17,15,14,12,8,7,7,5,5,0,0,0,0,0,0,0,0,13,12,14,16,17,20,17,21,21,21,25,23,0,0,0,0,0,0,0,0,30,31,30,29,30,30,29,29,30,30,28,29,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,29,30,30,30,28,0,0,0,0,0,0,0,0,28,30,30,29,29,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,30,30,31,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,31,30,31,30,30,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,29,30,28,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,29,31,31,31,30,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,28,30,29,29,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,29,27,28,28,28,29,27,28,30,29,0,0,0,0,0,0,0,0,30,29,30,29,29,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,30,30,30,0,0,0,0,0,0,0,0,29,30,28,29,29,30,29,29,29,29,29,28,0,0,0,0,0,0,0,0,26,26,27,26,24,26,26,25,25,26,25,26,0,0,0,0,0,0,0,0,28,29,29,29,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31,31,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,30,30,0,0,0,0,0,0,0,0,28,28,28,25,26,26,24,26,26,25,25,25,0,0,0,0,0,0,0,0,23,23,25,23,22,24,23,21,23,22,23,23,0,0,0,0,0,0,0,0,24,24,26,26,26,25,25,25,25,24,23,23,0,0,0,0,0,0,0,0,19,19,18,17,16,15,13,11,8,7,7,6,0,0,0,0,0,0,0,0,9,10,12,13,14,19,16,19,21,21,25,24,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,31,31,31,30,30,30,29,30,29,30,29,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,31,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,30,30,30,30,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,31,31,30,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,31,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,29,30,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,30,29,30,29,29,29,29,28,29,28,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,30,29,29,29,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,28,27,27,27,27,29,29,26,28,29,28,0,0,0,0,0,0,0,0,30,30,30,29,28,30,30,30,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,28,26,28,27,27,26,28,27,26,0,0,0,0,0,0,0,0,28,30,30,29,30,29,30,29,29,30,30,29,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,30,31,31,31,30,0,0,0,0,0,0,0,0,30,30,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,30,31,30,31,30,0,0,0,0,0,0,0,0,30,31,30,30,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,28,27,26,24,25,25,23,26,26,25,27,27,0,0,0,0,0,0,0,0,24,24,27,25,23,26,25,23,25,23,24,24,0,0,0,0,0,0,0,0,24,24,27,26,27,25,25,25,25,24,24,24,0,0,0,0,0,0,0,0,20,21,19,19,18,17,15,14,11,9,8,7,0,0,0,0,0,0,0,0,8,8,11,13,14,17,18,19,21,21,24,23,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,29,29,30,28,29,0,0,0,0,0,0,0,0,29,31,31,30,30,30,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,31,30,29,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,30,31,31,30,0,0,0,0,0,0,0,0,31,30,31,31,30,30,31,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,29,30,28,29,0,0,0,0,0,0,0,0,28,29,30,29,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,29,27,29,29,29,28,30,30,29,29,30,30,0,0,0,0,0,0,0,0,29,29,29,28,28,27,27,29,28,27,29,28,0,0,0,0,0,0,0,0,29,30,30,28,29,30,30,30,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,27,26,27,26,26,26,26,26,26,26,26,26,0,0,0,0,0,0,0,0,26,29,29,29,30,30,30,29,29,30,30,29,0,0,0,0,0,0,0,0,31,31,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,30,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,31,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,31,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,30,31,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,27,26,27,23,26,26,24,26,26,25,25,26,0,0,0,0,0,0,0,0,23,24,27,24,22,24,25,22,24,24,23,24,0,0,0,0,0,0,0,0,24,24,26,26,26,26,25,25,25,24,24,24,0,0,0,0,0,0,0,0,22,21,20,19,19,17,16,14,13,12,9,7,0,0,0,0,0,0,0,0,6,7,9,11,11,15,14,18,18,20,23,22,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,29,30,28,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,28,29,29,29,28,0,0,0,0,0,0,0,0,28,29,30,29,29,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,31,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,30,31,31,28,30,31,30,29,30,31,30,30,0,0,0,0,0,0,0,0,31,30,30,30,31,31,30,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,30,29,30,31,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,30,29,30,31,0,0,0,0,0,0,0,0,30,29,29,30,29,28,29,29,28,29,28,30,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,28,29,29,29,30,30,30,0,0,0,0,0,0,0,0,29,29,28,28,28,27,28,28,25,27,29,27,0,0,0,0,0,0,0,0,29,29,29,28,28,29,29,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,30,30,31,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,26,25,26,25,25,25,24,24,24,23,24,24,0,0,0,0,0,0,0,0,25,28,27,27,29,29,29,28,28,29,29,29,0,0,0,0,0,0,0,0,31,31,30,31,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,30,29,31,30,29,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,29,30,29,29,29,30,31,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,31,31,29,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,26,26,26,23,25,25,23,25,25,24,24,24,0,0,0,0,0,0,0,0,23,24,25,24,24,23,24,23,24,24,23,24,0,0,0,0,0,0,0,0,24,24,26,26,27,25,25,25,25,24,25,24,0,0,0,0,0,0,0,0,22,22,21,20,19,18,16,15,15,13,11,8,0,0,0,0,0,0,0,0,5,5,7,10,10,14,13,16,16,19,22,22,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,30,30,29,29,0,0,0,0,0,0,0,0,30,30,31,30,29,30,30,29,29,29,30,29,0,0,0,0,0,0,0,0,28,30,30,29,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,29,31,31,0,0,0,0,0,0,0,0,30,30,30,28,29,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,31,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,28,29,30,28,0,0,0,0,0,0,0,0,29,29,30,29,29,30,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,28,28,29,28,28,28,28,28,28,27,29,0,0,0,0,0,0,0,0,28,28,30,29,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,29,29,29,29,28,28,0,0,0,0,0,0,0,0,28,27,28,28,28,28,29,29,29,30,29,30,0,0,0,0,0,0,0,0,29,28,27,28,28,26,27,27,27,27,28,27,0,0,0,0,0,0,0,0,29,29,29,28,28,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,28,28,28,27,27,27,27,26,27,26,26,0,0,0,0,0,0,0,0,25,28,28,28,29,29,29,28,28,29,29,29,0,0,0,0,0,0,0,0,31,31,30,31,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,30,29,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,30,30,29,30,29,31,30,30,29,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,28,30,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,30,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,30,31,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,28,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,26,25,26,22,24,26,23,26,26,25,27,28,0,0,0,0,0,0,0,0,25,26,27,27,25,26,26,24,26,24,25,25,0,0,0,0,0,0,0,0,25,26,27,27,27,26,26,26,26,25,26,25,0,0,0,0,0,0,0,0,24,23,22,21,19,19,17,16,16,14,13,10,0,0,0,0,0,0,0,0,3,4,6,9,10,13,12,16,16,18,22,19,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,29,30,29,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,29,29,28,29,29,0,0,0,0,0,0,0,0,28,29,30,29,28,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,30,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,31,31,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,29,30,30,28,30,30,30,28,30,30,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,30,29,30,28,30,30,29,30,30,29,30,30,0,0,0,0,0,0,0,0,31,29,29,30,29,29,29,29,28,29,26,29,0,0,0,0,0,0,0,0,27,29,30,29,28,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,28,29,0,0,0,0,0,0,0,0,28,27,28,29,28,27,29,30,29,29,30,30,0,0,0,0,0,0,0,0,29,29,29,28,28,27,28,29,26,27,28,27,0,0,0,0,0,0,0,0,29,30,29,28,29,29,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,31,31,31,30,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,28,27,27,27,26,26,26,27,26,26,26,26,0,0,0,0,0,0,0,0,24,27,27,28,28,29,29,28,28,29,29,29,0,0,0,0,0,0,0,0,31,30,30,31,31,29,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,29,30,29,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,30,31,31,30,0,0,0,0,0,0,0,0,30,30,30,28,30,29,28,29,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,30,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,31,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,29,30,29,28,28,0,0,0,0,0,0,0,0,25,23,25,22,24,25,23,25,26,25,25,27,0,0,0,0,0,0,0,0,23,25,27,25,23,25,25,23,25,24,24,25,0,0,0,0,0,0,0,0,25,25,27,27,28,26,26,26,26,25,26,25,0,0,0,0,0,0,0,0,23,23,22,23,23,20,19,17,16,15,14,13,0,0,0,0,0,0,0,0,1,3,5,7,7,9,10,12,15,16,19,19,0,0,0,0,0,0,0,0,29,29,30,28,29,29,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,28,28,29,29,27,0,0,0,0,0,0,0,0,26,29,29,26,27,29,29,29,29,30,29,30,0,0,0,0,0,0,0,0,31,31,30,30,31,30,30,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,30,31,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,30,31,31,0,0,0,0,0,0,0,0,30,30,30,28,29,30,30,28,30,30,29,28,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,28,30,30,29,0,0,0,0,0,0,0,0,30,30,30,29,29,30,29,30,30,29,30,30,0,0,0,0,0,0,0,0,31,29,29,30,29,29,28,29,27,28,27,28,0,0,0,0,0,0,0,0,28,29,30,29,28,30,30,28,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,29,29,29,0,0,0,0,0,0,0,0,27,27,27,28,28,28,28,29,29,29,29,30,0,0,0,0,0,0,0,0,29,28,29,28,27,26,28,28,25,26,28,26,0,0,0,0,0,0,0,0,28,29,28,27,28,29,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,31,30,30,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,27,27,26,26,26,25,26,25,25,25,25,26,0,0,0,0,0,0,0,0,23,27,26,27,26,29,29,27,28,28,29,27,0,0,0,0,0,0,0,0,31,30,30,31,31,29,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,30,29,30,31,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,29,30,29,28,29,29,28,29,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,30,30,30,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,30,30,31,31,30,30,31,30,31,31,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,29,30,30,30,29,0,0,0,0,0,0,0,0,28,30,30,30,30,30,30,30,30,29,28,28,0,0,0,0,0,0,0,0,24,24,25,21,23,23,23,25,26,25,25,26,0,0,0,0,0,0,0,0,24,26,26,26,25,25,26,24,25,24,24,25,0,0,0,0,0,0,0,0,25,25,28,26,28,26,27,27,27,25,26,26,0,0,0,0,0,0,0,0,23,22,21,23,21,21,19,19,17,16,15,15,0,0,0,0,0,0,0,0,0,1,3,5,6,8,10,11,15,15,19,21,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,29,29,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,28,27,29,28,29,29,30,29,30,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,31,31,31,31,0,0,0,0,0,0,0,0,30,30,31,31,31,31,30,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,30,30,30,28,29,30,30,28,29,30,29,28,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,29,29,29,28,0,0,0,0,0,0,0,0,29,28,29,28,29,30,28,30,29,29,30,30,0,0,0,0,0,0,0,0,30,29,28,29,28,27,28,28,27,28,26,27,0,0,0,0,0,0,0,0,27,28,29,29,28,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,29,29,28,28,0,0,0,0,0,0,0,0,26,27,26,27,28,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,29,29,28,29,25,27,28,26,25,28,26,0,0,0,0,0,0,0,0,29,29,28,28,28,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,31,30,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,30,31,31,31,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,28,27,28,28,27,27,27,27,26,27,26,27,0,0,0,0,0,0,0,0,21,26,25,26,28,28,29,27,27,28,29,28,0,0,0,0,0,0,0,0,30,30,30,31,31,29,30,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,30,30,31,30,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,29,29,30,29,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,31,31,31,30,31,30,31,31,30,30,31,0,0,0,0,0,0,0,0,31,30,31,31,30,31,31,31,30,31,31,30,0,0,0,0,0,0,0,0,29,30,29,28,29,28,28,28,29,30,29,30,0,0,0,0,0,0,0,0,29,30,30,29,30,30,31,30,30,31,31,31,0,0,0,0,0,0,0,0,30,29,31,31,30,30,30,31,30,30,31,31,0,0,0,0,0,0,0,0,30,30,27,30,30,30,28,29,30,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,29,28,28,27,0,0,0,0,0,0,0,0,22,21,23,21,24,25,24,25,26,26,26,26,0,0,0,0,0,0,0,0,26,26,27,26,25,26,26,25,25,26,25,26,0,0,0,0,0,0,0,0,25,26,27,27,28,28,26,27,27,26,26,26,0,0,0,0,0,0,0,0,24,24,23,24,23,23,22,20,20,18,17,17,0,0,0,0,0,0,0,0,2,0,1,4,5,7,9,10,12,15,17,19,0,0,0,0,0,0,0,0,28,29,29,27,28,29,29,27,29,29,28,28,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,29,28,29,28,28,0,0,0,0,0,0,0,0,25,28,28,27,26,28,28,29,28,29,29,29,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,31,30,31,31,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,30,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,28,29,30,30,28,30,30,29,28,0,0,0,0,0,0,0,0,29,29,28,29,30,30,30,30,28,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,28,30,30,30,0,0,0,0,0,0,0,0,30,28,30,28,29,30,28,30,30,28,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,28,27,27,25,27,0,0,0,0,0,0,0,0,27,29,30,29,28,30,30,29,30,29,30,28,0,0,0,0,0,0,0,0,29,30,30,30,30,29,30,30,30,29,29,29,0,0,0,0,0,0,0,0,27,27,26,28,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,28,28,27,28,29,25,27,28,26,0,0,0,0,0,0,0,0,27,28,29,28,28,29,29,30,29,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,31,31,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,29,30,29,0,0,0,0,0,0,0,0,28,27,27,27,26,26,26,26,26,26,25,25,0,0,0,0,0,0,0,0,22,26,25,26,27,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,30,30,30,31,30,29,30,31,30,30,31,30,0,0,0,0,0,0,0,0,30,31,30,30,30,30,29,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,30,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,30,31,30,31,31,30,30,31,31,30,0,0,0,0,0,0,0,0,29,30,29,28,29,29,27,28,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,28,29,30,29,28,29,30,29,29,28,0,0,0,0,0,0,0,0,28,29,29,28,29,29,29,29,29,28,27,27,0,0,0,0,0,0,0,0,22,20,23,20,23,22,23,24,25,24,24,25,0,0,0,0,0,0,0,0,25,25,26,26,25,25,26,25,24,24,25,24,0,0,0,0,0,0,0,0,25,25,28,27,28,26,26,27,27,26,26,26,0,0,0,0,0,0,0,0,24,24,23,23,23,21,22,21,20,20,18,17,0,0,0,0,0,0,0,0,3,1,0,1,3,6,6,8,11,12,15,17,0,0,0,0,0,0,0,0,28,29,29,28,28,29,29,28,28,29,28,28,0,0,0,0,0,0,0,0,29,30,30,29,28,29,29,28,28,29,28,28,0,0,0,0,0,0,0,0,25,28,28,26,26,28,27,28,28,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,30,31,31,30,30,31,30,0,0,0,0,0,0,0,0,29,30,30,28,29,30,29,28,29,30,29,28,0,0,0,0,0,0,0,0,30,29,29,29,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,28,30,30,29,28,29,29,28,0,0,0,0,0,0,0,0,29,28,29,28,29,30,28,29,29,29,29,30,0,0,0,0,0,0,0,0,30,29,28,29,29,28,27,27,27,27,26,28,0,0,0,0,0,0,0,0,27,27,29,28,27,29,29,28,29,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,26,26,25,27,27,26,27,28,28,29,29,29,0,0,0,0,0,0,0,0,29,28,28,28,27,26,27,27,24,24,27,25,0,0,0,0,0,0,0,0,27,28,27,27,27,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,30,31,31,31,31,30,31,30,0,0,0,0,0,0,0,0,31,31,31,31,30,30,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,30,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,28,28,28,28,27,28,27,27,26,26,27,0,0,0,0,0,0,0,0,22,26,25,26,26,28,27,25,27,27,28,26,0,0,0,0,0,0,0,0,31,30,30,30,30,29,30,31,30,30,31,31,0,0,0,0,0,0,0,0,30,31,31,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,29,30,29,29,30,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,31,31,31,30,30,31,31,0,0,0,0,0,0,0,0,31,30,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,29,30,29,27,28,28,28,28,29,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,31,30,30,31,0,0,0,0,0,0,0,0,31,30,31,31,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,30,30,28,29,30,30,28,29,30,29,29,28,0,0,0,0,0,0,0,0,27,29,30,28,28,29,29,29,29,28,27,27,0,0,0,0,0,0,0,0,21,19,22,21,22,23,25,25,26,26,26,27,0,0,0,0,0,0,0,0,26,27,28,27,26,26,28,26,26,26,27,26,0,0,0,0,0,0,0,0,26,26,29,27,29,27,28,28,28,27,28,27,0,0,0,0,0,0,0,0,25,25,24,25,24,23,22,22,22,21,21,21,0,0,0,0,0,0,0,0,5,5,2,0,1,4,5,7,10,11,14,17,0,0,0,0,0,0,0,0,28,29,29,27,28,29,29,27,29,29,28,28,0,0,0,0,0,0,0,0,29,30,30,29,28,29,29,28,28,29,29,28,0,0,0,0,0,0,0,0,25,27,27,26,25,28,26,29,28,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,31,30,31,30,31,31,30,30,31,31,0,0,0,0,0,0,0,0,29,30,30,27,29,30,30,27,29,30,29,27,0,0,0,0,0,0,0,0,29,29,29,29,30,30,30,30,28,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,28,29,30,29,0,0,0,0,0,0,0,0,29,28,29,27,29,30,28,30,29,27,30,30,0,0,0,0,0,0,0,0,30,29,28,30,29,28,28,27,26,26,26,26,0,0,0,0,0,0,0,0,26,27,29,27,26,29,29,27,29,29,30,29,0,0,0,0,0,0,0,0,29,30,30,30,30,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,27,26,24,26,28,26,27,28,29,28,29,29,0,0,0,0,0,0,0,0,29,29,29,28,29,27,28,28,25,25,27,25,0,0,0,0,0,0,0,0,27,28,27,27,28,29,29,29,30,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,30,31,30,31,31,30,31,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,30,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,28,28,28,27,27,27,27,27,27,26,26,0,0,0,0,0,0,0,0,21,25,23,25,24,27,27,26,26,28,28,28,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,31,30,30,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,31,30,30,30,30,30,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,30,30,30,31,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,31,31,31,0,0,0,0,0,0,0,0,30,30,31,30,30,31,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,31,30,30,31,30,30,0,0,0,0,0,0,0,0,30,30,29,27,28,28,27,29,29,30,29,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,28,29,30,30,28,29,30,29,29,28,0,0,0,0,0,0,0,0,26,29,29,28,28,29,29,28,28,28,26,25,0,0,0,0,0,0,0,0,20,16,20,19,23,23,24,25,25,26,26,27,0,0,0,0,0,0,0,0,25,26,27,26,25,26,27,25,25,25,25,25,0,0,0,0,0,0,0,0,26,27,29,28,29,28,28,28,28,28,28,27,0,0,0,0,0,0,0,0,25,25,24,25,25,24,24,23,23,22,21,22,0,0,0,0,0,0,0,0,8,6,5,2,0,1,4,5,8,10,11,14,0,0,0,0,0,0,0,0,27,28,28,26,27,29,28,27,28,29,27,28,0,0,0,0,0,0,0,0,29,30,30,29,28,29,28,28,28,29,28,27,0,0,0,0,0,0,0,0,24,27,28,25,24,26,26,28,27,28,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,29,30,30,29,29,30,29,28,29,30,28,28,0,0,0,0,0,0,0,0,29,28,28,29,30,29,30,30,28,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,28,30,30,29,0,0,0,0,0,0,0,0,30,28,30,28,29,30,28,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,29,27,27,27,26,27,0,0,0,0,0,0,0,0,27,27,29,27,26,29,29,27,29,29,29,27,0,0,0,0,0,0,0,0,29,30,30,30,30,29,29,30,30,27,29,29,0,0,0,0,0,0,0,0,25,26,23,26,27,26,27,28,28,27,27,29,0,0,0,0,0,0,0,0,29,28,28,28,28,26,28,28,24,25,26,23,0,0,0,0,0,0,0,0,26,27,28,26,27,28,28,29,30,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,31,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,28,27,27,26,27,28,27,25,27,0,0,0,0,0,0,0,0,22,26,24,24,26,27,27,27,28,28,28,27,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,31,30,30,0,0,0,0,0,0,0,0,30,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,29,27,29,30,30,29,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,30,29,28,29,30,29,29,28,0,0,0,0,0,0,0,0,27,29,29,28,28,29,29,29,28,27,25,25,0,0,0,0,0,0,0,0,20,16,19,18,21,20,22,22,24,24,24,26,0,0,0,0,0,0,0,0,26,26,28,27,26,27,27,26,26,26,26,26,0,0,0,0,0,0,0,0,27,27,29,26,29,28,28,29,29,27,28,28,0,0,0,0,0,0,0,0,25,25,24,26,26,24,23,24,22,23,23,24,0,0,0,0,0,0,0,0,8,9,6,4,2,0,1,3,5,8,9,12,0,0,0,0,0,0,0,0,27,28,28,26,27,28,27,26,28,29,27,27,0,0,0,0,0,0,0,0,28,30,29,29,27,28,28,27,28,29,28,27,0,0,0,0,0,0,0,0,24,25,27,24,24,27,26,28,27,29,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,29,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,30,30,29,28,28,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,27,29,29,28,27,29,29,28,27,0,0,0,0,0,0,0,0,30,29,28,29,30,29,30,30,28,29,29,30,0,0,0,0,0,0,0,0,28,28,29,29,27,29,29,29,27,28,29,28,0,0,0,0,0,0,0,0,29,28,29,27,29,29,28,30,29,29,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,28,28,26,27,26,25,27,0,0,0,0,0,0,0,0,25,27,28,26,26,28,28,25,28,29,28,27,0,0,0,0,0,0,0,0,28,29,29,29,29,28,28,28,28,26,28,28,0,0,0,0,0,0,0,0,26,23,21,25,25,24,25,27,27,25,26,28,0,0,0,0,0,0,0,0,28,27,27,27,27,25,25,26,23,23,24,23,0,0,0,0,0,0,0,0,25,26,27,26,26,27,27,28,28,29,29,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,30,30,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,30,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,29,29,29,28,27,29,28,28,27,28,27,28,0,0,0,0,0,0,0,0,22,24,24,25,26,26,27,25,27,28,29,28,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,31,31,31,30,0,0,0,0,0,0,0,0,30,30,28,27,28,29,27,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,28,29,30,30,28,29,30,29,28,27,0,0,0,0,0,0,0,0,26,28,28,27,27,28,28,28,28,27,25,25,0,0,0,0,0,0,0,0,20,16,19,16,20,21,23,24,24,25,26,28,0,0,0,0,0,0,0,0,27,27,28,27,27,27,28,27,27,27,28,27,0,0,0,0,0,0,0,0,27,28,29,28,30,28,29,29,29,27,28,29,0,0,0,0,0,0,0,0,27,26,26,27,26,26,26,25,24,25,24,24,0,0,0,0,0,0,0,0,11,11,8,7,5,2,0,1,4,6,7,10,0,0,0,0,0,0,0,0,26,27,28,24,27,28,27,25,27,28,27,25,0,0,0,0,0,0,0,0,28,29,29,28,27,28,28,26,27,28,26,27,0,0,0,0,0,0,0,0,23,25,27,23,22,26,24,28,26,28,28,28,0,0,0,0,0,0,0,0,30,29,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,29,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,31,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,28,29,30,29,28,29,30,28,28,0,0,0,0,0,0,0,0,29,28,27,29,29,29,29,30,28,29,29,30,0,0,0,0,0,0,0,0,30,29,30,30,29,29,30,29,27,29,30,29,0,0,0,0,0,0,0,0,29,29,30,28,30,30,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,29,28,28,27,26,26,0,0,0,0,0,0,0,0,25,27,28,26,25,29,29,25,28,29,29,26,0,0,0,0,0,0,0,0,29,29,29,30,30,28,28,29,29,27,28,29,0,0,0,0,0,0,0,0,25,24,21,24,26,25,25,27,27,25,28,28,0,0,0,0,0,0,0,0,28,27,28,27,28,25,27,26,23,24,25,21,0,0,0,0,0,0,0,0,24,26,26,25,27,27,28,29,29,29,28,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,31,31],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,30,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,29,28,28,27,28,0,0,0,0,0,0,0,0,23,24,26,25,27,27,27,26,27,29,29,27,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,28,28,29,28,29,29,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,30,29,28,29,30,29,28,28,0,0,0,0,0,0,0,0,27,28,28,27,28,29,28,28,27,26,26,25,0,0,0,0,0,0,0,0,21,12,18,18,21,20,23,25,26,26,26,28,0,0,0,0,0,0,0,0,27,27,28,28,27,28,28,27,27,27,28,27,0,0,0,0,0,0,0,0,28,29,30,28,30,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,27,27,26,27,27,26,26,26,25,25,25,26,0,0,0,0,0,0,0,0,15,11,9,9,7,5,2,0,1,4,6,8,0,0,0,0,0,0,0,0,26,26,28,26,26,28,27,25,26,28,27,26,0,0,0,0,0,0,0,0,28,29,28,28,27,27,28,26,27,28,26,26,0,0,0,0,0,0,0,0,23,25,26,23,22,26,25,27,26,28,28,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,29,28,29,29,28,28,29,29,28,28,0,0,0,0,0,0,0,0,29,28,28,29,30,29,29,30,29,29,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,29,30,29,27,29,29,29,0,0,0,0,0,0,0,0,29,27,29,28,28,29,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,29,29,27,28,27,26,26,0,0,0,0,0,0,0,0,25,27,28,25,25,29,28,24,28,29,29,26,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,29,28,26,28,29,0,0,0,0,0,0,0,0,25,23,22,26,25,23,24,26,26,25,26,28,0,0,0,0,0,0,0,0,27,27,28,26,26,25,26,26,22,23,24,21,0,0,0,0,0,0,0,0,24,25,26,25,27,27,27,28,29,29,28,30,0,0,0,0,0,0,0,0,30,29,29,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,30,30,30],[0,31,31,31,31,31,31,31,31,31,31,30,31,30,31,30,31,31,30,31,0,0,0,0,0,0,0,0,30,31,30,30,31,31,30,31,30,31,31,31,0,0,0,0,0,0,0,0,30,29,29,28,28,28,27,28,28,27,27,28,0,0,0,0,0,0,0,0,22,25,22,22,24,25,26,26,25,27,28,27,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,29,28,29,30,29,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,26,27,27,28,27,28,28,29,28,29,0,0,0,0,0,0,0,0,28,28,29,29,29,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,29,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,27,28,29,28,27,28,28,27,27,26,0,0,0,0,0,0,0,0,25,27,27,26,28,28,28,27,26,24,24,23,0,0,0,0,0,0,0,0,18,15,17,18,20,20,23,24,24,25,25,26,0,0,0,0,0,0,0,0,26,27,27,27,26,27,28,28,28,26,28,27,0,0,0,0,0,0,0,0,27,28,29,28,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,27,26,27,26,26,25,25,24,25,24,26,0,0,0,0,0,0,0,0,16,14,11,10,9,7,5,2,0,1,3,6,0,0,0,0,0,0,0,0,25,26,26,25,25,27,26,24,26,27,25,25,0,0,0,0,0,0,0,0,27,28,28,27,26,28,27,26,27,28,26,26,0,0,0,0,0,0,0,0,22,23,26,22,20,24,24,27,25,27,26,27,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,28,28,30,30,29,29,30,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,28,27,28,28,28,29,29,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,29,29,27,28,29,28,27,28,28,27,26,0,0,0,0,0,0,0,0,27,26,26,27,28,27,28,28,27,27,28,29,0,0,0,0,0,0,0,0,28,27,28,28,27,28,28,28,26,28,28,28,0,0,0,0,0,0,0,0,28,27,29,28,29,30,28,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,27,27,26,27,26,0,0,0,0,0,0,0,0,22,25,27,24,23,27,27,22,27,27,27,24,0,0,0,0,0,0,0,0,27,28,28,28,28,27,26,27,27,25,26,28,0,0,0,0,0,0,0,0,24,22,19,23,24,21,23,25,25,22,25,27,0,0,0,0,0,0,0,0,26,26,27,25,26,25,25,24,22,21,22,17,0,0,0,0,0,0,0,0,23,23,24,23,25,25,26,26,27,28,26,29,0,0,0,0,0,0,0,0,29,28,28,30,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,29,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,31,31,31,30,31,30,30,30,31,31,30,31,0,0,0,0,0,0,0,0,30,30,30,31,30,30,30,30,30],[0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,30,30,0,0,0,0,0,0,0,0,29,29,29,29,28,29,28,28,28,29,27,28,0,0,0,0,0,0,0,0,21,24,21,23,25,25,27,26,26,28,28,26,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,29,30,29,28,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,30,29,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,28,27,27,28,27,28,29,28,27,29,0,0,0,0,0,0,0,0,28,30,29,29,28,29,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,28,30,30,30,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,29,29,27,29,29,28,28,28,29,28,28,27,0,0,0,0,0,0,0,0,23,27,27,25,26,27,27,25,25,22,22,22,0,0,0,0,0,0,0,0,19,12,16,14,20,18,21,24,24,25,24,26,0,0,0,0,0,0,0,0,27,26,27,27,26,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,26,27,29,28,29,28,28,29,29,28,29,28,0,0,0,0,0,0,0,0,27,27,26,26,27,25,26,25,25,25,24,27,0,0,0,0,0,0,0,0,18,15,13,11,9,9,6,4,2,0,1,5,0,0,0,0,0,0,0,0,23,25,26,24,25,26,24,24,25,26,25,24,0,0,0,0,0,0,0,0,26,28,27,26,25,26,25,24,25,27,25,24,0,0,0,0,0,0,0,0,20,23,24,19,17,24,21,25,24,26,27,26,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,28,29,30,29,28,29,30,29,0,0,0,0,0,0,0,0,29,29,28,27,29,28,28,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,29,29,27,28,28,28,27,28,28,27,27,0,0,0,0,0,0,0,0,29,27,28,28,28,28,28,29,29,28,28,29,0,0,0,0,0,0,0,0,28,28,29,29,28,28,29,28,28,28,29,28,0,0,0,0,0,0,0,0,28,27,29,28,29,30,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,29,29,29,29,28,28,28,27,27,0,0,0,0,0,0,0,0,24,25,28,25,25,28,27,23,27,27,27,24,0,0,0,0,0,0,0,0,28,28,28,29,28,28,27,28,28,26,27,28,0,0,0,0,0,0,0,0,25,22,19,23,25,21,22,25,25,23,25,27,0,0,0,0,0,0,0,0,26,26,27,25,26,25,25,24,19,21,20,16,0,0,0,0,0,0,0,0,23,24,23,22,25,25,26,27,27,29,27,29,0,0,0,0,0,0,0,0,29,28,28,29,29,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,29,30,30,29,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,31,30,30,30,30],[0,31,30,30,31,31,31,31,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,28,28,28,28,27,27,28,27,26,26,26,0,0,0,0,0,0,0,0,22,23,22,21,23,23,23,24,25,26,26,25,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,30,29,29,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,29,28,29,29,0,0,0,0,0,0,0,0,29,30,29,29,29,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,29,28,28,28,29,28,28,28,0,0,0,0,0,0,0,0,28,28,28,29,28,28,29,29,28,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,30,29,30,30,29,0,0,0,0,0,0,0,0,27,27,25,26,26,27,26,27,27,27,27,27,0,0,0,0,0,0,0,0,26,28,27,26,27,28,28,28,28,29,29,29,0,0,0,0,0,0,0,0,29,27,29,29,28,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,27,27,25,26,27,26,26,26,26,25,25,24,0,0,0,0,0,0,0,0,23,25,25,23,25,26,25,26,24,22,21,20,0,0,0,0,0,0,0,0,18,14,16,15,20,18,21,21,23,22,22,24,0,0,0,0,0,0,0,0,24,25,26,27,25,26,28,27,27,26,28,26,0,0,0,0,0,0,0,0,25,26,28,27,28,28,28,28,29,28,29,29,0,0,0,0,0,0,0,0,27,26,26,26,26,25,25,25,25,25,24,26,0,0,0,0,0,0,0,0,19,17,15,14,11,9,9,5,3,1,0,1,0,0,0,0,0,0,0,0,22,25,24,22,24,24,24,23,25,24,23,22,0,0,0,0,0,0,0,0,26,26,25,26,24,26,26,24,27,26,25,23,0,0,0,0,0,0,0,0,18,22,24,18,17,23,20,25,24,25,24,25,0,0,0,0,0,0,0,0,27,27,28,27,27,28,27,27,28,28,27,28,0,0,0,0,0,0,0,0,27,26,28,28,27,27,28,28,27,28,28,28,0,0,0,0,0,0,0,0,27,27,27,25,26,27,26,27,27,27,28,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,28,29,29,29,28,0,0,0,0,0,0,0,0,27,28,27,24,27,27,26,25,26,27,25,24,0,0,0,0,0,0,0,0,25,24,24,26,27,26,26,27,26,25,26,27,0,0,0,0,0,0,0,0,26,25,26,26,25,27,26,26,25,25,25,26,0,0,0,0,0,0,0,0,26,27,27,27,28,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,27,28,27,28,27,26,26,25,24,23,0,0,0,0,0,0,0,0,20,24,26,23,22,25,25,21,24,25,25,22,0,0,0,0,0,0,0,0,26,26,25,26,25,26,24,25,25,23,25,25,0,0,0,0,0,0,0,0,23,21,19,22,23,18,20,23,23,19,23,25,0,0,0,0,0,0,0,0,24,23,23,23,23,22,22,20,16,19,18,13,0,0,0,0,0,0,0,0,21,22,20,19,23,23,24,24,25,25,25,26,0,0,0,0,0,0,0,0,28,27,26,27,27,26,27,28,28,27,28,28,0,0,0,0,0,0,0,0,29,29,28,28,29,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30],[0,30,30,30,30,31,30,30,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,28,27,28,27,28,27,27,26,26,25,25,0,0,0,0,0,0,0,0,20,20,19,19,21,23,24,22,22,24,25,24,0,0,0,0,0,0,0,0,28,29,28,28,28,29,28,29,28,28,29,29,0,0,0,0,0,0,0,0,28,29,29,29,28,29,29,28,28,28,29,29,0,0,0,0,0,0,0,0,29,29,28,29,28,28,28,29,28,29,29,29,0,0,0,0,0,0,0,0,29,29,28,28,29,27,27,28,28,27,27,27,0,0,0,0,0,0,0,0,26,26,27,28,27,27,28,28,27,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,29,28,28,28,29,28,29,29,29,28,28,0,0,0,0,0,0,0,0,26,25,23,24,23,25,23,25,25,25,25,27,0,0,0,0,0,0,0,0,25,25,26,25,26,26,27,27,27,27,27,28,0,0,0,0,0,0,0,0,28,27,27,27,28,27,27,27,27,28,28,27,0,0,0,0,0,0,0,0,25,25,24,25,25,24,23,24,24,23,23,24,0,0,0,0,0,0,0,0,20,21,21,22,22,21,21,21,21,19,19,18,0,0,0,0,0,0,0,0,16,11,13,13,18,16,18,19,19,21,21,23,0,0,0,0,0,0,0,0,24,24,25,26,25,26,27,26,26,25,27,26,0,0,0,0,0,0,0,0,26,26,27,27,28,27,28,28,28,28,29,29,0,0,0,0,0,0,0,0,27,27,26,27,26,25,26,24,25,25,24,25,0,0,0,0,0,0,0,0,21,19,18,17,15,11,10,9,6,4,2,0,0,0,0,0,0,0,0,0,17,21,19,18,19,21,19,18,20,21,20,18,0,0,0,0,0,0,0,0,23,23,23,22,20,22,23,20,23,23,20,20,0,0,0,0,0,0,0,0,17,18,20,16,14,19,16,22,19,21,21,21,0,0,0,0,0,0,0,0,25,25,25,24,26,25,25,25,27,27,26,25,0,0,0,0,0,0,0,0,24,25,27,27,25,25,26,26,25,25,26,25,0,0,0,0,0,0,0,0,25,26,25,23,24,25,25,26,26,25,27,27,0,0,0,0,0,0,0,0,28,28,29,29,29,28,28,29,28,28,28,28,0,0,0,0,0,0,0,0,26,26,26,23,25,25,23,23,24,24,22,22,0,0,0,0,0,0,0,0,22,21,21,22,22,21,23,24,23,23,23,25,0,0,0,0,0,0,0,0,24,21,24,24,22,23,23,23,21,22,24,24,0,0,0,0,0,0,0,0,25,25,27,25,27,28,26,27,26,27,28,28,0,0,0,0,0,0,0,0,28,28,26,26,26,26,26,24,24,23,23,22,0,0,0,0,0,0,0,0,18,21,22,18,19,22,21,17,22,21,22,19,0,0,0,0,0,0,0,0,21,22,23,24,23,22,19,23,23,19,21,23,0,0,0,0,0,0,0,0,21,16,14,18,20,15,17,18,20,15,18,21,0,0,0,0,0,0,0,0,20,23,23,19,20,19,19,17,15,14,14,11,0,0,0,0,0,0,0,0,15,18,17,16,20,20,21,21,22,24,22,24,0,0,0,0,0,0,0,0,24,23,23,25,25,24,25,25,25,24,25,26,0,0,0,0,0,0,0,0,26,27,26,27,28,27,28,28,27,27,29,29,0,0,0,0,0,0,0,0,30,29,30,29,30,30,30,29,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,30,29,29,29,29,29],[0,30,30,30,30,30,30,30,30,29,29,29,29,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,27,25,25,27,26,26,24,25,24,23,23,22,0,0,0,0,0,0,0,0,13,12,12,11,13,13,16,14,15,17,18,15,0,0,0,0,0,0,0,0,22,23,22,24,23,23,25,24,23,23,26,25,0,0,0,0,0,0,0,0,25,25,25,25,24,24,24,24,23,25,23,25,0,0,0,0,0,0,0,0,26,24,25,26,24,23,25,25,26,25,25,26,0,0,0,0,0,0,0,0,23,24,24,22,23,21,23,22,24,22,20,22,0,0,0,0,0,0,0,0,20,19,21,23,20,21,24,23,19,22,23,23,0,0,0,0,0,0,0,0,23,23,24,23,23,24,24,24,25,24,24,24,0,0,0,0,0,0,0,0,23,22,24,24,22,25,24,23,23,24,24,21,0,0,0,0,0,0,0,0,20,20,16,16,18,18,20,21,20,19,19,20,0,0,0,0,0,0,0,0,16,19,19,18,18,20,21,21,22,22,22,20,0,0,0,0,0,0,0,0,22,17,21,21,22,20,21,21,22,23,22,22,0,0,0,0,0,0,0,0,19,17,14,16,19,16,14,18,18,15,16,15,0,0,0,0,0,0,0,0,14,15,16,14,18,16,15,17,14,15,15,10,0,0,0,0,0,0,0,0,8,7,8,9,10,11,13,15,15,16,17,20,0,0,0,0,0,0,0,0,20,21,23,23,22,23,24,24,26,23,25,24,0,0,0,0,0,0,0,0,24,24,25,25,27,26,28,28,28,28,29,29,0,0,0,0,0,0,0,0,26,26,25,26,25,24,24,22,24,24,22,24,0,0,0,0,0,0,0,0,20,19,19,17,15,13,11,10,8,6,3,3,0,0,0,0,0,0,0,0,10,13,14,12,12,16,16,14,15,16,16,17,0,0,0,0,0,0,0,0,19,18,16,18,15,17,18,17,19,19,16,16,0,0,0,0,0,0,0,0,14,14,14,13,10,13,11,15,14,14,15,14,0,0,0,0,0,0,0,0,19,18,20,20,20,20,21,20,22,21,18,20,0,0,0,0,0,0,0,0,17,16,20,21,17,18,20,19,16,18,19,18,0,0,0,0,0,0,0,0,18,19,17,14,16,17,18,18,19,18,20,20,0,0,0,0,0,0,0,0,23,24,23,22,23,23,23,24,23,23,23,22,0,0,0,0,0,0,0,0,18,21,18,14,17,19,16,15,17,17,14,14,0,0,0,0,0,0,0,0,17,13,13,15,17,15,17,17,16,16,17,16,0,0,0,0,0,0,0,0,16,13,17,17,13,14,16,16,13,15,16,16,0,0,0,0,0,0,0,0,18,19,21,20,21,22,19,22,21,21,22,23,0,0,0,0,0,0,0,0,22,22,21,21,19,20,19,18,17,15,15,14,0,0,0,0,0,0,0,0,11,12,14,11,11,14,11,10,12,14,12,11,0,0,0,0,0,0,0,0,12,14,16,17,15,14,13,15,15,12,13,15,0,0,0,0,0,0,0,0,10,8,7,10,11,7,9,13,11,9,12,13,0,0,0,0,0,0,0,0,12,15,14,12,16,13,13,12,10,9,8,7,0,0,0,0,0,0,0,0,9,11,9,11,14,14,14,15,14,17,15,17,0,0,0,0,0,0,0,0,19,18,16,17,19,18,16,19,20,18,19,20,0,0,0,0,0,0,0,0,21,23,22,22,23,24,24,25,26,25,27,27,0,0,0,0,0,0,0,0,29,28,28,28,29,28,28,28,29,28,29,29,0,0,0,0,0,0,0,0,28,28,25,27,27,26,27,27,26],[0,30,30,30,30,30,30,30,30,29,29,29,29,29,29,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,30,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,27,26,26,26,26,25,24,25,24,24,23,22,0,0,0,0,0,0,0,0,8,7,7,7,7,7,9,8,9,11,11,10,0,0,0,0,0,0,0,0,16,16,17,18,17,17,17,17,17,17,19,19,0,0,0,0,0,0,0,0,19,19,20,17,18,17,17,18,16,18,17,17,0,0,0,0,0,0,0,0,19,18,18,20,17,18,17,18,17,19,19,19,0,0,0,0,0,0,0,0,15,16,17,15,15,16,15,16,16,16,16,15,0,0,0,0,0,0,0,0,15,14,15,14,15,15,16,15,14,16,16,15,0,0,0,0,0,0,0,0,16,16,16,17,16,16,16,17,18,17,17,18,0,0,0,0,0,0,0,0,16,17,17,18,15,18,18,16,15,17,16,13,0,0,0,0,0,0,0,0,13,13,10,10,12,12,12,14,13,14,15,15,0,0,0,0,0,0,0,0,11,13,13,12,11,13,13,14,15,15,13,14,0,0,0,0,0,0,0,0,15,13,14,15,15,14,14,15,16,15,15,16,0,0,0,0,0,0,0,0,12,11,9,10,12,9,9,10,10,8,9,9,0,0,0,0,0,0,0,0,6,8,8,7,9,9,8,10,7,7,6,5,0,0,0,0,0,0,0,0,5,4,4,6,6,6,9,9,10,11,14,18,0,0,0,0,0,0,0,0,18,18,21,22,21,22,24,24,25,23,25,23,0,0,0,0,0,0,0,0,24,25,25,26,27,27,27,27,28,28,28,28,0,0,0,0,0,0,0,0,26,27,25,27,25,25,25,23,26,24,24,26,0,0,0,0,0,0,0,0,22,20,20,19,17,15,13,12,9,7,5,3,0,0,0,0,0,0,0,0,6,8,8,6,7,8,8,7,8,9,9,9,0,0,0,0,0,0,0,0,11,12,10,10,10,10,9,9,10,11,9,9,0,0,0,0,0,0,0,0,6,6,7,6,5,6,6,8,7,8,8,8,0,0,0,0,0,0,0,0,12,13,14,13,14,14,15,14,16,15,13,14,0,0,0,0,0,0,0,0,12,11,14,14,11,11,13,12,11,12,13,11,0,0,0,0,0,0,0,0,12,13,10,10,11,12,12,14,13,15,15,14,0,0,0,0,0,0,0,0,16,16,18,17,16,16,17,16,16,17,16,15,0,0,0,0,0,0,0,0,12,14,13,10,11,11,9,9,9,10,8,8,0,0,0,0,0,0,0,0,9,8,7,9,10,9,10,11,9,9,10,10,0,0,0,0,0,0,0,0,11,9,11,11,9,9,11,11,10,9,10,10,0,0,0,0,0,0,0,0,12,12,14,14,15,15,13,15,15,15,15,16,0,0,0,0,0,0,0,0,16,16,15,15,15,15,13,12,11,9,10,9,0,0,0,0,0,0,0,0,7,8,9,9,7,8,9,7,7,9,8,7,0,0,0,0,0,0,0,0,10,9,11,10,10,10,9,9,9,8,8,10,0,0,0,0,0,0,0,0,6,7,5,7,8,6,7,9,8,5,7,9,0,0,0,0,0,0,0,0,5,7,8,7,5,7,6,6,4,5,5,2,0,0,0,0,0,0,0,0,5,5,5,5,6,7,8,9,9,12,10,12,0,0,0,0,0,0,0,0,12,11,10,11,13,10,11,12,13,12,11,13,0,0,0,0,0,0,0,0,17,18,18,18,18,19,20,20,23,21,25,25,0,0,0,0,0,0,0,0,28,24,28,27,27,26,27,26,27,28,27,26,0,0,0,0,0,0,0,0,28,25,26,26,27,24,24,26,24],[0,29,29,29,29,30,29,29,29,29,29,28,29,28,29,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,26,25,25,25,24,24,24,23,22,22,21,0,0,0,0,0,0,0,0,7,7,6,6,7,6,7,7,8,9,10,9,0,0,0,0,0,0,0,0,14,13,14,14,13,15,14,14,14,14,15,15,0,0,0,0,0,0,0,0,15,15,15,14,14,14,15,14,14,14,14,14,0,0,0,0,0,0,0,0,14,14,14,14,14,13,14,15,15,15,14,15,0,0,0,0,0,0,0,0,14,14,14,13,13,14,14,14,14,13,15,13,0,0,0,0,0,0,0,0,12,12,12,12,12,12,13,13,12,13,12,13,0,0,0,0,0,0,0,0,13,12,13,13,13,13,13,15,15,15,14,15,0,0,0,0,0,0,0,0,13,15,14,14,13,14,14,13,13,13,12,11,0,0,0,0,0,0,0,0,10,10,8,8,9,9,10,11,12,11,11,12,0,0,0,0,0,0,0,0,8,10,11,9,10,11,11,12,12,12,11,10,0,0,0,0,0,0,0,0,12,10,11,12,12,12,12,13,13,13,12,12,0,0,0,0,0,0,0,0,9,9,7,8,8,8,7,8,8,7,7,7,0,0,0,0,0,0,0,0,5,6,6,5,7,7,6,7,5,5,5,4,0,0,0,0,0,0,0,0,6,4,3,5,5,6,7,8,10,11,14,17,0,0,0,0,0,0,0,0,18,17,18,21,20,21,23,23,24,22,25,22,0,0,0,0,0,0,0,0,22,23,26,25,26,25,25,26,27,26,27,27,0,0,0,0,0,0,0,0,25,26,26,26,25,25,26,23,25,25,24,25,0,0,0,0,0,0,0,0,21,19,19,18,17,15,14,13,10,9,6,3,0,0,0,0,0,0,0,0,5,6,6,6,6,7,7,7,8,8,8,9,0,0,0,0,0,0,0,0,10,9,8,8,8,8,9,9,10,11,10,10,0,0,0,0,0,0,0,0,6,6,5,5,4,4,4,6,6,6,7,7,0,0,0,0,0,0,0,0,9,10,10,11,11,12,12,12,12,11,10,10,0,0,0,0,0,0,0,0,9,10,11,11,9,10,10,10,9,9,10,10,0,0,0,0,0,0,0,0,10,11,11,9,10,10,10,11,13,13,13,13,0,0,0,0,0,0,0,0,14,14,14,13,14,14,14,14,16,16,14,13,0,0,0,0,0,0,0,0,11,11,9,9,10,9,8,8,9,8,8,7,0,0,0,0,0,0,0,0,8,6,6,7,8,7,9,9,8,8,9,9,0,0,0,0,0,0,0,0,9,8,9,9,8,8,8,8,8,9,9,8,0,0,0,0,0,0,0,0,10,10,13,11,13,13,11,12,13,14,14,13,0,0,0,0,0,0,0,0,14,13,14,13,12,12,12,11,9,8,8,8,0,0,0,0,0,0,0,0,7,7,6,7,6,7,8,6,6,7,7,5,0,0,0,0,0,0,0,0,8,9,8,9,8,8,7,8,8,6,6,7,0,0,0,0,0,0,0,0,5,5,4,6,5,5,4,6,6,5,6,7,0,0,0,0,0,0,0,0,5,5,6,7,6,5,5,4,4,5,4,3,0,0,0,0,0,0,0,0,4,5,5,4,6,7,7,8,8,9,8,9,0,0,0,0,0,0,0,0,10,10,9,10,10,10,10,10,11,11,10,10,0,0,0,0,0,0,0,0,15,15,16,16,16,17,18,20,20,20,23,23,0,0,0,0,0,0,0,0,26,24,26,26,26,26,25,25,27,26,26,26,0,0,0,0,0,0,0,0,26,24,25,25,26,23,22,24,23],[0,29,29,29,29,30,30,29,29,29,29,29,29,28,29,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,29,29,29,30,29,0,0,0,0,0,0,0,0,28,27,26,26,26,25,25,25,23,23,22,21,0,0,0,0,0,0,0,0,5,5,4,5,5,6,7,7,7,7,8,7,0,0,0,0,0,0,0,0,12,11,12,13,11,12,13,13,12,13,14,13,0,0,0,0,0,0,0,0,13,14,14,13,13,13,13,12,12,13,12,12,0,0,0,0,0,0,0,0,13,12,14,13,12,14,13,14,13,15,14,14,0,0,0,0,0,0,0,0,12,11,12,11,11,11,12,11,12,11,11,11,0,0,0,0,0,0,0,0,11,10,10,11,11,10,11,11,11,11,11,11,0,0,0,0,0,0,0,0,12,12,13,11,13,13,13,14,14,14,14,15,0,0,0,0,0,0,0,0,13,12,13,13,12,13,13,11,11,12,11,11,0,0,0,0,0,0,0,0,9,9,7,7,8,8,9,9,10,10,10,10,0,0,0,0,0,0,0,0,8,9,9,9,9,9,11,11,11,12,11,10,0,0,0,0,0,0,0,0,10,12,11,10,10,11,12,12,12,12,12,11,0,0,0,0,0,0,0,0,8,10,8,7,8,8,7,8,9,7,7,7,0,0,0,0,0,0,0,0,5,6,6,5,5,6,6,5,5,4,5,3,0,0,0,0,0,0,0,0,4,4,4,4,4,5,7,8,9,12,14,17,0,0,0,0,0,0,0,0,18,19,20,21,21,21,23,23,24,22,24,23,0,0,0,0,0,0,0,0,23,24,26,26,27,26,27,28,28,27,28,28,0,0,0,0,0,0,0,0,27,27,26,27,27,26,27,24,27,26,25,26,0,0,0,0,0,0,0,0,22,19,20,18,17,15,13,11,9,8,7,4,0,0,0,0,0,0,0,0,4,4,5,4,4,5,5,4,5,5,6,6,0,0,0,0,0,0,0,0,7,7,7,6,5,5,6,6,6,7,6,7,0,0,0,0,0,0,0,0,4,4,3,3,3,3,3,4,5,5,6,5,0,0,0,0,0,0,0,0,7,8,8,9,11,11,11,11,10,10,9,9,0,0,0,0,0,0,0,0,9,8,9,9,10,10,10,9,10,9,9,9,0,0,0,0,0,0,0,0,10,10,10,10,9,10,10,10,12,12,12,12,0,0,0,0,0,0,0,0,12,12,12,12,13,12,13,14,12,12,12,12,0,0,0,0,0,0,0,0,9,9,8,7,9,9,8,7,8,9,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,6,7,7,0,0,0,0,0,0,0,0,8,7,8,8,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,9,9,10,9,10,11,10,10,11,10,12,11,0,0,0,0,0,0,0,0,12,12,12,11,12,11,10,9,8,7,7,7,0,0,0,0,0,0,0,0,5,6,5,6,6,6,6,6,6,6,6,4,0,0,0,0,0,0,0,0,7,6,7,7,7,7,6,7,7,6,5,6,0,0,0,0,0,0,0,0,5,4,3,5,5,4,3,5,5,4,6,5,0,0,0,0,0,0,0,0,6,5,6,6,7,5,5,4,4,3,3,3,0,0,0,0,0,0,0,0,4,4,4,5,5,7,6,6,7,7,7,7,0,0,0,0,0,0,0,0,8,7,8,8,8,8,9,8,8,8,9,9,0,0,0,0,0,0,0,0,14,14,14,14,15,17,17,17,20,19,24,22,0,0,0,0,0,0,0,0,27,24,26,26,26,26,26,26,28,27,26,26,0,0,0,0,0,0,0,0,26,26,25,27,26,24,23,25,23],[0,28,28,28,28,28,28,28,28,27,26,26,27,26,26,26,26,27,25,26,0,0,0,0,0,0,0,0,26,26,26,27,27,28,26,27,27,27,27,27,0,0,0,0,0,0,0,0,24,24,24,24,23,22,21,22,21,21,20,18,0,0,0,0,0,0,0,0,6,6,5,5,5,5,6,7,6,8,8,8,0,0,0,0,0,0,0,0,10,11,11,11,11,12,12,12,11,11,13,12,0,0,0,0,0,0,0,0,13,14,14,12,11,12,12,12,11,11,12,12,0,0,0,0,0,0,0,0,12,11,13,12,11,12,12,13,13,13,13,13,0,0,0,0,0,0,0,0,10,12,12,10,11,10,10,11,11,11,10,10,0,0,0,0,0,0,0,0,10,10,10,10,10,10,11,10,10,10,10,10,0,0,0,0,0,0,0,0,11,10,11,10,11,12,11,12,13,12,12,13,0,0,0,0,0,0,0,0,11,12,11,11,11,11,12,11,11,11,11,10,0,0,0,0,0,0,0,0,9,8,8,7,8,8,8,9,10,9,10,9,0,0,0,0,0,0,0,0,9,8,8,9,8,9,9,10,11,10,10,9,0,0,0,0,0,0,0,0,9,9,10,9,10,10,10,9,10,10,10,10,0,0,0,0,0,0,0,0,7,8,8,8,7,7,7,8,8,7,6,6,0,0,0,0,0,0,0,0,4,5,5,5,5,5,5,5,5,3,4,4,0,0,0,0,0,0,0,0,4,3,3,4,6,6,8,11,12,12,14,15,0,0,0,0,0,0,0,0,16,17,18,20,19,20,22,21,22,20,23,21,0,0,0,0,0,0,0,0,21,22,24,24,25,24,25,26,26,26,26,26,0,0,0,0,0,0,0,0,25,26,24,25,25,24,25,23,25,24,23,24,0,0,0,0,0,0,0,0,21,20,20,19,17,15,14,12,11,9,6,5,0,0,0,0,0,0,0,0,2,3,3,3,3,4,4,3,5,5,4,5,0,0,0,0,0,0,0,0,6,5,5,5,4,4,6,5,6,7,5,6,0,0,0,0,0,0,0,0,3,3,3,3,2,2,3,3,4,4,4,4,0,0,0,0,0,0,0,0,7,7,7,8,9,9,9,10,9,8,8,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,8,8,8,7,8,8,8,9,10,10,10,10,0,0,0,0,0,0,0,0,11,12,12,11,12,12,12,11,11,12,10,10,0,0,0,0,0,0,0,0,9,9,8,8,8,9,8,7,7,8,7,7,0,0,0,0,0,0,0,0,7,6,6,6,6,6,7,7,7,6,7,8,0,0,0,0,0,0,0,0,8,6,8,7,7,7,7,8,7,7,7,7,0,0,0,0,0,0,0,0,8,9,9,9,10,10,10,11,11,11,11,11,0,0,0,0,0,0,0,0,11,11,10,12,11,10,10,9,8,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,5,5,6,5,4,0,0,0,0,0,0,0,0,6,6,7,7,6,6,6,6,7,6,6,6,0,0,0,0,0,0,0,0,5,4,4,4,5,4,4,5,6,4,4,5,0,0,0,0,0,0,0,0,5,6,5,6,6,5,5,5,4,4,4,3,0,0,0,0,0,0,0,0,3,3,3,4,4,5,5,6,6,7,6,7,0,0,0,0,0,0,0,0,7,6,6,7,7,7,8,8,7,8,8,8,0,0,0,0,0,0,0,0,12,12,12,13,12,14,14,16,17,18,21,20,0,0,0,0,0,0,0,0,22,21,23,23,24,23,22,23,25,25,23,24,0,0,0,0,0,0,0,0,23,21,20,23,22,20,20,22,20],[0,29,28,29,29,29,29,28,28,27,27,26,28,27,27,27,27,27,27,28,0,0,0,0,0,0,0,0,28,29,27,28,29,29,27,29,28,28,29,29,0,0,0,0,0,0,0,0,26,25,25,24,24,23,23,22,21,22,20,18,0,0,0,0,0,0,0,0,6,6,5,5,5,6,7,6,6,7,8,8,0,0,0,0,0,0,0,0,10,11,11,11,11,11,12,12,11,12,13,13,0,0,0,0,0,0,0,0,14,15,15,14,12,12,12,12,12,12,12,11,0,0,0,0,0,0,0,0,12,11,12,12,11,12,13,13,13,12,13,13,0,0,0,0,0,0,0,0,10,11,11,10,11,10,11,11,11,11,11,10,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,9,9,10,9,0,0,0,0,0,0,0,0,9,9,10,10,10,10,11,12,13,12,11,12,0,0,0,0,0,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4,4,5,0,0,0,0,0,0,0,0,4,5,5,5,5,5,6,4,4,5,3,3,0,0,0,0,0,0,0,0,4,4,3,4,4,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,5,7,7,0,0,0,0,0,0,0,0,11,13,11,11,13,14,14,16,16,18,20,20,0,0,0,0,0,0,0,0,22,21,25,24,22,23,24,23,24,25,23,22,0,0,0,0,0,0,0,0,23,22,22,22,22,20,21,22,19],[0,29,29,29,29,29,29,29,29,28,28,27,28,27,28,27,27,28,26,28,0,0,0,0,0,0,0,0,28,28,27,28,29,29,27,29,28,28,29,28,0,0,0,0,0,0,0,0,27,25,25,25,25,24,22,23,21,21,21,20,0,0,0,0,0,0,0,0,7,6,6,6,6,6,8,8,7,8,8,8,0,0,0,0,0,0,0,0,10,10,10,11,10,11,11,10,10,11,12,11,0,0,0,0,0,0,0,0,12,13,13,12,11,11,12,12,11,12,12,11,0,0,0,0,0,0,0,0,10,11,12,11,10,12,11,13,11,12,11,11,0,0,0,0,0,0,0,0,10,10,10,10,10,10,11,10,11,11,11,11,0,0,0,0,0,0,0,0,10,10,10,9,10,9,10,9,10,9,9,10,0,0,0,0,0,0,0,0,10,10,9,9,10,10,10,11,11,11,11,12,0,0,0,0,0,0,0,0,11,11,11,10,10,10,10,9,10,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,9,9,8,9,9,9,0,0,0,0,0,0,0,0,9,8,7,8,8,8,8,9,9,9,8,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,9,8,8,9,9,9,0,0,0,0,0,0,0,0,7,8,7,7,8,7,7,8,9,6,6,6,0,0,0,0,0,0,0,0,4,5,4,4,5,6,4,4,3,3,3,3,0,0,0,0,0,0,0,0,5,5,4,5,6,7,8,12,13,13,15,16,0,0,0,0,0,0,0,0,18,17,20,21,21,20,23,22,23,21,24,21,0,0,0,0,0,0,0,0,22,24,24,26,27,25,26,27,26,26,27,27,0,0,0,0,0,0,0,0,25,26,26,26,26,25,26,24,25,25,25,26,0,0,0,0,0,0,0,0,22,22,21,21,20,17,16,14,11,9,8,6,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,2,3,4,3,4,0,0,0,0,0,0,0,0,5,4,5,4,4,4,4,4,5,5,5,5,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,5,5,6,7,7,7,8,8,7,7,6,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,7,7,8,0,0,0,0,0,0,0,0,7,8,8,8,7,8,8,8,10,10,9,9,0,0,0,0,0,0,0,0,10,11,11,11,10,11,12,11,10,11,10,10,0,0,0,0,0,0,0,0,8,7,7,8,8,7,8,8,8,7,6,7,0,0,0,0,0,0,0,0,5,5,4,5,5,4,5,6,5,6,6,6,0,0,0,0,0,0,0,0,7,6,6,7,7,6,6,7,7,6,6,6,0,0,0,0,0,0,0,0,8,9,9,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,11,11,11,10,10,10,10,9,8,8,7,8,0,0,0,0,0,0,0,0,6,5,5,6,6,5,5,5,5,5,4,5,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,7,5,6,6,0,0,0,0,0,0,0,0,4,5,3,4,5,4,5,4,4,4,3,4,0,0,0,0,0,0,0,0,5,5,5,5,5,4,5,4,4,4,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,5,5,7,6,6,6,0,0,0,0,0,0,0,0,6,5,5,6,5,5,5,5,6,5,6,6,0,0,0,0,0,0,0,0,11,11,11,12,11,13,14,15,17,17,20,19,0,0,0,0,0,0,0,0,22,22,26,25,24,24,24,23,26,25,24,23,0,0,0,0,0,0,0,0,23,22,22,24,23,20,20,23,20],[0,29,28,28,28,29,28,28,28,27,27,26,27,26,26,26,27,26,26,27,0,0,0,0,0,0,0,0,27,27,26,27,28,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,26,25,25,24,24,23,22,22,20,21,20,19,0,0,0,0,0,0,0,0,6,6,5,5,5,5,7,6,6,7,7,7,0,0,0,0,0,0,0,0,9,10,10,10,10,11,11,10,10,11,12,11,0,0,0,0,0,0,0,0,13,14,14,13,12,13,12,13,11,12,10,11,0,0,0,0,0,0,0,0,11,11,11,11,10,10,11,12,11,11,11,11,0,0,0,0,0,0,0,0,9,11,10,9,10,9,10,10,11,11,10,11,0,0,0,0,0,0,0,0,10,9,8,9,9,9,9,9,9,8,9,8,0,0,0,0,0,0,0,0,9,8,9,9,9,8,9,10,11,10,10,11,0,0,0,0,0,0,0,0,10,10,10,10,9,10,10,9,9,9,8,8,0,0,0,0,0,0,0,0,7,7,7,7,8,7,8,8,8,8,8,9,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,8,8,8,7,7,0,0,0,0,0,0,0,0,7,7,7,7,8,8,8,8,8,9,8,8,0,0,0,0,0,0,0,0,7,7,6,6,7,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,4,4,3,4,4,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,5,6,6,7,10,10,10,14,16,0,0,0,0,0,0,0,0,17,18,19,21,21,22,23,22,23,21,24,21,0,0,0,0,0,0,0,0,22,24,24,25,26,25,26,27,27,27,26,27,0,0,0,0,0,0,0,0,26,26,26,26,26,26,26,25,25,26,25,25,0,0,0,0,0,0,0,0,22,22,21,21,20,19,16,14,13,11,8,6,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,4,4,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,2,1,2,2,1,1,2,2,3,3,3,3,0,0,0,0,0,0,0,0,4,5,5,6,5,6,7,7,7,6,6,6,0,0,0,0,0,0,0,0,6,6,6,7,7,7,6,6,6,5,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,7,8,8,9,9,9,9,0,0,0,0,0,0,0,0,9,10,11,11,10,11,11,10,11,10,10,10,0,0,0,0,0,0,0,0,8,7,7,7,7,7,6,6,7,6,6,5,0,0,0,0,0,0,0,0,5,5,4,4,4,4,4,5,5,4,5,5,0,0,0,0,0,0,0,0,6,5,5,6,5,5,6,6,5,6,6,6,0,0,0,0,0,0,0,0,8,8,9,9,10,9,9,9,9,9,10,10,0,0,0,0,0,0,0,0,11,11,11,10,10,9,9,9,8,7,7,7,0,0,0,0,0,0,0,0,5,5,6,4,4,5,4,4,4,4,5,3,0,0,0,0,0,0,0,0,5,5,5,6,5,5,5,5,6,5,5,5,0,0,0,0,0,0,0,0,5,4,3,4,4,4,3,4,4,3,3,4,0,0,0,0,0,0,0,0,4,5,5,5,5,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,5,4,6,6,5,6,0,0,0,0,0,0,0,0,5,4,4,5,5,4,5,5,5,4,5,5,0,0,0,0,0,0,0,0,9,11,10,10,11,12,12,14,14,15,18,19,0,0,0,0,0,0,0,0,20,20,24,22,21,23,23,21,23,23,22,22,0,0,0,0,0,0,0,0,22,20,19,21,21,18,18,20,17],[0,29,29,29,29,29,29,29,28,28,28,28,28,28,28,27,28,28,28,28,0,0,0,0,0,0,0,0,28,29,28,29,29,29,28,29,29,28,29,29,0,0,0,0,0,0,0,0,27,26,25,26,26,25,24,24,22,21,20,21,0,0,0,0,0,0,0,0,7,7,6,6,7,6,8,8,7,8,10,9,0,0,0,0,0,0,0,0,11,11,12,12,11,12,12,12,11,12,13,13,0,0,0,0,0,0,0,0,13,14,14,14,12,13,12,13,13,13,12,12,0,0,0,0,0,0,0,0,11,11,12,11,10,12,11,13,12,12,12,12,0,0,0,0,0,0,0,0,10,11,11,10,10,10,11,11,12,12,12,11,0,0,0,0,0,0,0,0,10,9,10,10,10,10,10,10,9,9,10,10,0,0,0,0,0,0,0,0,9,10,10,9,10,10,10,11,11,11,11,11,0,0,0,0,0,0,0,0,10,11,11,11,10,11,11,10,10,10,10,9,0,0,0,0,0,0,0,0,9,8,7,7,8,8,9,9,9,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,8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,0,0,0,5,4,4,5,5,4,5,5,5,5,6,6,0,0,0,0,0,0,0,0,9,11,10,10,11,12,13,14,17,17,19,19,0,0,0,0,0,0,0,0,22,21,25,23,24,24,23,24,25,24,23,22,0,0,0,0,0,0,0,0,23,21,21,23,22,18,19,22,18],[0,28,28,28,28,28,28,28,28,27,27,26,27,26,27,26,27,26,27,27,0,0,0,0,0,0,0,0,27,27,27,27,28,28,27,28,27,28,28,28,0,0,0,0,0,0,0,0,26,25,25,24,24,23,23,23,22,22,20,20,0,0,0,0,0,0,0,0,7,7,6,6,6,6,7,7,7,8,9,8,0,0,0,0,0,0,0,0,10,10,11,11,11,11,11,11,11,11,12,12,0,0,0,0,0,0,0,0,13,13,14,13,12,12,12,12,11,11,10,11,0,0,0,0,0,0,0,0,11,10,11,11,10,11,11,12,12,11,12,11,0,0,0,0,0,0,0,0,10,11,11,9,10,9,10,10,11,11,10,11,0,0,0,0,0,0,0,0,9,8,9,9,9,9,10,10,9,9,9,9,0,0,0,0,0,0,0,0,9,8,10,9,9,9,10,11,11,11,10,11,0,0,0,0,0,0,0,0,10,10,11,10,9,11,10,9,10,10,9,8,0,0,0,0,0,0,0,0,8,8,7,7,8,8,9,9,8,9,8,9,0,0,0,0,0,0,0,0,7,7,7,7,7,7,8,8,9,8,8,7,0,0,0,0,0,0,0,0,8,7,7,8,8,7,8,8,8,9,9,9,0,0,0,0,0,0,0,0,7,7,6,7,7,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,4,4,3,4,5,4,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,6,7,7,9,10,11,12,14,15,0,0,0,0,0,0,0,0,18,18,20,21,21,21,23,22,24,21,23,20,0,0,0,0,0,0,0,0,21,22,24,23,25,23,26,25,25,26,25,26,0,0,0,0,0,0,0,0,24,25,24,24,26,24,25,24,23,24,23,25,0,0,0,0,0,0,0,0,22,23,20,20,19,18,17,16,13,13,9,7,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,2,2,2,2,3,0,0,0,0,0,0,0,0,3,4,4,3,2,3,3,3,4,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,5,4,5,6,6,8,7,7,7,7,6,6,0,0,0,0,0,0,0,0,6,6,7,6,6,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,7,8,7,7,7,7,8,8,10,9,9,9,0,0,0,0,0,0,0,0,10,11,11,12,12,11,12,12,11,12,11,11,0,0,0,0,0,0,0,0,8,8,8,7,8,8,6,7,7,7,6,6,0,0,0,0,0,0,0,0,5,4,4,4,5,4,4,5,5,5,5,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,7,6,7,0,0,0,0,0,0,0,0,8,9,10,9,11,10,9,10,9,10,11,11,0,0,0,0,0,0,0,0,12,12,12,11,11,10,10,9,9,8,8,8,0,0,0,0,0,0,0,0,6,5,6,5,4,5,5,4,4,4,4,3,0,0,0,0,0,0,0,0,5,5,6,6,6,6,5,6,6,5,6,6,0,0,0,0,0,0,0,0,6,5,4,4,5,5,4,4,5,4,4,4,0,0,0,0,0,0,0,0,5,5,6,5,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,3,3,3,4,4,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,5,5,4,5,5,5,5,5,5,5,5,6,0,0,0,0,0,0,0,0,9,10,10,10,11,12,13,14,16,17,19,20,0,0,0,0,0,0,0,0,22,19,23,23,22,23,24,23,23,24,23,21,0,0,0,0,0,0,0,0,22,19,21,21,22,19,18,21,20],[0,28,28,28,29,28,29,28,28,28,27,27,27,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,29,27,28,28,28,0,0,0,0,0,0,0,0,26,25,24,25,24,23,21,22,21,20,19,20,0,0,0,0,0,0,0,0,8,8,7,7,7,6,8,8,8,9,9,9,0,0,0,0,0,0,0,0,11,12,11,12,12,12,12,12,12,12,13,13,0,0,0,0,0,0,0,0,14,15,15,15,13,14,13,14,13,13,12,12,0,0,0,0,0,0,0,0,12,10,12,12,11,11,11,12,12,11,11,12,0,0,0,0,0,0,0,0,11,13,12,10,11,10,11,12,12,12,12,12,0,0,0,0,0,0,0,0,10,9,10,10,9,10,11,10,9,9,10,9,0,0,0,0,0,0,0,0,10,9,10,10,9,10,10,11,11,11,11,11,0,0,0,0,0,0,0,0,11,11,11,11,10,12,11,10,10,10,10,9,0,0,0,0,0,0,0,0,9,8,7,8,8,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,7,7,8,8,7,7,7,8,9,9,7,7,0,0,0,0,0,0,0,0,9,8,8,8,9,8,8,9,9,9,9,10,0,0,0,0,0,0,0,0,8,8,7,7,7,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,3,3,4,3,0,0,0,0,0,0,0,0,6,6,6,7,7,8,9,11,11,12,13,15,0,0,0,0,0,0,0,0,18,18,19,21,21,22,22,22,23,21,22,21,0,0,0,0,0,0,0,0,21,23,23,25,26,25,26,26,25,26,27,26,0,0,0,0,0,0,0,0,25,26,25,25,26,24,26,24,25,25,24,25,0,0,0,0,0,0,0,0,22,22,20,21,19,17,16,14,13,12,10,7,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,5,5,5,6,6,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,7,6,6,6,7,6,7,7,7,7,7,7,0,0,0,0,0,0,0,0,8,8,8,7,8,8,8,9,10,10,10,10,0,0,0,0,0,0,0,0,11,12,12,12,12,12,13,13,12,12,12,11,0,0,0,0,0,0,0,0,9,9,8,9,9,8,8,8,7,7,7,7,0,0,0,0,0,0,0,0,5,4,5,5,5,4,4,5,5,4,5,6,0,0,0,0,0,0,0,0,7,6,6,7,7,6,7,8,8,7,7,7,0,0,0,0,0,0,0,0,9,9,11,11,11,11,11,11,12,12,12,12,0,0,0,0,0,0,0,0,12,13,12,12,12,11,11,10,10,9,9,9,0,0,0,0,0,0,0,0,7,6,6,6,6,6,5,5,5,5,4,4,0,0,0,0,0,0,0,0,6,6,6,6,7,6,6,6,7,6,6,7,0,0,0,0,0,0,0,0,6,6,5,5,6,5,5,5,5,5,4,5,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,5,5,6,5,5,0,0,0,0,0,0,0,0,3,3,4,5,4,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,6,4,5,5,6,4,5,5,5,6,5,6,0,0,0,0,0,0,0,0,9,10,10,10,10,12,12,14,16,16,20,20,0,0,0,0,0,0,0,0,21,21,25,24,22,22,24,23,25,24,24,22,0,0,0,0,0,0,0,0,22,20,20,22,22,18,18,21,19],[0,29,29,29,29,29,29,29,28,28,28,27,28,27,27,27,28,28,28,28,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,28,28,28,29,28,0,0,0,0,0,0,0,0,26,26,25,24,24,23,23,22,21,21,20,18,0,0,0,0,0,0,0,0,7,8,7,6,7,6,7,7,8,8,9,9,0,0,0,0,0,0,0,0,11,10,11,12,11,11,12,11,11,11,13,12,0,0,0,0,0,0,0,0,14,14,14,14,13,13,12,13,12,13,12,12,0,0,0,0,0,0,0,0,12,11,12,12,11,11,11,12,12,12,12,12,0,0,0,0,0,0,0,0,10,11,11,10,11,10,10,11,12,12,11,11,0,0,0,0,0,0,0,0,10,9,10,10,9,9,10,10,8,9,10,9,0,0,0,0,0,0,0,0,8,8,9,10,8,9,9,10,11,11,10,10,0,0,0,0,0,0,0,0,10,10,11,10,9,10,10,9,10,10,10,8,0,0,0,0,0,0,0,0,8,8,7,7,8,8,9,9,9,9,8,8,0,0,0,0,0,0,0,0,7,7,7,7,6,6,7,8,8,8,7,6,0,0,0,0,0,0,0,0,8,7,7,8,8,7,7,8,9,8,8,9,0,0,0,0,0,0,0,0,7,7,6,7,6,6,6,6,6,5,6,6,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22,24,23,23,24,25,24,23,0,0,0,0,0,0,0,0,22,21,20,22,22,18,20,22,19],[0,29,29,29,29,29,29,29,28,28,28,27,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,28,26,28,28,29,27,28,28,28,28,28,0,0,0,0,0,0,0,0,26,25,25,24,24,23,23,23,21,21,20,19,0,0,0,0,0,0,0,0,7,7,6,5,6,5,7,7,7,8,8,8,0,0,0,0,0,0,0,0,10,11,11,11,11,12,11,11,11,12,12,12,0,0,0,0,0,0,0,0,14,14,14,14,13,14,13,12,12,11,10,11,0,0,0,0,0,0,0,0,12,11,11,12,11,11,11,12,11,12,11,12,0,0,0,0,0,0,0,0,10,11,11,9,11,10,11,11,12,12,12,11,0,0,0,0,0,0,0,0,9,8,9,10,9,8,10,10,8,9,10,9,0,0,0,0,0,0,0,0,9,8,9,9,8,9,9,10,11,11,10,10,0,0,0,0,0,0,0,0,10,11,11,10,9,10,10,9,10,10,9,8,0,0,0,0,0,0,0,0,7,8,7,7,7,8,9,9,8,9,8,9,0,0,0,0,0,0,0,0,7,7,7,7,6,7,7,8,8,8,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,8,9,8,9,0,0,0,0,0,0,0,0,7,6,5,6,6,6,6,6,6,5,5,5,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,6,7,6,7,9,11,11,13,16,0,0,0,0,0,0,0,0,18,19,20,22,23,22,23,23,24,23,24,21,0,0,0,0,0,0,0,0,22,23,24,23,26,25,25,26,26,26,27,26,0,0,0,0,0,0,0,0,26,27,26,27,27,26,27,25,26,27,25,26,0,0,0,0,0,0,0,0,24,24,22,22,21,19,18,16,14,13,9,7,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,3,3,2,2,0,0,0,0,0,0,0,0,2,1,2,2,2,1,2,2,2,3,3,3,0,0,0,0,0,0,0,0,5,5,5,6,6,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,6,5,6,6,6,5,6,6,6,5,5,6,0,0,0,0,0,0,0,0,6,7,6,6,7,7,7,8,9,9,9,8,0,0,0,0,0,0,0,0,10,11,12,11,11,11,12,12,10,11,11,10,0,0,0,0,0,0,0,0,8,8,8,7,7,7,6,6,6,6,5,5,0,0,0,0,0,0,0,0,4,4,3,4,4,4,4,4,4,4,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,5,6,6,6,0,0,0,0,0,0,0,0,8,8,10,9,11,10,9,10,10,9,11,11,0,0,0,0,0,0,0,0,11,11,11,11,10,10,10,9,9,8,8,7,0,0,0,0,0,0,0,0,5,5,5,4,4,4,4,4,3,4,4,3,0,0,0,0,0,0,0,0,4,5,5,5,5,5,4,5,5,4,5,6,0,0,0,0,0,0,0,0,5,5,4,4,5,4,3,4,4,3,4,4,0,0,0,0,0,0,0,0,4,5,5,5,5,5,4,4,4,4,4,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,5,5,6,6,5,6,0,0,0,0,0,0,0,0,5,5,4,5,5,5,4,5,5,5,5,6,0,0,0,0,0,0,0,0,10,11,10,11,11,12,13,14,15,17,19,20,0,0,0,0,0,0,0,0,22,21,24,24,23,24,24,23,24,24,24,23,0,0,0,0,0,0,0,0,22,21,20,21,22,20,20,21,19],[0,29,28,29,29,29,29,29,28,28,28,27,28,27,27,27,28,27,27,28,0,0,0,0,0,0,0,0,28,28,27,28,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,27,26,26,25,25,25,22,24,22,22,21,20,0,0,0,0,0,0,0,0,7,8,7,7,7,6,7,8,8,8,9,9,0,0,0,0,0,0,0,0,12,13,13,13,14,13,13,13,13,13,14,14,0,0,0,0,0,0,0,0,15,15,15,15,14,16,14,14,14,12,12,12,0,0,0,0,0,0,0,0,13,11,12,13,12,12,12,13,12,13,13,13,0,0,0,0,0,0,0,0,12,13,13,11,12,12,12,13,13,13,13,12,0,0,0,0,0,0,0,0,11,10,11,11,10,10,11,11,9,10,11,10,0,0,0,0,0,0,0,0,9,9,10,11,9,10,10,11,12,12,10,12,0,0,0,0,0,0,0,0,11,11,13,11,10,12,11,10,11,11,10,9,0,0,0,0,0,0,0,0,9,8,7,8,8,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,7,8,8,8,8,7,8,8,9,9,8,7,0,0,0,0,0,0,0,0,8,8,8,8,9,8,8,9,9,10,9,10,0,0,0,0,0,0,0,0,7,8,7,7,7,7,7,7,6,7,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,3,3,4,3,0,0,0,0,0,0,0,0,6,5,6,7,8,8,9,11,12,12,14,15,0,0,0,0,0,0,0,0,19,18,20,21,23,22,23,23,24,21,23,21,0,0,0,0,0,0,0,0,21,23,23,22,25,24,25,25,26,26,26,27,0,0,0,0,0,0,0,0,26,26,25,26,26,24,26,23,25,26,24,25,0,0,0,0,0,0,0,0,22,24,22,21,20,18,18,15,13,13,8,6,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,3,3,3,3,2,2,3,3,3,3,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,3,3,3,0,0,0,0,0,0,0,0,4,5,5,5,6,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,7,7,7,6,7,7,6,6,7,7,6,7,0,0,0,0,0,0,0,0,7,8,8,8,7,8,9,9,10,10,10,10,0,0,0,0,0,0,0,0,11,12,13,12,13,13,13,13,12,13,12,12,0,0,0,0,0,0,0,0,9,9,9,9,9,8,8,8,7,7,6,6,0,0,0,0,0,0,0,0,5,4,4,5,4,4,5,5,5,5,5,6,0,0,0,0,0,0,0,0,6,6,6,6,7,7,6,7,7,7,7,7,0,0,0,0,0,0,0,0,9,10,11,11,12,12,11,12,12,12,13,13,0,0,0,0,0,0,0,0,13,13,13,13,12,11,12,11,10,9,8,9,0,0,0,0,0,0,0,0,6,6,6,6,5,6,5,4,4,5,5,4,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,7,0,0,0,0,0,0,0,0,6,5,5,5,6,5,4,5,5,4,4,4,0,0,0,0,0,0,0,0,6,5,6,6,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,3,3,4,4,4,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,9,11,10,10,11,12,13,15,15,15,18,18,0,0,0,0,0,0,0,0,22,20,22,22,22,22,23,22,23,22,22,22,0,0,0,0,0,0,0,0,23,20,19,22,22,19,19,22,19],[0,28,27,28,29,28,28,28,28,27,27,27,28,27,27,27,28,26,27,28,0,0,0,0,0,0,0,0,28,28,27,29,28,29,28,29,28,29,29,28,0,0,0,0,0,0,0,0,26,25,24,24,24,23,22,22,21,20,19,18,0,0,0,0,0,0,0,0,8,8,7,7,7,7,7,8,8,8,9,9,0,0,0,0,0,0,0,0,12,12,12,13,13,12,13,14,12,13,15,14,0,0,0,0,0,0,0,0,15,15,16,16,14,15,13,14,14,13,12,12,0,0,0,0,0,0,0,0,13,11,12,13,11,12,12,13,13,13,14,14,0,0,0,0,0,0,0,0,12,13,13,11,13,11,12,12,13,13,12,12,0,0,0,0,0,0,0,0,11,11,11,11,10,10,11,11,10,10,11,10,0,0,0,0,0,0,0,0,9,9,11,10,9,10,10,11,12,11,10,11,0,0,0,0,0,0,0,0,11,11,12,12,9,12,11,10,11,11,11,9,0,0,0,0,0,0,0,0,9,9,7,8,8,9,9,9,9,9,8,9,0,0,0,0,0,0,0,0,7,8,8,8,7,7,7,8,9,9,8,7,0,0,0,0,0,0,0,0,9,8,8,9,9,8,8,9,9,9,9,10,0,0,0,0,0,0,0,0,8,7,7,7,7,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,3,3,4,4,4,0,0,0,0,0,0,0,0,6,6,6,7,7,7,8,10,11,12,13,15,0,0,0,0,0,0,0,0,18,18,19,21,22,21,23,22,24,22,24,22,0,0,0,0,0,0,0,0,20,23,22,22,24,25,25,25,25,26,26,27,0,0,0,0,0,0,0,0,25,26,25,26,27,25,26,24,25,26,25,26,0,0,0,0,0,0,0,0,24,24,22,21,20,18,17,15,13,12,9,7,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,3,3,3,2,2,2,3,2,3,3,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,4,5,5,6,5,6,7,6,6,6,5,6,0,0,0,0,0,0,0,0,7,6,6,7,7,6,7,7,7,6,7,7,0,0,0,0,0,0,0,0,8,8,8,7,8,8,9,9,10,10,10,10,0,0,0,0,0,0,0,0,11,12,12,12,13,12,12,13,12,12,12,10,0,0,0,0,0,0,0,0,9,9,9,8,9,8,7,8,7,7,7,7,0,0,0,0,0,0,0,0,5,4,4,5,4,4,5,5,5,5,5,6,0,0,0,0,0,0,0,0,7,6,6,6,7,6,7,7,8,7,7,7,0,0,0,0,0,0,0,0,9,10,11,11,12,11,11,12,11,12,12,12,0,0,0,0,0,0,0,0,12,12,11,12,11,11,11,10,9,9,8,9,0,0,0,0,0,0,0,0,7,6,6,5,5,6,5,5,5,5,5,4,0,0,0,0,0,0,0,0,6,5,6,6,6,6,5,6,6,6,6,7,0,0,0,0,0,0,0,0,6,6,5,5,6,5,4,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,6,5,6,6,5,5,5,6,5,4,0,0,0,0,0,0,0,0,3,3,4,4,4,5,5,4,7,6,5,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,6,0,0,0,0,0,0,0,0,9,10,9,9,10,12,11,14,15,15,18,19,0,0,0,0,0,0,0,0,21,20,24,23,21,24,24,23,23,24,23,21,0,0,0,0,0,0,0,0,21,20,19,21,21,18,19,21,18],[0,29,28,28,29,29,29,28,28,27,27,26,28,26,27,27,27,27,26,27,0,0,0,0,0,0,0,0,27,28,26,27,28,28,26,28,27,27,28,27,0,0,0,0,0,0,0,0,26,25,24,24,23,23,22,22,20,20,19,18,0,0,0,0,0,0,0,0,8,7,7,6,6,6,7,7,8,8,9,8,0,0,0,0,0,0,0,0,11,11,12,13,11,12,12,12,12,12,14,12,0,0,0,0,0,0,0,0,14,15,15,14,14,14,14,14,13,13,11,13,0,0,0,0,0,0,0,0,13,12,12,12,11,11,12,13,13,12,13,13,0,0,0,0,0,0,0,0,11,12,12,10,11,10,12,12,13,13,12,13,0,0,0,0,0,0,0,0,10,9,10,11,9,9,11,11,8,10,10,9,0,0,0,0,0,0,0,0,9,9,10,10,9,9,10,10,12,11,10,11,0,0,0,0,0,0,0,0,11,11,12,11,9,12,11,10,11,11,10,8,0,0,0,0,0,0,0,0,8,7,7,7,8,8,9,9,8,10,8,9,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,8,9,8,7,7,0,0,0,0,0,0,0,0,8,7,7,8,8,7,8,8,8,9,9,10,0,0,0,0,0,0,0,0,7,7,6,6,7,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,5,4,3,4,4,3,4,3,4,4,4,0,0,0,0,0,0,0,0,6,6,5,6,7,7,8,10,11,11,13,16,0,0,0,0,0,0,0,0,16,17,18,19,20,20,22,22,23,22,23,22,0,0,0,0,0,0,0,0,20,23,21,21,24,23,25,25,25,25,26,26,0,0,0,0,0,0,0,0,25,26,26,26,26,24,26,24,25,26,25,26,0,0,0,0,0,0,0,0,22,22,21,21,19,19,16,14,14,12,9,6,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,3,3,3,0,0,0,0,0,0,0,0,4,4,5,6,6,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,6,5,6,6,6,5,6,6,5,5,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,7,8,9,9,9,9,9,0,0,0,0,0,0,0,0,11,11,12,12,12,12,13,12,12,12,12,10,0,0,0,0,0,0,0,0,8,8,8,7,8,8,6,7,6,6,6,5,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4,4,4,5,5,0,0,0,0,0,0,0,0,5,5,5,6,6,5,6,6,6,6,6,7,0,0,0,0,0,0,0,0,8,9,10,10,11,11,9,10,11,10,11,12,0,0,0,0,0,0,0,0,12,12,12,11,11,11,10,10,9,8,9,8,0,0,0,0,0,0,0,0,6,5,5,5,5,5,5,4,4,4,4,4,0,0,0,0,0,0,0,0,4,5,5,5,6,5,5,6,5,5,5,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,5,5,5,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,5,6,5,5,0,0,0,0,0,0,0,0,5,4,4,5,5,4,4,5,5,5,5,5,0,0,0,0,0,0,0,0,9,11,11,11,11,12,14,15,16,17,19,19,0,0,0,0,0,0,0,0,22,21,24,24,22,24,24,22,24,24,23,22,0,0,0,0,0,0,0,0,22,20,19,22,21,20,20,21,19],[0,29,29,28,29,29,29,29,29,28,28,27,28,27,28,28,27,27,27,27,0,0,0,0,0,0,0,0,27,28,26,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,26,26,25,25,25,24,24,23,21,23,21,19,0,0,0,0,0,0,0,0,8,8,7,7,7,7,8,8,9,9,11,9,0,0,0,0,0,0,0,0,14,14,14,15,15,14,15,15,15,15,16,16,0,0,0,0,0,0,0,0,16,16,16,17,16,17,15,16,15,15,14,14,0,0,0,0,0,0,0,0,15,13,14,15,13,14,13,14,13,14,14,15,0,0,0,0,0,0,0,0,13,15,15,13,13,13,14,14,15,16,15,14,0,0,0,0,0,0,0,0,12,10,12,13,11,11,13,12,10,12,12,11,0,0,0,0,0,0,0,0,11,11,11,12,11,11,12,12,14,13,12,12,0,0,0,0,0,0,0,0,13,13,15,14,12,14,13,12,13,13,12,11,0,0,0,0,0,0,0,0,9,9,8,9,8,9,9,11,10,11,9,11,0,0,0,0,0,0,0,0,9,9,9,9,8,8,9,9,9,10,9,9,0,0,0,0,0,0,0,0,9,9,9,9,10,9,9,9,10,11,11,12,0,0,0,0,0,0,0,0,8,8,8,8,8,7,7,8,8,7,7,6,0,0,0,0,0,0,0,0,5,5,5,4,5,5,4,4,4,4,4,4,0,0,0,0,0,0,0,0,6,6,6,7,8,7,9,11,13,12,14,16,0,0,0,0,0,0,0,0,18,18,19,22,22,20,23,23,23,22,23,22,0,0,0,0,0,0,0,0,22,23,24,22,24,24,24,26,26,26,27,27,0,0,0,0,0,0,0,0,26,27,26,27,27,26,27,25,26,26,26,27,0,0,0,0,0,0,0,0,24,24,22,22,21,19,18,15,14,13,9,7,0,0,0,0,0,0,0,0,2,2,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,4,4,4,0,0,0,0,0,0,0,0,5,5,6,6,7,8,8,8,8,8,7,7,0,0,0,0,0,0,0,0,7,6,8,7,8,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,8,9,8,8,8,8,9,9,11,10,10,10,0,0,0,0,0,0,0,0,12,13,14,14,13,14,14,14,13,14,14,12,0,0,0,0,0,0,0,0,10,10,10,9,9,9,8,8,8,8,6,6,0,0,0,0,0,0,0,0,5,4,5,5,5,4,5,6,5,5,6,6,0,0,0,0,0,0,0,0,6,6,7,6,6,6,7,7,7,7,7,7,0,0,0,0,0,0,0,0,11,11,12,12,13,13,12,13,13,13,14,14,0,0,0,0,0,0,0,0,14,14,14,14,13,12,12,12,11,10,9,8,0,0,0,0,0,0,0,0,6,6,6,6,5,5,5,5,4,5,5,4,0,0,0,0,0,0,0,0,5,6,6,6,7,6,6,6,6,5,6,7,0,0,0,0,0,0,0,0,6,6,5,4,5,5,4,5,5,4,4,5,0,0,0,0,0,0,0,0,5,6,6,6,5,6,5,5,5,5,4,4,0,0,0,0,0,0,0,0,3,3,4,4,4,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,5,5,5,5,6,5,5,6,6,6,6,7,0,0,0,0,0,0,0,0,11,12,11,11,11,13,13,15,15,17,19,19,0,0,0,0,0,0,0,0,21,22,25,24,22,23,23,23,23,24,23,22,0,0,0,0,0,0,0,0,22,20,20,22,22,20,19,21,20],[0,28,28,29,28,28,29,28,28,28,27,27,28,26,27,26,27,26,27,28,0,0,0,0,0,0,0,0,28,28,27,28,28,29,28,29,28,28,29,29,0,0,0,0,0,0,0,0,27,27,25,24,25,24,23,23,23,21,20,19,0,0,0,0,0,0,0,0,9,9,8,8,8,7,8,9,10,10,12,10,0,0,0,0,0,0,0,0,14,15,15,16,16,15,15,16,16,16,17,17,0,0,0,0,0,0,0,0,17,18,18,17,16,18,16,16,16,15,15,14,0,0,0,0,0,0,0,0,16,13,14,15,13,14,14,15,15,16,16,15,0,0,0,0,0,0,0,0,14,15,16,14,14,13,15,15,16,16,15,15,0,0,0,0,0,0,0,0,14,12,13,14,12,12,13,13,11,12,13,11,0,0,0,0,0,0,0,0,11,10,13,13,11,12,12,13,15,14,12,14,0,0,0,0,0,0,0,0,13,13,15,14,12,15,14,12,14,14,12,10,0,0,0,0,0,0,0,0,11,10,9,10,9,11,10,11,11,11,9,11,0,0,0,0,0,0,0,0,9,9,10,9,9,9,9,9,10,10,10,9,0,0,0,0,0,0,0,0,10,9,10,10,10,10,10,10,11,11,11,12,0,0,0,0,0,0,0,0,9,9,9,8,8,8,8,8,8,8,7,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,4,5,4,4,4,4,0,0,0,0,0,0,0,0,7,7,7,8,9,9,10,11,12,13,14,15,0,0,0,0,0,0,0,0,19,17,18,21,22,21,23,23,24,22,24,21,0,0,0,0,0,0,0,0,19,22,21,20,22,23,24,24,25,26,26,27,0,0,0,0,0,0,0,0,25,27,25,26,27,25,26,25,24,26,24,26,0,0,0,0,0,0,0,0,23,23,22,21,21,18,18,15,13,12,9,7,0,0,0,0,0,0,0,0,2,2,2,2,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,4,4,3,3,2,3,3,2,3,3,2,2,0,0,0,0,0,0,0,0,2,2,2,3,3,2,3,3,4,4,4,4,0,0,0,0,0,0,0,0,6,6,6,7,7,8,8,8,8,8,7,7,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,9,10,9,10,9,9,10,11,12,12,12,11,0,0,0,0,0,0,0,0,13,14,15,15,15,14,15,15,14,15,13,13,0,0,0,0,0,0,0,0,11,11,10,10,10,9,9,9,8,8,8,8,0,0,0,0,0,0,0,0,7,5,6,6,6,5,5,6,6,6,6,7,0,0,0,0,0,0,0,0,7,8,7,7,9,8,8,8,9,8,8,8,0,0,0,0,0,0,0,0,11,12,13,13,14,14,14,14,13,13,15,16,0,0,0,0,0,0,0,0,15,14,14,14,13,14,13,12,11,10,10,10,0,0,0,0,0,0,0,0,8,7,7,7,6,7,7,5,5,6,5,4,0,0,0,0,0,0,0,0,7,6,7,7,7,7,8,7,7,8,8,8,0,0,0,0,0,0,0,0,6,7,6,6,7,6,5,6,6,5,5,5,0,0,0,0,0,0,0,0,6,6,7,6,7,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,5,5,5,6,6,6,7,7,7,6,0,0,0,0,0,0,0,0,6,7,5,6,6,6,6,6,6,6,7,8,0,0,0,0,0,0,0,0,10,11,10,11,11,13,12,15,15,17,18,19,0,0,0,0,0,0,0,0,22,21,23,23,22,23,24,22,23,23,23,22,0,0,0,0,0,0,0,0,23,21,20,23,21,19,20,22,20],[0,28,28,28,28,28,28,28,28,27,27,26,27,26,27,27,27,26,27,27,0,0,0,0,0,0,0,0,28,28,26,28,28,28,27,28,27,28,28,28,0,0,0,0,0,0,0,0,25,25,24,24,23,23,22,21,21,20,19,19,0,0,0,0,0,0,0,0,9,10,9,8,8,8,8,9,9,10,12,10,0,0,0,0,0,0,0,0,15,15,16,16,17,17,16,17,16,16,16,16,0,0,0,0,0,0,0,0,17,17,17,17,17,19,17,16,17,15,15,15,0,0,0,0,0,0,0,0,16,14,15,16,14,15,14,15,15,16,16,16,0,0,0,0,0,0,0,0,15,16,16,14,15,14,15,16,16,16,14,15,0,0,0,0,0,0,0,0,14,14,14,14,13,14,14,15,12,13,13,13,0,0,0,0,0,0,0,0,12,12,13,14,10,13,13,13,15,15,12,14,0,0,0,0,0,0,0,0,14,15,15,14,12,16,14,13,15,15,14,11,0,0,0,0,0,0,0,0,11,11,9,10,9,10,10,11,11,11,10,12,0,0,0,0,0,0,0,0,9,9,10,9,8,9,9,10,11,11,9,9,0,0,0,0,0,0,0,0,11,9,9,11,10,10,10,11,11,12,11,13,0,0,0,0,0,0,0,0,9,9,9,9,9,8,8,8,8,7,8,7,0,0,0,0,0,0,0,0,6,6,5,5,6,5,4,5,4,5,5,5,0,0,0,0,0,0,0,0,7,7,7,8,8,8,10,11,11,14,15,16,0,0,0,0,0,0,0,0,17,17,19,20,20,20,21,20,23,21,21,20,0,0,0,0,0,0,0,0,19,20,20,20,22,24,24,24,24,26,26,26,0,0,0,0,0,0,0,0,24,26,25,25,26,24,26,24,25,26,24,26,0,0,0,0,0,0,0,0,24,22,21,21,19,19,17,14,13,12,9,7,0,0,0,0,0,0,0,0,2,2,2,2,2,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,3,3,2,2,0,0,0,0,0,0,0,0,3,2,3,3,3,3,3,3,3,4,4,4,0,0,0,0,0,0,0,0,5,5,5,7,6,7,8,7,8,7,6,7,0,0,0,0,0,0,0,0,8,7,7,8,7,7,8,8,7,7,8,8,0,0,0,0,0,0,0,0,9,10,9,9,9,10,10,11,11,12,12,12,0,0,0,0,0,0,0,0,14,14,15,15,15,14,15,15,14,15,14,12,0,0,0,0,0,0,0,0,11,11,10,9,10,10,9,9,8,8,7,8,0,0,0,0,0,0,0,0,6,5,5,5,5,5,5,6,6,5,6,6,0,0,0,0,0,0,0,0,7,7,7,7,8,7,8,8,8,8,8,9,0,0,0,0,0,0,0,0,10,11,13,13,14,15,13,15,14,14,15,15,0,0,0,0,0,0,0,0,14,15,14,14,14,13,13,12,12,10,10,10,0,0,0,0,0,0,0,0,8,7,7,6,7,6,6,5,6,5,5,4,0,0,0,0,0,0,0,0,6,6,6,7,7,7,6,8,7,7,7,8,0,0,0,0,0,0,0,0,7,7,7,6,7,6,5,6,6,5,4,5,0,0,0,0,0,0,0,0,6,6,7,6,6,7,6,6,6,6,5,5,0,0,0,0,0,0,0,0,4,4,5,5,4,5,6,6,7,7,7,7,0,0,0,0,0,0,0,0,6,5,5,6,6,5,6,6,6,6,6,7,0,0,0,0,0,0,0,0,10,11,10,11,11,13,13,15,16,16,19,21,0,0,0,0,0,0,0,0,23,21,24,24,23,24,25,22,24,24,23,23,0,0,0,0,0,0,0,0,21,22,18,23,21,20,21,21,19],[0,28,28,28,29,29,28,28,28,27,27,26,27,27,27,27,27,27,26,27,0,0,0,0,0,0,0,0,27,27,26,27,28,28,27,28,28,28,29,28,0,0,0,0,0,0,0,0,26,24,24,24,23,23,22,21,20,20,19,18,0,0,0,0,0,0,0,0,10,8,9,8,8,7,8,8,10,9,12,9,0,0,0,0,0,0,0,0,14,14,14,14,15,16,15,14,15,15,15,16,0,0,0,0,0,0,0,0,17,17,17,17,17,17,16,17,15,15,14,14,0,0,0,0,0,0,0,0,16,14,15,16,14,14,13,14,15,14,15,15,0,0,0,0,0,0,0,0,14,15,15,15,15,13,14,15,16,15,14,16,0,0,0,0,0,0,0,0,13,12,13,14,12,13,13,14,12,13,13,11,0,0,0,0,0,0,0,0,12,11,12,13,11,12,12,13,14,14,12,13,0,0,0,0,0,0,0,0,13,14,15,14,12,14,13,12,14,13,13,12,0,0,0,0,0,0,0,0,11,10,9,10,10,10,11,12,10,12,10,12,0,0,0,0,0,0,0,0,8,9,10,9,8,9,9,10,11,11,10,9,0,0,0,0,0,0,0,0,11,9,9,10,10,9,9,10,10,11,11,12,0,0,0,0,0,0,0,0,9,8,8,8,8,8,8,8,8,7,7,7,0,0,0,0,0,0,0,0,6,6,5,5,6,5,5,5,4,5,5,5,0,0,0,0,0,0,0,0,7,7,7,8,8,8,10,11,13,12,15,16,0,0,0,0,0,0,0,0,16,18,19,19,20,21,22,22,23,22,23,21,0,0,0,0,0,0,0,0,21,21,21,21,23,24,24,25,25,26,26,27,0,0,0,0,0,0,0,0,26,27,26,27,27,26,27,24,26,26,25,27,0,0,0,0,0,0,0,0,23,22,21,22,20,19,17,15,14,13,10,7,0,0,0,0,0,0,0,0,2,2,2,2,2,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,3,3,3,3,3,3,5,4,3,0,0,0,0,0,0,0,0,5,6,7,7,7,8,9,8,8,8,7,7,0,0,0,0,0,0,0,0,7,7,8,8,7,8,7,7,7,7,7,7,0,0,0,0,0,0,0,0,8,9,8,8,8,8,8,10,11,11,10,10,0,0,0,0,0,0,0,0,13,14,14,15,13,13,14,14,13,14,15,12,0,0,0,0,0,0,0,0,11,10,10,9,9,9,8,8,7,7,7,6,0,0,0,0,0,0,0,0,6,5,5,5,5,5,5,6,6,5,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,7,7,7,7,8,0,0,0,0,0,0,0,0,10,11,12,13,13,13,13,14,14,13,15,15,0,0,0,0,0,0,0,0,15,14,15,14,13,13,12,12,12,10,10,8,0,0,0,0,0,0,0,0,7,6,6,6,6,6,6,5,5,5,5,4,0,0,0,0,0,0,0,0,5,6,6,6,7,6,6,7,6,6,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,5,5,5,4,4,4,0,0,0,0,0,0,0,0,5,6,6,6,5,6,6,5,6,5,4,5,0,0,0,0,0,0,0,0,3,3,4,5,4,5,5,5,6,6,5,7,0,0,0,0,0,0,0,0,6,5,5,5,6,5,5,6,6,6,6,7,0,0,0,0,0,0,0,0,10,12,11,11,12,14,14,16,17,17,19,20,0,0,0,0,0,0,0,0,22,21,23,23,23,25,24,23,25,24,22,24,0,0,0,0,0,0,0,0,21,21,19,23,21,20,20,22,20],[0,29,28,29,29,29,29,28,29,28,27,27,27,27,27,27,27,26,27,27,0,0,0,0,0,0,0,0,27,27,26,28,28,28,28,28,28,27,29,28,0,0,0,0,0,0,0,0,26,25,25,24,24,23,24,23,22,22,21,20,0,0,0,0,0,0,0,0,9,8,8,8,7,7,8,9,10,10,12,11,0,0,0,0,0,0,0,0,14,13,14,14,14,15,15,15,15,14,15,15,0,0,0,0,0,0,0,0,16,17,17,17,15,17,16,16,15,15,15,15,0,0,0,0,0,0,0,0,15,15,14,14,14,15,13,15,14,15,15,15,0,0,0,0,0,0,0,0,14,14,15,14,14,13,14,15,15,15,15,15,0,0,0,0,0,0,0,0,14,12,13,12,12,12,13,13,12,13,13,13,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,13,14,13,13,13,0,0,0,0,0,0,0,0,12,15,15,13,12,14,13,13,14,13,13,12,0,0,0,0,0,0,0,0,11,10,9,9,10,11,11,12,11,11,10,13,0,0,0,0,0,0,0,0,9,9,10,9,9,9,9,10,11,11,10,9,0,0,0,0,0,0,0,0,10,9,10,10,10,10,10,10,11,11,11,11,0,0,0,0,0,0,0,0,10,9,8,8,9,8,8,8,8,8,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,5,5,5,5,0,0,0,0,0,0,0,0,7,7,7,8,8,9,10,11,12,13,15,15,0,0,0,0,0,0,0,0,20,19,20,22,23,22,23,25,25,23,24,22,0,0,0,0,0,0,0,0,21,22,22,22,23,23,24,25,25,25,27,27,0,0,0,0,0,0,0,0,27,27,26,27,27,26,27,24,26,26,26,26,0,0,0,0,0,0,0,0,25,23,22,22,21,19,18,16,13,12,8,7,0,0,0,0,0,0,0,0,3,2,2,2,2,2,1,1,1,1,1,1,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,2,3,2,1,2,0,0,0,0,0,0,0,0,2,2,2,3,3,3,3,4,4,5,5,4,0,0,0,0,0,0,0,0,6,7,6,7,7,8,8,8,8,9,8,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,7,0,0,0,0,0,0,0,0,9,10,9,9,9,9,10,11,12,12,11,12,0,0,0,0,0,0,0,0,14,14,15,15,14,13,14,14,15,15,15,12,0,0,0,0,0,0,0,0,12,11,11,10,11,10,9,8,8,8,8,7,0,0,0,0,0,0,0,0,6,6,6,5,6,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,6,7,7,7,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,11,12,13,13,14,14,13,14,13,13,14,15,0,0,0,0,0,0,0,0,15,15,16,15,15,14,15,13,12,12,11,9,0,0,0,0,0,0,0,0,7,6,7,7,5,6,7,5,5,6,6,5,0,0,0,0,0,0,0,0,6,6,7,6,7,7,7,7,7,6,7,8,0,0,0,0,0,0,0,0,7,6,6,5,6,6,5,5,6,4,4,5,0,0,0,0,0,0,0,0,6,6,7,6,6,6,6,6,6,5,5,5,0,0,0,0,0,0,0,0,4,4,4,5,5,5,5,5,6,7,6,7,0,0,0,0,0,0,0,0,6,6,5,6,7,5,6,7,7,7,7,8,0,0,0,0,0,0,0,0,11,12,12,13,13,13,14,15,14,17,18,20,0,0,0,0,0,0,0,0,22,21,25,23,23,23,24,22,23,24,23,22,0,0,0,0,0,0,0,0,21,21,22,22,22,22,21,23,21],[0,28,28,28,28,29,29,28,28,28,27,27,28,27,27,27,28,26,27,28,0,0,0,0,0,0,0,0,28,27,26,28,28,29,27,28,27,28,28,28,0,0,0,0,0,0,0,0,26,25,25,24,24,24,23,22,22,21,20,19,0,0,0,0,0,0,0,0,9,9,9,9,8,8,9,10,11,12,13,11,0,0,0,0,0,0,0,0,16,16,17,16,17,17,16,16,17,16,17,18,0,0,0,0,0,0,0,0,18,18,17,17,18,19,17,17,17,16,16,15,0,0,0,0,0,0,0,0,17,14,15,17,14,14,15,16,16,17,15,16,0,0,0,0,0,0,0,0,15,17,17,16,16,15,16,16,17,16,16,15,0,0,0,0,0,0,0,0,15,14,15,15,15,15,15,15,13,14,13,13,0,0,0,0,0,0,0,0,13,12,13,14,12,14,14,15,15,15,12,15,0,0,0,0,0,0,0,0,15,15,15,15,13,16,16,14,16,16,14,12,0,0,0,0,0,0,0,0,12,11,9,10,9,11,11,11,12,13,11,12,0,0,0,0,0,0,0,0,9,9,11,9,9,9,9,11,12,12,10,9,0,0,0,0,0,0,0,0,11,10,10,11,11,10,11,12,12,12,12,13,0,0,0,0,0,0,0,0,11,9,9,10,9,9,8,9,8,8,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,5,6,5,5,5,5,0,0,0,0,0,0,0,0,8,8,8,9,9,8,11,11,12,13,15,15,0,0,0,0,0,0,0,0,19,17,19,21,21,21,22,22,24,22,23,20,0,0,0,0,0,0,0,0,21,21,22,21,24,23,24,24,25,26,26,26,0,0,0,0,0,0,0,0,25,26,25,26,27,24,26,24,25,25,24,26,0,0,0,0,0,0,0,0,22,22,21,20,19,18,17,14,13,11,9,8,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,1,1,1,1,0,0,0,0,0,0,0,0,3,3,3,3,2,3,3,2,3,2,2,2,0,0,0,0,0,0,0,0,3,2,3,3,3,3,4,4,4,5,5,4,0,0,0,0,0,0,0,0,6,7,7,7,7,9,8,8,9,9,7,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,9,8,8,9,9,8,0,0,0,0,0,0,0,0,10,10,9,10,9,10,11,12,13,13,13,12,0,0,0,0,0,0,0,0,14,15,15,15,16,14,15,16,15,15,15,14,0,0,0,0,0,0,0,0,12,12,11,10,11,11,10,10,9,9,9,8,0,0,0,0,0,0,0,0,7,7,6,6,7,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,8,8,8,8,9,9,8,9,10,10,9,10,0,0,0,0,0,0,0,0,11,13,14,14,15,15,14,16,15,14,16,17,0,0,0,0,0,0,0,0,15,15,16,16,14,14,15,14,13,12,10,11,0,0,0,0,0,0,0,0,9,8,8,8,7,7,7,7,6,6,6,6,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,8,8,8,9,9,0,0,0,0,0,0,0,0,7,8,7,7,7,8,6,7,7,6,5,6,0,0,0,0,0,0,0,0,7,7,8,7,8,7,7,7,8,6,7,7,0,0,0,0,0,0,0,0,5,5,6,6,6,7,7,6,8,8,7,8,0,0,0,0,0,0,0,0,7,6,6,7,7,7,7,8,8,8,7,8,0,0,0,0,0,0,0,0,11,13,12,12,13,14,13,15,16,18,20,20,0,0,0,0,0,0,0,0,21,22,24,23,21,22,24,22,23,23,22,22,0,0,0,0,0,0,0,0,22,22,20,23,20,21,22,22,19],[0,27,27,27,27,28,28,27,27,26,25,26,26,25,26,26,26,25,25,26,0,0,0,0,0,0,0,0,26,26,25,27,26,28,26,27,26,27,27,27,0,0,0,0,0,0,0,0,24,24,23,23,22,22,21,20,20,20,18,18,0,0,0,0,0,0,0,0,10,10,10,10,8,9,10,11,11,12,15,12,0,0,0,0,0,0,0,0,16,16,17,17,17,16,17,17,17,17,17,17,0,0,0,0,0,0,0,0,18,17,18,18,18,18,18,17,17,17,16,17,0,0,0,0,0,0,0,0,17,16,16,17,16,15,15,15,16,16,17,17,0,0,0,0,0,0,0,0,16,17,17,17,17,15,17,16,17,16,17,16,0,0,0,0,0,0,0,0,17,15,15,16,15,15,15,16,14,15,15,13,0,0,0,0,0,0,0,0,14,14,13,15,13,14,14,14,16,16,15,14,0,0,0,0,0,0,0,0,15,17,17,16,14,18,17,15,16,17,16,14,0,0,0,0,0,0,0,0,14,12,10,11,10,12,11,13,12,12,11,14,0,0,0,0,0,0,0,0,10,10,12,10,10,10,10,12,13,13,11,10,0,0,0,0,0,0,0,0,13,10,11,13,12,11,11,12,12,14,14,15,0,0,0,0,0,0,0,0,12,10,9,10,11,9,9,10,9,8,8,8,0,0,0,0,0,0,0,0,7,7,6,6,6,6,6,6,5,6,6,6,0,0,0,0,0,0,0,0,8,8,8,10,10,9,11,11,13,14,14,15,0,0,0,0,0,0,0,0,17,17,18,20,20,20,22,21,23,22,23,22,0,0,0,0,0,0,0,0,21,20,20,20,20,23,22,24,25,25,26,26,0,0,0,0,0,0,0,0,24,25,24,25,26,23,25,22,25,26,24,25,0,0,0,0,0,0,0,0,24,21,21,22,19,18,16,15,14,12,10,9,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,2,2,2,0,0,0,0,0,0,0,0,3,3,4,5,4,4,5,4,5,5,6,5,0,0,0,0,0,0,0,0,7,6,7,8,8,9,9,8,9,8,7,8,0,0,0,0,0,0,0,0,8,8,9,10,8,8,9,9,8,8,9,9,0,0,0,0,0,0,0,0,10,11,10,10,10,10,10,12,13,12,11,12,0,0,0,0,0,0,0,0,15,16,16,16,16,16,16,16,17,16,16,14,0,0,0,0,0,0,0,0,13,13,11,11,12,11,10,9,10,9,9,8,0,0,0,0,0,0,0,0,7,7,6,6,7,6,7,7,7,6,7,7,0,0,0,0,0,0,0,0,7,7,8,8,8,8,9,9,9,9,9,10,0,0,0,0,0,0,0,0,13,13,15,15,17,16,15,16,16,15,18,18,0,0,0,0,0,0,0,0,16,16,16,15,15,14,14,14,14,12,12,11,0,0,0,0,0,0,0,0,9,7,8,7,7,7,7,7,6,6,6,6,0,0,0,0,0,0,0,0,7,6,8,7,9,7,8,8,8,8,9,9,0,0,0,0,0,0,0,0,8,8,7,7,7,7,6,6,7,5,5,6,0,0,0,0,0,0,0,0,6,7,7,7,7,8,7,6,7,7,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,6,6,6,7,7,7,6,0,0,0,0,0,0,0,0,6,6,6,7,7,6,7,7,7,7,7,8,0,0,0,0,0,0,0,0,11,12,11,12,13,13,14,17,17,18,19,19,0,0,0,0,0,0,0,0,21,20,24,23,22,23,24,21,23,24,21,23,0,0,0,0,0,0,0,0,20,21,19,22,20,20,21,21,19],[0,28,27,27,28,28,27,27,28,26,27,26,27,26,26,27,27,25,26,26,0,0,0,0,0,0,0,0,26,26,25,27,26,27,27,27,27,27,28,27,0,0,0,0,0,0,0,0,24,24,24,22,23,22,22,21,20,21,20,18,0,0,0,0,0,0,0,0,11,10,10,10,9,10,11,12,13,13,15,13,0,0,0,0,0,0,0,0,17,18,17,17,17,17,17,17,18,18,18,18,0,0,0,0,0,0,0,0,18,19,19,18,19,21,18,19,18,17,17,17,0,0,0,0,0,0,0,0,19,17,16,17,17,16,16,16,17,17,17,17,0,0,0,0,0,0,0,0,17,17,18,18,17,17,17,18,17,17,17,16,0,0,0,0,0,0,0,0,18,16,16,17,15,15,16,17,15,16,15,15,0,0,0,0,0,0,0,0,15,15,14,17,15,15,15,14,16,17,15,15,0,0,0,0,0,0,0,0,16,18,17,16,15,17,16,16,18,17,16,16,0,0,0,0,0,0,0,0,15,14,12,12,11,13,14,14,13,14,13,14,0,0,0,0,0,0,0,0,12,11,13,12,11,11,12,13,14,13,12,12,0,0,0,0,0,0,0,0,14,13,13,13,13,12,13,13,12,14,15,15,0,0,0,0,0,0,0,0,13,12,11,11,12,11,11,10,10,10,8,8,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,6,6,7,6,0,0,0,0,0,0,0,0,9,9,8,9,11,10,11,12,13,13,15,16,0,0,0,0,0,0,0,0,19,18,19,21,21,21,22,23,24,22,24,22,0,0,0,0,0,0,0,0,21,20,21,21,20,23,23,24,25,24,25,26,0,0,0,0,0,0,0,0,25,26,24,27,26,25,26,22,26,25,24,25,0,0,0,0,0,0,0,0,23,21,21,21,19,18,17,15,14,12,10,9,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,1,1,0,0,0,0,0,0,0,0,3,3,4,3,3,3,3,3,3,2,2,2,0,0,0,0,0,0,0,0,4,3,4,4,4,4,5,4,5,6,6,5,0,0,0,0,0,0,0,0,7,8,9,9,9,9,10,10,10,9,9,8,0,0,0,0,0,0,0,0,9,9,10,10,10,10,10,10,9,10,9,10,0,0,0,0,0,0,0,0,11,12,12,11,11,11,12,12,15,13,13,13,0,0,0,0,0,0,0,0,16,17,17,17,16,16,15,17,16,17,17,15,0,0,0,0,0,0,0,0,15,14,14,13,14,13,12,11,12,11,11,9,0,0,0,0,0,0,0,0,8,8,7,7,8,7,8,7,7,8,7,8,0,0,0,0,0,0,0,0,9,8,9,9,9,9,9,9,9,9,10,10,0,0,0,0,0,0,0,0,13,15,16,17,16,17,17,17,17,16,17,17,0,0,0,0,0,0,0,0,17,17,18,18,17,16,15,15,15,13,12,10,0,0,0,0,0,0,0,0,9,8,9,9,8,8,8,7,7,7,7,6,0,0,0,0,0,0,0,0,7,7,8,7,8,8,7,8,8,8,8,9,0,0,0,0,0,0,0,0,8,8,7,7,8,7,6,7,6,6,5,6,0,0,0,0,0,0,0,0,6,7,7,7,7,8,7,6,8,7,6,6,0,0,0,0,0,0,0,0,4,4,5,5,5,5,6,6,7,8,7,8,0,0,0,0,0,0,0,0,7,8,7,7,8,8,7,8,9,8,8,9,0,0,0,0,0,0,0,0,12,13,12,13,13,14,15,17,17,18,20,20,0,0,0,0,0,0,0,0,22,22,24,24,23,23,24,22,24,24,23,25,0,0,0,0,0,0,0,0,20,21,19,22,21,20,20,21,19],[0,28,28,28,28,29,28,27,28,27,26,27,27,27,27,27,26,25,26,26,0,0,0,0,0,0,0,0,27,27,26,27,27,28,27,28,28,27,28,27,0,0,0,0,0,0,0,0,25,25,25,23,23,23,22,23,22,22,20,20,0,0,0,0,0,0,0,0,14,14,14,13,14,14,16,16,18,18,19,18,0,0,0,0,0,0,0,0,19,21,21,20,21,21,20,20,21,21,21,21,0,0,0,0,0,0,0,0,21,21,21,21,22,22,22,21,21,21,21,20,0,0,0,0,0,0,0,0,21,19,19,21,20,19,18,19,21,21,20,20,0,0,0,0,0,0,0,0,20,20,21,21,20,20,21,21,21,21,21,20,0,0,0,0,0,0,0,0,21,20,19,20,19,20,19,20,18,19,19,20,0,0,0,0,0,0,0,0,19,19,17,20,20,20,18,18,19,19,19,18,0,0,0,0,0,0,0,0,18,20,20,19,19,21,20,19,21,20,19,19,0,0,0,0,0,0,0,0,19,18,17,17,16,17,17,18,17,17,16,18,0,0,0,0,0,0,0,0,15,16,17,16,15,15,15,16,17,17,16,15,0,0,0,0,0,0,0,0,18,16,18,17,18,17,17,17,17,18,18,18,0,0,0,0,0,0,0,0,17,15,16,16,16,14,15,15,14,15,13,13,0,0,0,0,0,0,0,0,10,10,10,9,10,10,10,10,8,8,8,8,0,0,0,0,0,0,0,0,12,12,11,12,13,13,13,15,15,15,18,16,0,0,0,0,0,0,0,0,19,18,19,22,21,20,22,23,23,22,23,22,0,0,0,0,0,0,0,0,21,22,22,22,22,23,24,24,25,25,26,26,0,0,0,0,0,0,0,0,24,25,24,26,26,24,26,24,24,25,24,26,0,0,0,0,0,0,0,0,22,22,22,20,20,18,18,15,16,14,12,10,0,0,0,0,0,0,0,0,5,5,5,5,4,4,4,3,4,4,3,3,0,0,0,0,0,0,0,0,5,5,6,5,4,5,5,4,4,3,2,3,0,0,0,0,0,0,0,0,6,5,5,7,6,6,7,7,9,8,10,9,0,0,0,0,0,0,0,0,11,11,10,10,11,13,13,12,12,12,12,12,0,0,0,0,0,0,0,0,13,13,14,15,14,14,14,14,12,15,14,13,0,0,0,0,0,0,0,0,15,16,17,17,16,16,15,16,18,16,18,18,0,0,0,0,0,0,0,0,18,18,20,20,17,19,20,19,17,18,20,17,0,0,0,0,0,0,0,0,20,19,18,19,19,18,17,16,16,14,15,15,0,0,0,0,0,0,0,0,12,12,10,11,11,11,11,11,11,12,11,11,0,0,0,0,0,0,0,0,13,12,14,13,14,14,13,14,15,14,15,15,0,0,0,0,0,0,0,0,19,19,20,20,19,19,20,21,20,19,19,20,0,0,0,0,0,0,0,0,19,19,19,20,20,18,20,19,18,17,16,16,0,0,0,0,0,0,0,0,13,12,13,13,12,12,12,11,9,10,12,9,0,0,0,0,0,0,0,0,11,12,12,11,12,11,12,12,12,12,12,14,0,0,0,0,0,0,0,0,12,12,10,10,11,11,9,10,10,9,9,10,0,0,0,0,0,0,0,0,9,11,11,10,11,10,10,10,10,9,9,9,0,0,0,0,0,0,0,0,6,6,7,7,7,7,8,8,10,10,9,11,0,0,0,0,0,0,0,0,12,10,11,11,13,10,12,12,12,11,12,13,0,0,0,0,0,0,0,0,13,15,14,15,15,16,16,17,17,18,17,21,0,0,0,0,0,0,0,0,22,21,25,24,22,22,25,22,22,23,22,22,0,0,0,0,0,0,0,0,22,20,20,22,22,19,19,21,19],[0,28,27,28,28,28,28,27,28,27,26,27,27,26,27,26,26,24,27,27,0,0,0,0,0,0,0,0,28,26,28,28,26,28,28,28,27,28,28,29,0,0,0,0,0,0,0,0,26,27,26,25,25,25,25,24,24,24,22,21,0,0,0,0,0,0,0,0,15,17,17,17,17,17,17,18,20,19,21,21,0,0,0,0,0,0,0,0,23,23,23,22,24,23,23,23,24,23,23,23,0,0,0,0,0,0,0,0,23,23,25,24,24,24,23,23,23,24,22,22,0,0,0,0,0,0,0,0,24,21,22,25,22,21,21,23,22,22,23,22,0,0,0,0,0,0,0,0,22,23,23,24,23,21,23,23,24,22,23,22,0,0,0,0,0,0,0,0,23,22,21,23,22,22,22,22,21,20,21,20,0,0,0,0,0,0,0,0,21,21,20,23,21,21,21,21,22,22,20,21,0,0,0,0,0,0,0,0,22,23,23,22,22,23,23,21,24,23,22,22,0,0,0,0,0,0,0,0,21,20,19,19,18,19,18,18,20,18,17,19,0,0,0,0,0,0,0,0,18,19,18,17,17,17,17,18,19,18,17,17,0,0,0,0,0,0,0,0,19,18,19,18,21,17,19,21,19,21,20,21,0,0,0,0,0,0,0,0,19,17,18,18,19,18,16,17,17,17,16,16,0,0,0,0,0,0,0,0,12,12,13,13,11,11,11,12,10,11,11,11,0,0,0,0,0,0,0,0,13,14,12,13,14,14,15,16,17,17,19,19,0,0,0,0,0,0,0,0,20,18,21,23,22,22,23,24,24,22,25,22,0,0,0,0,0,0,0,0,22,22,22,23,23,23,24,26,26,26,26,26,0,0,0,0,0,0,0,0,25,25,25,26,25,24,26,23,25,24,25,25,0,0,0,0,0,0,0,0,22,22,22,20,21,19,19,17,16,15,14,12,0,0,0,0,0,0,0,0,8,7,5,6,7,4,5,5,3,4,5,4,0,0,0,0,0,0,0,0,4,4,5,5,5,6,4,4,4,4,3,3,0,0,0,0,0,0,0,0,8,7,7,7,9,9,10,10,11,12,12,10,0,0,0,0,0,0,0,0,12,10,9,11,12,11,12,13,13,13,13,12,0,0,0,0,0,0,0,0,15,16,16,16,15,16,15,15,16,15,15,15,0,0,0,0,0,0,0,0,16,18,17,17,16,17,17,17,20,17,18,19,0,0,0,0,0,0,0,0,21,21,22,22,21,21,22,23,22,22,22,21,0,0,0,0,0,0,0,0,21,21,19,19,20,19,18,18,18,17,18,16,0,0,0,0,0,0,0,0,14,13,13,13,14,13,12,13,14,13,14,14,0,0,0,0,0,0,0,0,15,13,13,14,16,15,14,16,16,15,16,17,0,0,0,0,0,0,0,0,20,22,22,22,22,22,22,24,23,21,23,23,0,0,0,0,0,0,0,0,22,22,23,22,21,20,22,21,20,20,18,18,0,0,0,0,0,0,0,0,17,15,15,15,14,14,14,13,13,13,13,13,0,0,0,0,0,0,0,0,15,12,14,14,14,15,12,14,14,15,14,15,0,0,0,0,0,0,0,0,14,14,14,14,14,14,13,14,13,12,10,13,0,0,0,0,0,0,0,0,11,13,14,14,14,13,15,11,14,13,12,12,0,0,0,0,0,0,0,0,9,8,10,10,10,11,10,10,11,12,11,12,0,0,0,0,0,0,0,0,12,10,13,15,12,12,16,13,14,14,14,14,0,0,0,0,0,0,0,0,15,15,14,15,16,17,17,19,17,21,19,24,0,0,0,0,0,0,0,0,23,23,26,24,22,24,25,22,25,26,23,23,0,0,0,0,0,0,0,0,23,21,20,22,20,20,19,20,17],[0,28,28,28,28,29,29,28,28,28,27,27,27,27,27,27,27,26,27,27,0,0,0,0,0,0,0,0,28,28,28,29,28,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,28,27,27,27,27,26,26,25,26,25,24,0,0,0,0,0,0,0,0,18,18,18,17,18,17,20,20,21,21,23,21,0,0,0,0,0,0,0,0,24,24,25,23,24,24,24,24,25,24,24,24,0,0,0,0,0,0,0,0,25,25,25,25,25,26,25,25,25,24,24,24,0,0,0,0,0,0,0,0,24,23,22,24,23,23,23,24,23,24,24,24,0,0,0,0,0,0,0,0,25,24,24,25,25,23,25,24,25,24,24,24,0,0,0,0,0,0,0,0,24,23,22,24,23,22,23,23,22,22,22,23,0,0,0,0,0,0,0,0,23,22,20,23,22,22,21,21,22,23,22,22,0,0,0,0,0,0,0,0,22,24,24,22,23,24,24,23,24,24,23,23,0,0,0,0,0,0,0,0,23,20,19,20,18,20,19,20,20,20,19,20,0,0,0,0,0,0,0,0,18,17,19,19,17,17,17,19,20,19,17,17,0,0,0,0,0,0,0,0,20,19,19,19,21,19,20,21,20,21,21,22,0,0,0,0,0,0,0,0,21,18,18,20,19,16,17,19,18,15,16,16,0,0,0,0,0,0,0,0,12,12,10,10,12,11,9,10,9,10,11,10,0,0,0,0,0,0,0,0,15,15,14,15,17,16,16,19,19,19,21,19,0,0,0,0,0,0,0,0,22,22,24,25,25,24,26,25,26,24,25,24,0,0,0,0,0,0,0,0,23,23,24,23,23,24,24,25,26,26,26,26,0,0,0,0,0,0,0,0,25,26,24,26,26,25,26,24,25,25,26,26,0,0,0,0,0,0,0,0,24,24,24,22,23,20,20,18,18,16,15,13,0,0,0,0,0,0,0,0,6,6,5,5,5,4,5,4,3,4,5,4,0,0,0,0,0,0,0,0,3,3,4,5,4,6,7,6,6,5,6,6,0,0,0,0,0,0,0,0,8,7,7,8,8,8,8,8,9,10,10,9,0,0,0,0,0,0,0,0,10,10,10,10,11,11,11,11,12,13,10,12,0,0,0,0,0,0,0,0,15,13,14,16,15,13,15,15,13,14,15,15,0,0,0,0,0,0,0,0,17,19,19,19,18,19,19,19,21,20,20,21,0,0,0,0,0,0,0,0,23,22,23,23,23,22,23,24,24,24,23,22,0,0,0,0,0,0,0,0,24,22,21,20,22,21,20,19,19,18,17,17,0,0,0,0,0,0,0,0,13,11,12,11,11,10,10,12,12,11,11,13,0,0,0,0,0,0,0,0,14,12,15,15,15,14,16,17,16,16,17,18,0,0,0,0,0,0,0,0,22,23,22,23,23,23,24,24,23,23,24,25,0,0,0,0,0,0,0,0,24,23,24,24,22,23,23,22,21,21,19,19,0,0,0,0,0,0,0,0,17,15,16,15,12,14,14,12,10,11,13,12,0,0,0,0,0,0,0,0,12,13,12,13,14,14,13,15,15,14,14,16,0,0,0,0,0,0,0,0,15,15,13,12,14,14,11,12,13,12,10,11,0,0,0,0,0,0,0,0,13,14,14,13,14,14,14,12,14,13,13,14,0,0,0,0,0,0,0,0,9,9,11,11,11,11,11,11,12,12,12,12,0,0,0,0,0,0,0,0,11,10,10,12,11,10,12,12,11,10,13,13,0,0,0,0,0,0,0,0,14,16,15,15,16,18,16,19,18,19,19,23,0,0,0,0,0,0,0,0,24,23,26,26,25,24,25,24,26,25,25,25,0,0,0,0,0,0,0,0,22,23,20,24,20,20,22,21,18],[0,29,29,29,29,29,29,29,29,29,28,28,29,27,29,28,29,28,29,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,29,30,29,30,30,29,0,0,0,0,0,0,0,0,28,28,27,27,27,27,27,27,26,26,25,25,0,0,0,0,0,0,0,0,19,19,19,19,18,19,19,19,22,21,23,22,0,0,0,0,0,0,0,0,25,25,25,26,26,26,25,26,27,26,26,27,0,0,0,0,0,0,0,0,25,25,26,26,27,27,25,26,25,25,24,24,0,0,0,0,0,0,0,0,26,25,24,26,25,24,24,25,25,25,25,25,0,0,0,0,0,0,0,0,26,26,25,25,26,25,25,26,26,25,25,24,0,0,0,0,0,0,0,0,25,24,24,26,24,24,25,25,22,23,24,23,0,0,0,0,0,0,0,0,23,24,24,24,22,24,24,23,24,25,24,24,0,0,0,0,0,0,0,0,24,25,25,25,25,26,25,25,26,26,25,23,0,0,0,0,0,0,0,0,23,21,18,21,19,20,18,19,20,21,18,20,0,0,0,0,0,0,0,0,19,19,20,18,19,19,19,18,20,19,18,19,0,0,0,0,0,0,0,0,22,19,21,22,22,20,22,22,22,22,23,24,0,0,0,0,0,0,0,0,21,19,19,19,19,18,17,19,18,17,17,17,0,0,0,0,0,0,0,0,12,13,13,11,11,12,10,10,9,11,12,11,0,0,0,0,0,0,0,0,16,19,17,18,18,19,18,19,20,20,21,20,0,0,0,0,0,0,0,0,23,23,22,25,25,24,25,25,26,25,26,26,0,0,0,0,0,0,0,0,23,24,25,24,24,25,25,26,26,26,26,26,0,0,0,0,0,0,0,0,26,27,27,27,28,26,26,26,26,26,27,27,0,0,0,0,0,0,0,0,24,25,24,23,24,22,23,19,18,19,16,14,0,0,0,0,0,0,0,0,9,6,6,8,6,5,6,6,5,3,6,6,0,0,0,0,0,0,0,0,1,3,4,4,5,6,6,6,6,7,6,8,0,0,0,0,0,0,0,0,10,9,8,10,9,9,11,9,11,12,11,10,0,0,0,0,0,0,0,0,11,10,11,11,12,13,13,13,13,13,12,14,0,0,0,0,0,0,0,0,17,16,17,18,16,16,18,17,16,18,17,18,0,0,0,0,0,0,0,0,19,21,19,19,19,20,20,20,22,21,22,22,0,0,0,0,0,0,0,0,24,25,25,25,25,24,25,26,26,25,25,25,0,0,0,0,0,0,0,0,23,23,21,21,21,20,19,19,19,19,18,17,0,0,0,0,0,0,0,0,15,13,13,14,12,12,12,15,14,13,15,16,0,0,0,0,0,0,0,0,17,16,18,16,18,18,17,18,19,18,20,20,0,0,0,0,0,0,0,0,24,22,24,24,25,26,25,25,25,25,26,25,0,0,0,0,0,0,0,0,26,25,24,25,25,23,23,23,22,22,22,21,0,0,0,0,0,0,0,0,18,17,17,17,14,16,15,15,14,15,14,12,0,0,0,0,0,0,0,0,16,15,17,17,16,17,17,17,16,18,17,18,0,0,0,0,0,0,0,0,16,16,15,16,16,16,13,15,16,12,12,13,0,0,0,0,0,0,0,0,13,13,16,14,15,15,17,14,15,15,14,14,0,0,0,0,0,0,0,0,9,11,12,11,12,11,12,11,13,12,13,13,0,0,0,0,0,0,0,0,12,12,12,14,13,14,14,15,13,13,15,15,0,0,0,0,0,0,0,0,16,17,16,16,17,18,18,21,19,21,21,22,0,0,0,0,0,0,0,0,25,23,25,26,24,25,25,25,24,25,25,24,0,0,0,0,0,0,0,0,24,22,22,22,23,22,21,22,20],[0,28,28,29,28,29,29,28,28,28,27,27,27,27,28,27,28,27,28,28,0,0,0,0,0,0,0,0,28,29,28,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,28,28,28,27,27,26,27,26,26,0,0,0,0,0,0,0,0,20,20,20,19,19,18,20,21,22,23,24,23,0,0,0,0,0,0,0,0,25,26,26,26,26,26,26,26,27,27,27,26,0,0,0,0,0,0,0,0,26,26,26,26,26,27,26,26,26,26,26,25,0,0,0,0,0,0,0,0,27,25,25,26,26,25,23,24,25,26,26,26,0,0,0,0,0,0,0,0,26,27,26,26,26,26,26,26,27,26,26,25,0,0,0,0,0,0,0,0,26,25,24,26,25,24,25,25,23,24,24,24,0,0,0,0,0,0,0,0,24,24,22,25,22,23,24,22,23,24,24,23,0,0,0,0,0,0,0,0,24,25,25,25,25,26,26,25,26,26,26,25,0,0,0,0,0,0,0,0,23,22,20,21,21,22,21,22,22,22,20,23,0,0,0,0,0,0,0,0,19,18,20,20,19,19,19,19,20,20,18,18,0,0,0,0,0,0,0,0,22,20,20,22,23,21,21,21,21,23,24,25,0,0,0,0,0,0,0,0,23,20,20,21,21,18,18,19,19,17,18,18,0,0,0,0,0,0,0,0,13,13,12,12,12,12,11,12,11,12,13,12,0,0,0,0,0,0,0,0,17,17,17,18,18,19,18,20,21,20,21,22,0,0,0,0,0,0,0,0,24,24,25,25,26,26,27,26,26,25,26,25,0,0,0,0,0,0,0,0,23,24,24,24,25,24,25,26,26,26,27,28,0,0,0,0,0,0,0,0,27,27,26,28,28,27,28,25,27,27,26,28,0,0,0,0,0,0,0,0,26,25,25,24,23,23,21,19,19,17,17,15,0,0,0,0,0,0,0,0,8,7,6,7,6,5,6,7,5,4,6,6,0,0,0,0,0,0,0,0,0,1,3,5,5,6,5,7,7,7,7,9,0,0,0,0,0,0,0,0,10,9,9,11,10,10,9,10,10,12,11,9,0,0,0,0,0,0,0,0,11,12,12,11,12,13,13,13,14,14,12,14,0,0,0,0,0,0,0,0,17,13,16,17,16,16,18,16,15,17,16,16,0,0,0,0,0,0,0,0,19,21,21,19,20,20,21,20,21,20,20,22,0,0,0,0,0,0,0,0,24,25,26,25,23,25,25,25,24,26,26,24,0,0,0,0,0,0,0,0,25,25,23,23,23,23,21,21,21,19,18,18,0,0,0,0,0,0,0,0,14,13,13,13,12,12,12,14,13,13,14,15,0,0,0,0,0,0,0,0,16,14,17,16,17,17,18,19,19,18,19,20,0,0,0,0,0,0,0,0,25,24,25,25,26,26,26,26,26,25,26,27,0,0,0,0,0,0,0,0,25,25,24,25,25,24,25,24,23,23,22,22,0,0,0,0,0,0,0,0,18,17,17,17,15,16,16,15,13,15,15,14,0,0,0,0,0,0,0,0,15,15,16,16,16,17,15,17,17,16,17,20,0,0,0,0,0,0,0,0,18,17,15,14,16,16,14,15,15,14,13,14,0,0,0,0,0,0,0,0,14,15,16,15,15,16,17,15,14,15,15,14,0,0,0,0,0,0,0,0,10,11,13,13,12,13,12,12,13,13,14,13,0,0,0,0,0,0,0,0,12,11,12,14,13,11,13,14,12,11,14,14,0,0,0,0,0,0,0,0,16,16,14,14,16,18,16,21,19,20,20,22,0,0,0,0,0,0,0,0,23,23,25,25,24,25,26,24,24,24,24,24,0,0,0,0,0,0,0,0,24,21,21,22,23,20,20,22,18],[0,29,29,30,29,29,30,29,29,29,28,28,29,28,29,28,29,27,29,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,28,29,29,29,28,28,28,27,27,28,0,0,0,0,0,0,0,0,22,22,23,19,21,19,22,23,24,24,26,25,0,0,0,0,0,0,0,0,28,27,27,28,28,28,28,28,29,28,29,28,0,0,0,0,0,0,0,0,28,28,29,28,29,29,28,29,27,28,27,28,0,0,0,0,0,0,0,0,28,27,27,28,27,27,26,27,27,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,27,28,27,29,28,28,28,0,0,0,0,0,0,0,0,27,27,27,28,26,27,27,27,25,26,26,27,0,0,0,0,0,0,0,0,26,25,26,26,24,26,26,25,26,26,25,26,0,0,0,0,0,0,0,0,26,26,28,27,26,28,27,27,27,27,27,26,0,0,0,0,0,0,0,0,26,25,21,23,22,24,23,25,23,25,23,24,0,0,0,0,0,0,0,0,20,20,22,22,20,22,21,21,22,22,21,20,0,0,0,0,0,0,0,0,24,21,22,23,24,23,22,25,25,25,26,26,0,0,0,0,0,0,0,0,24,21,20,22,23,19,20,22,21,17,20,20,0,0,0,0,0,0,0,0,16,15,14,15,15,15,12,13,11,12,14,13,0,0,0,0,0,0,0,0,19,21,17,20,19,19,21,22,22,23,24,23,0,0,0,0,0,0,0,0,26,25,28,27,27,26,28,28,28,26,28,26,0,0,0,0,0,0,0,0,23,25,25,23,25,26,26,27,27,27,28,28,0,0,0,0,0,0,0,0,28,28,27,28,28,28,28,26,27,26,27,28,0,0,0,0,0,0,0,0,25,25,26,24,25,24,23,21,21,19,19,17,0,0,0,0,0,0,0,0,8,6,7,9,5,5,9,9,6,6,9,9,0,0,0,0,0,0,0,0,1,0,1,5,4,7,8,8,7,8,8,10,0,0,0,0,0,0,0,0,11,9,8,11,11,9,11,10,12,13,13,11,0,0,0,0,0,0,0,0,13,13,12,16,14,16,18,15,17,16,14,16,0,0,0,0,0,0,0,0,18,16,18,20,18,17,20,19,17,20,19,19,0,0,0,0,0,0,0,0,21,24,23,21,23,23,22,23,25,23,24,23,0,0,0,0,0,0,0,0,27,27,27,27,28,27,28,29,28,28,27,27,0,0,0,0,0,0,0,0,25,25,24,24,24,24,21,21,22,21,19,19,0,0,0,0,0,0,0,0,16,15,15,16,14,16,14,17,16,16,15,19,0,0,0,0,0,0,0,0,18,17,19,19,19,19,20,21,19,20,22,24,0,0,0,0,0,0,0,0,26,25,27,27,28,28,27,27,27,27,28,28,0,0,0,0,0,0,0,0,28,27,27,27,27,26,26,25,26,25,24,24,0,0,0,0,0,0,0,0,19,18,19,19,17,18,18,18,16,16,16,16,0,0,0,0,0,0,0,0,18,19,18,19,18,19,18,20,20,18,20,22,0,0,0,0,0,0,0,0,19,20,18,18,19,19,16,17,18,15,16,18,0,0,0,0,0,0,0,0,18,19,21,19,19,20,19,18,18,18,18,18,0,0,0,0,0,0,0,0,13,15,15,15,16,17,17,17,18,18,17,17,0,0,0,0,0,0,0,0,16,16,15,15,14,14,15,15,13,14,15,16,0,0,0,0,0,0,0,0,16,20,18,18,19,18,20,22,22,23,23,24,0,0,0,0,0,0,0,0,26,25,27,27,26,26,27,26,26,28,28,26,0,0,0,0,0,0,0,0,26,24,25,25,25,23,23,23,21],[0,29,29,29,30,30,30,30,29,29,29,29,29,28,29,28,29,29,28,30,0,0,0,0,0,0,0,0,30,29,29,30,30,30,29,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,28,28,28,28,28,27,27,28,26,27,0,0,0,0,0,0,0,0,21,22,22,20,20,21,22,21,23,23,24,23,0,0,0,0,0,0,0,0,26,27,26,26,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,26,27,27,27,27,28,27,27,27,26,25,25,0,0,0,0,0,0,0,0,27,26,25,27,26,25,25,26,25,26,25,26,0,0,0,0,0,0,0,0,27,27,26,26,26,25,25,26,27,26,26,26,0,0,0,0,0,0,0,0,25,25,24,26,24,25,25,25,24,24,24,25,0,0,0,0,0,0,0,0,24,24,24,24,23,25,24,24,25,25,24,24,0,0,0,0,0,0,0,0,25,25,25,26,25,26,25,25,25,26,26,25,0,0,0,0,0,0,0,0,23,23,21,22,21,22,22,22,23,22,21,22,0,0,0,0,0,0,0,0,21,22,21,21,22,22,22,21,21,22,22,21,0,0,0,0,0,0,0,0,22,22,23,23,23,23,23,23,23,23,24,24,0,0,0,0,0,0,0,0,22,21,20,22,22,20,20,20,21,20,20,19,0,0,0,0,0,0,0,0,12,13,13,12,11,11,11,11,12,11,12,12,0,0,0,0,0,0,0,0,19,20,17,18,19,19,20,22,22,22,24,22,0,0,0,0,0,0,0,0,25,24,26,26,26,26,27,27,27,26,27,26,0,0,0,0,0,0,0,0,23,24,25,24,25,25,25,26,27,26,27,27,0,0,0,0,0,0,0,0,26,27,26,27,28,26,27,26,27,27,26,28,0,0,0,0,0,0,0,0,26,25,26,24,25,24,23,20,20,18,17,16,0,0,0,0,0,0,0,0,8,6,7,9,5,5,9,7,5,6,7,6,0,0,0,0,0,0,0,0,3,2,0,2,4,4,6,6,7,8,7,9,0,0,0,0,0,0,0,0,9,8,7,9,10,8,10,10,12,13,13,9,0,0,0,0,0,0,0,0,13,10,9,11,13,15,17,14,14,16,12,14,0,0,0,0,0,0,0,0,19,18,19,20,19,17,20,19,19,18,20,19,0,0,0,0,0,0,0,0,21,21,21,22,21,21,21,22,22,23,22,23,0,0,0,0,0,0,0,0,25,25,25,24,26,25,26,26,25,25,26,26,0,0,0,0,0,0,0,0,23,23,24,22,22,22,21,22,21,20,19,19,0,0,0,0,0,0,0,0,15,13,12,14,12,14,14,14,13,15,13,18,0,0,0,0,0,0,0,0,18,17,17,18,19,18,20,20,20,19,21,21,0,0,0,0,0,0,0,0,24,24,25,25,26,26,25,26,26,26,26,26,0,0,0,0,0,0,0,0,26,24,26,26,25,25,25,24,23,24,22,23,0,0,0,0,0,0,0,0,18,18,18,18,16,17,18,14,14,14,14,14,0,0,0,0,0,0,0,0,17,14,15,18,17,18,16,19,19,19,19,21,0,0,0,0,0,0,0,0,18,18,16,17,18,17,14,15,17,13,13,15,0,0,0,0,0,0,0,0,15,16,19,18,16,19,18,16,17,17,14,15,0,0,0,0,0,0,0,0,11,12,13,13,13,13,13,14,14,14,14,14,0,0,0,0,0,0,0,0,12,12,14,13,12,14,14,13,12,12,14,14,0,0,0,0,0,0,0,0,16,19,16,17,19,17,18,22,21,22,23,25,0,0,0,0,0,0,0,0,27,24,27,27,27,27,28,28,27,28,27,26,0,0,0,0,0,0,0,0,25,24,24,25,23,22,24,24,20],[0,29,28,29,29,29,30,29,29,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,29,28,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,27,27,27,26,26,26,25,24,23,0,0,0,0,0,0,0,0,17,18,18,18,17,17,17,18,19,19,20,20,0,0,0,0,0,0,0,0,22,23,24,23,23,24,24,24,24,23,24,25,0,0,0,0,0,0,0,0,24,22,23,24,23,24,24,23,24,22,22,21,0,0,0,0,0,0,0,0,23,22,22,23,21,21,21,21,21,22,22,23,0,0,0,0,0,0,0,0,22,23,23,23,23,21,22,23,24,23,23,21,0,0,0,0,0,0,0,0,22,21,21,22,21,21,21,22,20,20,21,21,0,0,0,0,0,0,0,0,21,22,19,20,20,20,20,19,20,21,20,19,0,0,0,0,0,0,0,0,22,22,23,22,21,22,22,22,22,23,22,22,0,0,0,0,0,0,0,0,20,20,17,18,17,18,18,18,18,18,17,18,0,0,0,0,0,0,0,0,16,17,17,18,18,17,17,17,18,18,18,17,0,0,0,0,0,0,0,0,19,20,18,19,20,20,20,19,19,21,20,21,0,0,0,0,0,0,0,0,19,19,18,18,19,17,16,18,17,16,17,15,0,0,0,0,0,0,0,0,11,12,12,10,11,12,10,10,9,10,10,10,0,0,0,0,0,0,0,0,14,15,14,15,15,16,17,17,18,19,20,19,0,0,0,0,0,0,0,0,22,22,24,24,26,25,26,26,27,25,27,25,0,0,0,0,0,0,0,0,23,24,25,24,27,25,26,27,27,27,27,28,0,0,0,0,0,0,0,0,27,28,27,28,28,26,28,26,26,27,26,27,0,0,0,0,0,0,0,0,25,25,24,23,23,21,21,19,18,17,15,13,0,0,0,0,0,0,0,0,5,4,4,4,4,4,5,4,3,4,5,5,0,0,0,0,0,0,0,0,4,3,1,0,1,2,2,4,6,6,5,7,0,0,0,0,0,0,0,0,5,5,5,5,6,6,8,7,9,10,9,8,0,0,0,0,0,0,0,0,10,9,9,10,10,12,11,12,12,12,12,13,0,0,0,0,0,0,0,0,15,14,15,16,16,15,15,15,15,15,15,16,0,0,0,0,0,0,0,0,17,19,19,19,17,17,19,18,20,18,18,20,0,0,0,0,0,0,0,0,22,22,22,22,21,21,22,22,22,23,24,22,0,0,0,0,0,0,0,0,22,21,21,21,22,21,20,20,19,19,18,16,0,0,0,0,0,0,0,0,14,12,11,13,12,10,10,13,13,11,13,14,0,0,0,0,0,0,0,0,15,13,14,15,16,16,16,18,18,17,17,17,0,0,0,0,0,0,0,0,21,21,22,22,23,23,23,23,22,22,24,24,0,0,0,0,0,0,0,0,22,21,22,22,21,22,21,20,19,20,19,20,0,0,0,0,0,0,0,0,16,15,15,15,14,15,14,13,13,14,13,10,0,0,0,0,0,0,0,0,14,15,14,15,14,15,14,15,16,15,15,17,0,0,0,0,0,0,0,0,14,14,14,15,14,14,12,14,13,11,11,13,0,0,0,0,0,0,0,0,12,13,14,13,14,13,14,12,13,12,13,12,0,0,0,0,0,0,0,0,7,8,10,11,10,12,11,12,13,13,12,13,0,0,0,0,0,0,0,0,10,9,9,11,10,9,11,11,10,12,13,12,0,0,0,0,0,0,0,0,14,15,14,14,15,15,17,18,19,19,20,22,0,0,0,0,0,0,0,0,23,24,26,26,24,24,26,26,25,27,25,25,0,0,0,0,0,0,0,0,25,22,22,24,22,21,22,21,19],[0,29,29,29,29,30,29,29,29,29,29,29,29,28,29,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,30,30,29,30,29,29,30,29,0,0,0,0,0,0,0,0,28,27,27,27,27,27,26,26,26,25,24,25,0,0,0,0,0,0,0,0,17,17,17,17,16,16,16,18,18,18,17,18,0,0,0,0,0,0,0,0,20,20,20,21,21,22,20,22,22,21,22,22,0,0,0,0,0,0,0,0,22,20,21,21,22,23,22,21,22,19,20,19,0,0,0,0,0,0,0,0,21,20,20,21,20,19,20,20,20,21,20,21,0,0,0,0,0,0,0,0,20,20,20,19,20,20,20,20,21,21,21,18,0,0,0,0,0,0,0,0,20,20,19,20,19,19,19,18,19,18,19,18,0,0,0,0,0,0,0,0,18,18,18,18,18,18,19,18,18,19,18,18,0,0,0,0,0,0,0,0,19,19,20,20,18,20,20,19,20,19,19,18,0,0,0,0,0,0,0,0,18,18,17,18,18,18,17,17,19,16,16,16,0,0,0,0,0,0,0,0,17,18,16,17,17,18,17,16,16,15,15,16,0,0,0,0,0,0,0,0,16,16,16,16,16,15,16,17,17,18,18,18,0,0,0,0,0,0,0,0,16,15,16,16,17,15,15,16,16,16,15,13,0,0,0,0,0,0,0,0,8,9,9,9,8,8,9,7,7,7,8,8,0,0,0,0,0,0,0,0,12,12,13,13,15,15,16,16,19,18,19,18,0,0,0,0,0,0,0,0,22,24,23,25,25,24,26,25,25,25,26,24,0,0,0,0,0,0,0,0,24,25,25,24,27,25,26,28,28,27,28,28,0,0,0,0,0,0,0,0,27,28,27,28,28,27,28,26,26,28,27,27,0,0,0,0,0,0,0,0,25,25,25,24,23,22,22,19,18,17,12,12,0,0,0,0,0,0,0,0,5,4,4,5,3,2,5,4,3,3,5,4,0,0,0,0,0,0,0,0,4,3,2,1,0,1,3,3,4,5,4,5,0,0,0,0,0,0,0,0,6,4,4,5,7,5,5,6,6,9,8,6,0,0,0,0,0,0,0,0,8,8,8,9,10,12,12,12,12,11,11,11,0,0,0,0,0,0,0,0,13,14,15,15,13,13,14,13,15,13,14,15,0,0,0,0,0,0,0,0,16,16,15,16,15,15,15,16,16,16,16,17,0,0,0,0,0,0,0,0,20,21,20,20,21,20,20,21,20,20,20,19,0,0,0,0,0,0,0,0,18,18,17,18,17,17,16,16,15,15,15,14,0,0,0,0,0,0,0,0,11,10,10,11,10,9,9,11,11,10,10,12,0,0,0,0,0,0,0,0,13,12,13,13,15,15,15,14,16,14,16,16,0,0,0,0,0,0,0,0,17,18,20,20,20,20,19,19,20,20,21,21,0,0,0,0,0,0,0,0,20,19,20,20,19,18,19,19,17,18,18,18,0,0,0,0,0,0,0,0,16,12,12,14,13,12,12,10,10,11,10,9,0,0,0,0,0,0,0,0,13,12,12,13,12,13,13,13,13,14,13,15,0,0,0,0,0,0,0,0,12,13,11,12,12,13,9,11,12,9,10,11,0,0,0,0,0,0,0,0,10,10,13,12,12,12,12,11,10,11,11,10,0,0,0,0,0,0,0,0,7,8,8,9,9,9,9,10,10,11,10,11,0,0,0,0,0,0,0,0,10,8,9,10,9,9,10,10,9,11,11,11,0,0,0,0,0,0,0,0,14,14,13,15,15,16,17,18,18,19,20,20,0,0,0,0,0,0,0,0,25,23,25,25,25,24,26,25,25,25,25,24,0,0,0,0,0,0,0,0,24,22,22,23,22,21,21,22,20],[0,29,28,29,29,29,29,29,28,28,28,28,29,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,29,29,29,28,29,28,29,29,29,0,0,0,0,0,0,0,0,28,27,28,27,26,27,26,25,26,25,24,24,0,0,0,0,0,0,0,0,17,16,17,15,15,14,15,17,17,17,17,18,0,0,0,0,0,0,0,0,21,21,21,21,22,22,21,21,21,22,22,22,0,0,0,0,0,0,0,0,22,21,22,22,22,23,22,22,22,21,20,20,0,0,0,0,0,0,0,0,21,20,21,22,19,20,20,21,21,21,21,20,0,0,0,0,0,0,0,0,20,21,20,20,20,19,20,20,22,21,21,20,0,0,0,0,0,0,0,0,18,19,19,19,18,19,19,19,18,19,19,18,0,0,0,0,0,0,0,0,17,18,17,19,17,19,18,18,20,19,18,18,0,0,0,0,0,0,0,0,19,20,21,20,19,21,20,19,20,21,19,18,0,0,0,0,0,0,0,0,18,17,16,18,18,18,17,19,19,17,17,17,0,0,0,0,0,0,0,0,16,17,16,15,16,16,16,15,15,15,17,14,0,0,0,0,0,0,0,0,16,15,14,16,18,16,16,16,17,17,17,19,0,0,0,0,0,0,0,0,15,14,15,15,15,14,14,16,16,13,14,12,0,0,0,0,0,0,0,0,8,9,9,8,8,8,7,7,7,7,8,8,0,0,0,0,0,0,0,0,11,13,12,14,14,14,15,16,16,17,20,17,0,0,0,0,0,0,0,0,22,21,22,23,24,23,25,26,25,24,26,24,0,0,0,0,0,0,0,0,21,22,22,22,25,24,24,25,25,26,26,28,0,0,0,0,0,0,0,0,26,27,26,28,27,26,27,24,27,27,26,27,0,0,0,0,0,0,0,0,25,24,24,23,23,22,21,19,16,16,11,11,0,0,0,0,0,0,0,0,4,3,4,4,4,3,3,4,3,4,4,4,0,0,0,0,0,0,0,0,4,4,3,2,1,0,1,2,3,4,4,5,0,0,0,0,0,0,0,0,5,5,4,5,5,4,5,5,7,7,7,6,0,0,0,0,0,0,0,0,8,8,8,9,9,11,11,11,11,10,10,10,0,0,0,0,0,0,0,0,12,11,13,13,13,11,12,12,12,12,12,13,0,0,0,0,0,0,0,0,15,16,15,15,15,15,15,16,18,16,16,17,0,0,0,0,0,0,0,0,19,20,20,20,20,20,20,21,19,20,20,18,0,0,0,0,0,0,0,0,19,18,17,18,17,17,14,16,15,14,14,13,0,0,0,0,0,0,0,0,10,9,9,10,9,8,8,10,10,9,10,11,0,0,0,0,0,0,0,0,11,10,11,12,13,12,13,14,14,13,15,15,0,0,0,0,0,0,0,0,18,18,20,20,21,21,19,19,19,20,21,22,0,0,0,0,0,0,0,0,19,20,20,21,19,19,19,18,17,17,16,18,0,0,0,0,0,0,0,0,14,12,12,12,11,10,11,10,9,10,10,8,0,0,0,0,0,0,0,0,11,11,10,11,11,12,12,12,12,12,12,14,0,0,0,0,0,0,0,0,12,12,11,10,11,11,9,10,10,9,9,10,0,0,0,0,0,0,0,0,10,11,11,12,12,12,11,11,12,11,11,10,0,0,0,0,0,0,0,0,6,7,8,9,10,9,9,9,10,11,10,10,0,0,0,0,0,0,0,0,9,8,8,9,9,8,9,9,8,9,10,10,0,0,0,0,0,0,0,0,13,14,13,15,15,16,17,19,19,19,20,22,0,0,0,0,0,0,0,0,24,23,26,26,24,26,27,26,24,27,26,26,0,0,0,0,0,0,0,0,24,22,22,24,25,21,22,24,21],[0,28,27,28,28,28,28,27,28,27,26,26,27,26,27,27,27,26,27,26,0,0,0,0,0,0,0,0,27,28,27,28,28,28,28,28,29,27,29,28,0,0,0,0,0,0,0,0,27,27,27,26,26,26,25,24,24,25,23,22,0,0,0,0,0,0,0,0,15,15,15,14,14,14,15,15,17,16,17,17,0,0,0,0,0,0,0,0,20,22,22,20,22,22,21,20,22,21,22,23,0,0,0,0,0,0,0,0,22,20,20,21,21,23,21,20,21,20,20,18,0,0,0,0,0,0,0,0,22,20,19,21,20,20,19,20,20,21,20,20,0,0,0,0,0,0,0,0,21,21,20,21,21,19,21,22,22,21,21,18,0,0,0,0,0,0,0,0,20,20,18,19,20,18,18,20,18,17,18,19,0,0,0,0,0,0,0,0,19,19,17,20,18,19,18,18,18,19,18,18,0,0,0,0,0,0,0,0,18,21,20,20,20,21,21,20,21,21,21,20,0,0,0,0,0,0,0,0,17,16,16,17,15,16,16,15,16,15,14,15,0,0,0,0,0,0,0,0,14,14,15,14,14,15,14,15,16,15,14,14,0,0,0,0,0,0,0,0,17,16,15,17,18,16,16,16,16,18,17,19,0,0,0,0,0,0,0,0,17,15,15,16,15,13,14,14,13,12,13,12,0,0,0,0,0,0,0,0,8,8,8,7,8,7,6,5,5,6,7,7,0,0,0,0,0,0,0,0,12,13,13,12,13,14,15,16,16,16,18,17,0,0,0,0,0,0,0,0,20,19,21,22,22,21,23,24,24,22,24,23,0,0,0,0,0,0,0,0,21,22,23,22,24,24,24,25,25,26,26,26,0,0,0,0,0,0,0,0,25,25,25,26,26,24,26,24,25,25,25,26,0,0,0,0,0,0,0,0,23,23,22,21,22,19,18,16,14,14,12,11,0,0,0,0,0,0,0,0,4,3,4,4,3,3,4,4,4,4,4,3,0,0,0,0,0,0,0,0,4,4,4,3,2,1,0,1,3,2,2,3,0,0,0,0,0,0,0,0,4,4,4,4,5,4,5,5,7,6,7,6,0,0,0,0,0,0,0,0,8,9,8,8,9,10,11,11,11,10,10,10,0,0,0,0,0,0,0,0,12,11,12,12,12,12,12,12,12,12,12,13,0,0,0,0,0,0,0,0,15,16,16,16,15,14,17,16,17,16,16,19,0,0,0,0,0,0,0,0,20,20,21,20,20,20,18,19,19,20,20,19,0,0,0,0,0,0,0,0,20,20,18,19,19,18,17,17,15,14,12,13,0,0,0,0,0,0,0,0,10,9,10,9,10,8,9,9,11,10,10,10,0,0,0,0,0,0,0,0,11,10,12,12,13,13,13,15,14,13,14,15,0,0,0,0,0,0,0,0,18,19,20,20,19,20,21,21,19,19,20,22,0,0,0,0,0,0,0,0,19,19,20,20,19,18,20,19,16,18,16,18,0,0,0,0,0,0,0,0,13,12,11,12,11,10,10,10,10,9,10,9,0,0,0,0,0,0,0,0,11,12,12,12,11,12,12,12,12,12,12,13,0,0,0,0,0,0,0,0,11,11,11,10,11,11,10,9,9,9,9,9,0,0,0,0,0,0,0,0,10,11,11,11,12,12,10,10,9,10,9,11,0,0,0,0,0,0,0,0,8,7,9,8,9,10,9,10,11,11,11,11,0,0,0,0,0,0,0,0,9,8,9,9,10,8,10,10,10,10,10,10,0,0,0,0,0,0,0,0,14,14,13,15,15,16,15,18,18,18,18,19,0,0,0,0,0,0,0,0,23,22,25,25,24,23,24,24,24,24,23,24,0,0,0,0,0,0,0,0,24,21,21,22,22,22,20,22,20],[0,28,28,28,29,29,29,29,29,28,28,27,28,28,28,27,28,28,27,28,0,0,0,0,0,0,0,0,27,28,27,28,29,29,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,26,26,26,25,25,25,24,23,23,23,22,0,0,0,0,0,0,0,0,16,14,16,14,13,13,14,15,16,15,17,16,0,0,0,0,0,0,0,0,21,20,21,21,21,21,22,21,21,21,22,23,0,0,0,0,0,0,0,0,22,21,22,22,23,22,21,21,21,20,20,18,0,0,0,0,0,0,0,0,22,20,20,22,19,18,20,20,20,21,21,21,0,0,0,0,0,0,0,0,20,21,21,20,20,19,21,21,22,21,22,20,0,0,0,0,0,0,0,0,18,18,19,20,17,17,19,19,16,18,19,18,0,0,0,0,0,0,0,0,18,18,18,20,17,18,19,18,19,20,19,18,0,0,0,0,0,0,0,0,20,21,21,21,18,22,21,19,21,21,20,18,0,0,0,0,0,0,0,0,17,15,13,15,15,15,17,17,16,15,15,16,0,0,0,0,0,0,0,0,13,14,15,13,12,14,14,15,15,15,14,14,0,0,0,0,0,0,0,0,16,14,16,16,16,15,15,16,16,18,17,19,0,0,0,0,0,0,0,0,15,13,13,13,13,12,13,13,13,12,12,12,0,0,0,0,0,0,0,0,8,9,8,9,9,8,7,7,6,7,9,8,0,0,0,0,0,0,0,0,11,13,12,13,14,15,15,14,17,16,17,18,0,0,0,0,0,0,0,0,20,21,22,23,24,23,25,24,25,25,26,24,0,0,0,0,0,0,0,0,22,23,24,22,26,24,25,26,26,27,27,27,0,0,0,0,0,0,0,0,26,27,26,27,27,26,27,25,26,27,26,27,0,0,0,0,0,0,0,0,24,25,24,23,22,21,19,18,16,16,12,11,0,0,0,0,0,0,0,0,5,4,5,4,3,4,5,4,3,5,4,3,0,0,0,0,0,0,0,0,4,4,5,3,3,2,1,0,1,2,2,2,0,0,0,0,0,0,0,0,5,4,3,5,6,4,7,6,8,8,9,7,0,0,0,0,0,0,0,0,8,8,9,9,9,10,11,10,10,11,9,11,0,0,0,0,0,0,0,0,12,11,12,13,12,11,12,13,11,12,12,11,0,0,0,0,0,0,0,0,14,16,14,14,13,13,13,15,17,16,16,16,0,0,0,0,0,0,0,0,20,20,21,21,21,20,20,21,20,21,21,19,0,0,0,0,0,0,0,0,18,17,16,16,15,15,14,14,13,12,13,13,0,0,0,0,0,0,0,0,11,10,10,9,9,9,9,10,11,11,10,10,0,0,0,0,0,0,0,0,11,11,13,12,12,12,13,12,13,13,13,14,0,0,0,0,0,0,0,0,17,17,20,20,20,20,19,19,19,19,21,21,0,0,0,0,0,0,0,0,19,19,21,20,18,19,18,17,18,16,16,15,0,0,0,0,0,0,0,0,13,11,12,12,11,11,11,11,10,10,10,10,0,0,0,0,0,0,0,0,11,11,12,12,12,11,12,12,11,12,13,13,0,0,0,0,0,0,0,0,12,12,12,11,11,13,10,10,10,9,9,10,0,0,0,0,0,0,0,0,10,10,12,11,12,12,10,10,11,11,10,10,0,0,0,0,0,0,0,0,7,7,8,8,8,8,9,9,10,11,10,12,0,0,0,0,0,0,0,0,11,9,10,9,10,9,10,10,10,10,10,10,0,0,0,0,0,0,0,0,12,14,13,13,14,15,16,17,17,20,19,20,0,0,0,0,0,0,0,0,24,23,25,25,25,25,25,25,24,25,25,26,0,0,0,0,0,0,0,0,23,21,22,22,23,21,20,21,19],[0,28,27,28,28,28,27,28,27,26,26,26,27,26,26,26,26,26,26,26,0,0,0,0,0,0,0,0,27,27,26,27,28,27,27,27,27,27,28,28,0,0,0,0,0,0,0,0,26,26,25,25,24,24,23,23,22,22,21,20,0,0,0,0,0,0,0,0,14,14,13,12,13,13,15,15,16,16,18,17,0,0,0,0,0,0,0,0,20,21,21,20,21,20,20,21,20,21,21,21,0,0,0,0,0,0,0,0,21,22,22,21,22,22,20,20,20,19,19,21,0,0,0,0,0,0,0,0,21,19,19,21,20,18,18,19,20,21,21,20,0,0,0,0,0,0,0,0,21,20,20,20,20,18,21,20,22,20,20,19,0,0,0,0,0,0,0,0,20,19,18,20,18,18,18,19,18,18,19,18,0,0,0,0,0,0,0,0,19,18,17,19,18,19,17,19,20,19,18,18,0,0,0,0,0,0,0,0,19,21,20,18,18,21,20,20,20,20,19,19,0,0,0,0,0,0,0,0,17,17,15,15,14,15,15,16,15,16,15,17,0,0,0,0,0,0,0,0,14,13,15,15,14,13,14,16,16,16,14,14,0,0,0,0,0,0,0,0,17,16,16,16,18,16,17,17,17,19,18,18,0,0,0,0,0,0,0,0,16,16,15,15,15,14,14,13,13,13,12,11,0,0,0,0,0,0,0,0,8,9,9,9,8,7,7,7,7,7,7,8,0,0,0,0,0,0,0,0,11,11,12,12,12,14,13,17,17,16,18,19,0,0,0,0,0,0,0,0,19,19,21,21,21,23,23,23,24,23,22,22,0,0,0,0,0,0,0,0,20,21,21,21,23,22,23,24,24,24,25,26,0,0,0,0,0,0,0,0,24,25,24,25,25,24,25,23,25,24,23,24,0,0,0,0,0,0,0,0,22,22,22,20,21,18,18,16,15,14,11,11,0,0,0,0,0,0,0,0,5,4,5,5,4,4,5,4,3,4,4,4,0,0,0,0,0,0,0,0,6,5,5,5,4,2,2,1,0,1,2,2,0,0,0,0,0,0,0,0,4,4,3,6,5,5,6,6,7,8,8,7,0,0,0,0,0,0,0,0,8,9,9,10,11,11,10,11,11,11,9,10,0,0,0,0,0,0,0,0,13,12,13,13,13,13,12,14,12,13,14,13,0,0,0,0,0,0,0,0,15,16,16,17,16,16,16,16,19,16,17,18,0,0,0,0,0,0,0,0,19,20,20,20,18,21,20,20,20,20,20,18,0,0,0,0,0,0,0,0,19,19,17,17,18,17,16,15,16,15,14,13,0,0,0,0,0,0,0,0,10,10,9,9,9,10,10,10,11,12,10,12,0,0,0,0,0,0,0,0,12,13,12,12,13,13,13,14,15,13,14,15,0,0,0,0,0,0,0,0,17,19,19,19,19,20,20,20,20,18,19,21,0,0,0,0,0,0,0,0,19,20,19,20,17,19,20,18,18,17,15,15,0,0,0,0,0,0,0,0,13,12,12,13,11,11,12,10,10,10,10,11,0,0,0,0,0,0,0,0,12,12,11,12,12,12,12,12,12,13,12,13,0,0,0,0,0,0,0,0,11,11,11,10,11,11,9,10,10,9,9,9,0,0,0,0,0,0,0,0,10,11,12,11,12,11,11,11,10,10,10,10,0,0,0,0,0,0,0,0,7,7,9,9,9,10,9,9,11,11,11,12,0,0,0,0,0,0,0,0,11,11,11,10,11,11,10,11,11,11,10,11,0,0,0,0,0,0,0,0,14,15,15,16,14,16,16,17,17,18,19,20,0,0,0,0,0,0,0,0,23,23,25,25,23,24,24,24,24,23,23,24,0,0,0,0,0,0,0,0,23,21,21,22,24,21,20,21,20],[0,27,27,27,27,28,28,27,27,27,26,26,26,26,26,26,26,25,27,26,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,27,27,27,28,27,0,0,0,0,0,0,0,0,26,25,26,25,24,25,25,23,22,24,22,20,0,0,0,0,0,0,0,0,14,14,14,14,15,15,14,16,17,17,19,17,0,0,0,0,0,0,0,0,20,21,21,20,20,21,20,20,22,20,20,21,0,0,0,0,0,0,0,0,20,21,22,21,21,23,21,20,20,19,20,20,0,0,0,0,0,0,0,0,21,20,20,22,21,19,19,21,20,21,21,20,0,0,0,0,0,0,0,0,21,20,21,22,21,20,20,21,21,20,20,19,0,0,0,0,0,0,0,0,21,18,18,20,20,19,19,20,18,18,19,18,0,0,0,0,0,0,0,0,20,19,19,20,20,20,19,19,20,21,19,20,0,0,0,0,0,0,0,0,20,22,21,19,19,21,21,21,22,21,20,19,0,0,0,0,0,0,0,0,18,17,18,17,15,16,16,17,16,16,15,17,0,0,0,0,0,0,0,0,16,16,16,15,17,14,15,17,17,18,16,16,0,0,0,0,0,0,0,0,18,18,18,17,19,16,17,18,18,19,19,19,0,0,0,0,0,0,0,0,18,16,17,15,16,17,16,15,14,14,13,13,0,0,0,0,0,0,0,0,9,9,10,9,9,8,8,9,7,7,8,8,0,0,0,0,0,0,0,0,11,12,11,13,13,11,14,16,16,15,18,17,0,0,0,0,0,0,0,0,19,19,21,23,21,21,23,23,23,22,22,22,0,0,0,0,0,0,0,0,20,21,21,21,24,22,24,25,24,24,25,25,0,0,0,0,0,0,0,0,25,25,23,25,24,24,25,22,25,24,24,25,0,0,0,0,0,0,0,0,23,23,21,21,21,18,18,16,15,14,11,10,0,0,0,0,0,0,0,0,6,6,5,5,4,4,5,3,3,5,4,3,0,0,0,0,0,0,0,0,4,5,6,5,4,3,3,1,1,0,1,2,0,0,0,0,0,0,0,0,5,4,4,6,6,6,6,7,8,9,9,8,0,0,0,0,0,0,0,0,10,10,9,11,11,12,12,12,12,12,11,11,0,0,0,0,0,0,0,0,13,14,13,15,13,15,14,15,14,14,15,13,0,0,0,0,0,0,0,0,16,17,17,17,16,16,17,16,19,17,17,19,0,0,0,0,0,0,0,0,19,18,20,19,18,19,20,20,19,20,20,19,0,0,0,0,0,0,0,0,21,20,18,17,19,18,17,17,17,15,16,15,0,0,0,0,0,0,0,0,12,11,11,10,11,10,11,10,13,12,12,12,0,0,0,0,0,0,0,0,12,12,14,14,15,13,13,14,15,14,15,16,0,0,0,0,0,0,0,0,18,20,19,20,19,19,20,20,20,19,19,20,0,0,0,0,0,0,0,0,20,20,20,21,19,18,19,19,18,18,16,16,0,0,0,0,0,0,0,0,16,13,13,14,13,12,12,11,11,11,11,10,0,0,0,0,0,0,0,0,11,10,12,13,12,13,11,13,13,12,12,14,0,0,0,0,0,0,0,0,13,12,11,11,12,12,9,11,11,9,9,9,0,0,0,0,0,0,0,0,8,10,13,12,10,12,12,8,10,12,10,9,0,0,0,0,0,0,0,0,7,6,9,8,7,8,8,8,11,10,10,12,0,0,0,0,0,0,0,0,11,10,11,11,12,11,12,12,11,13,12,12,0,0,0,0,0,0,0,0,16,16,15,15,16,18,17,20,19,20,20,22,0,0,0,0,0,0,0,0,23,24,26,25,24,24,26,25,24,26,25,25,0,0,0,0,0,0,0,0,24,21,21,24,23,21,20,21,20],[0,29,29,29,29,30,29,29,29,29,28,28,29,28,28,28,28,27,28,28,0,0,0,0,0,0,0,0,28,28,27,28,28,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,27,27,26,26,25,24,24,23,23,23,22,21,0,0,0,0,0,0,0,0,11,12,11,11,10,11,11,12,13,13,14,12,0,0,0,0,0,0,0,0,18,18,17,18,19,19,19,19,18,18,19,19,0,0,0,0,0,0,0,0,19,19,20,20,20,20,19,19,18,19,18,17,0,0,0,0,0,0,0,0,18,18,17,19,17,18,17,18,17,20,18,19,0,0,0,0,0,0,0,0,18,18,19,18,18,16,17,18,18,19,18,17,0,0,0,0,0,0,0,0,17,17,16,16,15,15,16,17,15,16,16,16,0,0,0,0,0,0,0,0,16,16,14,18,15,18,15,16,17,17,16,16,0,0,0,0,0,0,0,0,18,17,18,18,16,19,19,17,19,18,18,15,0,0,0,0,0,0,0,0,14,13,11,12,13,12,14,13,13,14,13,14,0,0,0,0,0,0,0,0,12,12,14,11,11,11,12,13,14,14,14,13,0,0,0,0,0,0,0,0,13,12,13,15,14,13,15,15,15,15,16,16,0,0,0,0,0,0,0,0,13,12,11,10,12,13,11,11,11,11,11,10,0,0,0,0,0,0,0,0,7,8,7,7,8,7,6,7,5,6,7,5,0,0,0,0,0,0,0,0,9,9,8,10,11,10,12,14,15,14,17,17,0,0,0,0,0,0,0,0,22,20,22,24,23,23,25,25,25,24,24,24,0,0,0,0,0,0,0,0,24,23,23,22,24,25,25,26,26,27,27,27,0,0,0,0,0,0,0,0,25,27,25,28,26,26,27,24,27,26,26,27,0,0,0,0,0,0,0,0,25,24,24,23,22,21,19,16,14,12,9,7,0,0,0,0,0,0,0,0,4,3,4,3,3,3,3,2,2,2,3,2,0,0,0,0,0,0,0,0,3,4,4,3,3,3,2,1,1,1,0,1,0,0,0,0,0,0,0,0,3,3,3,4,4,4,4,4,5,6,7,5,0,0,0,0,0,0,0,0,7,8,8,8,8,9,10,10,10,11,9,10,0,0,0,0,0,0,0,0,10,10,11,11,10,10,12,10,11,12,11,10,0,0,0,0,0,0,0,0,11,14,11,12,11,11,12,13,15,15,14,15,0,0,0,0,0,0,0,0,15,16,18,17,17,16,17,18,17,18,17,16,0,0,0,0,0,0,0,0,15,14,14,13,13,13,13,11,11,11,12,10,0,0,0,0,0,0,0,0,9,10,8,8,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,10,10,11,10,12,11,10,11,12,11,10,11,0,0,0,0,0,0,0,0,14,14,15,17,17,16,16,16,16,16,17,18,0,0,0,0,0,0,0,0,17,17,16,16,17,15,14,15,14,13,12,12,0,0,0,0,0,0,0,0,10,9,9,10,9,9,9,8,7,8,8,7,0,0,0,0,0,0,0,0,8,8,10,10,10,9,9,9,9,10,9,10,0,0,0,0,0,0,0,0,9,8,8,8,9,8,7,7,8,6,6,7,0,0,0,0,0,0,0,0,6,7,9,8,7,8,8,6,7,7,7,6,0,0,0,0,0,0,0,0,4,5,6,5,5,6,6,6,8,9,7,9,0,0,0,0,0,0,0,0,8,9,8,9,10,8,9,10,9,9,9,10,0,0,0,0,0,0,0,0,12,14,12,13,14,14,15,16,16,18,20,21,0,0,0,0,0,0,0,0,23,22,26,25,23,23,24,23,23,24,24,22,0,0,0,0,0,0,0,0,24,22,22,23,23,22,21,23,21],[0,28,28,28,28,28,28,28,28,27,26,26,27,27,27,27,27,26,27,26,0,0,0,0,0,0,0,0,27,27,25,28,28,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,25,25,25,24,24,24,22,21,21,22,20,18,0,0,0,0,0,0,0,0,11,10,10,10,10,10,11,12,12,12,14,12,0,0,0,0,0,0,0,0,16,17,16,16,17,16,18,16,16,16,17,17,0,0,0,0,0,0,0,0,18,19,20,18,17,17,17,17,16,18,16,17,0,0,0,0,0,0,0,0,16,15,16,17,16,15,16,16,17,16,16,17,0,0,0,0,0,0,0,0,16,17,17,17,17,15,16,16,16,16,16,15,0,0,0,0,0,0,0,0,16,14,14,15,14,14,14,16,14,14,15,14,0,0,0,0,0,0,0,0,15,14,13,15,15,14,14,14,17,15,14,15,0,0,0,0,0,0,0,0,15,17,17,14,14,17,16,15,15,16,15,15,0,0,0,0,0,0,0,0,14,13,11,12,11,12,12,13,13,13,12,13,0,0,0,0,0,0,0,0,12,11,12,12,12,12,12,13,13,14,13,13,0,0,0,0,0,0,0,0,12,12,13,13,13,13,13,13,13,14,14,14,0,0,0,0,0,0,0,0,13,12,11,11,12,12,12,11,11,11,10,9,0,0,0,0,0,0,0,0,6,7,7,6,8,7,6,6,5,5,7,6,0,0,0,0,0,0,0,0,8,8,8,9,9,8,11,11,12,13,15,15,0,0,0,0,0,0,0,0,18,17,20,22,21,20,24,23,23,22,23,22,0,0,0,0,0,0,0,0,22,22,22,22,22,23,24,24,25,25,26,26,0,0,0,0,0,0,0,0,24,25,24,25,24,23,25,22,25,24,23,25,0,0,0,0,0,0,0,0,24,22,23,22,21,18,17,15,13,12,9,7,0,0,0,0,0,0,0,0,4,4,4,3,3,3,3,3,2,2,3,2,0,0,0,0,0,0,0,0,3,4,4,3,3,3,3,2,2,1,1,0,0,0,0,0,0,0,0,0,2,3,3,3,3,4,4,5,5,7,6,5,0,0,0,0,0,0,0,0,8,7,7,8,9,10,10,9,10,10,9,9,0,0,0,0,0,0,0,0,10,10,10,11,10,11,10,11,10,10,11,10,0,0,0,0,0,0,0,0,12,12,12,12,11,10,11,13,15,13,13,14,0,0,0,0,0,0,0,0,15,15,16,15,14,15,17,18,16,17,17,14,0,0,0,0,0,0,0,0,13,13,12,13,14,13,12,12,12,11,11,10,0,0,0,0,0,0,0,0,8,7,8,7,7,7,7,8,8,8,8,8,0,0,0,0,0,0,0,0,9,8,9,9,10,9,9,10,10,9,10,10,0,0,0,0,0,0,0,0,13,15,15,16,16,15,16,15,15,15,15,17,0,0,0,0,0,0,0,0,16,16,16,16,15,15,15,14,14,13,12,11,0,0,0,0,0,0,0,0,10,9,9,9,8,8,8,7,7,7,7,6,0,0,0,0,0,0,0,0,8,7,8,7,8,7,7,8,8,8,8,9,0,0,0,0,0,0,0,0,8,8,7,7,7,7,6,6,6,5,6,6,0,0,0,0,0,0,0,0,6,7,8,7,8,7,7,6,6,7,6,5,0,0,0,0,0,0,0,0,5,5,5,6,5,6,6,6,8,8,7,8,0,0,0,0,0,0,0,0,7,7,7,7,8,8,7,8,8,8,9,9,0,0,0,0,0,0,0,0,12,13,12,12,14,13,13,17,15,18,19,20,0,0,0,0,0,0,0,0,21,21,25,24,22,23,23,22,22,24,23,23,0,0,0,0,0,0,0,0,21,20,19,21,20,18,18,19,19],[0,28,27,27,28,28,27,27,27,25,25,25,26,26,26,26,26,25,25,26,0,0,0,0,0,0,0,0,26,27,26,26,27,27,25,27,27,27,27,27,0,0,0,0,0,0,0,0,25,23,24,24,23,23,24,22,21,22,21,18,0,0,0,0,0,0,0,0,9,10,9,9,8,8,10,10,11,12,13,11,0,0,0,0,0,0,0,0,16,16,15,17,17,16,17,16,17,17,17,17,0,0,0,0,0,0,0,0,17,20,19,20,19,18,18,18,17,18,16,17,0,0,0,0,0,0,0,0,17,15,16,19,16,15,16,17,16,16,15,17,0,0,0,0,0,0,0,0,16,16,16,15,16,14,17,17,17,16,16,17,0,0,0,0,0,0,0,0,14,13,14,16,13,13,15,15,13,15,15,14,0,0,0,0,0,0,0,0,14,14,14,15,13,14,15,15,15,15,14,15,0,0,0,0,0,0,0,0,15,17,17,15,14,17,16,15,16,16,16,13,0,0,0,0,0,0,0,0,12,12,10,10,10,11,9,11,12,12,10,13,0,0,0,0,0,0,0,0,10,10,11,11,9,10,11,12,13,13,12,11,0,0,0,0,0,0,0,0,13,11,12,12,13,11,13,13,13,13,14,15,0,0,0,0,0,0,0,0,11,11,10,10,11,10,9,9,10,9,8,8,0,0,0,0,0,0,0,0,5,6,7,6,6,6,5,6,5,5,5,5,0,0,0,0,0,0,0,0,7,7,7,8,8,8,9,11,12,13,15,15,0,0,0,0,0,0,0,0,17,17,20,21,19,18,23,21,22,21,22,21,0,0,0,0,0,0,0,0,20,19,22,20,24,22,23,22,24,24,25,25,0,0,0,0,0,0,0,0,24,25,24,24,24,23,25,23,25,23,23,25,0,0,0,0,0,0,0,0,23,22,21,21,20,18,18,16,13,14,9,6,0,0,0,0,0,0,0,0,3,3,4,3,3,3,3,2,3,3,3,2,0,0,0,0,0,0,0,0,4,4,4,4,4,3,3,3,2,2,1,1,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,4,4,5,5,4,0,0,0,0,0,0,0,0,7,7,8,8,9,10,9,9,9,10,8,8,0,0,0,0,0,0,0,0,9,9,10,9,9,9,10,10,9,9,10,9,0,0,0,0,0,0,0,0,10,11,11,10,10,10,11,11,13,12,13,12,0,0,0,0,0,0,0,0,14,16,16,15,15,15,16,16,15,16,15,14,0,0,0,0,0,0,0,0,13,13,13,10,12,12,10,10,10,10,9,8,0,0,0,0,0,0,0,0,8,7,6,7,7,7,7,8,7,6,8,8,0,0,0,0,0,0,0,0,8,8,8,9,9,8,9,9,9,9,10,9,0,0,0,0,0,0,0,0,12,13,14,14,15,15,13,14,14,15,15,17,0,0,0,0,0,0,0,0,15,16,16,16,14,14,13,12,12,11,10,9,0,0,0,0,0,0,0,0,9,8,8,8,7,7,7,7,6,7,7,6,0,0,0,0,0,0,0,0,7,7,8,8,8,7,7,8,8,8,8,9,0,0,0,0,0,0,0,0,8,8,6,7,7,7,6,6,7,5,6,6,0,0,0,0,0,0,0,0,6,7,7,7,7,7,7,7,6,6,6,5,0,0,0,0,0,0,0,0,4,5,5,5,5,6,6,6,7,8,7,8,0,0,0,0,0,0,0,0,7,6,6,8,8,7,8,8,8,8,9,9,0,0,0,0,0,0,0,0,11,13,11,12,13,12,14,16,15,16,19,22,0,0,0,0,0,0,0,0,24,22,24,24,23,24,25,25,24,25,25,24,0,0,0,0,0,0,0,0,22,20,20,21,19,20,18,21,20],[0,28,28,28,28,29,28,28,28,28,27,27,28,27,27,28,27,26,27,27,0,0,0,0,0,0,0,0,27,28,26,28,28,29,27,28,28,27,29,28,0,0,0,0,0,0,0,0,26,25,25,24,24,24,23,22,21,22,19,18,0,0,0,0,0,0,0,0,9,9,8,7,8,8,9,9,10,10,11,10,0,0,0,0,0,0,0,0,15,15,16,16,15,15,16,16,16,16,17,16,0,0,0,0,0,0,0,0,17,18,18,18,17,18,16,17,16,17,15,15,0,0,0,0,0,0,0,0,17,14,16,17,15,15,16,16,17,16,16,16,0,0,0,0,0,0,0,0,14,16,16,14,15,13,15,16,15,15,15,15,0,0,0,0,0,0,0,0,13,12,13,14,12,12,13,14,12,13,14,12,0,0,0,0,0,0,0,0,13,14,13,15,13,14,14,15,16,17,14,15,0,0,0,0,0,0,0,0,15,16,16,15,14,16,15,14,14,14,14,12,0,0,0,0,0,0,0,0,11,11,9,10,9,10,10,11,10,11,10,12,0,0,0,0,0,0,0,0,9,9,11,10,9,10,10,12,13,13,11,10,0,0,0,0,0,0,0,0,12,9,10,12,12,11,12,12,12,13,13,13,0,0,0,0,0,0,0,0,10,9,8,9,9,8,8,9,9,8,8,7,0,0,0,0,0,0,0,0,5,6,6,4,5,6,5,5,4,5,5,4,0,0,0,0,0,0,0,0,6,7,7,7,8,8,11,12,14,15,15,17,0,0,0,0,0,0,0,0,19,19,22,23,21,21,25,24,25,24,24,25,0,0,0,0,0,0,0,0,23,24,22,25,25,24,25,25,26,26,27,27,0,0,0,0,0,0,0,0,26,25,25,26,25,25,26,23,27,25,25,26,0,0,0,0,0,0,0,0,25,24,25,24,21,20,18,17,16,14,11,7,0,0,0,0,0,0,0,0,3,3,3,2,2,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,3,3,3,3,2,2,2,2,1,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,4,5,5,4,0,0,0,0,0,0,0,0,7,7,7,8,9,10,10,8,9,9,7,8,0,0,0,0,0,0,0,0,8,7,9,9,8,8,9,10,7,7,9,8,0,0,0,0,0,0,0,0,9,11,9,8,9,9,10,11,13,13,11,12,0,0,0,0,0,0,0,0,14,16,16,16,15,16,17,18,17,16,16,14,0,0,0,0,0,0,0,0,11,11,10,9,10,10,8,8,9,8,7,7,0,0,0,0,0,0,0,0,7,5,6,7,6,5,6,7,6,6,7,7,0,0,0,0,0,0,0,0,7,6,7,8,7,7,8,8,8,8,9,9,0,0,0,0,0,0,0,0,11,12,13,13,15,14,13,14,13,14,16,16,0,0,0,0,0,0,0,0,16,15,15,13,13,14,12,12,12,11,11,10,0,0,0,0,0,0,0,0,7,7,6,6,6,6,6,5,5,6,5,4,0,0,0,0,0,0,0,0,6,6,7,7,7,6,6,7,7,6,7,7,0,0,0,0,0,0,0,0,6,6,5,6,5,5,4,5,6,4,4,5,0,0,0,0,0,0,0,0,5,6,7,6,7,7,6,5,7,6,5,5,0,0,0,0,0,0,0,0,4,4,5,5,5,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,6,6,5,6,7,6,6,7,7,7,8,8,0,0,0,0,0,0,0,0,12,13,12,12,14,14,15,16,16,19,19,20,0,0,0,0,0,0,0,0,23,22,24,24,25,23,24,23,25,24,24,24,0,0,0,0,0,0,0,0,22,21,20,21,20,19,20,21,18],[0,29,29,29,30,30,29,29,29,29,28,28,28,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,28,28,27,29,29,29,28,29,29,29,29,28,0,0,0,0,0,0,0,0,26,26,25,25,24,24,23,22,21,21,20,19,0,0,0,0,0,0,0,0,8,8,8,7,7,6,8,8,9,9,10,9,0,0,0,0,0,0,0,0,13,13,14,14,14,14,15,15,14,14,15,15,0,0,0,0,0,0,0,0,16,17,17,16,16,17,15,16,15,14,13,14,0,0,0,0,0,0,0,0,15,13,14,15,13,13,14,14,15,15,15,15,0,0,0,0,0,0,0,0,13,14,14,12,13,11,13,13,15,15,13,13,0,0,0,0,0,0,0,0,12,11,11,12,11,11,12,12,11,11,12,11,0,0,0,0,0,0,0,0,12,11,11,13,11,12,12,13,14,14,13,14,0,0,0,0,0,0,0,0,13,13,15,14,12,14,14,12,13,13,12,11,0,0,0,0,0,0,0,0,10,9,8,8,8,9,9,10,10,10,9,10,0,0,0,0,0,0,0,0,8,8,9,9,8,8,9,10,11,11,10,8,0,0,0,0,0,0,0,0,10,9,9,10,10,9,10,10,11,11,11,12,0,0,0,0,0,0,0,0,9,8,8,8,8,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,5,5,5,4,5,5,4,4,3,4,4,4,0,0,0,0,0,0,0,0,6,7,6,7,8,8,9,10,12,12,15,15,0,0,0,0,0,0,0,0,18,18,20,22,22,21,24,24,24,22,24,22,0,0,0,0,0,0,0,0,22,23,23,22,24,24,26,25,25,26,27,27,0,0,0,0,0,0,0,0,26,26,26,27,26,25,26,24,26,26,26,27,0,0,0,0,0,0,0,0,24,23,23,21,22,19,18,15,13,13,10,7,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,4,3,3,2,2,2,2,2,2,1,1,0,0,0,0,0,0,0,0,1,1,2,2,2,2,2,3,3,4,4,4,0,0,0,0,0,0,0,0,6,6,6,7,7,8,8,7,8,8,6,7,0,0,0,0,0,0,0,0,7,7,7,7,8,8,7,7,7,8,8,7,0,0,0,0,0,0,0,0,8,9,8,8,8,8,8,10,11,11,11,11,0,0,0,0,0,0,0,0,13,13,14,14,14,13,14,14,14,14,14,12,0,0,0,0,0,0,0,0,10,10,10,9,9,9,8,8,7,8,7,6,0,0,0,0,0,0,0,0,6,5,5,6,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,7,7,7,7,8,7,7,8,8,8,0,0,0,0,0,0,0,0,10,10,12,11,13,12,12,12,12,12,13,14,0,0,0,0,0,0,0,0,14,13,14,13,12,12,11,11,10,10,9,9,0,0,0,0,0,0,0,0,7,6,6,6,6,6,6,5,5,5,5,4,0,0,0,0,0,0,0,0,6,6,7,7,7,6,6,7,7,7,6,7,0,0,0,0,0,0,0,0,6,6,5,5,6,5,5,5,6,4,5,5,0,0,0,0,0,0,0,0,5,5,7,6,6,6,5,5,6,5,5,4,0,0,0,0,0,0,0,0,3,4,4,4,4,5,5,5,7,7,6,8,0,0,0,0,0,0,0,0,6,6,5,6,6,6,6,7,6,6,7,7,0,0,0,0,0,0,0,0,11,13,11,12,13,13,13,16,16,17,19,20,0,0,0,0,0,0,0,0,23,22,26,24,24,25,24,23,24,25,24,23,0,0,0,0,0,0,0,0,23,22,21,23,22,21,20,22,20],[0,28,28,28,28,28,28,28,28,26,27,26,27,26,26,27,26,27,26,26,0,0,0,0,0,0,0,0,26,26,26,27,28,28,27,28,27,26,28,27,0,0,0,0,0,0,0,0,25,23,24,23,23,23,22,22,20,20,20,17,0,0,0,0,0,0,0,0,7,8,7,7,6,6,7,8,8,8,9,9,0,0,0,0,0,0,0,0,12,12,12,13,12,12,13,12,13,13,13,13,0,0,0,0,0,0,0,0,15,16,16,15,14,15,13,14,13,13,13,12,0,0,0,0,0,0,0,0,13,12,13,14,12,12,13,14,13,13,13,14,0,0,0,0,0,0,0,0,12,13,12,11,11,11,12,12,13,14,12,13,0,0,0,0,0,0,0,0,11,10,11,12,10,10,11,11,10,11,11,10,0,0,0,0,0,0,0,0,10,10,11,12,10,11,11,12,13,12,11,13,0,0,0,0,0,0,0,0,12,12,13,12,11,13,12,10,12,12,11,10,0,0,0,0,0,0,0,0,9,8,8,8,8,8,8,9,9,9,8,9,0,0,0,0,0,0,0,0,8,7,9,8,8,7,8,9,10,10,9,8,0,0,0,0,0,0,0,0,10,8,8,10,9,8,9,9,10,10,10,11,0,0,0,0,0,0,0,0,9,8,8,8,8,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,4,5,4,4,4,4,4,4,3,3,3,4,0,0,0,0,0,0,0,0,6,5,6,6,8,8,9,10,12,10,14,13,0,0,0,0,0,0,0,0,17,17,18,20,21,20,22,22,22,21,23,21,0,0,0,0,0,0,0,0,21,21,21,22,25,23,24,24,25,26,26,26,0,0,0,0,0,0,0,0,24,25,24,25,25,24,25,23,26,24,24,26,0,0,0,0,0,0,0,0,23,23,23,20,21,18,17,14,12,13,8,6,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,2,2,2,2,2,1,1,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,3,3,4,4,4,0,0,0,0,0,0,0,0,5,6,5,6,7,7,8,7,7,8,6,7,0,0,0,0,0,0,0,0,7,7,7,7,8,7,7,8,7,7,7,7,0,0,0,0,0,0,0,0,8,9,8,8,8,8,8,10,11,11,10,10,0,0,0,0,0,0,0,0,11,12,13,13,12,13,13,13,12,13,13,12,0,0,0,0,0,0,0,0,10,10,9,9,9,9,8,8,8,8,7,7,0,0,0,0,0,0,0,0,5,5,4,5,5,4,5,5,6,5,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,9,9,11,11,12,11,11,11,11,11,12,13,0,0,0,0,0,0,0,0,12,12,13,12,12,12,11,10,10,8,8,8,0,0,0,0,0,0,0,0,7,6,6,6,6,5,6,5,5,5,5,4,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,7,6,6,7,0,0,0,0,0,0,0,0,6,6,5,5,6,5,4,5,5,4,4,5,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,6,5,5,5,4,0,0,0,0,0,0,0,0,3,3,4,4,4,5,4,5,6,6,5,6,0,0,0,0,0,0,0,0,6,5,5,6,6,5,6,6,6,6,6,7,0,0,0,0,0,0,0,0,10,11,10,10,11,12,12,15,14,17,18,19,0,0,0,0,0,0,0,0,21,20,23,22,23,22,22,22,21,24,22,23,0,0,0,0,0,0,0,0,23,21,20,20,23,20,19,21,19],[0,28,28,28,29,29,28,29,28,27,27,26,28,27,27,27,27,28,26,27,0,0,0,0,0,0,0,0,27,28,26,27,29,29,28,28,28,28,29,28,0,0,0,0,0,0,0,0,26,25,24,24,24,23,22,21,20,21,18,18,0,0,0,0,0,0,0,0,7,7,7,7,6,6,8,8,8,9,10,9,0,0,0,0,0,0,0,0,13,13,14,14,14,14,14,14,14,15,16,14,0,0,0,0,0,0,0,0,15,17,17,16,15,16,13,15,14,14,13,13,0,0,0,0,0,0,0,0,14,13,14,15,13,13,13,14,15,15,15,15,0,0,0,0,0,0,0,0,12,13,14,12,13,11,14,14,14,14,12,13,0,0,0,0,0,0,0,0,11,11,11,12,10,10,11,12,10,11,12,11,0,0,0,0,0,0,0,0,12,11,11,13,11,12,12,13,14,14,12,14,0,0,0,0,0,0,0,0,13,13,15,13,11,15,13,12,13,13,12,10,0,0,0,0,0,0,0,0,9,9,8,8,8,9,10,10,9,10,9,11,0,0,0,0,0,0,0,0,8,9,10,9,8,9,9,10,11,11,10,9,0,0,0,0,0,0,0,0,10,9,9,11,11,9,11,11,11,11,11,12,0,0,0,0,0,0,0,0,9,8,7,8,9,7,7,8,8,7,7,6,0,0,0,0,0,0,0,0,4,5,5,4,5,5,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,6,7,6,9,9,11,11,14,14,0,0,0,0,0,0,0,0,18,18,20,20,21,21,22,23,23,22,23,22,0,0,0,0,0,0,0,0,21,22,22,22,24,23,25,25,25,26,26,26,0,0,0,0,0,0,0,0,25,26,25,26,25,24,25,23,26,24,24,26,0,0,0,0,0,0,0,0,24,23,22,22,20,19,19,16,14,14,9,6,0,0,0,0,0,0,0,0,3,3,3,2,2,2,3,2,2,3,2,2,0,0,0,0,0,0,0,0,4,4,4,3,3,2,2,2,2,2,2,1,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,3,3,4,4,4,0,0,0,0,0,0,0,0,6,6,6,7,7,8,8,8,8,8,6,7,0,0,0,0,0,0,0,0,7,6,8,8,8,8,8,8,7,7,8,7,0,0,0,0,0,0,0,0,8,10,9,8,8,8,9,11,12,11,11,11,0,0,0,0,0,0,0,0,12,13,14,14,14,13,14,15,13,14,14,12,0,0,0,0,0,0,0,0,9,11,10,8,9,9,8,7,8,8,7,6,0,0,0,0,0,0,0,0,6,5,5,5,5,4,5,6,6,5,6,6,0,0,0,0,0,0,0,0,6,6,6,7,7,6,7,7,6,7,7,7,0,0,0,0,0,0,0,0,10,10,11,11,12,12,11,12,11,11,13,13,0,0,0,0,0,0,0,0,13,13,13,12,12,12,11,11,10,9,8,8,0,0,0,0,0,0,0,0,6,6,6,5,5,6,5,5,5,6,5,4,0,0,0,0,0,0,0,0,5,6,6,6,6,6,5,6,6,6,6,7,0,0,0,0,0,0,0,0,6,5,4,5,5,5,4,5,5,4,4,4,0,0,0,0,0,0,0,0,5,5,6,5,5,5,5,4,5,5,4,4,0,0,0,0,0,0,0,0,3,4,4,4,4,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,6,6,5,6,6,6,6,7,6,6,7,7,0,0,0,0,0,0,0,0,11,12,11,11,12,12,13,16,15,16,18,19,0,0,0,0,0,0,0,0,22,20,24,24,25,22,24,24,23,23,23,25,0,0,0,0,0,0,0,0,20,20,21,21,21,20,19,20,20],[0,29,29,29,29,29,29,29,28,27,27,27,28,27,27,27,28,28,27,28,0,0,0,0,0,0,0,0,28,29,27,28,29,29,27,29,28,28,29,29,0,0,0,0,0,0,0,0,27,25,24,24,24,24,23,22,21,20,18,18,0,0,0,0,0,0,0,0,7,7,6,6,6,6,7,7,7,8,9,8,0,0,0,0,0,0,0,0,11,11,13,13,13,13,13,14,12,13,15,14,0,0,0,0,0,0,0,0,15,16,15,15,14,15,13,14,13,12,12,13,0,0,0,0,0,0,0,0,15,12,13,14,12,12,13,14,15,15,14,14,0,0,0,0,0,0,0,0,12,13,13,10,11,10,12,13,12,13,12,12,0,0,0,0,0,0,0,0,10,9,10,10,9,9,11,11,9,10,11,10,0,0,0,0,0,0,0,0,10,10,10,11,9,11,12,13,14,14,11,13,0,0,0,0,0,0,0,0,12,12,14,12,10,13,12,10,11,12,11,9,0,0,0,0,0,0,0,0,8,8,7,7,7,8,9,8,9,9,8,9,0,0,0,0,0,0,0,0,8,8,8,8,7,7,8,9,10,10,8,7,0,0,0,0,0,0,0,0,9,7,8,9,9,8,9,10,10,10,10,10,0,0,0,0,0,0,0,0,8,7,7,7,7,6,6,7,6,6,6,5,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,4,3,4,4,4,0,0,0,0,0,0,0,0,5,5,5,6,6,6,8,10,11,12,13,15,0,0,0,0,0,0,0,0,18,17,21,21,21,21,23,23,24,23,24,21,0,0,0,0,0,0,0,0,21,23,22,23,25,24,26,26,26,27,27,27,0,0,0,0,0,0,0,0,26,27,25,26,26,25,26,23,26,25,25,27,0,0,0,0,0,0,0,0,24,22,23,21,20,18,17,14,14,12,9,6,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,6,7,7,7,6,7,7,5,6,0,0,0,0,0,0,0,0,6,6,7,7,6,6,7,7,6,6,7,7,0,0,0,0,0,0,0,0,7,8,7,7,7,7,8,9,10,11,10,9,0,0,0,0,0,0,0,0,11,13,13,14,13,13,14,13,13,13,12,11,0,0,0,0,0,0,0,0,9,8,8,7,8,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,5,4,4,5,4,4,4,5,5,5,5,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,7,7,7,7,7,0,0,0,0,0,0,0,0,8,9,10,10,12,11,9,11,10,10,12,13,0,0,0,0,0,0,0,0,12,11,12,11,10,10,10,9,9,8,8,8,0,0,0,0,0,0,0,0,5,5,6,5,5,5,5,4,4,5,4,3,0,0,0,0,0,0,0,0,5,5,6,6,7,6,5,6,6,5,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,4,4,4,5,4,4,4,0,0,0,0,0,0,0,0,4,5,6,5,5,5,5,5,4,5,4,5,0,0,0,0,0,0,0,0,3,3,4,4,4,5,5,5,6,6,6,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,10,11,11,10,11,13,13,14,15,17,19,20,0,0,0,0,0,0,0,0,22,20,25,23,22,23,24,23,24,24,23,23,0,0,0,0,0,0,0,0,22,22,20,21,22,19,20,22,18],[0,30,29,29,30,30,30,29,29,28,28,28,29,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,29,29,28,29,29,0,0,0,0,0,0,0,0,27,26,25,25,25,24,22,24,22,22,21,20,0,0,0,0,0,0,0,0,7,7,6,6,6,6,7,7,7,8,9,8,0,0,0,0,0,0,0,0,11,12,12,12,12,12,13,12,12,12,13,13,0,0,0,0,0,0,0,0,14,15,15,14,14,14,13,13,13,12,11,12,0,0,0,0,0,0,0,0,12,11,12,13,11,12,12,13,12,13,13,13,0,0,0,0,0,0,0,0,11,12,12,10,11,10,12,12,13,13,12,11,0,0,0,0,0,0,0,0,10,9,10,10,9,9,10,10,9,9,10,10,0,0,0,0,0,0,0,0,10,10,10,11,9,10,10,11,12,12,11,12,0,0,0,0,0,0,0,0,12,12,13,12,10,12,12,10,11,11,10,9,0,0,0,0,0,0,0,0,8,8,7,7,7,8,9,9,8,9,8,9,0,0,0,0,0,0,0,0,8,7,8,8,7,8,8,9,9,9,8,8,0,0,0,0,0,0,0,0,9,8,8,9,9,8,9,9,10,10,9,10,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,6,6,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,6,7,7,9,10,11,11,15,15,0,0,0,0,0,0,0,0,19,18,19,22,22,21,23,23,24,23,24,21,0,0,0,0,0,0,0,0,21,23,23,23,26,24,26,26,26,27,27,28,0,0,0,0,0,0,0,0,26,27,26,26,26,24,27,24,25,27,25,26,0,0,0,0,0,0,0,0,24,23,22,20,20,17,17,15,13,13,9,6,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,3,3,3,3,2,3,3,3,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,4,3,0,0,0,0,0,0,0,0,5,6,5,6,7,8,7,7,8,7,6,6,0,0,0,0,0,0,0,0,7,6,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,10,11,11,10,10,0,0,0,0,0,0,0,0,11,12,13,13,12,12,13,12,12,13,12,11,0,0,0,0,0,0,0,0,9,9,9,8,8,8,8,7,7,7,7,6,0,0,0,0,0,0,0,0,5,4,4,5,4,4,5,5,5,5,6,6,0,0,0,0,0,0,0,0,7,6,6,7,6,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,9,9,10,10,11,11,10,10,10,10,11,12,0,0,0,0,0,0,0,0,12,12,12,12,12,11,11,10,9,9,8,8,0,0,0,0,0,0,0,0,6,6,6,6,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,6,6,6,7,6,6,6,6,6,6,6,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,4,5,5,4,4,5,0,0,0,0,0,0,0,0,5,5,6,5,5,5,5,5,4,5,4,4,0,0,0,0,0,0,0,0,3,3,4,4,4,4,5,5,6,6,6,7,0,0,0,0,0,0,0,0,6,5,5,6,6,5,6,6,6,5,6,7,0,0,0,0,0,0,0,0,10,11,11,11,12,12,13,14,14,16,18,18,0,0,0,0,0,0,0,0,21,20,23,23,22,22,23,22,23,23,23,21,0,0,0,0,0,0,0,0,23,20,21,22,22,21,20,21,20],[0,28,28,28,28,28,27,28,28,26,26,26,27,26,26,26,26,27,26,26,0,0,0,0,0,0,0,0,27,27,26,27,27,28,27,28,27,27,28,28,0,0,0,0,0,0,0,0,26,24,24,24,23,23,22,21,20,22,20,18,0,0,0,0,0,0,0,0,6,7,6,6,5,6,7,7,7,8,8,8,0,0,0,0,0,0,0,0,11,11,11,11,11,12,12,11,11,12,12,12,0,0,0,0,0,0,0,0,13,14,14,13,13,14,12,13,11,12,12,12,0,0,0,0,0,0,0,0,11,10,11,12,11,11,11,13,12,12,12,12,0,0,0,0,0,0,0,0,11,11,11,10,11,10,12,12,12,12,11,11,0,0,0,0,0,0,0,0,10,9,9,9,10,9,10,10,10,10,10,10,0,0,0,0,0,0,0,0,9,10,10,11,9,10,10,12,12,12,11,12,0,0,0,0,0,0,0,0,11,12,12,11,10,12,11,10,11,11,10,9,0,0,0,0,0,0,0,0,8,8,7,7,7,8,8,9,8,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,7,8,8,8,9,9,8,7,0,0,0,0,0,0,0,0,8,8,8,9,9,9,9,9,9,10,10,10,0,0,0,0,0,0,0,0,8,8,8,7,8,7,6,7,7,6,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,5,4,4,5,7,7,8,10,11,10,14,16,0,0,0,0,0,0,0,0,17,17,20,20,20,19,21,21,22,21,22,21,0,0,0,0,0,0,0,0,20,22,21,22,26,23,24,23,25,26,26,26,0,0,0,0,0,0,0,0,25,26,24,25,24,24,25,22,25,24,24,26,0,0,0,0,0,0,0,0,23,22,22,21,20,18,16,15,13,13,9,6,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,3,3,3,2,2,2,2,2,3,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,2,2,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,6,6,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,7,6,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,9,11,10,10,10,0,0,0,0,0,0,0,0,11,12,12,12,12,13,13,12,12,12,11,11,0,0,0,0,0,0,0,0,9,9,9,8,8,9,8,7,7,8,6,6,0,0,0,0,0,0,0,0,5,4,4,5,4,4,5,5,5,5,6,6,0,0,0,0,0,0,0,0,7,6,6,7,7,6,7,7,7,7,7,7,0,0,0,0,0,0,0,0,8,9,10,10,11,10,10,10,10,10,11,12,0,0,0,0,0,0,0,0,11,12,12,11,11,11,10,10,9,8,8,7,0,0,0,0,0,0,0,0,6,6,6,5,5,6,5,4,4,5,5,4,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,6,6,5,6,6,0,0,0,0,0,0,0,0,5,5,4,5,5,5,4,5,5,4,4,4,0,0,0,0,0,0,0,0,5,5,6,5,5,5,5,5,4,4,4,4,0,0,0,0,0,0,0,0,3,3,4,4,4,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,6,5,5,6,6,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,10,11,10,10,11,12,13,15,14,15,18,18,0,0,0,0,0,0,0,0,21,20,24,23,22,23,24,23,22,24,24,24,0,0,0,0,0,0,0,0,22,20,20,21,22,20,19,20,19],[0,28,28,28,28,29,28,29,28,27,27,26,27,26,26,27,27,27,26,27,0,0,0,0,0,0,0,0,27,28,26,28,28,29,27,28,27,28,28,28,0,0,0,0,0,0,0,0,26,25,24,25,24,23,22,22,20,20,18,18,0,0,0,0,0,0,0,0,6,6,6,5,5,5,6,7,7,8,8,8,0,0,0,0,0,0,0,0,11,10,11,11,11,11,12,11,12,12,12,12,0,0,0,0,0,0,0,0,13,13,14,13,12,12,12,12,12,11,11,11,0,0,0,0,0,0,0,0,12,10,11,12,11,11,12,12,12,13,12,13,0,0,0,0,0,0,0,0,10,11,11,9,10,9,11,11,11,11,10,11,0,0,0,0,0,0,0,0,10,9,9,10,9,9,10,10,9,9,10,9,0,0,0,0,0,0,0,0,9,10,10,10,9,10,11,12,12,12,11,12,0,0,0,0,0,0,0,0,11,11,12,11,10,12,11,10,10,11,10,8,0,0,0,0,0,0,0,0,8,8,7,7,7,8,8,8,8,9,8,9,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,8,9,9,8,7,0,0,0,0,0,0,0,0,8,7,8,9,8,7,8,9,9,10,9,10,0,0,0,0,0,0,0,0,7,7,6,6,7,6,6,7,6,5,5,5,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,4,3,3,4,3,0,0,0,0,0,0,0,0,4,5,5,5,6,5,7,9,11,12,13,15,0,0,0,0,0,0,0,0,17,17,19,21,20,21,22,21,24,21,22,21,0,0,0,0,0,0,0,0,21,23,23,24,26,23,26,26,25,26,27,27,0,0,0,0,0,0,0,0,26,27,26,26,26,25,26,23,26,26,25,27,0,0,0,0,0,0,0,0,25,22,23,23,20,18,17,15,13,13,9,6,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,3,4,3,2,2,2,2,3,3,2,2,0,0,0,0,0,0,0,0,0,1,1,1,1,1,2,2,2,3,3,3,0,0,0,0,0,0,0,0,5,5,6,7,7,7,7,7,7,7,5,6,0,0,0,0,0,0,0,0,6,5,6,7,6,6,7,7,5,6,7,6,0,0,0,0,0,0,0,0,7,8,7,7,7,7,8,9,10,11,10,9,0,0,0,0,0,0,0,0,11,12,11,11,12,12,13,11,12,11,11,10,0,0,0,0,0,0,0,0,8,8,7,7,7,7,6,6,6,6,5,5,0,0,0,0,0,0,0,0,5,4,4,5,4,4,4,5,4,4,5,5,0,0,0,0,0,0,0,0,6,5,6,6,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,8,8,10,9,10,10,9,10,10,10,11,11,0,0,0,0,0,0,0,0,11,10,11,10,9,10,10,9,9,8,7,7,0,0,0,0,0,0,0,0,5,5,5,4,4,5,4,4,4,4,4,3,0,0,0,0,0,0,0,0,5,5,6,6,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,5,4,4,4,4,3,4,4,0,0,0,0,0,0,0,0,4,4,5,5,4,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,5,5,6,5,6,0,0,0,0,0,0,0,0,5,5,4,5,5,5,5,6,5,5,5,6,0,0,0,0,0,0,0,0,10,11,11,10,11,12,13,15,15,15,19,19,0,0,0,0,0,0,0,0,21,20,22,23,22,22,22,22,23,22,22,24,0,0,0,0,0,0,0,0,22,20,20,21,22,19,20,22,20],[0,30,29,29,29,29,29,29,28,28,28,28,28,27,28,27,28,28,27,28,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,29,29,28,29,29,0,0,0,0,0,0,0,0,27,26,25,25,25,24,22,22,21,21,20,18,0,0,0,0,0,0,0,0,6,6,6,5,5,5,6,6,7,7,7,7,0,0,0,0,0,0,0,0,10,10,10,11,11,11,11,11,11,11,12,12,0,0,0,0,0,0,0,0,14,13,14,13,12,12,11,12,11,10,10,10,0,0,0,0,0,0,0,0,11,10,10,11,9,10,11,12,11,11,12,11,0,0,0,0,0,0,0,0,10,10,10,9,9,8,10,10,11,11,10,10,0,0,0,0,0,0,0,0,9,8,8,9,8,8,9,9,8,8,9,8,0,0,0,0,0,0,0,0,8,8,9,9,8,9,9,10,11,11,9,11,0,0,0,0,0,0,0,0,10,10,11,10,8,10,10,9,9,9,9,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5,4,4,4,4,3,4,4,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,4,4,5,5,5,6,0,0,0,0,0,0,0,0,5,4,4,5,5,4,4,5,5,4,5,5,0,0,0,0,0,0,0,0,10,11,9,10,11,13,13,14,15,16,19,18,0,0,0,0,0,0,0,0,21,20,23,22,22,22,23,21,23,23,21,21,0,0,0,0,0,0,0,0,22,22,21,22,23,19,20,21,18],[0,28,28,28,29,29,28,28,28,27,27,26,27,26,26,27,26,27,26,26,0,0,0,0,0,0,0,0,27,27,26,27,28,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,25,24,24,24,23,23,22,22,21,22,20,18,0,0,0,0,0,0,0,0,6,7,6,6,5,6,6,6,6,7,7,8,0,0,0,0,0,0,0,0,9,9,9,10,10,10,9,9,10,10,10,10,0,0,0,0,0,0,0,0,11,12,12,11,10,11,10,10,10,9,9,9,0,0,0,0,0,0,0,0,9,9,10,10,9,9,9,11,10,11,10,10,0,0,0,0,0,0,0,0,9,9,9,8,9,8,9,9,10,10,10,9,0,0,0,0,0,0,0,0,9,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,9,10,10,10,9,10,0,0,0,0,0,0,0,0,9,10,10,9,8,9,9,8,9,9,8,8,0,0,0,0,0,0,0,0,7,7,7,7,7,7,8,7,7,7,8,7,0,0,0,0,0,0,0,0,7,6,7,7,6,6,7,7,8,8,7,7,0,0,0,0,0,0,0,0,7,8,7,7,7,7,8,7,8,8,8,8,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,6,5,6,5,5,0,0,0,0,0,0,0,0,3,4,4,3,3,4,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,4,5,6,7,7,8,10,10,11,14,15,0,0,0,0,0,0,0,0,17,16,19,20,19,19,21,21,23,20,22,20,0,0,0,0,0,0,0,0,20,22,22,23,26,23,24,24,25,25,26,25,0,0,0,0,0,0,0,0,24,25,24,25,25,23,25,23,23,24,23,25,0,0,0,0,0,0,0,0,21,23,21,20,20,17,17,14,13,12,8,6,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,3,3,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,2,2,3,3,2,0,0,0,0,0,0,0,0,4,5,5,6,6,7,7,7,7,6,5,5,0,0,0,0,0,0,0,0,6,5,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,8,10,9,9,9,0,0,0,0,0,0,0,0,9,10,10,10,11,11,11,11,10,10,10,9,0,0,0,0,0,0,0,0,8,7,8,7,7,7,7,7,6,6,5,6,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,5,4,4,5,5,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,8,8,8,9,9,8,8,8,8,9,9,0,0,0,0,0,0,0,0,10,10,10,10,10,9,9,8,7,7,7,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,4,4,5,4,3,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,6,5,5,6,0,0,0,0,0,0,0,0,5,5,4,4,5,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,5,5,4,5,4,4,4,4,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,5,5,5,5,0,0,0,0,0,0,0,0,5,4,4,5,5,4,5,5,5,5,5,6,0,0,0,0,0,0,0,0,10,10,10,10,10,12,13,14,14,15,18,18,0,0,0,0,0,0,0,0,19,20,22,23,21,21,23,22,22,23,23,23,0,0,0,0,0,0,0,0,22,20,20,21,22,20,20,20,18],[0,28,27,27,27,28,27,27,27,26,26,26,27,26,26,27,26,26,26,26,0,0,0,0,0,0,0,0,26,27,26,27,27,28,26,27,27,27,27,27,0,0,0,0,0,0,0,0,25,24,24,23,23,23,22,22,20,21,20,18,0,0,0,0,0,0,0,0,6,6,5,5,5,5,6,7,7,8,8,8,0,0,0,0,0,0,0,0,10,10,10,11,11,10,11,11,10,10,12,12,0,0,0,0,0,0,0,0,11,12,13,11,11,11,10,10,10,10,10,10,0,0,0,0,0,0,0,0,10,9,10,11,9,10,11,11,12,11,11,11,0,0,0,0,0,0,0,0,9,10,10,9,9,9,10,10,10,10,10,9,0,0,0,0,0,0,0,0,9,9,9,9,9,8,9,9,9,9,9,9,0,0,0,0,0,0,0,0,9,9,9,9,9,9,10,10,11,11,10,11,0,0,0,0,0,0,0,0,11,10,11,10,9,11,11,9,10,10,9,9,0,0,0,0,0,0,0,0,8,8,7,7,7,7,8,8,8,8,8,8,0,0,0,0,0,0,0,0,7,7,7,8,6,7,8,8,8,8,8,7,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,9,8,10,9,9,0,0,0,0,0,0,0,0,8,8,7,7,7,6,6,6,6,6,5,5,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,5,6,6,8,10,11,11,14,16,0,0,0,0,0,0,0,0,17,17,20,21,19,21,22,20,22,20,23,20,0,0,0,0,0,0,0,0,20,21,22,22,25,24,24,24,25,26,26,26,0,0,0,0,0,0,0,0,25,26,25,26,24,25,25,23,25,24,24,26,0,0,0,0,0,0,0,0,23,21,22,21,20,18,18,14,12,12,8,7,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,2,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,3,3,2,3,3,3,4,3,3,0,0,0,0,0,0,0,0,1,1,1,0,1,1,2,2,2,3,3,3,0,0,0,0,0,0,0,0,5,6,5,6,6,6,7,7,7,7,6,6,0,0,0,0,0,0,0,0,6,6,7,7,6,7,7,7,6,6,7,7,0,0,0,0,0,0,0,0,7,8,8,7,7,7,8,9,10,10,10,10,0,0,0,0,0,0,0,0,10,11,11,11,11,11,12,12,11,11,10,10,0,0,0,0,0,0,0,0,8,8,8,7,8,8,7,6,7,7,6,6,0,0,0,0,0,0,0,0,5,4,4,5,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,5,0,0,0,0,0,0,0,0,10,11,10,10,11,13,13,15,15,16,19,18,0,0,0,0,0,0,0,0,20,21,22,22,23,22,21,22,23,22,22,24,0,0,0,0,0,0,0,0,23,22,21,22,22,19,19,21,19],[0,28,28,28,28,28,28,28,27,27,26,26,27,25,26,26,26,27,26,27,0,0,0,0,0,0,0,0,27,27,27,27,28,29,27,28,28,27,28,28,0,0,0,0,0,0,0,0,26,25,25,24,23,22,21,21,20,20,19,18,0,0,0,0,0,0,0,0,6,5,5,4,5,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,7,7,8,8,8,8,9,8,8,8,9,9,0,0,0,0,0,0,0,0,10,11,11,10,9,9,9,8,9,8,8,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,9,9,9,9,9,9,0,0,0,0,0,0,0,0,7,8,8,7,7,7,8,8,8,8,8,8,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,7,7,7,7,6,0,0,0,0,0,0,0,0,7,6,7,7,6,7,7,8,9,8,8,9,0,0,0,0,0,0,0,0,8,8,9,8,7,8,7,7,7,7,6,6,0,0,0,0,0,0,0,0,6,5,5,5,6,6,7,7,6,7,7,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,7,7,6,5,0,0,0,0,0,0,0,0,6,6,5,6,6,6,6,6,6,7,6,7,0,0,0,0,0,0,0,0,5,5,5,5,5,4,5,5,5,4,4,4,0,0,0,0,0,0,0,0,3,3,3,2,3,3,3,3,2,2,3,3,0,0,0,0,0,0,0,0,4,4,4,5,6,6,7,9,10,10,13,14,0,0,0,0,0,0,0,0,17,16,18,20,21,20,21,21,23,21,23,20,0,0,0,0,0,0,0,0,21,22,23,25,27,24,25,26,26,26,27,26,0,0,0,0,0,0,0,0,24,26,25,25,26,24,25,23,24,25,23,25,0,0,0,0,0,0,0,0,21,21,21,19,20,17,15,14,13,12,8,6,0,0,0,0,0,0,0,0,1,1,2,2,2,2,3,3,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,3,3,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0,0,20,19,18,20,22,18,16,18,18],[0,29,29,29,29,29,29,29,29,28,28,27,28,27,27,27,28,29,27,28,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,26,25,24,25,25,23,22,23,22,22,19,19,0,0,0,0,0,0,0,0,5,4,4,4,4,3,4,4,5,5,5,5,0,0,0,0,0,0,0,0,6,7,6,7,7,7,7,7,7,7,8,7,0,0,0,0,0,0,0,0,8,9,10,8,7,7,7,8,7,7,7,7,0,0,0,0,0,0,0,0,7,6,7,7,6,7,7,8,8,7,7,7,0,0,0,0,0,0,0,0,6,6,6,5,6,6,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,5,6,6,5,5,6,6,5,5,6,5,0,0,0,0,0,0,0,0,5,5,5,6,5,5,6,7,7,7,7,7,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,5,6,6,5,5,0,0,0,0,0,0,0,0,5,4,4,4,4,5,5,6,5,6,6,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,5,6,5,4,4,0,0,0,0,0,0,0,0,5,4,4,5,5,5,5,5,5,6,5,6,0,0,0,0,0,0,0,0,4,4,4,4,4,3,4,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,1,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,5,6,6,7,9,11,10,12,13,0,0,0,0,0,0,0,0,18,19,20,22,22,23,23,23,24,24,25,23,0,0,0,0,0,0,0,0,21,25,24,26,26,25,26,27,27,27,28,28,0,0,0,0,0,0,0,0,27,28,27,28,28,27,28,25,27,27,27,27,0,0,0,0,0,0,0,0,24,23,22,23,20,18,17,16,15,12,9,7,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,4,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,3,3,2,3,2,2,1,1,0,1,1,1,0,0,0,0,0,0,0,0,2,3,3,4,4,5,6,5,6,5,4,4,0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,4,4,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,5,4,4,4,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,7,8,9,8,8,9,10,12,13,14,17,18,0,0,0,0,0,0,0,0,19,18,21,21,19,20,21,20,21,21,21,17,0,0,0,0,0,0,0,0,21,18,19,19,21,16,15,18,18],[0,28,28,28,28,28,27,28,27,27,27,26,27,25,26,26,26,27,26,27,0,0,0,0,0,0,0,0,27,27,27,27,28,28,27,28,28,27,28,27,0,0,0,0,0,0,0,0,25,25,25,23,23,23,21,22,20,21,20,19,0,0,0,0,0,0,0,0,5,4,4,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,6,6,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,8,8,7,6,6,6,7,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,5,6,6,7,6,6,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,4,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,4,5,5,4,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,5,6,6,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,4,3,4,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,5,5,4,3,0,0,0,0,0,0,0,0,4,3,3,4,4,4,4,4,4,4,4,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,3,3,3,2,2,0,0,0,0,0,0,0,0,2,2,2,1,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,5,5,6,7,8,9,11,12,13,0,0,0,0,0,0,0,0,19,20,19,21,24,22,22,23,24,23,24,21,0,0,0,0,0,0,0,0,22,24,26,26,27,26,25,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,28,27,27,26,27,26,26,27,26,27,0,0,0,0,0,0,0,0,23,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0,0,0,0,0,0,7,10,9,8,9,10,10,12,13,15,15,18,0,0,0,0,0,0,0,0,20,19,22,22,20,21,22,21,22,22,22,19,0,0,0,0,0,0,0,0,20,18,19,19,21,18,17,19,17],[0,28,27,27,28,28,27,27,28,26,26,25,26,26,25,26,26,27,26,27,0,0,0,0,0,0,0,0,27,27,26,27,28,28,27,27,27,27,28,27,0,0,0,0,0,0,0,0,24,24,23,23,24,22,21,21,20,21,19,19,0,0,0,0,0,0,0,0,6,5,5,5,4,4,5,5,5,6,6,5,0,0,0,0,0,0,0,0,7,6,7,8,7,7,8,7,7,7,8,8,0,0,0,0,0,0,0,0,8,9,9,8,8,8,7,8,8,7,8,7,0,0,0,0,0,0,0,0,7,7,7,7,6,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,6,7,7,6,6,7,7,7,8,7,8,0,0,0,0,0,0,0,0,7,7,6,6,7,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,6,6,5,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,7,7,7,6,6,7,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,5,4,4,4,4,5,6,5,4,4,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,6,6,6,0,0,0,0,0,0,0,0,5,5,5,4,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,3,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,5,5,5,6,6,7,8,10,10,11,13,14,0,0,0,0,0,0,0,0,18,19,19,20,21,21,22,21,23,22,23,21,0,0,0,0,0,0,0,0,22,22,24,25,27,23,24,25,25,25,26,25,0,0,0,0,0,0,0,0,25,25,25,25,25,24,25,24,24,25,24,26,0,0,0,0,0,0,0,0,22,22,20,19,18,17,15,14,12,11,9,7,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,5,5,5,5,0,0,0,0,0,0,0,0,6,5,5,4,4,4,5,5,6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,20,22,22,19,18,21,17],[0,27,27,26,27,27,27,27,27,26,26,25,26,25,26,26,26,26,26,26,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,27,27,27,28,27,0,0,0,0,0,0,0,0,25,24,23,22,23,23,21,21,21,20,18,19,0,0,0,0,0,0,0,0,8,7,7,7,6,6,7,7,7,8,7,7,0,0,0,0,0,0,0,0,9,9,9,10,9,10,10,10,10,10,11,10,0,0,0,0,0,0,0,0,11,12,12,11,10,11,10,10,10,9,10,10,0,0,0,0,0,0,0,0,9,8,9,9,8,9,8,9,9,10,9,10,0,0,0,0,0,0,0,0,9,9,9,8,9,8,9,9,10,10,9,10,0,0,0,0,0,0,0,0,9,8,8,8,9,8,8,8,8,8,7,8,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,8,9,9,8,9,0,0,0,0,0,0,0,0,9,9,10,9,8,9,8,8,9,8,8,8,0,0,0,0,0,0,0,0,7,7,6,7,7,7,8,8,8,8,8,8,0,0,0,0,0,0,0,0,6,6,6,6,5,5,6,6,7,7,6,6,0,0,0,0,0,0,0,0,7,6,6,6,7,6,6,6,6,7,7,8,0,0,0,0,0,0,0,0,7,6,6,5,6,5,6,5,5,4,5,5,0,0,0,0,0,0,0,0,4,4,3,3,3,3,3,3,3,4,4,4,0,0,0,0,0,0,0,0,6,7,7,8,8,8,10,10,11,11,13,13,0,0,0,0,0,0,0,0,18,18,19,20,21,21,22,23,23,22,23,21,0,0,0,0,0,0,0,0,21,22,23,23,26,24,24,25,25,25,26,26,0,0,0,0,0,0,0,0,26,26,25,26,26,26,25,23,25,25,24,26,0,0,0,0,0,0,0,0,22,22,20,20,19,17,16,14,13,12,10,9,0,0,0,0,0,0,0,0,4,3,4,4,5,4,5,5,5,5,5,6,0,0,0,0,0,0,0,0,7,6,5,5,5,6,6,7,8,8,7,7,0,0,0,0,0,0,0,0,5,4,4,4,4,4,3,3,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,2,3,3,5,5,4,4,3,4,0,0,0,0,0,0,0,0,4,3,4,4,4,4,4,5,4,4,5,5,0,0,0,0,0,0,0,0,6,7,7,6,7,7,7,8,9,9,9,8,0,0,0,0,0,0,0,0,9,10,10,10,10,11,11,11,11,11,11,9,0,0,0,0,0,0,0,0,8,8,7,7,7,7,6,6,6,6,5,5,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,6,7,7,0,0,0,0,0,0,0,0,8,9,9,9,10,10,9,9,9,9,10,10,0,0,0,0,0,0,0,0,11,11,11,10,11,11,10,9,9,8,8,7,0,0,0,0,0,0,0,0,6,5,5,5,4,4,4,4,3,3,4,3,0,0,0,0,0,0,0,0,5,5,5,6,6,5,6,6,6,6,6,7,0,0,0,0,0,0,0,0,6,6,6,5,5,5,5,5,5,5,4,5,0,0,0,0,0,0,0,0,6,6,7,7,7,7,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,5,5,5,6,6,6,5,6,6,5,6,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,3,2,2,3,3,0,0,0,0,0,0,0,0,7,10,9,7,9,11,12,12,15,14,17,19,0,0,0,0,0,0,0,0,21,20,23,22,20,21,23,21,21,22,21,21,0,0,0,0,0,0,0,0,21,18,20,20,22,18,17,20,18],[0,29,28,28,28,28,28,28,28,27,27,26,27,27,27,26,27,27,27,27,0,0,0,0,0,0,0,0,28,28,26,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,26,26,24,23,24,23,22,22,22,20,20,20,0,0,0,0,0,0,0,0,9,8,8,7,7,6,7,8,8,8,8,8,0,0,0,0,0,0,0,0,10,9,10,11,10,10,11,11,10,10,11,11,0,0,0,0,0,0,0,0,11,12,12,12,11,11,11,11,10,10,10,10,0,0,0,0,0,0,0,0,10,10,10,9,9,10,9,10,9,10,10,10,0,0,0,0,0,0,0,0,9,10,10,9,10,9,10,10,10,10,10,11,0,0,0,0,0,0,0,0,10,9,10,10,9,9,9,9,8,9,9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,6,6,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,7,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,8,7,8,8,7,8,8,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,7,6,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,4,3,3,4,3,3,3,3,3,2,3,3,0,0,0,0,0,0,0,0,8,10,9,8,9,10,12,13,13,14,18,19,0,0,0,0,0,0,0,0,21,20,21,23,20,21,22,22,22,23,23,21,0,0,0,0,0,0,0,0,21,18,20,20,21,18,17,19,18],[0,28,27,28,28,27,28,27,27,27,26,25,27,25,27,26,27,26,27,28,0,0,0,0,0,0,0,0,29,29,28,29,29,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,27,26,25,24,25,23,23,23,23,21,21,22,0,0,0,0,0,0,0,0,11,10,9,8,8,8,9,9,9,10,10,10,0,0,0,0,0,0,0,0,12,12,13,14,13,13,13,13,12,14,14,14,0,0,0,0,0,0,0,0,15,16,16,15,14,15,13,14,14,14,12,12,0,0,0,0,0,0,0,0,12,10,12,11,10,11,11,12,11,12,12,12,0,0,0,0,0,0,0,0,11,13,13,10,12,12,12,12,14,13,13,13,0,0,0,0,0,0,0,0,11,10,11,12,11,10,11,11,9,10,10,10,0,0,0,0,0,0,0,0,9,8,10,10,9,10,10,11,11,11,10,11,0,0,0,0,0,0,0,0,11,11,12,12,10,12,11,10,11,11,11,9,0,0,0,0,0,0,0,0,9,9,7,8,8,9,9,9,9,10,9,10,0,0,0,0,0,0,0,0,8,7,7,7,6,6,6,8,8,8,7,6,0,0,0,0,0,0,0,0,9,9,7,9,9,8,9,9,9,10,10,10,0,0,0,0,0,0,0,0,8,8,8,8,8,6,7,7,6,6,6,6,0,0,0,0,0,0,0,0,5,5,4,4,4,4,4,5,4,5,5,5,0,0,0,0,0,0,0,0,9,9,9,10,11,10,12,13,14,14,15,16,0,0,0,0,0,0,0,0,21,20,21,23,23,23,25,25,25,23,24,23,0,0,0,0,0,0,0,0,21,24,24,25,26,25,26,26,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,27,27,27,26,27,27,26,27,0,0,0,0,0,0,0,0,23,24,22,21,21,19,18,16,15,13,12,11,0,0,0,0,0,0,0,0,5,5,5,6,6,7,6,6,7,7,7,8,0,0,0,0,0,0,0,0,8,9,8,7,7,7,8,8,9,10,9,9,0,0,0,0,0,0,0,0,7,7,7,7,6,6,5,4,4,4,3,3,0,0,0,0,0,0,0,0,1,0,1,2,3,3,5,5,5,5,4,4,0,0,0,0,0,0,0,0,6,5,5,6,6,6,6,5,6,6,6,6,0,0,0,0,0,0,0,0,9,10,9,8,9,10,9,11,11,12,11,10,0,0,0,0,0,0,0,0,12,13,12,14,13,13,15,15,15,14,14,12,0,0,0,0,0,0,0,0,11,11,10,10,10,10,9,9,8,9,8,7,0,0,0,0,0,0,0,0,5,4,4,4,4,3,3,4,4,4,4,5,0,0,0,0,0,0,0,0,8,8,8,8,9,8,8,9,8,9,10,10,0,0,0,0,0,0,0,0,11,11,14,12,14,13,11,12,12,13,14,14,0,0,0,0,0,0,0,0,14,15,14,13,14,14,12,12,12,11,11,10,0,0,0,0,0,0,0,0,9,8,7,7,8,7,7,7,6,6,6,5,0,0,0,0,0,0,0,0,8,8,8,8,8,9,9,8,9,9,9,10,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,7,7,0,0,0,0,0,0,0,0,9,8,9,9,9,9,9,9,8,8,9,8,0,0,0,0,0,0,0,0,7,7,8,7,8,8,7,8,8,8,7,7,0,0,0,0,0,0,0,0,4,4,4,4,4,3,4,4,3,4,4,4,0,0,0,0,0,0,0,0,9,11,10,8,10,11,13,14,15,15,18,19,0,0,0,0,0,0,0,0,22,20,24,22,21,23,22,22,22,24,22,20,0,0,0,0,0,0,0,0,23,19,21,21,23,19,18,20,18],[0,27,26,27,27,26,27,27,26,26,25,25,26,25,26,25,27,26,26,27,0,0,0,0,0,0,0,0,28,27,27,28,28,28,28,28,26,28,28,28,0,0,0,0,0,0,0,0,26,26,25,24,25,24,23,22,23,22,21,21,0,0,0,0,0,0,0,0,12,11,11,9,9,9,10,11,11,11,12,11,0,0,0,0,0,0,0,0,15,15,15,15,16,16,15,16,16,16,16,16,0,0,0,0,0,0,0,0,17,17,18,17,16,18,17,16,16,16,15,14,0,0,0,0,0,0,0,0,15,12,14,14,12,12,12,13,13,14,14,14,0,0,0,0,0,0,0,0,15,15,15,13,16,14,15,16,16,16,16,15,0,0,0,0,0,0,0,0,14,12,13,14,14,13,13,14,11,12,12,11,0,0,0,0,0,0,0,0,11,10,12,12,10,11,11,12,12,13,11,12,0,0,0,0,0,0,0,0,14,14,15,14,12,16,14,12,13,14,13,12,0,0,0,0,0,0,0,0,11,11,9,10,10,11,11,12,12,11,11,11,0,0,0,0,0,0,0,0,10,9,9,8,7,8,8,8,9,9,8,7,0,0,0,0,0,0,0,0,9,9,8,9,10,9,9,10,10,10,11,12,0,0,0,0,0,0,0,0,10,9,9,9,10,7,8,8,8,6,8,7,0,0,0,0,0,0,0,0,7,7,5,6,6,6,6,6,5,6,7,7,0,0,0,0,0,0,0,0,9,10,10,11,10,11,12,12,13,14,16,16,0,0,0,0,0,0,0,0,21,19,20,23,23,23,24,24,24,23,25,23,0,0,0,0,0,0,0,0,23,24,24,25,26,25,26,26,27,27,27,27,0,0,0,0,0,0,0,0,28,27,27,28,27,27,26,24,26,26,27,27,0,0,0,0,0,0,0,0,23,24,22,21,21,18,19,15,15,14,12,12,0,0,0,0,0,0,0,0,5,6,6,6,7,8,7,7,8,7,8,9,0,0,0,0,0,0,0,0,9,8,7,9,8,8,9,9,9,11,10,10,0,0,0,0,0,0,0,0,9,8,7,8,7,6,6,6,5,5,4,4,0,0,0,0,0,0,0,0,1,1,0,1,3,3,5,5,5,6,4,5,0,0,0,0,0,0,0,0,7,5,6,7,6,6,6,6,5,6,8,7,0,0,0,0,0,0,0,0,9,10,10,10,10,10,10,11,12,12,12,11,0,0,0,0,0,0,0,0,14,15,16,15,16,15,16,17,16,17,16,14,0,0,0,0,0,0,0,0,12,13,11,12,12,11,11,10,9,9,8,8,0,0,0,0,0,0,0,0,5,5,5,5,4,4,3,4,5,4,4,6,0,0,0,0,0,0,0,0,8,8,8,8,9,9,9,9,9,9,11,11,0,0,0,0,0,0,0,0,13,13,15,14,15,16,14,15,14,15,16,16,0,0,0,0,0,0,0,0,16,16,15,16,15,15,15,14,14,13,13,12,0,0,0,0,0,0,0,0,9,8,8,8,8,8,7,8,6,6,7,6,0,0,0,0,0,0,0,0,8,9,9,9,9,8,10,10,9,9,10,10,0,0,0,0,0,0,0,0,9,9,9,8,9,8,9,8,8,8,7,8,0,0,0,0,0,0,0,0,9,10,10,10,10,10,9,9,9,9,9,9,0,0,0,0,0,0,0,0,8,8,9,8,8,9,8,8,9,9,7,7,0,0,0,0,0,0,0,0,5,4,4,5,4,4,4,4,4,3,4,4,0,0,0,0,0,0,0,0,9,11,10,9,10,11,13,14,13,16,16,18,0,0,0,0,0,0,0,0,21,20,24,23,20,22,24,22,22,23,22,21,0,0,0,0,0,0,0,0,20,19,20,20,21,20,17,18,17],[0,26,26,26,27,27,27,27,27,26,26,26,27,26,26,26,27,27,27,27,0,0,0,0,0,0,0,0,28,28,28,29,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,27,28,27,26,26,26,25,25,26,24,23,0,0,0,0,0,0,0,0,17,18,18,16,17,14,17,17,18,19,18,18,0,0,0,0,0,0,0,0,19,20,20,20,21,22,20,20,20,20,20,19,0,0,0,0,0,0,0,0,21,20,20,21,20,22,20,19,20,20,18,19,0,0,0,0,0,0,0,0,19,16,17,18,17,16,17,17,17,18,18,18,0,0,0,0,0,0,0,0,20,20,19,20,20,19,20,21,20,19,19,18,0,0,0,0,0,0,0,0,21,19,18,18,19,18,17,18,16,16,15,15,0,0,0,0,0,0,0,0,16,14,15,17,15,15,15,16,17,18,15,17,0,0,0,0,0,0,0,0,19,19,19,18,17,19,18,17,19,19,17,18,0,0,0,0,0,0,0,0,17,16,15,17,16,15,17,17,17,16,16,16,0,0,0,0,0,0,0,0,15,13,13,13,12,12,11,12,13,12,11,12,0,0,0,0,0,0,0,0,15,15,14,15,17,14,16,15,15,15,17,17,0,0,0,0,0,0,0,0,16,14,17,15,16,14,15,14,14,13,15,14,0,0,0,0,0,0,0,0,12,11,8,10,10,9,8,8,9,10,12,11,0,0,0,0,0,0,0,0,15,17,15,16,16,17,16,19,18,18,21,21,0,0,0,0,0,0,0,0,23,23,25,26,25,25,26,25,27,24,26,25,0,0,0,0,0,0,0,0,23,24,26,26,26,26,26,27,27,27,28,28,0,0,0,0,0,0,0,0,27,28,27,28,27,27,27,26,27,27,27,27,0,0,0,0,0,0,0,0,25,25,24,23,23,21,21,18,19,17,17,15,0,0,0,0,0,0,0,0,9,8,7,9,9,8,9,10,10,9,11,11,0,0,0,0,0,0,0,0,8,10,9,9,9,9,10,10,11,13,12,12,0,0,0,0,0,0,0,0,11,10,11,11,11,10,10,8,9,8,8,7,0,0,0,0,0,0,0,0,3,3,1,0,1,3,5,5,5,7,7,7,0,0,0,0,0,0,0,0,13,11,11,12,12,11,11,13,11,12,13,13,0,0,0,0,0,0,0,0,14,16,16,16,15,15,15,15,17,15,15,17,0,0,0,0,0,0,0,0,19,20,20,19,20,20,19,19,19,20,20,19,0,0,0,0,0,0,0,0,19,19,18,17,18,18,18,16,17,16,15,15,0,0,0,0,0,0,0,0,11,10,9,9,9,8,7,8,10,8,9,13,0,0,0,0,0,0,0,0,13,12,13,14,14,14,14,17,16,14,16,16,0,0,0,0,0,0,0,0,19,20,19,20,19,20,21,20,21,20,19,20,0,0,0,0,0,0,0,0,20,20,19,21,19,19,19,20,18,18,17,19,0,0,0,0,0,0,0,0,15,14,15,14,13,13,13,14,12,11,13,12,0,0,0,0,0,0,0,0,12,13,12,14,13,13,14,14,15,14,15,16,0,0,0,0,0,0,0,0,17,15,15,13,15,13,13,13,13,13,12,13,0,0,0,0,0,0,0,0,15,14,15,15,16,14,17,14,14,15,13,13,0,0,0,0,0,0,0,0,11,11,14,12,13,11,12,10,12,12,11,11,0,0,0,0,0,0,0,0,8,5,6,7,6,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,9,10,10,9,10,11,13,14,15,15,17,21,0,0,0,0,0,0,0,0,21,22,24,24,22,23,24,24,22,23,24,21,0,0,0,0,0,0,0,0,22,17,20,19,22,21,16,18,18],[0,29,28,28,29,28,29,29,28,28,28,27,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,30,29,29,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,28,27,27,28,27,25,26,26,26,24,25,0,0,0,0,0,0,0,0,17,17,18,16,16,16,17,16,16,17,18,17,0,0,0,0,0,0,0,0,20,19,20,20,20,20,20,20,19,19,20,20,0,0,0,0,0,0,0,0,20,19,20,20,20,21,19,19,19,19,18,19,0,0,0,0,0,0,0,0,18,17,18,18,17,16,16,17,18,18,18,18,0,0,0,0,0,0,0,0,18,19,19,18,20,18,19,20,20,20,20,18,0,0,0,0,0,0,0,0,19,17,19,19,18,18,18,18,16,16,17,17,0,0,0,0,0,0,0,0,15,15,17,16,16,16,16,17,18,18,18,19,0,0,0,0,0,0,0,0,19,18,19,20,18,19,18,18,17,19,18,17,0,0,0,0,0,0,0,0,17,17,14,16,15,15,15,15,17,15,15,16,0,0,0,0,0,0,0,0,15,12,13,14,12,12,12,13,14,12,11,10,0,0,0,0,0,0,0,0,16,16,14,17,16,16,17,17,18,17,17,17,0,0,0,0,0,0,0,0,15,14,14,15,15,14,15,16,14,13,14,15,0,0,0,0,0,0,0,0,12,13,10,11,11,11,9,11,11,12,11,11,0,0,0,0,0,0,0,0,16,16,16,16,17,16,17,19,18,18,20,20,0,0,0,0,0,0,0,0,25,24,25,27,26,26,27,26,27,26,27,25,0,0,0,0,0,0,0,0,24,25,26,25,26,26,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,27,28,27,28,28,27,29,0,0,0,0,0,0,0,0,26,26,25,23,24,22,22,19,18,19,15,15,0,0,0,0,0,0,0,0,11,10,10,11,11,10,10,10,10,10,10,11,0,0,0,0,0,0,0,0,10,10,10,10,11,10,10,11,11,13,13,12,0,0,0,0,0,0,0,0,13,11,10,11,11,12,11,11,12,10,10,10,0,0,0,0,0,0,0,0,4,2,1,1,0,1,3,4,5,6,8,8,0,0,0,0,0,0,0,0,12,10,10,11,11,9,11,11,13,12,12,12,0,0,0,0,0,0,0,0,16,17,16,15,15,15,17,16,16,16,17,17,0,0,0,0,0,0,0,0,19,20,21,20,20,19,21,22,21,22,21,20,0,0,0,0,0,0,0,0,17,16,16,17,17,17,16,16,16,15,14,14,0,0,0,0,0,0,0,0,11,11,11,10,10,11,8,10,11,11,11,13,0,0,0,0,0,0,0,0,15,14,15,15,16,15,16,17,16,15,17,16,0,0,0,0,0,0,0,0,18,18,20,21,20,20,20,19,18,21,21,21,0,0,0,0,0,0,0,0,21,19,20,20,19,19,19,19,18,18,17,19,0,0,0,0,0,0,0,0,16,14,15,14,15,14,14,14,13,12,13,13,0,0,0,0,0,0,0,0,13,13,15,15,14,14,14,15,17,15,15,17,0,0,0,0,0,0,0,0,15,15,15,14,15,14,13,14,14,13,14,13,0,0,0,0,0,0,0,0,13,13,15,14,14,16,15,13,13,15,14,13,0,0,0,0,0,0,0,0,12,12,12,12,13,11,12,13,13,13,12,12,0,0,0,0,0,0,0,0,10,10,11,10,8,8,10,8,8,8,8,8,0,0,0,0,0,0,0,0,11,11,11,9,11,11,15,15,16,16,16,18,0,0,0,0,0,0,0,0,21,22,25,23,22,23,24,24,21,25,24,21,0,0,0,0,0,0,0,0,24,19,22,19,23,20,18,19,18],[0,28,28,28,29,29,29,29,29,27,28,27,28,28,28,28,28,29,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,28,28,28,27,27,26,27,26,26,0,0,0,0,0,0,0,0,20,22,22,19,21,18,20,21,20,21,21,22,0,0,0,0,0,0,0,0,23,23,23,23,24,24,23,24,24,23,23,24,0,0,0,0,0,0,0,0,23,22,23,23,24,24,24,24,22,23,22,22,0,0,0,0,0,0,0,0,22,20,21,22,21,20,20,20,21,21,23,21,0,0,0,0,0,0,0,0,23,24,22,22,24,22,23,24,23,23,23,22,0,0,0,0,0,0,0,0,23,22,21,22,22,21,21,22,20,21,21,21,0,0,0,0,0,0,0,0,20,18,21,20,19,19,20,19,21,21,19,22,0,0,0,0,0,0,0,0,23,23,22,22,21,23,22,20,22,23,21,21,0,0,0,0,0,0,0,0,21,20,18,20,19,20,19,21,20,19,19,20,0,0,0,0,0,0,0,0,18,17,18,18,17,14,14,17,17,15,13,14,0,0,0,0,0,0,0,0,19,19,16,19,19,18,19,19,20,19,21,22,0,0,0,0,0,0,0,0,19,17,18,19,19,17,18,18,17,16,19,17,0,0,0,0,0,0,0,0,15,17,15,15,16,15,14,15,15,16,16,14,0,0,0,0,0,0,0,0,19,19,18,19,20,20,21,23,22,21,24,23,0,0,0,0,0,0,0,0,25,26,26,27,27,28,28,27,28,27,28,26,0,0,0,0,0,0,0,0,26,26,27,27,27,27,28,28,28,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,27,28,28,29,29,0,0,0,0,0,0,0,0,27,27,26,25,26,23,24,21,21,20,18,17,0,0,0,0,0,0,0,0,14,14,14,13,15,14,13,13,14,13,14,15,0,0,0,0,0,0,0,0,13,14,14,13,14,14,14,14,16,18,16,17,0,0,0,0,0,0,0,0,16,14,15,16,15,16,14,17,14,16,12,14,0,0,0,0,0,0,0,0,6,4,5,3,1,0,2,4,4,6,9,10,0,0,0,0,0,0,0,0,15,15,13,15,15,13,14,15,15,15,16,15,0,0,0,0,0,0,0,0,18,20,20,20,20,21,20,20,21,19,20,20,0,0,0,0,0,0,0,0,23,23,24,23,23,24,24,24,23,23,24,22,0,0,0,0,0,0,0,0,22,22,22,21,23,20,20,20,19,19,18,18,0,0,0,0,0,0,0,0,15,15,17,15,12,14,10,13,14,14,13,17,0,0,0,0,0,0,0,0,16,17,17,17,18,18,19,20,20,19,21,20,0,0,0,0,0,0,0,0,23,23,22,23,23,24,24,23,24,24,24,25,0,0,0,0,0,0,0,0,23,23,22,24,23,22,23,22,21,20,20,22,0,0,0,0,0,0,0,0,20,17,18,19,18,16,16,16,15,15,15,15,0,0,0,0,0,0,0,0,17,16,16,17,18,16,19,20,21,18,19,20,0,0,0,0,0,0,0,0,20,20,19,18,20,18,17,17,18,16,16,16,0,0,0,0,0,0,0,0,18,17,18,19,18,19,20,17,18,20,18,18,0,0,0,0,0,0,0,0,14,16,18,17,18,16,17,16,17,17,14,15,0,0,0,0,0,0,0,0,12,10,12,12,9,8,9,11,8,9,10,9,0,0,0,0,0,0,0,0,10,11,9,9,11,13,12,14,14,16,19,20,0,0,0,0,0,0,0,0,24,24,25,25,22,24,25,24,22,26,25,23,0,0,0,0,0,0,0,0,24,19,22,19,23,21,20,20,20],[0,27,27,27,28,28,28,28,28,27,27,27,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,28,29,28,28,28,28,27,26,0,0,0,0,0,0,0,0,23,24,24,22,22,19,22,23,23,23,24,24,0,0,0,0,0,0,0,0,24,24,26,25,25,25,25,25,25,26,25,25,0,0,0,0,0,0,0,0,23,24,24,25,25,25,24,25,23,23,24,23,0,0,0,0,0,0,0,0,23,21,21,23,22,21,20,22,23,23,24,23,0,0,0,0,0,0,0,0,24,25,24,25,24,24,24,26,26,24,26,24,0,0,0,0,0,0,0,0,25,23,23,24,24,23,22,23,20,22,21,21,0,0,0,0,0,0,0,0,21,20,21,21,21,22,21,21,22,22,21,22,0,0,0,0,0,0,0,0,24,24,24,24,23,25,24,24,24,24,23,22,0,0,0,0,0,0,0,0,22,21,20,21,21,21,22,23,22,21,22,21,0,0,0,0,0,0,0,0,19,18,19,18,18,16,17,18,18,18,17,17,0,0,0,0,0,0,0,0,20,20,19,21,22,19,21,21,21,21,23,23,0,0,0,0,0,0,0,0,21,19,21,19,22,20,19,20,20,17,21,20,0,0,0,0,0,0,0,0,19,17,16,17,17,15,14,16,16,19,18,18,0,0,0,0,0,0,0,0,22,23,21,22,22,22,23,24,24,24,25,24,0,0,0,0,0,0,0,0,27,27,28,28,28,28,29,28,29,28,28,27,0,0,0,0,0,0,0,0,26,27,28,28,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,29,28,29,29,0,0,0,0,0,0,0,0,28,27,27,26,26,24,25,21,23,21,21,21,0,0,0,0,0,0,0,0,17,17,17,18,18,17,16,17,17,16,17,18,0,0,0,0,0,0,0,0,14,17,16,16,17,17,16,17,17,20,18,21,0,0,0,0,0,0,0,0,20,17,18,20,18,18,17,18,17,16,16,14,0,0,0,0,0,0,0,0,8,8,9,6,5,1,0,2,3,5,8,8,0,0,0,0,0,0,0,0,16,17,16,17,16,16,18,17,17,18,18,18,0,0,0,0,0,0,0,0,20,21,22,21,22,21,23,21,23,20,22,23,0,0,0,0,0,0,0,0,24,25,26,24,25,25,25,25,25,25,26,24,0,0,0,0,0,0,0,0,25,24,24,23,24,24,23,21,22,22,20,20,0,0,0,0,0,0,0,0,17,17,17,15,13,13,13,15,17,16,16,20,0,0,0,0,0,0,0,0,19,19,20,21,21,21,20,24,23,20,22,22,0,0,0,0,0,0,0,0,25,25,25,26,26,26,25,25,26,26,26,26,0,0,0,0,0,0,0,0,26,25,24,25,24,24,25,25,24,24,23,24,0,0,0,0,0,0,0,0,22,19,21,21,20,20,19,20,19,19,20,19,0,0,0,0,0,0,0,0,20,21,21,23,19,21,22,21,23,21,21,22,0,0,0,0,0,0,0,0,24,22,21,20,23,21,19,20,21,19,20,20,0,0,0,0,0,0,0,0,21,20,22,22,21,23,22,22,22,22,21,22,0,0,0,0,0,0,0,0,19,20,20,19,21,20,20,21,20,21,19,18,0,0,0,0,0,0,0,0,14,14,15,15,12,13,12,11,10,11,11,10,0,0,0,0,0,0,0,0,10,11,10,11,12,15,15,16,17,16,19,20,0,0,0,0,0,0,0,0,23,23,27,26,23,24,26,24,24,27,25,20,0,0,0,0,0,0,0,0,25,20,22,20,23,21,19,20,21],[0,29,28,29,29,29,29,29,29,29,28,29,29,28,29,28,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,28,28,28,28,27,28,28,27,27,26,0,0,0,0,0,0,0,0,25,24,25,22,23,22,22,24,25,24,25,25,0,0,0,0,0,0,0,0,26,26,25,26,26,26,26,26,25,26,26,26,0,0,0,0,0,0,0,0,24,25,26,26,26,26,26,26,24,25,24,24,0,0,0,0,0,0,0,0,24,21,23,25,21,21,22,22,24,25,25,25,0,0,0,0,0,0,0,0,24,26,25,23,25,26,25,25,26,26,25,25,0,0,0,0,0,0,0,0,24,24,25,25,22,23,24,23,20,23,22,22,0,0,0,0,0,0,0,0,20,20,22,22,20,22,22,23,22,23,21,24,0,0,0,0,0,0,0,0,25,24,26,26,24,26,25,22,25,25,22,20,0,0,0,0,0,0,0,0,23,21,20,22,24,23,23,24,23,22,22,22,0,0,0,0,0,0,0,0,21,19,20,19,17,17,18,19,19,18,16,18,0,0,0,0,0,0,0,0,20,20,20,22,22,21,23,23,23,22,24,24,0,0,0,0,0,0,0,0,20,19,20,21,21,20,21,22,20,20,23,22,0,0,0,0,0,0,0,0,20,18,16,19,18,17,14,17,17,20,20,21,0,0,0,0,0,0,0,0,23,25,23,24,23,23,24,23,24,24,24,24,0,0,0,0,0,0,0,0,28,27,28,29,29,28,29,29,29,28,29,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,29,30,29,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,28,28,27,26,26,24,26,22,23,22,23,23,0,0,0,0,0,0,0,0,20,19,19,21,21,21,20,22,21,21,20,22,0,0,0,0,0,0,0,0,17,19,18,19,21,20,19,22,19,21,22,23,0,0,0,0,0,0,0,0,24,22,21,23,23,21,20,19,19,16,15,17,0,0,0,0,0,0,0,0,7,9,9,6,5,4,2,0,2,3,6,7,0,0,0,0,0,0,0,0,17,14,14,19,18,15,18,20,21,21,21,19,0,0,0,0,0,0,0,0,23,24,22,22,23,23,23,23,23,22,23,24,0,0,0,0,0,0,0,0,25,26,26,25,26,26,26,26,26,26,27,26,0,0,0,0,0,0,0,0,25,25,25,25,24,23,24,23,21,21,21,22,0,0,0,0,0,0,0,0,17,17,17,15,15,15,15,14,18,17,18,21,0,0,0,0,0,0,0,0,21,22,24,21,22,24,24,24,23,24,25,25,0,0,0,0,0,0,0,0,25,25,26,26,26,26,26,25,25,26,26,26,0,0,0,0,0,0,0,0,26,26,25,26,25,26,25,25,26,25,25,25,0,0,0,0,0,0,0,0,23,21,22,23,22,21,21,23,22,21,22,22,0,0,0,0,0,0,0,0,22,24,23,24,23,21,25,25,25,23,25,24,0,0,0,0,0,0,0,0,24,25,24,21,24,25,23,21,24,23,23,22,0,0,0,0,0,0,0,0,23,23,23,23,24,24,24,23,24,24,22,25,0,0,0,0,0,0,0,0,22,24,22,22,24,23,22,24,22,22,22,22,0,0,0,0,0,0,0,0,19,15,17,19,16,16,14,17,13,12,16,12,0,0,0,0,0,0,0,0,12,14,12,12,13,13,15,16,17,19,20,22,0,0,0,0,0,0,0,0,24,24,25,26,24,25,26,25,23,26,26,24,0,0,0,0,0,0,0,0,24,21,24,23,24,22,20,21,21],[0,28,28,28,29,28,28,29,28,28,27,27,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,29,29,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,28,28,28,26,0,0,0,0,0,0,0,0,24,24,25,22,22,19,21,23,24,22,25,24,0,0,0,0,0,0,0,0,25,24,26,25,25,25,26,26,24,25,25,25,0,0,0,0,0,0,0,0,23,24,25,24,25,25,25,25,23,25,22,23,0,0,0,0,0,0,0,0,23,20,22,23,21,21,22,21,23,23,24,23,0,0,0,0,0,0,0,0,24,25,24,22,25,24,24,25,25,24,24,25,0,0,0,0,0,0,0,0,23,22,23,24,21,21,23,22,19,22,22,21,0,0,0,0,0,0,0,0,19,19,21,20,19,21,22,21,23,22,21,23,0,0,0,0,0,0,0,0,24,23,25,25,23,25,24,21,24,24,21,19,0,0,0,0,0,0,0,0,21,20,17,21,21,21,22,23,21,22,22,21,0,0,0,0,0,0,0,0,18,16,17,18,14,15,16,17,18,16,16,15,0,0,0,0,0,0,0,0,19,20,19,21,21,20,21,22,22,21,23,23,0,0,0,0,0,0,0,0,19,18,20,18,18,18,19,19,15,14,18,20,0,0,0,0,0,0,0,0,18,17,12,18,18,16,13,17,16,21,19,19,0,0,0,0,0,0,0,0,21,24,23,23,23,23,24,26,25,24,25,25,0,0,0,0,0,0,0,0,27,28,27,28,28,28,29,29,29,29,29,28,0,0,0,0,0,0,0,0,27,27,28,28,28,28,29,29,30,29,29,29,0,0,0,0,0,0,0,0,30,29,30,29,29,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,27,27,26,26,26,24,26,22,23,23,22,23,0,0,0,0,0,0,0,0,18,17,17,18,18,17,17,18,18,17,19,19,0,0,0,0,0,0,0,0,16,16,15,17,17,19,18,17,19,21,19,22,0,0,0,0,0,0,0,0,21,18,20,20,18,20,18,17,16,13,14,15,0,0,0,0,0,0,0,0,7,9,9,7,7,5,4,1,0,2,3,5,0,0,0,0,0,0,0,0,13,9,9,14,14,11,17,16,15,18,19,17,0,0,0,0,0,0,0,0,22,22,22,22,22,23,22,22,22,22,23,23,0,0,0,0,0,0,0,0,24,25,25,24,25,25,25,26,26,25,26,25,0,0,0,0,0,0,0,0,25,24,24,24,23,23,23,22,20,21,21,19,0,0,0,0,0,0,0,0,13,15,14,9,11,12,11,9,14,16,15,17,0,0,0,0,0,0,0,0,19,21,22,20,22,23,23,24,23,23,23,24,0,0,0,0,0,0,0,0,25,25,25,26,26,25,26,24,25,25,25,25,0,0,0,0,0,0,0,0,26,25,25,25,25,25,24,25,25,25,24,25,0,0,0,0,0,0,0,0,23,19,22,22,20,20,21,20,19,20,21,21,0,0,0,0,0,0,0,0,22,21,22,23,22,22,24,23,24,23,24,24,0,0,0,0,0,0,0,0,24,24,23,20,24,23,21,22,23,21,20,23,0,0,0,0,0,0,0,0,24,23,23,23,24,24,24,24,23,24,24,23,0,0,0,0,0,0,0,0,20,21,21,22,22,21,22,21,22,22,20,21,0,0,0,0,0,0,0,0,17,16,17,18,15,13,14,16,10,10,12,11,0,0,0,0,0,0,0,0,12,14,13,11,13,14,17,17,19,20,21,23,0,0,0,0,0,0,0,0,25,24,27,26,25,26,26,26,25,26,26,24,0,0,0,0,0,0,0,0,25,23,24,23,24,22,21,22,21],[0,29,29,29,29,29,29,29,29,28,28,28,29,28,28,28,29,29,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,27,28,28,27,27,26,0,0,0,0,0,0,0,0,20,21,21,18,19,16,18,20,21,19,21,21,0,0,0,0,0,0,0,0,23,22,23,24,23,23,23,24,21,24,24,23,0,0,0,0,0,0,0,0,22,22,23,23,22,23,22,22,21,21,20,22,0,0,0,0,0,0,0,0,22,19,20,21,20,19,20,19,21,22,22,23,0,0,0,0,0,0,0,0,21,23,22,19,22,22,22,22,24,22,22,22,0,0,0,0,0,0,0,0,20,19,20,22,18,19,21,20,18,20,20,18,0,0,0,0,0,0,0,0,18,17,20,19,20,19,20,20,21,21,20,21,0,0,0,0,0,0,0,0,22,21,23,23,21,22,22,20,21,23,20,18,0,0,0,0,0,0,0,0,18,17,15,17,18,18,19,19,18,19,19,19,0,0,0,0,0,0,0,0,14,14,13,15,13,13,13,14,15,13,14,12,0,0,0,0,0,0,0,0,18,18,16,19,18,18,19,20,21,20,20,21,0,0,0,0,0,0,0,0,17,16,17,16,15,16,17,16,13,14,14,16,0,0,0,0,0,0,0,0,14,13,9,14,13,10,9,13,14,16,14,15,0,0,0,0,0,0,0,0,19,20,19,19,20,19,21,22,22,21,23,23,0,0,0,0,0,0,0,0,27,27,27,28,29,28,29,29,29,29,29,28,0,0,0,0,0,0,0,0,27,27,28,28,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,27,27,26,26,25,23,24,22,21,21,20,20,0,0,0,0,0,0,0,0,15,16,15,16,17,17,16,16,17,17,18,18,0,0,0,0,0,0,0,0,16,15,15,15,16,16,17,17,18,19,19,20,0,0,0,0,0,0,0,0,18,16,16,17,16,16,16,16,14,9,11,13,0,0,0,0,0,0,0,0,6,8,9,7,7,5,6,3,2,0,1,3,0,0,0,0,0,0,0,0,12,10,10,13,13,11,14,14,15,15,16,15,0,0,0,0,0,0,0,0,19,20,19,18,20,19,20,20,20,20,20,20,0,0,0,0,0,0,0,0,21,22,24,24,22,23,23,23,24,24,24,23,0,0,0,0,0,0,0,0,21,21,21,20,20,19,19,19,17,18,16,16,0,0,0,0,0,0,0,0,11,12,10,9,9,10,10,9,13,13,11,14,0,0,0,0,0,0,0,0,17,17,19,18,18,20,21,20,19,19,21,21,0,0,0,0,0,0,0,0,22,22,23,22,23,24,22,22,22,22,23,24,0,0,0,0,0,0,0,0,24,24,22,23,23,22,22,22,21,21,21,22,0,0,0,0,0,0,0,0,19,16,17,19,17,17,17,17,16,16,17,17,0,0,0,0,0,0,0,0,18,20,21,20,19,18,20,20,21,19,20,21,0,0,0,0,0,0,0,0,19,20,19,17,19,20,18,17,20,18,17,18,0,0,0,0,0,0,0,0,20,20,20,20,21,21,21,20,20,20,19,19,0,0,0,0,0,0,0,0,16,18,18,18,19,18,19,20,19,20,18,20,0,0,0,0,0,0,0,0,15,15,15,16,11,12,12,12,9,9,9,10,0,0,0,0,0,0,0,0,11,13,13,11,13,13,17,17,17,18,22,23,0,0,0,0,0,0,0,0,26,24,27,27,25,26,27,27,26,27,28,26,0,0,0,0,0,0,0,0,26,24,25,24,26,23,20,22,22],[0,29,28,28,29,29,29,29,29,28,28,28,29,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,28,30,29,30,29,30,29,29,30,29,0,0,0,0,0,0,0,0,28,28,27,27,27,27,26,26,26,25,25,25,0,0,0,0,0,0,0,0,19,18,19,17,16,14,15,16,18,16,19,18,0,0,0,0,0,0,0,0,20,19,20,20,20,21,19,20,18,20,20,20,0,0,0,0,0,0,0,0,18,18,19,19,19,19,19,19,18,18,17,17,0,0,0,0,0,0,0,0,17,15,16,18,15,16,17,17,17,18,18,18,0,0,0,0,0,0,0,0,17,20,18,16,19,19,19,19,20,19,20,19,0,0,0,0,0,0,0,0,17,16,17,17,15,14,16,15,13,15,15,14,0,0,0,0,0,0,0,0,14,14,16,15,15,16,16,18,18,17,17,19,0,0,0,0,0,0,0,0,19,19,19,19,18,19,17,16,17,18,16,14,0,0,0,0,0,0,0,0,15,14,12,14,15,15,16,17,15,14,15,14,0,0,0,0,0,0,0,0,10,9,10,11,8,8,9,11,12,12,10,9,0,0,0,0,0,0,0,0,14,14,14,16,15,14,17,16,18,16,18,17,0,0,0,0,0,0,0,0,14,14,14,13,13,12,13,12,9,9,10,13,0,0,0,0,0,0,0,0,12,9,8,11,10,8,7,11,11,14,12,13,0,0,0,0,0,0,0,0,17,18,17,19,17,18,19,19,20,20,21,21,0,0,0,0,0,0,0,0,26,25,26,27,27,28,28,28,28,27,28,26,0,0,0,0,0,0,0,0,26,26,27,27,28,27,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,28,29,29,29,28,28,28,29,28,28,28,0,0,0,0,0,0,0,0,26,26,24,24,23,21,21,19,19,18,18,18,0,0,0,0,0,0,0,0,12,12,12,15,15,14,15,16,16,15,15,16,0,0,0,0,0,0,0,0,14,13,13,13,14,13,16,15,16,16,16,17,0,0,0,0,0,0,0,0,16,16,12,14,15,13,13,11,11,10,9,11,0,0,0,0,0,0,0,0,6,7,8,7,6,7,7,5,3,2,0,1,0,0,0,0,0,0,0,0,8,7,8,9,9,9,11,10,10,10,12,11,0,0,0,0,0,0,0,0,18,18,17,16,17,17,17,17,17,17,17,18,0,0,0,0,0,0,0,0,19,21,20,19,19,20,20,21,21,21,21,20,0,0,0,0,0,0,0,0,18,18,18,18,18,16,16,16,14,15,14,14,0,0,0,0,0,0,0,0,9,9,10,7,8,8,8,8,9,10,10,10,0,0,0,0,0,0,0,0,14,16,16,15,16,17,18,16,17,17,18,18,0,0,0,0,0,0,0,0,19,19,20,21,20,20,20,19,19,21,20,21,0,0,0,0,0,0,0,0,21,21,20,21,20,20,19,19,19,20,19,19,0,0,0,0,0,0,0,0,17,15,14,16,14,15,15,15,11,12,14,11,0,0,0,0,0,0,0,0,16,17,16,16,17,16,18,17,18,17,19,18,0,0,0,0,0,0,0,0,15,18,17,16,16,17,16,15,17,17,15,15,0,0,0,0,0,0,0,0,16,17,17,17,17,18,18,17,17,17,17,18,0,0,0,0,0,0,0,0,16,17,17,16,16,16,16,16,17,17,16,16,0,0,0,0,0,0,0,0,11,10,11,10,10,10,9,10,8,8,9,8,0,0,0,0,0,0,0,0,10,13,12,10,12,13,15,16,17,18,20,23,0,0,0,0,0,0,0,0,25,23,25,25,25,25,25,25,25,26,26,25,0,0,0,0,0,0,0,0,25,23,24,24,25,23,20,23,24],[0,28,27,27,27,27,28,27,27,27,27,27,27,26,27,27,27,27,27,27,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,29,29,29,0,0,0,0,0,0,0,0,28,27,27,27,27,26,25,26,25,25,24,24,0,0,0,0,0,0,0,0,16,15,15,14,12,10,12,13,14,12,14,14,0,0,0,0,0,0,0,0,16,15,16,16,16,16,16,16,14,16,18,16,0,0,0,0,0,0,0,0,16,17,18,17,16,16,15,18,15,18,15,16,0,0,0,0,0,0,0,0,14,13,16,14,12,14,14,15,16,14,15,16,0,0,0,0,0,0,0,0,13,16,14,12,14,14,15,16,16,16,16,17,0,0,0,0,0,0,0,0,13,12,13,14,12,12,13,13,10,12,13,11,0,0,0,0,0,0,0,0,12,11,13,12,13,14,13,15,16,14,14,16,0,0,0,0,0,0,0,0,16,14,16,16,14,16,14,13,13,14,13,12,0,0,0,0,0,0,0,0,11,9,8,11,10,12,13,13,13,12,12,13,0,0,0,0,0,0,0,0,8,9,9,8,6,8,8,10,10,10,9,7,0,0,0,0,0,0,0,0,12,12,11,14,13,12,13,13,14,13,14,14,0,0,0,0,0,0,0,0,11,10,12,10,9,10,10,8,7,6,8,10,0,0,0,0,0,0,0,0,9,8,7,9,8,7,8,8,9,12,11,11,0,0,0,0,0,0,0,0,14,16,15,16,16,17,18,19,19,18,20,20,0,0,0,0,0,0,0,0,24,25,24,25,27,27,27,27,27,27,27,26,0,0,0,0,0,0,0,0,25,26,27,26,27,26,28,28,28,27,28,28,0,0,0,0,0,0,0,0,28,27,28,28,27,28,27,26,27,27,28,28,0,0,0,0,0,0,0,0,24,24,22,23,21,20,21,18,19,17,17,16,0,0,0,0,0,0,0,0,12,11,11,12,12,12,13,13,13,14,15,15,0,0,0,0,0,0,0,0,13,12,13,12,12,14,13,13,15,16,15,17,0,0,0,0,0,0,0,0,13,12,12,13,12,11,11,11,10,7,8,9,0,0,0,0,0,0,0,0,5,6,6,6,5,6,6,5,4,3,1,0,0,0,0,0,0,0,0,0,6,5,6,7,7,7,9,9,8,9,11,10,0,0,0,0,0,0,0,0,12,14,14,13,13,14,13,14,15,15,15,14,0,0,0,0,0,0,0,0,15,16,17,17,16,18,18,19,17,18,18,17,0,0,0,0,0,0,0,0,15,14,14,14,14,14,13,12,12,12,11,11,0,0,0,0,0,0,0,0,6,7,7,5,5,7,6,5,7,8,8,9,0,0,0,0,0,0,0,0,12,12,12,12,12,13,13,14,14,13,14,14,0,0,0,0,0,0,0,0,16,15,17,16,17,17,15,15,15,17,18,17,0,0,0,0,0,0,0,0,18,18,17,17,18,17,17,17,16,16,16,16,0,0,0,0,0,0,0,0,13,11,12,13,12,12,13,13,10,11,14,11,0,0,0,0,0,0,0,0,14,13,13,14,13,13,14,13,14,13,15,16,0,0,0,0,0,0,0,0,14,15,14,13,14,13,13,13,14,14,13,14,0,0,0,0,0,0,0,0,16,16,15,15,15,16,16,15,16,15,15,16,0,0,0,0,0,0,0,0,13,14,14,14,16,14,15,14,15,17,14,14,0,0,0,0,0,0,0,0,10,9,10,9,9,7,8,9,6,6,5,6,0,0,0,0,0,0,0,0,10,11,12,12,11,12,16,16,18,18,22,22,0,0,0,0,0,0,0,0,24,24,26,25,25,24,26,25,25,26,26,24,0,0,0,0,0,0,0,0,25,22,24,24,24,22,20,23,24],[0,29,29,29,29,29,29,29,29,28,28,28,29,27,28,27,28,28,28,28,0,0,0,0,0,0,0,0,29,29,27,29,29,30,28,29,28,29,29,29,0,0,0,0,0,0,0,0,27,26,26,26,26,25,24,26,25,24,23,23,0,0,0,0,0,0,0,0,12,11,11,10,9,7,8,9,9,10,10,10,0,0,0,0,0,0,0,0,12,11,12,12,11,12,12,12,11,12,12,12,0,0,0,0,0,0,0,0,12,13,14,13,12,13,12,12,12,12,12,11,0,0,0,0,0,0,0,0,11,10,11,10,9,11,11,12,10,12,11,12,0,0,0,0,0,0,0,0,10,12,10,10,10,10,11,12,12,12,13,13,0,0,0,0,0,0,0,0,10,10,10,9,9,9,9,9,8,9,9,9,0,0,0,0,0,0,0,0,9,9,10,8,9,10,10,12,12,11,11,12,0,0,0,0,0,0,0,0,12,12,12,11,11,11,10,10,10,10,10,8,0,0,0,0,0,0,0,0,8,7,6,8,9,9,10,10,9,9,10,9,0,0,0,0,0,0,0,0,5,5,6,5,5,5,6,6,7,7,7,5,0,0,0,0,0,0,0,0,9,9,8,10,9,9,9,9,11,11,10,10,0,0,0,0,0,0,0,0,8,7,8,7,6,6,7,5,5,5,5,6,0,0,0,0,0,0,0,0,6,5,5,6,6,5,5,7,7,9,9,9,0,0,0,0,0,0,0,0,10,11,11,13,12,12,14,15,16,17,18,19,0,0,0,0,0,0,0,0,24,25,26,26,27,26,27,27,28,27,28,25,0,0,0,0,0,0,0,0,26,26,27,28,28,27,28,28,28,28,29,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,27,28,28,27,28,0,0,0,0,0,0,0,0,24,24,23,22,21,20,19,17,16,15,14,13,0,0,0,0,0,0,0,0,9,10,9,10,11,11,11,11,12,12,11,12,0,0,0,0,0,0,0,0,12,11,11,11,11,11,13,13,13,14,13,13,0,0,0,0,0,0,0,0,11,10,10,10,9,9,9,8,7,6,6,6,0,0,0,0,0,0,0,0,4,5,6,6,5,6,7,6,5,3,2,1,0,0,0,0,0,0,0,0,4,4,4,5,5,4,6,7,6,7,7,8,0,0,0,0,0,0,0,0,10,10,10,9,10,11,11,12,12,13,12,12,0,0,0,0,0,0,0,0,12,12,12,13,13,14,15,14,14,14,14,13,0,0,0,0,0,0,0,0,11,11,11,10,10,10,10,9,9,9,9,8,0,0,0,0,0,0,0,0,5,5,5,4,3,6,5,4,6,6,6,6,0,0,0,0,0,0,0,0,9,10,9,10,10,10,10,10,11,11,12,11,0,0,0,0,0,0,0,0,12,11,12,13,13,13,12,12,12,13,13,12,0,0,0,0,0,0,0,0,14,14,14,14,14,13,13,13,13,13,12,12,0,0,0,0,0,0,0,0,10,9,9,9,9,9,9,9,8,8,9,9,0,0,0,0,0,0,0,0,11,10,10,10,10,11,11,10,11,11,11,12,0,0,0,0,0,0,0,0,10,10,10,10,9,10,9,10,10,10,10,9,0,0,0,0,0,0,0,0,11,11,12,11,10,12,12,10,11,11,11,11,0,0,0,0,0,0,0,0,10,10,11,10,11,11,11,11,11,12,11,10,0,0,0,0,0,0,0,0,7,8,8,8,8,6,6,6,5,4,5,5,0,0,0,0,0,0,0,0,10,14,13,12,12,14,16,16,17,18,21,22,0,0,0,0,0,0,0,0,24,22,25,25,25,25,23,24,26,26,24,25,0,0,0,0,0,0,0,0,24,24,23,25,25,23,21,24,23],[0,27,26,27,27,27,27,27,27,26,26,26,26,26,26,26,26,26,26,27,0,0,0,0,0,0,0,0,28,27,26,28,28,28,27,28,27,28,28,28,0,0,0,0,0,0,0,0,27,25,26,25,26,25,24,25,24,24,23,22,0,0,0,0,0,0,0,0,11,10,10,10,8,7,8,9,9,8,9,9,0,0,0,0,0,0,0,0,11,9,11,11,10,10,12,11,9,11,12,11,0,0,0,0,0,0,0,0,11,12,12,12,11,10,10,11,10,11,11,10,0,0,0,0,0,0,0,0,9,8,9,9,8,8,9,10,10,9,10,10,0,0,0,0,0,0,0,0,9,10,9,9,9,9,10,10,11,10,10,12,0,0,0,0,0,0,0,0,9,8,9,9,7,7,8,8,7,7,7,7,0,0,0,0,0,0,0,0,7,7,8,7,8,8,8,10,10,10,10,11,0,0,0,0,0,0,0,0,11,9,11,10,9,9,9,8,9,8,8,8,0,0,0,0,0,0,0,0,7,6,5,6,7,8,8,8,8,8,8,7,0,0,0,0,0,0,0,0,4,4,5,4,4,4,5,5,6,7,6,4,0,0,0,0,0,0,0,0,7,7,8,8,8,9,9,8,9,9,9,9,0,0,0,0,0,0,0,0,6,6,6,5,5,5,6,6,4,4,5,6,0,0,0,0,0,0,0,0,6,5,5,5,6,4,4,5,6,7,6,7,0,0,0,0,0,0,0,0,10,10,11,12,12,12,14,14,15,16,19,18,0,0,0,0,0,0,0,0,21,23,23,23,25,25,25,25,26,25,26,24,0,0,0,0,0,0,0,0,25,25,26,26,27,26,27,27,28,27,28,27,0,0,0,0,0,0,0,0,27,27,27,28,27,27,27,26,26,27,27,28,0,0,0,0,0,0,0,0,23,23,21,22,20,18,18,16,15,15,14,12,0,0,0,0,0,0,0,0,8,7,8,8,9,9,9,9,11,11,11,11,0,0,0,0,0,0,0,0,10,10,10,9,10,11,11,10,12,14,12,14,0,0,0,0,0,0,0,0,10,10,9,9,8,8,7,7,7,5,5,6,0,0,0,0,0,0,0,0,4,5,5,5,5,6,6,5,5,5,3,2,0,0,0,0,0,0,0,0,3,3,3,4,5,4,5,5,5,6,6,6,0,0,0,0,0,0,0,0,9,10,9,9,9,10,9,10,11,11,12,11,0,0,0,0,0,0,0,0,11,12,12,12,12,13,14,14,13,13,13,12,0,0,0,0,0,0,0,0,10,10,10,10,9,9,9,9,8,8,9,7,0,0,0,0,0,0,0,0,5,5,5,4,4,5,5,4,5,6,5,6,0,0,0,0,0,0,0,0,8,10,9,10,10,10,9,10,10,10,11,11,0,0,0,0,0,0,0,0,11,10,12,11,13,12,10,10,10,12,12,11,0,0,0,0,0,0,0,0,13,14,13,13,13,13,13,12,12,11,12,11,0,0,0,0,0,0,0,0,10,8,9,9,8,9,9,8,7,9,9,8,0,0,0,0,0,0,0,0,11,10,10,11,10,10,11,10,11,9,11,11,0,0,0,0,0,0,0,0,9,10,10,10,10,9,10,10,10,10,10,11,0,0,0,0,0,0,0,0,11,11,11,11,11,11,11,11,11,11,12,12,0,0,0,0,0,0,0,0,10,10,11,10,11,11,11,11,12,12,10,11,0,0,0,0,0,0,0,0,7,6,7,7,6,6,6,6,5,5,4,4,0,0,0,0,0,0,0,0,10,12,12,12,11,12,15,16,17,19,19,21,0,0,0,0,0,0,0,0,24,23,24,24,25,25,25,25,25,25,26,26,0,0,0,0,0,0,0,0,24,22,23,23,23,21,20,22,23],[0,28,28,28,28,28,28,29,28,27,28,27,28,26,26,26,28,28,27,28,0,0,0,0,0,0,0,0,28,27,27,28,28,28,27,28,27,27,28,28,0,0,0,0,0,0,0,0,27,26,25,24,25,24,23,24,23,22,22,21,0,0,0,0,0,0,0,0,8,8,7,6,6,6,5,6,6,5,6,6,0,0,0,0,0,0,0,0,8,7,8,8,7,7,9,8,8,8,9,8,0,0,0,0,0,0,0,0,9,10,10,9,9,8,8,9,9,8,8,8,0,0,0,0,0,0,0,0,7,6,7,7,6,6,7,8,8,8,7,8,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,8,8,8,8,9,0,0,0,0,0,0,0,0,7,6,7,6,6,6,7,6,6,5,6,5,0,0,0,0,0,0,0,0,5,6,6,6,6,7,7,8,8,8,8,8,0,0,0,0,0,0,0,0,8,8,8,7,7,7,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5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,0,0,0,0,0,0,8,8,8,8,9,8,8,8,9,9,9,8,0,0,0,0,0,0,0,0,6,6,6,5,5,5,5,4,4,5,4,4,0,0,0,0,0,0,0,0,10,11,11,12,11,13,15,15,16,18,20,21,0,0,0,0,0,0,0,0,25,23,23,25,26,24,23,25,24,24,25,25,0,0,0,0,0,0,0,0,24,23,24,23,24,23,21,23,24],[0,27,27,27,28,28,28,28,28,26,26,26,26,25,26,26,25,27,25,27,0,0,0,0,0,0,0,0,27,26,26,27,28,28,26,27,26,27,27,27,0,0,0,0,0,0,0,0,24,23,23,23,24,22,20,22,21,20,19,20,0,0,0,0,0,0,0,0,6,6,5,5,4,4,4,4,5,4,5,5,0,0,0,0,0,0,0,0,6,5,6,6,6,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,8,8,7,6,6,6,7,6,6,6,6,0,0,0,0,0,0,0,0,6,5,6,6,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,4,5,5,4,5,5,4,4,5,5,5,0,0,0,0,0,0,0,0,4,4,5,5,4,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,5,5,5,5,4,4,5,4,4,0,0,0,0,0,0,0,0,4,4,3,4,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,5,4,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,3,2,2,2,3,0,0,0,0,0,0,0,0,3,3,3,3,4,3,3,4,4,5,4,5,0,0,0,0,0,0,0,0,6,6,7,7,8,8,10,11,12,12,15,15,0,0,0,0,0,0,0,0,20,20,21,23,23,23,24,24,25,24,25,24,0,0,0,0,0,0,0,0,23,24,25,26,27,25,27,27,27,26,27,27,0,0,0,0,0,0,0,0,26,26,26,26,26,26,26,25,27,26,25,26,0,0,0,0,0,0,0,0,22,21,20,19,18,16,15,14,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9,9,10,10,13,12,14,16,17,19,20,0,0,0,0,0,0,0,0,21,20,23,22,22,22,22,21,24,22,22,22,0,0,0,0,0,0,0,0,22,21,21,22,23,20,20,23,22],[0,28,28,28,28,28,28,28,27,27,27,26,27,26,27,26,26,27,26,26,0,0,0,0,0,0,0,0,27,26,27,27,27,28,27,27,27,27,27,27,0,0,0,0,0,0,0,0,25,24,24,23,22,22,20,21,20,21,19,18,0,0,0,0,0,0,0,0,4,4,3,3,3,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,5,4,0,0,0,0,0,0,0,0,5,6,6,5,5,4,4,5,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,4,4,5,4,4,0,0,0,0,0,0,0,0,4,3,3,4,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,3,4,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,2,3,3,3,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,1,1,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,5,6,6,7,9,10,10,13,13,0,0,0,0,0,0,0,0,18,19,20,21,23,22,23,23,25,24,25,22,0,0,0,0,0,0,0,0,23,23,26,25,26,24,26,26,26,27,27,27,0,0,0,0,0,0,0,0,27,26,27,26,27,26,26,25,25,26,25,25,0,0,0,0,0,0,0,0,22,21,20,19,18,16,15,14,12,10,8,7,0,0,0,0,0,0,0,0,3,3,4,4,4,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,6,5,6,5,5,5,6,6,7,7,7,6,0,0,0,0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0,0,0,5,5,5,5,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,8,10,11,10,11,14,13,15,17,18,19,20,0,0,0,0,0,0,0,0,21,21,24,24,20,22,23,23,24,22,22,24,0,0,0,0,0,0,0,0,22,22,22,23,23,21,20,22,22],[0,27,26,26,27,25,26,27,24,25,25,23,26,23,24,24,25,25,24,25,0,0,0,0,0,0,0,0,26,26,25,26,26,27,25,26,25,25,26,25,0,0,0,0,0,0,0,0,22,22,20,20,21,20,18,18,18,17,17,16,0,0,0,0,0,0,0,0,6,5,5,5,4,4,4,4,5,4,4,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,5,5,5,5,0,0,0,0,0,0,0,0,6,7,7,6,6,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,5,5,5,5,4,4,5,5,5,4,5,5,0,0,0,0,0,0,0,0,4,5,5,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,4,5,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,5,4,4,4,0,0,0,0,0,0,0,0,4,5,5,4,4,4,4,4,4,4,3,4,0,0,0,0,0,0,0,0,4,4,3,4,4,5,5,6,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,3,3,0,0,0,0,0,0,0,0,2,2,2,2,3,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,2,2,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,5,6,6,7,7,8,9,10,10,10,11,12,0,0,0,0,0,0,0,0,17,16,16,18,19,18,20,20,20,21,22,20,0,0,0,0,0,0,0,0,19,21,22,23,24,23,23,24,24,24,25,25,0,0,0,0,0,0,0,0,25,25,26,25,24,25,25,24,24,25,25,25,0,0,0,0,0,0,0,0,21,21,19,19,18,16,16,14,12,11,9,8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,13,15,16,18,19,21,21,0,0,0,0,0,0,0,0,22,22,25,25,24,24,24,24,25,24,24,26,0,0,0,0,0,0,0,0,23,24,22,25,24,23,24,25,25],[0,28,27,27,28,26,28,27,25,26,26,24,26,23,26,23,26,25,24,26,0,0,0,0,0,0,0,0,27,26,25,27,27,28,27,27,27,27,27,27,0,0,0,0,0,0,0,0,23,22,20,20,21,20,18,18,18,16,16,16,0,0,0,0,0,0,0,0,5,5,4,4,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,4,4,5,5,5,0,0,0,0,0,0,0,0,6,7,7,6,6,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,5,4,4,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,5,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,3,3,4,4,5,5,6,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,2,2,2,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,6,6,6,7,8,8,9,10,12,0,0,0,0,0,0,0,0,17,17,17,20,20,19,21,22,22,22,22,22,0,0,0,0,0,0,0,0,21,23,24,25,26,25,25,27,26,26,25,26,0,0,0,0,0,0,0,0,26,26,27,26,26,26,26,25,26,26,26,26,0,0,0,0,0,0,0,0,22,21,21,19,19,17,16,15,12,11,9,8,0,0,0,0,0,0,0,0,4,4,5,5,5,5,6,6,6,6,6,7,0,0,0,0,0,0,0,0,7,6,6,6,6,6,7,7,8,8,7,7,0,0,0,0,0,0,0,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,4,3,4,4,4,4,3,4,4,3,3,0,0,0,0,0,0,0,0,2,3,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,8,9,10,10,10,13,14,16,17,18,20,20,0,0,0,0,0,0,0,0,22,22,26,25,24,25,25,24,25,25,25,25,0,0,0,0,0,0,0,0,24,24,25,24,26,24,23,24,25],[0,27,27,26,28,27,28,28,26,26,25,22,26,23,25,23,25,25,23,26,0,0,0,0,0,0,0,0,25,25,23,26,27,27,25,27,26,26,26,26,0,0,0,0,0,0,0,0,22,21,20,19,19,19,16,18,18,15,15,15,0,0,0,0,0,0,0,0,4,3,3,3,2,2,2,2,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,5,5,4,4,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,4,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,4,3,3,3,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,2,3,2,2,2,2,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,1,1,1,1,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,3,4,4,4,0,0,0,0,0,0,0,0,3,4,4,5,4,5,6,6,7,8,9,10,0,0,0,0,0,0,0,0,15,15,15,17,20,18,19,21,21,20,23,19,0,0,0,0,0,0,0,0,19,22,23,23,26,23,24,24,24,25,25,25,0,0,0,0,0,0,0,0,26,26,26,26,25,25,25,24,25,25,24,25,0,0,0,0,0,0,0,0,20,18,20,18,17,15,14,14,11,9,7,6,0,0,0,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19,19,21,21,0,0,0,0,0,0,0,0,23,23,26,25,24,25,26,25,25,25,25,25,0,0,0,0,0,0,0,0,25,24,25,24,26,24,23,25,24],[0,28,28,27,28,28,28,27,26,26,26,25,27,24,25,24,26,26,25,26,0,0,0,0,0,0,0,0,26,25,23,26,27,27,25,27,25,26,26,25,0,0,0,0,0,0,0,0,22,22,20,19,20,19,16,18,18,16,15,16,0,0,0,0,0,0,0,0,4,3,3,3,2,2,2,3,3,3,3,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,3,3,4,4,4,0,0,0,0,0,0,0,0,5,5,6,5,5,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,4,3,3,3,4,3,3,4,4,3,0,0,0,0,0,0,0,0,2,2,3,3,2,3,3,4,4,3,3,4,0,0,0,0,0,0,0,0,3,3,3,3,2,3,3,2,2,3,3,2,0,0,0,0,0,0,0,0,3,3,3,3,3,4,5,5,4,5,5,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,3,2,0,0,0,0,0,0,0,0,2,1,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,5,4,5,6,6,7,8,9,11,0,0,0,0,0,0,0,0,15,16,17,18,20,19,21,22,24,22,23,23,0,0,0,0,0,0,0,0,22,24,25,25,26,25,25,26,25,26,26,25,0,0,0,0,0,0,0,0,26,26,26,26,27,25,26,24,25,26,25,26,0,0,0,0,0,0,0,0,22,19,20,18,17,16,14,13,11,10,8,7,0,0,0,0,0,0,0,0,4,5,4,4,5,5,5,5,6,6,7,7,0,0,0,0,0,0,0,0,7,6,6,6,6,7,7,7,8,7,7,7,0,0,0,0,0,0,0,0,6,5,5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28,28,28,27,27,26,27,26,26,25,26,26,25,27,0,0,0,0,0,0,0,0,26,26,24,27,27,27,26,27,26,26,26,26,0,0,0,0,0,0,0,0,23,23,23,20,21,21,19,20,19,18,17,18,0,0,0,0,0,0,0,0,6,6,6,5,6,5,5,6,5,6,5,5,0,0,0,0,0,0,0,0,4,5,5,5,5,6,6,6,6,7,7,7,0,0,0,0,0,0,0,0,9,9,10,10,8,8,8,9,9,9,9,9,0,0,0,0,0,0,0,0,8,7,8,7,6,7,7,8,7,6,6,7,0,0,0,0,0,0,0,0,6,7,7,7,6,7,7,8,7,7,8,7,0,0,0,0,0,0,0,0,7,8,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,5,5,5,5,4,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,5,4,5,5,4,4,5,4,4,5,5,5,0,0,0,0,0,0,0,0,6,6,6,7,8,8,9,8,8,8,9,8,0,0,0,0,0,0,0,0,7,7,6,6,6,6,6,7,7,7,6,6,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,3,4,4,3,4,0,0,0,0,0,0,0,0,4,4,5,6,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,9,9,0,0,0,0,0,0,0,0,7,7,8,7,8,8,8,9,9,10,12,14,0,0,0,0,0,0,0,0,17,18,19,20,21,21,23,24,25,24,26,25,0,0,0,0,0,0,0,0,25,25,27,27,28,27,27,27,28,27,28,28,0,0,0,0,0,0,0,0,28,27,28,27,28,28,27,27,27,27,27,27,0,0,0,0,0,0,0,0,22,22,22,21,20,19,18,17,14,14,12,10,0,0,0,0,0,0,0,0,9,9,9,9,9,9,10,10,10,10,10,10,0,0,0,0,0,0,0,0,11,11,10,10,11,11,11,11,12,12,10,12,0,0,0,0,0,0,0,0,10,9,9,9,9,8,9,8,8,8,8,8,0,0,0,0,0,0,0,0,8,8,9,9,9,11,10,10,10,10,8,9,0,0,0,0,0,0,0,0,5,6,6,5,5,5,5,4,4,4,4,4,0,0,0,0,0,0,0,0,1,1,1,0,1,2,2,3,6,6,7,6,0,0,0,0,0,0,0,0,4,5,5,5,6,6,6,5,5,5,5,4,0,0,0,0,0,0,0,0,3,2,2,3,3,2,2,3,4,3,3,4,0,0,0,0,0,0,0,0,6,6,7,6,7,7,7,6,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,2,2,3,3,2,3,3,3,3,0,0,0,0,0,0,0,0,3,4,5,5,5,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,5,6,6,5,6,6,5,5,4,0,0,0,0,0,0,0,0,4,4,3,4,5,4,4,5,5,4,5,6,0,0,0,0,0,0,0,0,4,5,5,4,4,4,5,4,3,4,4,3,0,0,0,0,0,0,0,0,4,4,5,4,4,5,5,5,4,6,5,5,0,0,0,0,0,0,0,0,6,6,6,5,6,6,6,7,6,6,7,7,0,0,0,0,0,0,0,0,8,7,8,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,7,7,6,7,7,7,6,7,8,7,7,0,0,0,0,0,0,0,0,12,14,13,14,14,16,17,19,20,19,23,22,0,0,0,0,0,0,0,0,23,23,26,26,25,25,26,25,26,26,26,26,0,0,0,0,0,0,0,0,27,25,25,25,26,25,23,26,26],[0,28,28,28,28,29,28,27,28,27,27,26,27,25,26,25,26,27,24,26,0,0,0,0,0,0,0,0,26,26,24,27,27,27,25,28,26,27,27,27,0,0,0,0,0,0,0,0,26,23,22,22,24,21,19,22,21,18,19,19,0,0,0,0,0,0,0,0,8,7,8,8,8,8,7,7,7,8,7,8,0,0,0,0,0,0,0,0,6,7,8,8,7,8,9,9,9,10,10,10,0,0,0,0,0,0,0,0,12,12,11,11,10,10,11,11,11,11,11,11,0,0,0,0,0,0,0,0,10,10,11,10,9,10,10,11,10,9,9,10,0,0,0,0,0,0,0,0,8,10,9,9,9,8,9,10,9,10,9,10,0,0,0,0,0,0,0,0,9,9,10,10,9,9,10,9,9,10,10,9,0,0,0,0,0,0,0,0,7,8,8,8,7,8,8,8,9,8,8,9,0,0,0,0,0,0,0,0,7,6,8,8,6,7,8,7,7,8,8,7,0,0,0,0,0,0,0,0,8,8,8,8,9,9,10,10,9,10,11,11,0,0,0,0,0,0,0,0,8,9,9,8,7,8,9,9,9,9,9,7,0,0,0,0,0,0,0,0,6,4,6,6,5,4,5,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,7,7,7,7,8,8,7,7,7,8,0,0,0,0,0,0,0,0,10,10,9,10,11,10,10,11,11,12,11,10,0,0,0,0,0,0,0,0,9,9,10,10,10,10,11,10,11,12,14,15,0,0,0,0,0,0,0,0,18,19,20,22,22,21,24,25,26,25,26,25,0,0,0,0,0,0,0,0,24,26,27,26,28,27,27,28,27,27,28,28,0,0,0,0,0,0,0,0,28,28,29,28,28,28,28,27,27,28,27,28,0,0,0,0,0,0,0,0,24,22,23,22,21,19,20,18,16,15,13,12,0,0,0,0,0,0,0,0,10,11,11,11,12,12,12,13,13,13,13,13,0,0,0,0,0,0,0,0,14,12,13,13,14,13,14,14,17,16,15,15,0,0,0,0,0,0,0,0,14,12,12,12,12,11,10,11,10,10,9,10,0,0,0,0,0,0,0,0,11,11,11,11,12,13,13,12,12,12,11,10,0,0,0,0,0,0,0,0,7,7,8,7,6,7,7,6,6,6,5,6,0,0,0,0,0,0,0,0,2,2,1,1,0,1,2,3,5,6,7,7,0,0,0,0,0,0,0,0,6,7,8,9,7,7,9,8,7,9,8,6,0,0,0,0,0,0,0,0,5,5,3,4,5,3,3,5,5,3,4,5,0,0,0,0,0,0,0,0,7,7,8,8,9,9,8,7,8,7,7,7,0,0,0,0,0,0,0,0,4,6,5,4,4,5,5,3,4,5,4,4,0,0,0,0,0,0,0,0,6,5,6,7,8,7,7,7,9,8,8,9,0,0,0,0,0,0,0,0,8,9,9,8,8,8,8,8,8,8,7,6,0,0,0,0,0,0,0,0,6,5,4,5,6,6,5,8,7,7,8,7,0,0,0,0,0,0,0,0,7,9,8,7,6,6,8,7,7,5,6,6,0,0,0,0,0,0,0,0,6,7,7,7,6,7,7,7,7,8,8,9,0,0,0,0,0,0,0,0,8,9,8,8,10,8,9,9,10,8,9,10,0,0,0,0,0,0,0,0,10,9,10,10,10,10,10,9,11,11,9,9,0,0,0,0,0,0,0,0,9,9,9,7,9,9,9,8,9,9,9,9,0,0,0,0,0,0,0,0,14,15,15,16,16,17,19,19,19,20,24,22,0,0,0,0,0,0,0,0,26,24,26,26,26,26,27,26,27,27,27,27,0,0,0,0,0,0,0,0,26,26,26,27,27,25,25,26,27],[0,29,28,29,29,29,29,28,28,28,27,27,28,27,27,27,27,27,25,26,0,0,0,0,0,0,0,0,26,26,25,27,27,27,26,28,27,27,27,27,0,0,0,0,0,0,0,0,25,24,21,21,24,22,20,22,21,19,20,20,0,0,0,0,0,0,0,0,10,9,9,10,10,10,11,9,9,10,9,8,0,0,0,0,0,0,0,0,10,10,10,12,11,12,13,12,13,14,13,13,0,0,0,0,0,0,0,0,16,16,16,15,14,15,15,15,16,16,16,15,0,0,0,0,0,0,0,0,14,14,15,15,12,15,14,16,15,14,13,14,0,0,0,0,0,0,0,0,12,14,13,13,12,13,13,13,13,14,12,14,0,0,0,0,0,0,0,0,13,12,14,14,13,14,15,13,13,15,15,15,0,0,0,0,0,0,0,0,13,13,12,11,12,12,12,13,12,12,12,12,0,0,0,0,0,0,0,0,10,10,11,11,10,11,11,12,11,12,12,12,0,0,0,0,0,0,0,0,12,12,12,12,11,12,13,13,13,14,14,14,0,0,0,0,0,0,0,0,12,12,12,13,13,12,13,13,14,13,12,12,0,0,0,0,0,0,0,0,11,8,10,9,8,8,8,8,10,10,8,9,0,0,0,0,0,0,0,0,10,9,9,10,12,11,11,11,12,13,11,11,0,0,0,0,0,0,0,0,13,13,14,16,14,15,16,17,15,16,15,15,0,0,0,0,0,0,0,0,11,12,13,12,12,12,13,11,13,13,15,16,0,0,0,0,0,0,0,0,20,22,21,24,24,23,25,26,27,26,27,26,0,0,0,0,0,0,0,0,26,27,28,28,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,29,29,29,28,28,28,28,28,29,28,28,0,0,0,0,0,0,0,0,25,23,23,23,22,21,21,19,19,17,15,15,0,0,0,0,0,0,0,0,15,15,15,16,16,17,16,16,17,17,16,16,0,0,0,0,0,0,0,0,17,16,16,16,17,16,17,18,19,18,17,17,0,0,0,0,0,0,0,0,16,16,16,15,16,15,16,15,14,14,14,15,0,0,0,0,0,0,0,0,16,16,16,16,17,17,17,16,16,17,16,15,0,0,0,0,0,0,0,0,12,13,12,12,12,13,12,11,11,11,9,11,0,0,0,0,0,0,0,0,6,4,3,2,1,0,1,3,5,6,8,8,0,0,0,0,0,0,0,0,8,10,11,10,9,10,11,11,10,12,11,8,0,0,0,0,0,0,0,0,6,7,4,5,5,5,4,6,7,6,6,7,0,0,0,0,0,0,0,0,13,14,14,13,15,15,14,13,14,13,12,12,0,0,0,0,0,0,0,0,8,9,10,10,7,10,6,5,6,5,5,7,0,0,0,0,0,0,0,0,8,7,9,8,10,11,9,11,11,11,11,13,0,0,0,0,0,0,0,0,12,12,12,11,9,11,9,10,10,9,8,7,0,0,0,0,0,0,0,0,7,7,7,7,9,8,8,10,10,10,10,11,0,0,0,0,0,0,0,0,10,11,10,9,9,9,11,9,8,8,10,7,0,0,0,0,0,0,0,0,8,9,10,9,8,10,10,9,10,12,10,10,0,0,0,0,0,0,0,0,13,14,10,10,13,11,11,13,13,10,12,15,0,0,0,0,0,0,0,0,15,13,15,13,15,13,14,13,12,15,12,12,0,0,0,0,0,0,0,0,14,14,16,15,15,14,15,15,14,14,15,15,0,0,0,0,0,0,0,0,18,19,19,21,20,20,22,22,23,22,25,24,0,0,0,0,0,0,0,0,27,25,27,26,28,27,27,26,28,28,27,28,0,0,0,0,0,0,0,0,28,26,27,27,28,27,26,28,28],[0,29,28,29,28,29,29,28,28,28,27,27,28,26,27,26,27,27,26,27,0,0,0,0,0,0,0,0,25,26,24,27,27,27,26,27,26,26,26,26,0,0,0,0,0,0,0,0,25,23,24,22,22,23,21,22,21,20,21,21,0,0,0,0,0,0,0,0,11,13,12,12,13,12,11,12,13,12,13,11,0,0,0,0,0,0,0,0,11,12,14,14,13,16,15,15,16,16,16,15,0,0,0,0,0,0,0,0,17,16,17,17,17,16,17,18,17,17,17,17,0,0,0,0,0,0,0,0,15,16,17,15,16,17,16,17,15,16,15,15,0,0,0,0,0,0,0,0,16,15,15,15,16,15,15,16,16,15,15,16,0,0,0,0,0,0,0,0,17,15,15,16,16,15,16,15,14,16,16,16,0,0,0,0,0,0,0,0,16,16,13,13,14,15,15,13,13,13,11,14,0,0,0,0,0,0,0,0,10,10,13,10,10,13,14,12,13,14,15,12,0,0,0,0,0,0,0,0,15,15,16,15,15,14,16,15,15,17,16,17,0,0,0,0,0,0,0,0,15,16,16,15,16,15,15,14,16,15,15,16,0,0,0,0,0,0,0,0,10,10,12,9,9,10,8,9,9,9,11,9,0,0,0,0,0,0,0,0,11,11,11,12,15,14,13,14,14,14,13,13,0,0,0,0,0,0,0,0,14,15,15,15,15,16,15,16,15,17,16,15,0,0,0,0,0,0,0,0,15,14,14,12,12,12,13,14,14,14,14,17,0,0,0,0,0,0,0,0,21,20,22,23,23,24,26,25,27,24,26,26,0,0,0,0,0,0,0,0,26,27,27,27,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,27,28,28,28,28,0,0,0,0,0,0,0,0,27,24,25,25,23,23,21,21,20,18,17,17,0,0,0,0,0,0,0,0,17,16,17,16,17,17,16,16,17,17,15,17,0,0,0,0,0,0,0,0,17,17,17,16,16,17,17,18,20,19,18,18,0,0,0,0,0,0,0,0,16,16,16,17,15,16,15,16,14,15,14,14,0,0,0,0,0,0,0,0,16,16,17,16,16,17,16,15,17,18,16,17,0,0,0,0,0,0,0,0,14,15,15,16,14,15,16,11,13,10,10,13,0,0,0,0,0,0,0,0,6,7,6,4,3,1,0,1,4,6,9,7,0,0,0,0,0,0,0,0,10,11,11,12,10,10,11,11,11,12,10,9,0,0,0,0,0,0,0,0,9,9,8,7,9,8,6,9,9,8,9,10,0,0,0,0,0,0,0,0,14,15,14,14,15,15,15,14,14,14,14,12,0,0,0,0,0,0,0,0,9,10,9,9,8,9,6,6,6,7,6,6,0,0,0,0,0,0,0,0,8,10,11,12,13,13,12,14,15,14,15,16,0,0,0,0,0,0,0,0,13,14,14,11,11,13,11,12,12,11,10,8,0,0,0,0,0,0,0,0,9,10,9,9,10,10,10,11,13,11,11,13,0,0,0,0,0,0,0,0,9,13,12,10,11,10,11,9,7,9,10,7,0,0,0,0,0,0,0,0,7,10,12,10,8,11,12,9,12,13,13,13,0,0,0,0,0,0,0,0,12,13,12,10,12,11,11,13,12,11,13,13,0,0,0,0,0,0,0,0,14,14,15,13,14,13,14,14,14,15,14,15,0,0,0,0,0,0,0,0,13,14,15,14,16,15,16,16,16,16,17,17,0,0,0,0,0,0,0,0,18,19,19,20,20,22,23,22,23,23,26,26,0,0,0,0,0,0,0,0,27,25,27,26,27,28,28,27,28,28,28,28,0,0,0,0,0,0,0,0,28,28,27,28,29,28,27,28,28],[0,29,29,29,29,29,29,28,28,28,28,26,28,26,27,27,27,27,25,27,0,0,0,0,0,0,0,0,25,25,24,26,27,27,25,27,26,27,27,26,0,0,0,0,0,0,0,0,25,24,21,22,24,22,19,22,22,20,21,23,0,0,0,0,0,0,0,0,17,16,17,16,17,19,18,17,19,19,18,16,0,0,0,0,0,0,0,0,14,17,18,18,18,20,18,18,19,21,20,19,0,0,0,0,0,0,0,0,22,21,22,22,22,21,22,22,21,22,21,22,0,0,0,0,0,0,0,0,21,21,22,21,20,21,21,21,20,19,19,20,0,0,0,0,0,0,0,0,19,20,20,21,20,20,20,21,20,20,20,22,0,0,0,0,0,0,0,0,20,20,21,21,20,21,21,20,20,20,21,22,0,0,0,0,0,0,0,0,19,19,18,16,18,18,18,17,16,18,15,16,0,0,0,0,0,0,0,0,13,15,16,15,15,17,18,16,17,19,19,17,0,0,0,0,0,0,0,0,19,19,18,19,18,19,20,22,21,20,20,21,0,0,0,0,0,0,0,0,20,20,20,20,19,19,18,19,19,19,18,18,0,0,0,0,0,0,0,0,15,12,14,14,12,11,11,12,13,13,12,12,0,0,0,0,0,0,0,0,16,15,14,17,20,19,18,19,18,19,18,19,0,0,0,0,0,0,0,0,20,19,19,21,20,20,21,20,21,21,20,19,0,0,0,0,0,0,0,0,17,17,17,18,17,17,17,17,18,18,17,19,0,0,0,0,0,0,0,0,23,23,23,25,26,25,27,28,28,27,28,27,0,0,0,0,0,0,0,0,27,27,27,29,29,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,26,24,26,25,24,24,23,23,21,20,20,19,0,0,0,0,0,0,0,0,19,21,19,20,22,22,19,22,23,22,20,21,0,0,0,0,0,0,0,0,23,21,22,22,24,23,24,23,25,24,23,24,0,0,0,0,0,0,0,0,21,21,21,20,21,21,21,22,17,20,17,19,0,0,0,0,0,0,0,0,22,20,21,21,22,22,21,21,21,22,22,20,0,0,0,0,0,0,0,0,18,17,17,17,16,17,17,16,17,16,15,14,0,0,0,0,0,0,0,0,7,7,7,5,5,2,1,0,1,6,7,7,0,0,0,0,0,0,0,0,12,16,16,16,15,14,16,17,14,18,16,13,0,0,0,0,0,0,0,0,14,11,9,9,13,9,9,11,13,10,11,13,0,0,0,0,0,0,0,0,18,17,18,18,18,18,19,18,18,17,18,18,0,0,0,0,0,0,0,0,11,11,11,10,9,9,8,7,7,8,8,9,0,0,0,0,0,0,0,0,14,16,15,15,18,18,17,20,19,19,19,19,0,0,0,0,0,0,0,0,17,18,19,17,15,17,16,16,16,15,14,14,0,0,0,0,0,0,0,0,12,13,8,11,14,12,11,15,15,15,15,16,0,0,0,0,0,0,0,0,14,16,16,12,12,11,15,12,10,11,15,10,0,0,0,0,0,0,0,0,13,14,16,14,13,15,16,14,14,17,16,17,0,0,0,0,0,0,0,0,18,18,15,14,19,17,15,18,18,17,18,18,0,0,0,0,0,0,0,0,18,19,18,18,18,16,18,17,18,20,18,19,0,0,0,0,0,0,0,0,19,19,18,19,18,17,18,19,18,18,19,18,0,0,0,0,0,0,0,0,22,22,23,24,24,24,25,25,26,25,28,27,0,0,0,0,0,0,0,0,29,28,29,28,29,29,29,28,29,29,29,30,0,0,0,0,0,0,0,0,29,29,28,29,29,29,28,29,29],[0,29,29,29,29,29,29,28,28,27,27,26,27,25,26,26,26,26,25,26,0,0,0,0,0,0,0,0,26,26,26,27,27,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,26,25,24,24,25,24,22,24,25,23,24,24,0,0,0,0,0,0,0,0,19,19,20,20,20,21,19,20,21,19,20,19,0,0,0,0,0,0,0,0,16,18,20,19,20,21,24,21,22,24,24,23,0,0,0,0,0,0,0,0,24,23,24,24,25,23,23,24,24,25,25,25,0,0,0,0,0,0,0,0,23,22,24,24,21,23,23,22,24,22,21,24,0,0,0,0,0,0,0,0,22,23,24,23,22,23,23,23,24,23,23,23,0,0,0,0,0,0,0,0,21,23,24,24,22,23,24,22,22,24,24,25,0,0,0,0,0,0,0,0,20,21,23,20,19,20,20,19,20,20,17,18,0,0,0,0,0,0,0,0,16,17,18,17,16,18,20,18,18,21,21,19,0,0,0,0,0,0,0,0,22,23,21,22,22,23,23,24,24,25,24,25,0,0,0,0,0,0,0,0,22,24,24,22,23,23,21,22,23,22,21,20,0,0,0,0,0,0,0,0,17,12,14,15,15,13,13,13,15,16,13,15,0,0,0,0,0,0,0,0,18,17,17,21,21,22,20,22,22,21,22,22,0,0,0,0,0,0,0,0,25,24,25,25,24,25,24,24,24,24,24,23,0,0,0,0,0,0,0,0,21,22,21,21,18,20,19,19,20,19,18,19,0,0,0,0,0,0,0,0,23,24,25,25,26,26,27,28,28,26,28,28,0,0,0,0,0,0,0,0,27,28,29,28,28,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,27,27,27,26,26,25,25,24,22,23,22,0,0,0,0,0,0,0,0,25,24,24,24,24,24,23,24,24,24,22,24,0,0,0,0,0,0,0,0,24,24,24,24,24,25,25,24,26,25,24,25,0,0,0,0,0,0,0,0,24,24,24,23,24,24,24,24,23,23,21,23,0,0,0,0,0,0,0,0,24,24,23,23,22,23,22,23,23,25,24,24,0,0,0,0,0,0,0,0,20,19,22,21,19,19,19,19,19,17,16,16,0,0,0,0,0,0,0,0,9,8,10,8,6,7,4,1,0,2,4,5,0,0,0,0,0,0,0,0,15,18,19,19,16,16,19,18,17,19,18,15,0,0,0,0,0,0,0,0,15,13,10,13,14,13,11,14,14,13,13,16,0,0,0,0,0,0,0,0,20,21,22,22,23,23,21,22,20,20,22,21,0,0,0,0,0,0,0,0,16,17,14,11,14,13,10,9,12,10,9,11,0,0,0,0,0,0,0,0,14,17,17,18,20,19,20,21,22,21,22,22,0,0,0,0,0,0,0,0,19,20,20,17,17,20,19,18,18,18,15,16,0,0,0,0,0,0,0,0,16,16,12,15,19,19,18,18,21,19,18,19,0,0,0,0,0,0,0,0,19,19,17,17,15,17,18,14,13,16,17,13,0,0,0,0,0,0,0,0,17,16,18,18,17,17,19,18,17,20,20,19,0,0,0,0,0,0,0,0,19,19,16,17,21,18,18,21,20,19,21,22,0,0,0,0,0,0,0,0,23,22,21,21,22,20,20,21,20,21,20,21,0,0,0,0,0,0,0,0,21,22,21,21,21,23,22,23,23,24,23,22,0,0,0,0,0,0,0,0,24,23,23,25,25,25,26,26,27,25,28,27,0,0,0,0,0,0,0,0,29,28,29,29,30,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,29,29],[0,29,29,29,29,28,29,28,27,27,27,26,27,24,26,26,26,26,24,26,0,0,0,0,0,0,0,0,26,26,26,27,28,27,27,28,27,28,28,28,0,0,0,0,0,0,0,0,27,26,24,25,26,25,23,26,26,24,25,26,0,0,0,0,0,0,0,0,21,21,21,21,21,24,22,22,21,22,22,20,0,0,0,0,0,0,0,0,17,21,21,21,23,23,23,22,22,25,25,24,0,0,0,0,0,0,0,0,26,26,26,27,27,26,27,27,25,26,26,27,0,0,0,0,0,0,0,0,25,25,26,26,24,25,25,25,26,23,24,25,0,0,0,0,0,0,0,0,22,24,24,24,24,24,25,24,25,25,24,26,0,0,0,0,0,0,0,0,24,25,25,25,25,25,25,24,24,26,26,27,0,0,0,0,0,0,0,0,23,23,24,21,22,22,22,22,22,21,19,19,0,0,0,0,0,0,0,0,17,18,20,18,17,23,22,21,21,22,22,21,0,0,0,0,0,0,0,0,23,24,23,24,23,25,24,26,25,25,25,26,0,0,0,0,0,0,0,0,25,25,25,24,24,24,23,24,24,24,23,24,0,0,0,0,0,0,0,0,21,15,17,16,15,13,12,13,14,16,15,16,0,0,0,0,0,0,0,0,20,20,20,22,23,23,22,23,23,24,24,24,0,0,0,0,0,0,0,0,25,25,25,27,26,26,26,26,27,26,25,25,0,0,0,0,0,0,0,0,23,24,22,24,21,22,22,19,22,23,19,22,0,0,0,0,0,0,0,0,26,26,26,27,28,28,28,29,29,28,29,28,0,0,0,0,0,0,0,0,28,29,29,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,29,30,30,30,0,0,0,0,0,0,0,0,28,27,28,28,27,27,27,26,26,25,25,24,0,0,0,0,0,0,0,0,24,26,26,25,27,27,25,27,27,27,26,26,0,0,0,0,0,0,0,0,27,25,27,27,27,27,27,27,28,28,28,28,0,0,0,0,0,0,0,0,27,26,26,26,25,25,25,27,22,25,23,24,0,0,0,0,0,0,0,0,26,25,26,26,25,26,26,26,26,26,26,26,0,0,0,0,0,0,0,0,22,22,23,22,21,22,22,21,22,19,18,19,0,0,0,0,0,0,0,0,10,8,10,9,8,8,6,3,1,0,2,3,0,0,0,0,0,0,0,0,16,19,20,20,17,18,20,20,19,20,20,17,0,0,0,0,0,0,0,0,14,16,11,13,16,13,13,17,19,15,18,20,0,0,0,0,0,0,0,0,23,23,23,24,24,24,24,24,23,22,24,23,0,0,0,0,0,0,0,0,18,18,16,14,16,16,14,12,16,14,14,15,0,0,0,0,0,0,0,0,14,19,20,18,21,22,21,23,22,22,22,23,0,0,0,0,0,0,0,0,21,21,21,20,18,20,19,19,20,19,19,19,0,0,0,0,0,0,0,0,20,19,17,20,22,21,20,21,22,21,22,22,0,0,0,0,0,0,0,0,22,23,22,18,21,19,21,20,16,20,21,19,0,0,0,0,0,0,0,0,19,21,21,22,21,22,22,21,21,23,23,23,0,0,0,0,0,0,0,0,23,24,21,20,26,23,21,24,24,22,22,25,0,0,0,0,0,0,0,0,24,25,25,25,25,22,24,23,23,24,23,24,0,0,0,0,0,0,0,0,24,24,24,24,23,23,24,24,23,24,24,23,0,0,0,0,0,0,0,0,25,26,25,27,27,27,28,27,28,28,29,29,0,0,0,0,0,0,0,0,30,28,29,29,30,29,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30],[0,29,29,29,29,28,28,28,27,27,27,26,27,26,26,26,27,28,25,27,0,0,0,0,0,0,0,0,26,27,27,28,28,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,27,26,24,26,26,26,24,26,26,24,25,27,0,0,0,0,0,0,0,0,22,24,22,25,22,24,22,23,22,22,22,22,0,0,0,0,0,0,0,0,17,20,22,22,22,23,23,23,24,24,24,23,0,0,0,0,0,0,0,0,26,24,25,26,26,26,26,26,26,27,27,26,0,0,0,0,0,0,0,0,25,24,25,25,23,23,24,23,23,21,22,23,0,0,0,0,0,0,0,0,21,25,24,23,23,25,24,24,25,24,25,25,0,0,0,0,0,0,0,0,23,25,26,26,23,26,26,24,24,26,25,25,0,0,0,0,0,0,0,0,21,20,22,20,19,20,21,20,20,18,16,19,0,0,0,0,0,0,0,0,16,17,18,16,15,19,20,19,21,21,21,19,0,0,0,0,0,0,0,0,23,24,23,24,24,24,25,26,26,26,26,26,0,0,0,0,0,0,0,0,23,24,23,23,22,23,21,23,24,22,21,20,0,0,0,0,0,0,0,0,18,16,15,15,13,11,13,11,14,15,12,16,0,0,0,0,0,0,0,0,20,19,20,21,21,22,22,22,22,22,23,23,0,0,0,0,0,0,0,0,26,25,25,27,26,26,26,27,26,27,26,25,0,0,0,0,0,0,0,0,23,24,25,25,22,23,23,23,24,24,22,23,0,0,0,0,0,0,0,0,27,27,26,27,29,28,28,29,29,28,29,29,0,0,0,0,0,0,0,0,28,29,30,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,28,29,28,28,28,27,27,26,25,26,24,0,0,0,0,0,0,0,0,24,26,25,26,26,27,25,27,26,26,25,25,0,0,0,0,0,0,0,0,26,25,24,25,26,26,26,26,27,26,25,27,0,0,0,0,0,0,0,0,26,26,26,25,26,26,26,27,23,25,22,26,0,0,0,0,0,0,0,0,26,25,25,25,24,25,24,24,24,24,25,24,0,0,0,0,0,0,0,0,21,22,22,20,20,21,19,17,20,17,14,16,0,0,0,0,0,0,0,0,12,9,12,11,11,12,8,7,4,2,0,2,0,0,0,0,0,0,0,0,15,18,18,18,18,17,18,20,19,20,19,16,0,0,0,0,0,0,0,0,18,16,14,16,17,17,18,19,16,18,20,19,0,0,0,0,0,0,0,0,22,23,23,22,23,23,24,23,23,22,22,22,0,0,0,0,0,0,0,0,19,19,18,16,18,20,13,16,21,17,16,18,0,0,0,0,0,0,0,0,17,18,21,20,20,22,22,24,23,23,23,24,0,0,0,0,0,0,0,0,20,21,20,20,20,20,21,21,21,21,20,21,0,0,0,0,0,0,0,0,21,19,18,20,20,20,20,20,22,20,21,21,0,0,0,0,0,0,0,0,21,23,22,21,21,19,21,20,21,20,22,18,0,0,0,0,0,0,0,0,22,24,22,22,21,23,22,21,23,23,23,23,0,0,0,0,0,0,0,0,24,24,22,23,26,24,24,25,25,24,24,27,0,0,0,0,0,0,0,0,25,26,26,25,26,24,24,25,25,25,23,24,0,0,0,0,0,0,0,0,22,24,23,22,24,23,22,22,23,24,22,23,0,0,0,0,0,0,0,0,24,24,25,26,26,25,25,26,27,26,28,27,0,0,0,0,0,0,0,0,29,27,28,28,30,29,29,28,30,29,29,30,0,0,0,0,0,0,0,0,29,29,29,30,30,29,29,30,29],[0,29,29,29,29,29,29,29,28,27,28,27,28,26,27,26,27,27,26,28,0,0,0,0,0,0,0,0,27,28,26,28,28,29,28,29,28,29,29,28,0,0,0,0,0,0,0,0,28,27,25,26,27,26,24,27,26,25,26,27,0,0,0,0,0,0,0,0,24,25,23,24,24,23,21,24,24,22,23,23,0,0,0,0,0,0,0,0,19,18,21,20,20,22,23,22,22,24,24,22,0,0,0,0,0,0,0,0,24,22,23,24,24,24,25,25,24,25,25,25,0,0,0,0,0,0,0,0,23,22,24,23,21,21,22,21,21,18,21,23,0,0,0,0,0,0,0,0,22,23,24,22,24,23,23,24,25,24,23,25,0,0,0,0,0,0,0,0,22,24,25,24,22,24,25,22,24,25,24,24,0,0,0,0,0,0,0,0,19,19,20,18,14,17,18,17,18,13,13,14,0,0,0,0,0,0,0,0,14,16,16,14,15,18,18,15,16,19,18,16,0,0,0,0,0,0,0,0,24,23,23,24,23,23,24,25,23,25,24,25,0,0,0,0,0,0,0,0,23,24,23,22,22,23,20,21,21,19,21,19,0,0,0,0,0,0,0,0,16,13,14,14,12,10,11,8,12,11,9,12,0,0,0,0,0,0,0,0,16,17,17,21,20,20,23,23,22,23,23,23,0,0,0,0,0,0,0,0,25,25,24,26,26,25,26,25,26,25,25,25,0,0,0,0,0,0,0,0,23,24,24,25,24,23,23,24,23,24,23,23,0,0,0,0,0,0,0,0,26,27,27,27,28,28,28,29,30,29,30,29,0,0,0,0,0,0,0,0,28,28,30,29,30,30,30,29,29,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,28,28,28,27,27,27,25,25,24,24,25,0,0,0,0,0,0,0,0,26,25,25,25,25,25,23,26,25,24,24,24,0,0,0,0,0,0,0,0,24,23,24,24,25,24,25,25,26,26,26,25,0,0,0,0,0,0,0,0,25,24,25,25,26,25,25,26,24,24,23,25,0,0,0,0,0,0,0,0,24,23,24,24,22,23,23,22,23,24,24,23,0,0,0,0,0,0,0,0,20,21,23,20,19,22,18,16,18,15,15,14,0,0,0,0,0,0,0,0,12,9,14,13,12,12,10,8,7,5,2,0,0,0,0,0,0,0,0,0,14,18,17,18,18,17,19,20,20,21,18,15,0,0,0,0,0,0,0,0,22,14,14,19,19,15,15,21,20,16,20,17,0,0,0,0,0,0,0,0,21,24,23,22,24,24,23,23,23,23,21,20,0,0,0,0,0,0,0,0,17,20,15,15,19,21,15,16,21,16,17,18,0,0,0,0,0,0,0,0,21,19,21,22,23,21,22,23,22,24,24,23,0,0,0,0,0,0,0,0,21,22,22,20,21,22,21,21,22,22,22,22,0,0,0,0,0,0,0,0,20,18,22,20,21,21,22,21,20,21,21,23,0,0,0,0,0,0,0,0,21,22,21,19,20,19,21,18,18,20,22,20,0,0,0,0,0,0,0,0,21,24,24,22,22,25,24,21,23,25,23,24,0,0,0,0,0,0,0,0,24,23,22,22,26,24,24,24,25,24,24,25,0,0,0,0,0,0,0,0,25,25,26,24,24,23,23,23,23,23,23,23,0,0,0,0,0,0,0,0,22,23,23,21,22,23,22,21,22,24,22,21,0,0,0,0,0,0,0,0,23,22,22,24,26,24,26,26,27,26,28,27,0,0,0,0,0,0,0,0,29,27,28,28,30,29,29,28,30,29,29,30,0,0,0,0,0,0,0,0,29,29,29,30,29,29,28,29,29],[0,29,29,29,29,28,29,29,27,27,27,25,27,26,27,26,27,28,26,28,0,0,0,0,0,0,0,0,27,28,26,28,28,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,25,24,24,25,24,23,25,24,22,23,23,0,0,0,0,0,0,0,0,16,18,16,17,17,17,16,17,16,17,16,15,0,0,0,0,0,0,0,0,14,13,14,14,12,16,14,13,14,17,16,14,0,0,0,0,0,0,0,0,18,17,18,19,18,19,18,18,18,20,20,20,0,0,0,0,0,0,0,0,15,16,16,15,13,16,15,17,15,13,14,15,0,0,0,0,0,0,0,0,14,15,17,15,15,17,16,17,16,17,18,19,0,0,0,0,0,0,0,0,17,18,18,18,16,18,17,16,16,18,17,17,0,0,0,0,0,0,0,0,12,12,13,13,10,12,13,13,14,11,10,12,0,0,0,0,0,0,0,0,10,10,11,9,8,12,12,10,10,12,12,11,0,0,0,0,0,0,0,0,16,17,15,17,17,17,18,19,18,19,20,19,0,0,0,0,0,0,0,0,17,18,16,16,16,16,15,16,15,14,15,13,0,0,0,0,0,0,0,0,9,9,10,9,6,7,8,7,9,8,7,8,0,0,0,0,0,0,0,0,13,11,13,15,13,15,15,16,15,17,17,18,0,0,0,0,0,0,0,0,20,20,20,22,19,20,21,21,21,22,20,21,0,0,0,0,0,0,0,0,17,18,19,21,16,18,19,19,21,20,18,20,0,0,0,0,0,0,0,0,24,24,25,25,27,26,27,27,27,27,28,26,0,0,0,0,0,0,0,0,26,28,29,29,30,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,29,29,28,29,29,28,29,0,0,0,0,0,0,0,0,28,26,27,26,25,24,23,23,22,21,21,19,0,0,0,0,0,0,0,0,22,22,23,22,21,23,21,21,21,22,20,19,0,0,0,0,0,0,0,0,20,21,21,19,21,20,20,20,22,22,20,23,0,0,0,0,0,0,0,0,20,21,20,19,20,20,20,22,18,20,18,21,0,0,0,0,0,0,0,0,20,21,20,19,20,19,18,18,19,20,20,20,0,0,0,0,0,0,0,0,15,16,17,13,12,15,13,13,14,13,12,10,0,0,0,0,0,0,0,0,9,6,8,10,11,9,8,7,7,5,3,1,0,0,0,0,0,0,0,0,9,13,12,14,13,13,13,14,14,14,13,14,0,0,0,0,0,0,0,0,11,10,9,11,11,10,12,11,11,10,13,12,0,0,0,0,0,0,0,0,16,17,17,16,19,19,19,16,16,16,14,15,0,0,0,0,0,0,0,0,12,15,13,11,12,13,10,11,12,11,12,13,0,0,0,0,0,0,0,0,15,13,15,15,15,16,15,17,16,16,16,16,0,0,0,0,0,0,0,0,14,17,15,15,16,15,16,16,15,16,15,16,0,0,0,0,0,0,0,0,16,14,12,15,15,13,14,15,15,14,15,15,0,0,0,0,0,0,0,0,14,15,14,13,13,14,15,13,13,15,15,14,0,0,0,0,0,0,0,0,16,16,17,15,16,17,16,16,17,18,17,17,0,0,0,0,0,0,0,0,21,18,16,16,21,18,17,19,20,18,19,22,0,0,0,0,0,0,0,0,20,22,22,19,21,20,18,19,19,21,17,19,0,0,0,0,0,0,0,0,17,19,18,16,19,19,17,15,20,19,16,18,0,0,0,0,0,0,0,0,20,22,22,22,21,22,23,22,25,25,26,26,0,0,0,0,0,0,0,0,28,26,29,28,28,27,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,29,28,28,29,30],[0,29,28,28,29,28,29,28,27,27,27,26,27,25,26,25,27,27,25,27,0,0,0,0,0,0,0,0,27,26,24,27,27,28,27,27,27,27,28,27,0,0,0,0,0,0,0,0,25,24,22,23,24,22,21,23,22,20,20,20,0,0,0,0,0,0,0,0,10,11,9,10,10,9,8,10,8,8,7,8,0,0,0,0,0,0,0,0,5,5,7,6,7,7,7,7,8,8,8,8,0,0,0,0,0,0,0,0,10,11,11,11,9,9,10,10,10,11,11,11,0,0,0,0,0,0,0,0,9,10,9,8,7,8,8,9,8,7,8,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,9,9,0,0,0,0,0,0,0,0,9,9,9,8,9,10,9,8,9,10,9,9,0,0,0,0,0,0,0,0,7,6,7,6,6,6,6,6,6,6,5,6,0,0,0,0,0,0,0,0,4,4,5,4,5,5,6,5,5,7,7,6,0,0,0,0,0,0,0,0,8,9,8,9,9,10,11,11,10,10,11,10,0,0,0,0,0,0,0,0,9,10,9,8,9,9,10,9,8,8,8,7,0,0,0,0,0,0,0,0,7,5,6,7,3,4,4,3,6,4,3,4,0,0,0,0,0,0,0,0,6,6,6,7,7,7,9,9,8,8,9,9,0,0,0,0,0,0,0,0,11,12,12,12,12,13,13,12,13,11,11,12,0,0,0,0,0,0,0,0,11,12,12,12,13,12,13,13,15,15,16,17,0,0,0,0,0,0,0,0,22,22,22,23,25,25,25,25,27,25,27,24,0,0,0,0,0,0,0,0,25,25,27,26,28,26,28,27,27,28,28,27,0,0,0,0,0,0,0,0,28,28,28,28,28,27,28,26,27,28,27,28,0,0,0,0,0,0,0,0,25,24,25,23,24,22,22,20,18,17,15,14,0,0,0,0,0,0,0,0,13,14,14,14,12,14,14,13,13,13,13,13,0,0,0,0,0,0,0,0,14,14,15,13,14,12,15,14,17,16,15,15,0,0,0,0,0,0,0,0,13,13,12,12,13,12,12,13,12,12,12,12,0,0,0,0,0,0,0,0,12,12,13,12,13,13,13,13,13,13,12,12,0,0,0,0,0,0,0,0,8,9,10,7,7,8,6,6,7,5,5,6,0,0,0,0,0,0,0,0,4,3,4,5,5,6,6,6,7,6,5,3,0,0,0,0,0,0,0,0,4,5,5,6,5,6,7,7,7,7,6,6,0,0,0,0,0,0,0,0,5,3,4,5,4,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,9,9,9,9,10,10,10,8,8,9,8,7,0,0,0,0,0,0,0,0,5,7,5,6,5,7,5,6,7,6,7,8,0,0,0,0,0,0,0,0,8,7,7,8,7,7,7,8,8,8,8,7,0,0,0,0,0,0,0,0,8,9,9,8,9,9,10,10,9,10,8,9,0,0,0,0,0,0,0,0,9,7,7,8,8,8,8,8,9,8,8,9,0,0,0,0,0,0,0,0,9,8,8,8,8,8,8,8,8,10,9,9,0,0,0,0,0,0,0,0,10,9,10,10,10,11,9,10,11,9,10,9,0,0,0,0,0,0,0,0,10,11,11,10,11,11,11,11,12,11,12,12,0,0,0,0,0,0,0,0,12,11,12,11,11,12,10,11,12,11,10,10,0,0,0,0,0,0,0,0,9,9,11,9,10,9,10,10,10,11,9,10,0,0,0,0,0,0,0,0,16,16,15,17,17,18,19,20,20,21,24,24,0,0,0,0,0,0,0,0,26,24,27,25,27,27,27,25,27,27,27,28,0,0,0,0,0,0,0,0,27,26,26,28,27,26,25,27,27],[0,29,28,28,28,28,29,28,27,27,27,26,27,25,26,25,27,28,26,27,0,0,0,0,0,0,0,0,28,26,26,28,28,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,25,24,22,22,22,21,19,22,21,19,20,18,0,0,0,0,0,0,0,0,7,7,6,6,6,6,5,6,5,5,5,5,0,0,0,0,0,0,0,0,3,4,5,5,4,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,8,9,9,8,7,7,8,8,8,9,8,9,0,0,0,0,0,0,0,0,7,7,8,7,6,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,7,7,0,0,0,0,0,0,0,0,6,6,7,6,6,6,7,6,7,7,7,8,0,0,0,0,0,0,0,0,5,6,6,5,5,5,5,6,5,5,5,5,0,0,0,0,0,0,0,0,4,3,4,3,4,4,4,5,4,4,5,4,0,0,0,0,0,0,0,0,5,6,6,6,7,8,8,9,8,8,8,8,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,7,7,7,7,6,0,0,0,0,0,0,0,0,4,3,4,3,3,3,3,2,3,3,2,3,0,0,0,0,0,0,0,0,5,5,5,5,6,7,5,6,7,7,6,6,0,0,0,0,0,0,0,0,8,8,8,9,8,9,9,9,9,8,8,9,0,0,0,0,0,0,0,0,8,9,9,9,9,9,10,12,12,12,15,16,0,0,0,0,0,0,0,0,18,19,20,21,22,22,23,23,26,25,25,23,0,0,0,0,0,0,0,0,23,24,26,26,27,25,27,26,26,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,24,22,22,21,21,19,19,17,16,14,12,11,0,0,0,0,0,0,0,0,10,9,10,10,10,10,11,11,11,11,11,11,0,0,0,0,0,0,0,0,12,11,11,11,11,12,13,13,14,14,13,13,0,0,0,0,0,0,0,0,10,10,9,9,9,9,10,9,8,9,9,8,0,0,0,0,0,0,0,0,9,9,8,9,9,11,10,10,10,9,9,8,0,0,0,0,0,0,0,0,7,7,7,6,7,6,5,6,5,5,4,5,0,0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5,5,5,5,5,5,5,6,6,6,6,5,0,0,0,0,0,0,0,0,7,7,7,7,7,6,6,7,6,6,7,7,0,0,0,0,0,0,0,0,8,7,8,7,7,7,7,7,7,7,7,6,0,0,0,0,0,0,0,0,6,6,6,5,5,6,6,5,6,6,6,6,0,0,0,0,0,0,0,0,12,13,13,13,14,14,16,17,19,20,23,22,0,0,0,0,0,0,0,0,25,24,25,26,26,25,25,25,26,25,25,27,0,0,0,0,0,0,0,0,26,26,25,27,26,25,23,25,26],[0,28,28,28,28,28,28,28,28,27,27,26,27,25,26,25,27,27,26,28,0,0,0,0,0,0,0,0,27,27,25,27,28,28,26,28,27,27,27,26,0,0,0,0,0,0,0,0,25,23,20,22,23,20,19,22,21,19,20,20,0,0,0,0,0,0,0,0,6,6,7,6,6,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,2,3,3,3,3,4,4,4,4,5,4,5,0,0,0,0,0,0,0,0,7,8,8,7,6,6,6,7,7,8,7,8,0,0,0,0,0,0,0,0,6,6,6,6,5,5,6,6,5,5,4,5,0,0,0,0,0,0,0,0,5,5,6,6,5,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,7,7,6,0,0,0,0,0,0,0,0,4,5,5,4,4,4,4,6,5,5,4,5,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,3,3,4,4,0,0,0,0,0,0,0,0,6,6,5,6,6,7,7,8,7,7,8,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,7,6,6,6,5,0,0,0,0,0,0,0,0,4,3,3,3,3,2,3,3,3,3,2,2,0,0,0,0,0,0,0,0,4,4,5,5,6,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,8,8,8,8,8,8,8,9,9,8,8,0,0,0,0,0,0,0,0,8,8,8,8,9,8,10,12,12,11,16,15,0,0,0,0,0,0,0,0,18,20,20,21,23,22,23,24,25,25,25,24,0,0,0,0,0,0,0,0,23,24,26,26,27,26,26,27,27,26,27,27,0,0,0,0,0,0,0,0,27,27,28,28,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,24,23,23,21,21,20,19,18,15,14,12,10,0,0,0,0,0,0,0,0,9,9,8,9,10,10,9,10,11,10,10,11,0,0,0,0,0,0,0,0,12,11,10,11,11,12,12,12,14,14,13,14,0,0,0,0,0,0,0,0,10,9,9,9,9,8,9,8,8,8,7,8,0,0,0,0,0,0,0,0,9,8,8,9,9,10,10,10,9,9,8,8,0,0,0,0,0,0,0,0,5,5,6,5,5,5,5,5,4,4,4,4,0,0,0,0,0,0,0,0,2,2,2,3,3,4,4,5,6,6,6,5,0,0,0,0,0,0,0,0,2,2,3,3,3,4,4,4,4,5,3,3,0,0,0,0,0,0,0,0,3,2,2,3,3,3,3,3,4,3,4,4,0,0,0,0,0,0,0,0,5,6,6,6,7,7,6,6,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,3,4,4,3,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,3,4,5,5,4,5,0,0,0,0,0,0,0,0,5,6,5,6,5,6,6,6,6,6,5,5,0,0,0,0,0,0,0,0,5,5,4,5,5,5,5,5,6,5,5,5,0,0,0,0,0,0,0,0,5,6,6,5,5,5,6,5,5,5,5,5,0,0,0,0,0,0,0,0,5,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,8,7,7,7,8,7,7,8,0,0,0,0,0,0,0,0,8,8,8,7,9,8,8,8,8,8,7,7,0,0,0,0,0,0,0,0,6,7,6,6,6,7,6,6,7,7,7,6,0,0,0,0,0,0,0,0,12,14,13,13,15,17,18,19,20,21,22,22,0,0,0,0,0,0,0,0,25,24,27,26,26,25,26,25,28,27,26,27,0,0,0,0,0,0,0,0,27,26,27,27,27,26,25,25,26],[0,29,29,29,29,29,29,29,28,28,28,27,28,27,27,27,28,28,27,28,0,0,0,0,0,0,0,0,28,27,26,28,28,28,27,28,28,28,28,27,0,0,0,0,0,0,0,0,24,23,21,22,22,20,20,21,20,18,20,20,0,0,0,0,0,0,0,0,8,8,8,7,8,7,7,7,6,6,6,6,0,0,0,0,0,0,0,0,3,3,4,3,3,4,5,4,5,5,5,5,0,0,0,0,0,0,0,0,9,9,9,9,7,7,8,9,9,9,10,10,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,6,6,5,4,6,0,0,0,0,0,0,0,0,5,6,6,7,6,7,6,6,6,7,7,7,0,0,0,0,0,0,0,0,8,9,9,8,8,9,8,7,9,9,8,7,0,0,0,0,0,0,0,0,5,5,5,4,4,5,5,5,6,5,5,6,0,0,0,0,0,0,0,0,2,2,2,3,2,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,7,9,8,9,9,9,9,10,10,9,10,10,0,0,0,0,0,0,0,0,10,9,8,8,9,8,8,8,7,7,7,7,0,0,0,0,0,0,0,0,4,4,4,4,3,3,4,3,4,3,3,3,0,0,0,0,0,0,0,0,5,5,6,7,7,7,7,8,8,8,9,8,0,0,0,0,0,0,0,0,10,11,11,12,11,11,10,10,11,11,11,11,0,0,0,0,0,0,0,0,9,10,10,10,10,10,11,13,13,14,13,16,0,0,0,0,0,0,0,0,21,20,22,23,25,24,25,25,27,25,26,25,0,0,0,0,0,0,0,0,25,25,27,26,27,26,28,28,27,28,28,28,0,0,0,0,0,0,0,0,28,27,28,28,28,28,27,26,26,27,27,27,0,0,0,0,0,0,0,0,25,23,23,23,22,21,20,17,16,15,14,13,0,0,0,0,0,0,0,0,10,11,11,12,12,11,11,12,13,12,12,13,0,0,0,0,0,0,0,0,13,12,12,12,13,13,14,14,16,15,15,15,0,0,0,0,0,0,0,0,12,12,12,11,11,11,11,11,10,11,10,10,0,0,0,0,0,0,0,0,11,10,10,11,10,11,11,11,11,11,11,11,0,0,0,0,0,0,0,0,8,8,8,7,7,7,7,6,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,4,4,5,5,7,6,7,7,0,0,0,0,0,0,0,0,2,2,3,4,4,4,5,5,5,5,4,3,0,0,0,0,0,0,0,0,3,3,2,3,3,3,3,4,4,4,5,6,0,0,0,0,0,0,0,0,8,8,9,8,9,9,9,8,8,8,7,7,0,0,0,0,0,0,0,0,5,6,5,4,5,5,5,4,5,5,5,5,0,0,0,0,0,0,0,0,4,4,5,5,6,5,5,4,6,6,5,6,0,0,0,0,0,0,0,0,6,8,6,6,6,7,8,7,7,7,6,6,0,0,0,0,0,0,0,0,6,6,5,6,6,6,6,6,7,7,7,8,0,0,0,0,0,0,0,0,7,8,7,6,7,7,8,7,6,7,7,7,0,0,0,0,0,0,0,0,7,8,8,7,8,8,8,7,8,8,9,8,0,0,0,0,0,0,0,0,10,9,9,8,10,9,8,11,9,9,9,10,0,0,0,0,0,0,0,0,10,9,10,10,10,9,9,9,10,10,9,8,0,0,0,0,0,0,0,0,8,9,8,8,8,9,9,9,9,10,9,9,0,0,0,0,0,0,0,0,13,14,14,14,14,16,17,18,19,19,22,22,0,0,0,0,0,0,0,0,23,22,26,25,25,24,26,23,26,26,25,26,0,0,0,0,0,0,0,0,27,26,25,26,26,25,23,25,26],[0,29,29,29,29,29,29,29,29,29,28,28,28,27,28,27,28,29,26,29,0,0,0,0,0,0,0,0,27,28,26,27,28,29,27,28,27,27,28,27,0,0,0,0,0,0,0,0,26,24,22,24,24,22,22,24,22,20,22,22,0,0,0,0,0,0,0,0,10,10,10,9,9,7,7,8,7,6,6,6,0,0,0,0,0,0,0,0,3,4,5,4,4,6,6,6,6,7,7,7,0,0,0,0,0,0,0,0,10,11,11,10,9,9,9,9,10,11,11,11,0,0,0,0,0,0,0,0,8,8,9,8,7,8,8,8,8,7,7,8,0,0,0,0,0,0,0,0,6,7,6,6,7,7,7,7,7,8,8,7,0,0,0,0,0,0,0,0,7,8,9,7,7,9,9,7,8,9,9,9,0,0,0,0,0,0,0,0,7,6,7,7,6,6,6,7,8,7,6,7,0,0,0,0,0,0,0,0,3,2,4,4,3,4,5,4,6,6,5,5,0,0,0,0,0,0,0,0,7,8,8,8,9,10,9,10,11,10,11,11,0,0,0,0,0,0,0,0,9,9,10,8,9,9,8,8,8,7,8,7,0,0,0,0,0,0,0,0,5,5,6,5,4,5,6,4,6,4,4,3,0,0,0,0,0,0,0,0,5,6,6,6,7,8,7,8,8,8,9,9,0,0,0,0,0,0,0,0,13,13,12,14,14,13,13,14,14,14,14,13,0,0,0,0,0,0,0,0,12,13,12,13,14,13,14,15,15,16,16,17,0,0,0,0,0,0,0,0,24,24,26,26,26,26,27,27,28,27,28,28,0,0,0,0,0,0,0,0,27,27,28,28,29,28,29,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,28,28,29,28,28,0,0,0,0,0,0,0,0,26,23,24,24,22,21,22,19,20,18,17,16,0,0,0,0,0,0,0,0,13,14,13,14,14,15,15,15,15,15,15,15,0,0,0,0,0,0,0,0,15,15,15,15,15,16,16,17,17,17,17,17,0,0,0,0,0,0,0,0,15,14,14,15,15,13,14,14,12,12,11,14,0,0,0,0,0,0,0,0,13,12,13,14,13,14,14,13,13,12,13,13,0,0,0,0,0,0,0,0,8,9,10,8,8,8,8,7,7,7,7,6,0,0,0,0,0,0,0,0,6,5,6,6,6,6,6,7,8,8,8,7,0,0,0,0,0,0,0,0,2,2,3,4,4,4,5,5,6,5,4,4,0,0,0,0,0,0,0,0,4,4,5,6,5,5,5,6,5,5,7,6,0,0,0,0,0,0,0,0,9,10,10,10,12,12,11,11,10,11,9,9,0,0,0,0,0,0,0,0,7,8,7,6,7,8,8,7,7,8,9,8,0,0,0,0,0,0,0,0,6,5,6,5,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,8,9,7,7,8,9,8,8,9,8,9,9,0,0,0,0,0,0,0,0,8,7,7,8,8,8,8,10,9,9,10,10,0,0,0,0,0,0,0,0,10,11,10,9,10,10,12,10,9,10,10,11,0,0,0,0,0,0,0,0,10,11,11,10,11,12,11,11,12,12,11,11,0,0,0,0,0,0,0,0,13,13,12,11,13,14,11,13,13,12,12,14,0,0,0,0,0,0,0,0,12,13,12,12,12,13,12,13,14,14,12,12,0,0,0,0,0,0,0,0,11,13,11,11,11,12,12,10,13,12,11,11,0,0,0,0,0,0,0,0,14,16,16,16,16,18,19,20,22,21,24,25,0,0,0,0,0,0,0,0,26,24,27,27,27,26,27,26,27,27,27,28,0,0,0,0,0,0,0,0,28,26,27,27,28,26,24,27,26],[0,28,28,28,28,28,28,28,28,27,27,27,27,27,27,26,28,28,26,28,0,0,0,0,0,0,0,0,27,28,26,27,28,28,27,28,28,27,28,27,0,0,0,0,0,0,0,0,25,23,22,23,23,20,21,22,20,19,20,20,0,0,0,0,0,0,0,0,7,6,7,6,6,6,5,5,4,4,5,4,0,0,0,0,0,0,0,0,2,3,3,3,3,4,4,4,4,5,5,5,0,0,0,0,0,0,0,0,7,8,8,7,7,6,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,5,6,6,6,6,5,5,5,0,0,0,0,0,0,0,0,4,5,5,5,5,5,5,5,5,6,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,6,6,5,6,6,6,6,0,0,0,0,0,0,0,0,4,4,5,4,4,4,4,5,5,4,4,5,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,6,5,6,7,7,7,8,7,7,8,7,0,0,0,0,0,0,0,0,6,6,7,5,6,6,6,7,6,6,6,5,0,0,0,0,0,0,0,0,3,3,4,3,3,3,4,3,3,3,3,2,0,0,0,0,0,0,0,0,3,4,4,4,4,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,8,8,8,9,9,9,9,9,9,10,9,9,0,0,0,0,0,0,0,0,9,9,9,9,11,9,11,12,12,13,15,16,0,0,0,0,0,0,0,0,20,21,22,23,24,25,25,25,26,25,26,26,0,0,0,0,0,0,0,0,25,25,27,26,28,26,27,28,27,27,27,27,0,0,0,0,0,0,0,0,27,27,28,28,28,28,27,26,27,27,27,28,0,0,0,0,0,0,0,0,24,22,22,22,21,19,19,17,16,15,12,12,0,0,0,0,0,0,0,0,9,10,10,11,11,11,11,11,12,12,12,12,0,0,0,0,0,0,0,0,13,12,11,12,12,12,14,13,15,15,14,15,0,0,0,0,0,0,0,0,12,11,11,11,10,9,10,10,8,8,8,10,0,0,0,0,0,0,0,0,9,9,10,10,10,11,12,11,10,10,9,9,0,0,0,0,0,0,0,0,6,6,6,5,5,6,5,5,5,5,4,4,0,0,0,0,0,0,0,0,4,3,3,3,4,5,5,6,9,8,7,7,0,0,0,0,0,0,0,0,1,1,2,3,3,3,3,3,3,4,3,3,0,0,0,0,0,0,0,0,3,2,2,3,3,3,4,4,4,4,5,5,0,0,0,0,0,0,0,0,6,6,7,7,8,8,7,6,7,7,6,6,0,0,0,0,0,0,0,0,5,6,5,5,5,5,5,4,4,5,5,5,0,0,0,0,0,0,0,0,4,3,3,4,4,3,4,4,5,5,4,4,0,0,0,0,0,0,0,0,5,6,5,5,5,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,6,6,6,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,6,6,7,6,0,0,0,0,0,0,0,0,7,7,7,7,8,7,7,8,8,8,8,7,0,0,0,0,0,0,0,0,9,9,9,8,9,8,8,9,9,9,8,9,0,0,0,0,0,0,0,0,9,9,9,9,10,9,9,9,10,10,9,9,0,0,0,0,0,0,0,0,8,8,8,7,8,8,7,7,8,8,7,8,0,0,0,0,0,0,0,0,12,14,15,13,14,16,18,19,20,20,23,23,0,0,0,0,0,0,0,0,25,24,26,26,26,25,26,25,27,26,26,27,0,0,0,0,0,0,0,0,27,26,26,27,27,26,24,26,26],[0,28,28,28,28,28,29,28,28,27,27,26,28,26,27,26,27,28,25,28,0,0,0,0,0,0,0,0,26,27,25,26,29,28,25,28,27,25,27,25,0,0,0,0,0,0,0,0,24,22,19,21,22,19,18,22,19,17,18,18,0,0,0,0,0,0,0,0,6,5,6,5,5,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,4,4,4,4,0,0,0,0,0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5,6,6,6,6,7,7,6,7,0,0,0,0,0,0,0,0,8,9,9,10,10,10,10,10,11,11,10,9,0,0,0,0,0,0,0,0,8,9,9,9,9,10,11,11,12,12,13,14,0,0,0,0,0,0,0,0,17,19,20,22,23,22,25,24,26,24,26,24,0,0,0,0,0,0,0,0,24,24,26,25,27,26,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,28,27,27,27,26,27,26,27,26,27,0,0,0,0,0,0,0,0,24,23,20,21,19,19,18,17,15,15,12,12,0,0,0,0,0,0,0,0,10,11,11,11,13,12,12,12,13,13,13,14,0,0,0,0,0,0,0,0,14,13,13,13,14,14,15,15,16,16,16,16,0,0,0,0,0,0,0,0,13,12,12,11,11,10,10,11,9,10,8,10,0,0,0,0,0,0,0,0,10,10,11,11,11,12,12,12,11,10,10,9,0,0,0,0,0,0,0,0,6,6,7,7,6,6,7,6,6,6,5,5,0,0,0,0,0,0,0,0,4,4,3,4,4,4,5,6,9,8,7,6,0,0,0,0,0,0,0,0,1,0,1,1,2,3,4,5,4,4,3,3,0,0,0,0,0,0,0,0,3,2,3,3,3,3,3,4,4,4,5,5,0,0,0,0,0,0,0,0,7,7,7,8,8,9,7,8,7,7,7,7,0,0,0,0,0,0,0,0,5,6,5,5,5,5,5,4,5,5,5,5,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,4,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,6,6,6,5,0,0,0,0,0,0,0,0,6,5,5,5,6,6,6,6,7,6,7,7,0,0,0,0,0,0,0,0,6,7,7,6,7,6,7,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,7,6,6,7,7,6,7,8,8,8,0,0,0,0,0,0,0,0,9,8,8,7,8,8,8,8,8,7,8,9,0,0,0,0,0,0,0,0,9,9,9,9,10,9,9,9,9,10,9,9,0,0,0,0,0,0,0,0,8,9,8,8,9,9,8,8,9,9,9,8,0,0,0,0,0,0,0,0,13,13,14,14,14,16,17,19,20,19,22,21,0,0,0,0,0,0,0,0,24,22,24,25,25,25,26,24,27,26,25,26,0,0,0,0,0,0,0,0,25,26,25,26,25,25,23,24,25],[0,29,28,28,29,29,29,29,28,27,27,27,28,27,27,27,27,28,26,28,0,0,0,0,0,0,0,0,26,27,25,26,28,28,26,27,27,26,27,26,0,0,0,0,0,0,0,0,24,22,20,22,22,20,19,21,19,18,19,19,0,0,0,0,0,0,0,0,9,9,9,9,8,8,8,7,7,7,6,6,0,0,0,0,0,0,0,0,3,3,4,5,4,5,5,5,5,6,6,6,0,0,0,0,0,0,0,0,9,10,10,9,8,8,8,9,10,10,10,10,0,0,0,0,0,0,0,0,7,8,8,7,7,8,7,8,6,6,5,6,0,0,0,0,0,0,0,0,5,6,7,6,6,6,7,6,7,7,7,7,0,0,0,0,0,0,0,0,7,8,8,8,8,8,8,8,9,9,8,8,0,0,0,0,0,0,0,0,6,6,7,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,2,4,3,3,4,4,5,4,4,6,5,0,0,0,0,0,0,0,0,8,8,8,8,9,9,9,9,9,9,10,10,0,0,0,0,0,0,0,0,9,10,10,9,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,6,5,7,6,6,6,6,6,6,5,5,3,0,0,0,0,0,0,0,0,6,6,7,7,8,9,8,8,9,9,9,9,0,0,0,0,0,0,0,0,11,11,12,14,12,12,12,14,15,13,13,13,0,0,0,0,0,0,0,0,10,11,12,11,11,12,12,14,14,14,15,15,0,0,0,0,0,0,0,0,20,21,23,24,24,24,26,26,27,26,27,26,0,0,0,0,0,0,0,0,26,25,27,27,28,26,28,28,28,27,28,28,0,0,0,0,0,0,0,0,27,27,28,28,28,28,27,27,27,26,28,28,0,0,0,0,0,0,0,0,24,24,23,23,22,20,21,19,17,17,15,14,0,0,0,0,0,0,0,0,14,14,14,14,16,16,15,15,17,15,15,17,0,0,0,0,0,0,0,0,17,16,17,16,17,17,18,18,17,18,19,18,0,0,0,0,0,0,0,0,16,16,15,14,14,14,13,15,13,13,11,14,0,0,0,0,0,0,0,0,13,12,14,14,14,15,14,13,14,14,13,12,0,0,0,0,0,0,0,0,8,9,10,9,9,9,9,8,8,8,7,8,0,0,0,0,0,0,0,0,7,6,4,6,5,7,6,6,8,7,9,7,0,0,0,0,0,0,0,0,1,1,0,1,2,3,3,4,4,4,4,3,0,0,0,0,0,0,0,0,4,4,4,5,5,5,6,6,5,6,8,7,0,0,0,0,0,0,0,0,9,10,10,10,11,11,11,10,10,10,10,9,0,0,0,0,0,0,0,0,8,10,8,7,8,8,8,7,8,8,8,8,0,0,0,0,0,0,0,0,5,5,5,5,6,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,7,7,8,8,7,8,8,7,0,0,0,0,0,0,0,0,9,8,9,9,9,10,10,9,10,10,10,10,0,0,0,0,0,0,0,0,10,10,10,10,9,10,10,9,10,10,10,9,0,0,0,0,0,0,0,0,9,10,10,10,10,10,10,11,11,11,11,12,0,0,0,0,0,0,0,0,11,11,10,10,11,10,11,11,11,10,12,12,0,0,0,0,0,0,0,0,13,12,13,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,11,12,11,12,12,12,12,11,13,12,11,11,0,0,0,0,0,0,0,0,15,16,17,16,17,18,20,20,22,21,23,23,0,0,0,0,0,0,0,0,26,24,26,26,27,26,27,26,27,26,27,28,0,0,0,0,0,0,0,0,28,28,27,28,27,27,25,26,27],[0,28,27,27,27,27,27,27,27,26,26,25,26,25,26,25,25,27,24,26,0,0,0,0,0,0,0,0,25,26,24,25,27,28,25,26,26,25,27,26,0,0,0,0,0,0,0,0,22,20,19,20,20,18,18,19,18,17,18,18,0,0,0,0,0,0,0,0,10,10,10,10,10,10,9,9,9,9,8,8,0,0,0,0,0,0,0,0,4,4,5,5,4,5,5,5,5,6,6,6,0,0,0,0,0,0,0,0,9,9,9,9,9,9,10,10,10,10,10,11,0,0,0,0,0,0,0,0,8,8,8,7,7,8,7,7,6,5,5,6,0,0,0,0,0,0,0,0,6,6,8,8,8,8,7,7,7,8,8,9,0,0,0,0,0,0,0,0,9,9,9,9,10,9,9,9,10,10,9,9,0,0,0,0,0,0,0,0,6,7,6,5,6,6,6,6,5,5,6,6,0,0,0,0,0,0,0,0,3,3,2,4,3,3,4,5,4,5,6,6,0,0,0,0,0,0,0,0,9,10,10,10,9,10,10,11,10,10,10,10,0,0,0,0,0,0,0,0,10,10,10,11,10,10,9,9,10,10,9,9,0,0,0,0,0,0,0,0,7,7,8,6,6,7,7,6,6,5,6,4,0,0,0,0,0,0,0,0,7,9,10,9,10,11,10,10,11,10,10,11,0,0,0,0,0,0,0,0,12,13,14,16,14,14,14,15,17,14,15,14,0,0,0,0,0,0,0,0,12,12,12,12,12,13,13,12,13,14,14,14,0,0,0,0,0,0,0,0,19,21,22,22,24,24,24,26,26,25,26,25,0,0,0,0,0,0,0,0,25,24,27,27,28,26,27,28,28,27,28,28,0,0,0,0,0,0,0,0,27,27,28,27,27,28,27,27,26,27,27,27,0,0,0,0,0,0,0,0,24,23,22,23,20,21,20,19,17,18,16,15,0,0,0,0,0,0,0,0,15,16,16,16,16,16,15,17,18,17,16,18,0,0,0,0,0,0,0,0,18,17,18,18,18,18,19,19,19,19,19,18,0,0,0,0,0,0,0,0,17,17,15,15,15,15,15,16,15,14,14,15,0,0,0,0,0,0,0,0,15,14,15,15,15,15,15,15,14,15,15,13,0,0,0,0,0,0,0,0,9,11,11,11,9,10,10,9,9,9,9,8,0,0,0,0,0,0,0,0,7,6,5,7,6,6,7,6,8,7,8,7,0,0,0,0,0,0,0,0,3,1,1,0,1,1,3,4,3,4,4,3,0,0,0,0,0,0,0,0,4,6,5,5,6,6,8,8,7,9,10,9,0,0,0,0,0,0,0,0,12,11,11,12,11,13,12,12,13,12,11,11,0,0,0,0,0,0,0,0,10,10,8,9,10,9,8,9,9,8,8,8,0,0,0,0,0,0,0,0,6,6,6,6,7,6,7,7,7,7,6,7,0,0,0,0,0,0,0,0,5,6,6,6,6,7,7,8,8,9,8,8,0,0,0,0,0,0,0,0,10,9,11,11,10,13,11,10,11,12,11,12,0,0,0,0,0,0,0,0,11,10,10,10,10,11,10,9,10,11,10,10,0,0,0,0,0,0,0,0,10,11,11,12,11,11,11,11,11,11,12,11,0,0,0,0,0,0,0,0,12,12,10,10,11,11,11,13,12,11,13,14,0,0,0,0,0,0,0,0,14,13,14,13,13,13,12,13,12,13,12,12,0,0,0,0,0,0,0,0,12,13,13,12,12,13,13,12,13,14,12,11,0,0,0,0,0,0,0,0,16,16,18,17,18,19,19,20,21,21,23,23,0,0,0,0,0,0,0,0,26,24,25,24,27,25,26,25,27,27,26,28,0,0,0,0,0,0,0,0,27,27,26,27,27,25,24,25,26],[0,29,28,29,29,29,29,29,29,28,28,27,28,27,27,27,27,28,26,28,0,0,0,0,0,0,0,0,27,26,25,27,27,27,26,27,26,26,27,25,0,0,0,0,0,0,0,0,23,20,19,21,20,19,17,20,19,17,17,17,0,0,0,0,0,0,0,0,9,9,9,8,8,8,7,7,7,7,6,6,0,0,0,0,0,0,0,0,4,4,4,4,5,6,6,6,6,7,6,6,0,0,0,0,0,0,0,0,9,9,8,8,8,8,9,8,9,9,10,9,0,0,0,0,0,0,0,0,8,8,8,7,7,7,7,7,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,8,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,8,8,8,8,9,9,8,9,9,8,9,0,0,0,0,0,0,0,0,7,7,6,6,6,7,6,6,6,5,5,6,0,0,0,0,0,0,0,0,4,4,3,4,5,5,5,6,6,5,7,6,0,0,0,0,0,0,0,0,8,8,8,8,9,10,9,9,9,9,9,9,0,0,0,0,0,0,0,0,9,9,9,9,9,10,9,10,10,9,9,9,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,6,6,5,5,5,0,0,0,0,0,0,0,0,7,8,7,8,8,8,9,9,9,9,10,10,0,0,0,0,0,0,0,0,10,11,11,13,12,13,12,13,13,13,12,12,0,0,0,0,0,0,0,0,10,10,11,11,11,11,12,12,14,13,15,14,0,0,0,0,0,0,0,0,18,20,21,21,23,22,24,24,26,24,25,24,0,0,0,0,0,0,0,0,24,24,26,27,27,26,27,28,27,27,28,28,0,0,0,0,0,0,0,0,27,27,27,27,28,26,27,27,27,26,27,27,0,0,0,0,0,0,0,0,25,22,23,22,21,20,19,18,17,17,15,13,0,0,0,0,0,0,0,0,14,13,12,14,14,14,14,15,16,15,15,14,0,0,0,0,0,0,0,0,17,15,15,16,17,16,19,18,16,18,18,18,0,0,0,0,0,0,0,0,14,15,13,14,13,12,15,13,11,11,10,11,0,0,0,0,0,0,0,0,15,13,14,14,15,15,15,13,14,13,13,12,0,0,0,0,0,0,0,0,9,10,11,9,9,10,10,9,8,8,8,8,0,0,0,0,0,0,0,0,7,7,6,5,6,7,7,6,8,7,8,7,0,0,0,0,0,0,0,0,3,2,2,1,0,1,2,3,3,4,3,2,0,0,0,0,0,0,0,0,4,4,5,5,6,7,7,7,6,7,7,7,0,0,0,0,0,0,0,0,10,10,10,10,10,11,11,11,11,10,10,9,0,0,0,0,0,0,0,0,9,8,9,8,9,9,8,7,7,7,7,7,0,0,0,0,0,0,0,0,5,4,4,5,5,5,5,6,6,6,6,7,0,0,0,0,0,0,0,0,6,5,5,6,5,5,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,8,9,8,9,9,10,9,9,10,10,10,0,0,0,0,0,0,0,0,10,10,10,11,10,9,9,9,8,9,9,9,0,0,0,0,0,0,0,0,9,9,10,10,10,10,10,10,10,9,10,11,0,0,0,0,0,0,0,0,11,10,9,10,10,10,10,10,10,10,10,12,0,0,0,0,0,0,0,0,11,11,11,11,12,10,10,11,12,12,11,12,0,0,0,0,0,0,0,0,12,11,11,12,11,11,11,11,11,12,10,10,0,0,0,0,0,0,0,0,15,16,17,17,18,20,20,21,23,22,26,24,0,0,0,0,0,0,0,0,28,26,27,27,29,27,27,26,29,28,27,28,0,0,0,0,0,0,0,0,28,28,27,28,28,28,27,27,27],[0,29,28,29,29,29,29,29,29,28,28,27,28,27,28,27,28,28,27,28,0,0,0,0,0,0,0,0,27,28,25,27,28,28,26,28,27,26,27,26,0,0,0,0,0,0,0,0,25,22,21,22,23,20,21,22,20,19,21,20,0,0,0,0,0,0,0,0,10,10,10,9,9,8,9,10,9,9,8,7,0,0,0,0,0,0,0,0,4,5,6,5,5,6,8,7,7,8,9,8,0,0,0,0,0,0,0,0,9,10,10,9,9,9,9,9,10,10,10,11,0,0,0,0,0,0,0,0,8,8,9,8,7,8,8,8,8,6,6,7,0,0,0,0,0,0,0,0,8,8,8,8,10,8,7,9,9,8,9,9,0,0,0,0,0,0,0,0,9,8,9,9,10,9,9,9,9,10,9,10,0,0,0,0,0,0,0,0,7,7,7,7,6,7,7,7,7,7,6,7,0,0,0,0,0,0,0,0,3,4,4,4,4,5,5,5,5,6,7,6,0,0,0,0,0,0,0,0,9,8,9,9,9,10,11,10,9,10,11,10,0,0,0,0,0,0,0,0,10,10,10,9,9,10,10,9,9,10,10,9,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,6,6,6,5,5,0,0,0,0,0,0,0,0,7,8,8,9,9,8,9,9,9,9,10,10,0,0,0,0,0,0,0,0,11,13,12,14,14,14,14,14,15,14,13,13,0,0,0,0,0,0,0,0,12,12,12,12,12,12,13,13,12,13,15,16,0,0,0,0,0,0,0,0,20,22,23,24,25,24,27,26,27,25,27,26,0,0,0,0,0,0,0,0,25,26,28,26,28,28,28,29,29,28,28,28,0,0,0,0,0,0,0,0,29,28,29,29,28,28,27,28,27,29,28,29,0,0,0,0,0,0,0,0,24,23,23,22,22,21,19,18,17,18,15,15,0,0,0,0,0,0,0,0,13,16,14,15,16,16,16,16,18,16,16,17,0,0,0,0,0,0,0,0,18,17,17,17,18,18,19,20,20,20,20,19,0,0,0,0,0,0,0,0,16,16,16,15,13,14,14,15,13,13,12,15,0,0,0,0,0,0,0,0,15,14,15,16,15,16,16,16,15,15,14,13,0,0,0,0,0,0,0,0,9,10,11,9,9,10,10,8,9,8,7,7,0,0,0,0,0,0,0,0,7,6,6,6,7,6,7,8,11,10,9,8,0,0,0,0,0,0,0,0,3,2,3,1,1,0,1,2,5,4,3,2,0,0,0,0,0,0,0,0,6,5,7,8,8,8,6,7,7,7,8,8,0,0,0,0,0,0,0,0,10,11,11,10,13,12,12,11,10,11,11,10,0,0,0,0,0,0,0,0,8,9,8,7,8,8,7,7,8,7,8,7,0,0,0,0,0,0,0,0,8,7,7,9,8,8,7,7,8,8,7,7,0,0,0,0,0,0,0,0,6,7,7,6,7,8,7,7,8,8,8,8,0,0,0,0,0,0,0,0,9,8,8,8,8,9,9,9,10,10,10,10,0,0,0,0,0,0,0,0,10,10,10,8,10,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,9,10,10,9,10,10,10,10,11,10,12,11,0,0,0,0,0,0,0,0,10,11,11,10,11,11,12,11,11,11,12,13,0,0,0,0,0,0,0,0,12,12,12,12,13,13,12,13,13,14,12,11,0,0,0,0,0,0,0,0,12,14,12,11,12,13,12,12,13,13,11,12,0,0,0,0,0,0,0,0,17,17,19,18,19,20,22,22,23,22,25,23,0,0,0,0,0,0,0,0,27,25,26,27,27,26,27,25,28,27,27,28,0,0,0,0,0,0,0,0,28,28,27,27,28,27,26,27,26],[0,28,27,27,28,28,28,28,28,27,27,26,28,27,27,26,27,27,25,27,0,0,0,0,0,0,0,0,25,26,24,25,27,27,25,27,26,25,26,25,0,0,0,0,0,0,0,0,23,20,20,21,21,19,18,20,18,18,18,18,0,0,0,0,0,0,0,0,10,12,10,11,10,9,10,11,9,9,9,9,0,0,0,0,0,0,0,0,4,5,5,6,5,6,7,7,7,8,9,8,0,0,0,0,0,0,0,0,10,11,10,10,10,11,11,10,11,12,12,12,0,0,0,0,0,0,0,0,10,9,10,9,9,9,9,10,9,9,8,8,0,0,0,0,0,0,0,0,8,8,9,8,9,9,8,8,9,9,9,9,0,0,0,0,0,0,0,0,10,10,10,11,12,11,10,10,10,11,10,11,0,0,0,0,0,0,0,0,9,9,8,7,9,8,8,8,8,7,8,8,0,0,0,0,0,0,0,0,4,4,4,6,5,6,7,7,6,7,8,9,0,0,0,0,0,0,0,0,10,10,10,11,11,10,11,11,12,11,11,11,0,0,0,0,0,0,0,0,11,12,11,10,11,11,11,10,10,10,11,10,0,0,0,0,0,0,0,0,9,9,9,8,8,8,8,8,7,7,7,5,0,0,0,0,0,0,0,0,9,9,11,11,10,10,10,10,11,12,12,13,0,0,0,0,0,0,0,0,14,14,16,17,15,16,18,16,18,16,15,16,0,0,0,0,0,0,0,0,12,12,13,13,12,13,13,14,13,14,14,14,0,0,0,0,0,0,0,0,18,21,21,21,23,22,23,24,25,25,25,24,0,0,0,0,0,0,0,0,24,25,26,26,27,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,27,26,26,26,25,27,26,27,0,0,0,0,0,0,0,0,23,23,20,22,20,20,20,19,18,17,16,15,0,0,0,0,0,0,0,0,20,17,17,17,18,18,18,18,20,17,17,19,0,0,0,0,0,0,0,0,20,18,19,19,19,18,20,21,21,21,21,20,0,0,0,0,0,0,0,0,18,18,17,16,17,16,19,18,17,17,15,17,0,0,0,0,0,0,0,0,18,16,16,16,16,17,16,17,16,16,16,14,0,0,0,0,0,0,0,0,11,12,13,12,11,12,11,11,11,11,10,10,0,0,0,0,0,0,0,0,8,8,7,8,8,9,7,8,10,9,10,9,0,0,0,0,0,0,0,0,4,3,3,2,2,1,0,1,2,4,2,3,0,0,0,0,0,0,0,0,6,8,8,8,7,8,9,10,8,9,10,10,0,0,0,0,0,0,0,0,12,13,14,13,15,16,15,13,14,12,12,13,0,0,0,0,0,0,0,0,11,11,10,10,11,11,9,11,10,10,10,9,0,0,0,0,0,0,0,0,8,7,7,8,8,7,7,7,8,8,7,7,0,0,0,0,0,0,0,0,5,5,6,6,6,7,8,8,9,10,9,10,0,0,0,0,0,0,0,0,11,11,11,12,11,12,13,12,13,12,13,14,0,0,0,0,0,0,0,0,13,12,12,13,12,12,11,12,12,12,11,12,0,0,0,0,0,0,0,0,12,12,12,13,14,13,13,14,13,13,13,13,0,0,0,0,0,0,0,0,14,13,12,13,12,11,13,13,13,12,13,15,0,0,0,0,0,0,0,0,15,14,15,13,15,14,14,13,13,14,13,14,0,0,0,0,0,0,0,0,13,14,15,14,14,15,14,14,16,16,14,14,0,0,0,0,0,0,0,0,18,18,19,20,20,20,22,22,23,22,25,24,0,0,0,0,0,0,0,0,27,26,25,25,27,26,26,26,27,27,27,28,0,0,0,0,0,0,0,0,28,28,27,27,27,26,25,26,26],[0,28,27,28,28,28,28,27,28,27,26,26,26,26,26,26,26,26,25,26,0,0,0,0,0,0,0,0,26,26,24,26,27,27,26,26,25,26,26,26,0,0,0,0,0,0,0,0,23,20,21,21,20,19,19,19,17,17,17,17,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,6,6,5,0,0,0,0,0,0,0,0,4,4,4,4,5,5,6,5,6,6,6,6,0,0,0,0,0,0,0,0,8,9,8,8,8,8,8,8,8,8,9,9,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,8,7,7,6,6,0,0,0,0,0,0,0,0,6,7,7,6,7,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,8,7,7,8,8,7,7,7,8,9,8,8,0,0,0,0,0,0,0,0,7,7,7,6,7,6,6,7,6,6,7,6,0,0,0,0,0,0,0,0,5,5,4,5,5,5,5,6,6,5,6,6,0,0,0,0,0,0,0,0,7,7,7,7,8,8,8,8,8,8,9,8,0,0,0,0,0,0,0,0,9,9,8,8,9,9,9,9,9,8,8,8,0,0,0,0,0,0,0,0,7,6,6,6,7,7,6,6,6,6,5,5,0,0,0,0,0,0,0,0,6,7,7,6,7,7,7,8,8,8,8,7,0,0,0,0,0,0,0,0,10,10,12,11,12,13,12,12,13,12,12,12,0,0,0,0,0,0,0,0,8,9,9,9,9,10,10,10,11,12,13,13,0,0,0,0,0,0,0,0,17,19,19,19,21,21,22,23,24,24,25,23,0,0,0,0,0,0,0,0,24,23,26,25,26,25,26,27,27,27,27,26,0,0,0,0,0,0,0,0,28,27,28,26,27,27,25,26,26,27,27,27,0,0,0,0,0,0,0,0,22,22,20,20,19,19,17,16,15,15,14,13,0,0,0,0,0,0,0,0,12,13,12,12,14,15,14,14,16,14,14,15,0,0,0,0,0,0,0,0,17,16,16,17,16,16,17,17,18,17,16,17,0,0,0,0,0,0,0,0,14,13,14,13,12,13,13,13,12,11,11,12,0,0,0,0,0,0,0,0,13,13,13,14,14,14,15,15,14,14,13,11,0,0,0,0,0,0,0,0,8,9,9,9,9,9,8,8,8,8,7,7,0,0,0,0,0,0,0,0,6,5,5,5,5,6,6,6,8,8,8,8,0,0,0,0,0,0,0,0,4,4,3,2,3,2,1,0,1,1,1,1,0,0,0,0,0,0,0,0,4,5,4,5,5,5,5,5,5,6,6,6,0,0,0,0,0,0,0,0,9,9,9,9,11,11,10,10,10,10,9,9,0,0,0,0,0,0,0,0,7,7,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,3,5,4,5,6,6,6,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,5,6,6,6,7,6,6,0,0,0,0,0,0,0,0,6,6,6,6,7,8,7,8,8,8,8,9,0,0,0,0,0,0,0,0,8,8,8,7,7,8,8,7,6,7,7,7,0,0,0,0,0,0,0,0,6,7,8,8,8,8,8,8,8,9,9,9,0,0,0,0,0,0,0,0,9,9,8,9,9,8,8,9,9,8,10,10,0,0,0,0,0,0,0,0,11,11,10,9,11,10,11,11,10,11,10,9,0,0,0,0,0,0,0,0,9,11,10,10,10,11,11,10,11,12,10,10,0,0,0,0,0,0,0,0,17,16,17,16,17,18,19,21,21,19,23,21,0,0,0,0,0,0,0,0,24,24,25,24,24,23,24,23,24,26,25,25,0,0,0,0,0,0,0,0,26,26,24,24,25,24,23,23,25],[0,28,27,28,28,28,28,27,27,27,26,26,27,26,27,26,27,27,26,27,0,0,0,0,0,0,0,0,25,26,23,26,27,26,25,26,25,25,26,25,0,0,0,0,0,0,0,0,22,20,19,20,20,19,19,20,18,18,18,17,0,0,0,0,0,0,0,0,6,5,6,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,4,4,5,5,4,5,6,5,6,6,6,0,0,0,0,0,0,0,0,8,8,8,8,7,7,7,7,8,8,9,9,0,0,0,0,0,0,0,0,7,8,8,7,7,8,8,8,7,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,7,7,7,7,7,7,7,8,8,7,0,0,0,0,0,0,0,0,6,7,7,6,6,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,5,5,4,4,5,5,5,5,4,5,5,5,0,0,0,0,0,0,0,0,6,6,6,6,7,7,7,8,8,8,9,8,0,0,0,0,0,0,0,0,7,8,8,7,7,8,8,8,8,8,8,7,0,0,0,0,0,0,0,0,6,5,6,6,6,5,6,6,6,6,5,5,0,0,0,0,0,0,0,0,5,6,5,5,6,6,6,6,7,7,6,6,0,0,0,0,0,0,0,0,8,9,9,10,10,11,11,11,12,11,10,9,0,0,0,0,0,0,0,0,7,8,8,7,8,9,9,10,11,11,13,14,0,0,0,0,0,0,0,0,17,20,21,19,23,22,22,24,25,24,26,24,0,0,0,0,0,0,0,0,24,25,27,25,26,27,26,27,28,27,27,27,0,0,0,0,0,0,0,0,27,26,27,27,27,27,26,26,25,27,26,27,0,0,0,0,0,0,0,0,22,22,21,20,19,18,17,16,14,14,12,11,0,0,0,0,0,0,0,0,10,12,11,11,12,13,12,14,14,13,13,13,0,0,0,0,0,0,0,0,16,15,14,16,14,16,17,16,17,18,16,17,0,0,0,0,0,0,0,0,12,12,12,12,11,11,11,12,10,9,9,10,0,0,0,0,0,0,0,0,12,11,12,13,13,13,14,14,13,13,12,12,0,0,0,0,0,0,0,0,7,7,9,8,7,7,8,8,7,6,6,6,0,0,0,0,0,0,0,0,5,4,4,4,4,5,5,6,9,7,7,6,0,0,0,0,0,0,0,0,3,3,4,3,3,2,1,1,0,1,1,1,0,0,0,0,0,0,0,0,3,3,3,3,4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8,0,0,0,0,0,0,0,0,8,9,9,8,8,9,9,8,9,9,8,9,0,0,0,0,0,0,0,0,16,16,16,15,18,19,19,21,22,23,24,23,0,0,0,0,0,0,0,0,25,25,27,26,26,25,26,25,27,26,26,28,0,0,0,0,0,0,0,0,27,27,26,26,27,25,26,25,25],[0,29,29,29,29,29,29,29,28,28,28,27,28,27,28,27,28,28,27,28,0,0,0,0,0,0,0,0,27,27,25,27,28,28,27,27,26,26,27,26,0,0,0,0,0,0,0,0,23,21,21,21,20,19,18,20,18,18,19,17,0,0,0,0,0,0,0,0,6,5,5,5,5,5,4,5,4,4,4,3,0,0,0,0,0,0,0,0,2,3,3,3,3,3,3,4,4,4,4,5,0,0,0,0,0,0,0,0,7,7,6,6,5,6,6,6,6,6,7,7,0,0,0,0,0,0,0,0,6,6,6,6,5,6,6,6,6,5,4,5,0,0,0,0,0,0,0,0,5,5,5,5,5,4,5,4,4,5,4,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,6,6,6,6,0,0,0,0,0,0,0,0,5,5,6,4,5,5,5,5,5,5,4,5,0,0,0,0,0,0,0,0,3,3,3,4,3,4,4,4,4,4,5,4,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,7,6,6,7,7,0,0,0,0,0,0,0,0,6,6,6,5,6,6,6,6,7,7,6,5,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4,4,4,3,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,5,5,6,5,6,0,0,0,0,0,0,0,0,8,8,8,9,9,9,9,10,10,9,9,8,0,0,0,0,0,0,0,0,6,7,8,7,8,8,9,9,10,11,12,13,0,0,0,0,0,0,0,0,17,20,21,21,23,22,24,24,26,24,26,24,0,0,0,0,0,0,0,0,25,24,27,26,27,27,27,28,28,28,27,27,0,0,0,0,0,0,0,0,28,27,28,27,27,28,27,27,27,27,27,28,0,0,0,0,0,0,0,0,24,22,21,22,21,19,19,15,15,14,11,10,0,0,0,0,0,0,0,0,9,11,10,10,11,12,11,12,14,13,12,14,0,0,0,0,0,0,0,0,15,14,14,14,14,15,15,16,16,16,16,15,0,0,0,0,0,0,0,0,11,12,11,11,9,9,9,10,8,8,8,9,0,0,0,0,0,0,0,0,9,9,11,12,11,12,12,12,11,10,9,9,0,0,0,0,0,0,0,0,6,6,6,6,5,6,6,5,5,5,5,5,0,0,0,0,0,0,0,0,4,3,3,3,4,4,4,4,7,6,7,6,0,0,0,0,0,0,0,0,3,2,3,2,3,3,3,1,1,1,0,1,0,0,0,0,0,0,0,0,2,2,2,3,3,3,3,4,3,4,4,4,0,0,0,0,0,0,0,0,6,6,6,6,7,7,7,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,4,4,4,5,4,4,4,5,4,4,0,0,0,0,0,0,0,0,2,2,2,3,3,2,3,3,3,4,3,4,0,0,0,0,0,0,0,0,3,3,3,4,3,4,5,4,4,4,5,4,0,0,0,0,0,0,0,0,5,4,4,5,5,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,6,6,6,5,5,5,6,6,5,5,5,5,0,0,0,0,0,0,0,0,5,6,6,6,5,6,6,6,6,7,7,6,0,0,0,0,0,0,0,0,7,7,7,7,8,6,6,7,7,7,7,8,0,0,0,0,0,0,0,0,8,8,9,8,9,8,8,8,9,9,8,7,0,0,0,0,0,0,0,0,7,8,8,7,8,8,8,7,8,8,7,8,0,0,0,0,0,0,0,0,14,14,16,15,17,18,20,21,22,21,23,23,0,0,0,0,0,0,0,0,27,25,26,26,28,26,27,26,27,28,27,28,0,0,0,0,0,0,0,0,28,28,27,27,27,27,26,25,27],[0,29,28,28,28,29,29,28,28,27,27,27,28,27,27,27,28,27,26,28,0,0,0,0,0,0,0,0,26,26,24,27,27,28,26,27,27,26,27,25,0,0,0,0,0,0,0,0,24,22,21,22,22,21,19,21,19,18,17,17,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,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,0,25,23,25,25,26,25,25,24,27,26,25,26,0,0,0,0,0,0,0,0,26,27,25,25,26,24,24,24,24],[0,28,28,28,28,28,29,28,28,27,26,27,27,26,26,27,26,26,26,27,0,0,0,0,0,0,0,0,28,26,25,27,27,28,27,27,26,27,27,27,0,0,0,0,0,0,0,0,24,21,22,21,22,20,19,20,18,17,18,17,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,5,4,4,4,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,4,4,3,4,0,0,0,0,0,0,0,0,3,3,4,3,3,3,4,3,3,4,4,3,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,4,4,5,4,4,0,0,0,0,0,0,0,0,3,3,4,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,2,3,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,4,3,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,5,5,5,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,6,6,6,6,7,8,9,9,11,13,0,0,0,0,0,0,0,0,16,17,20,19,20,21,23,23,24,23,24,22,0,0,0,0,0,0,0,0,22,23,26,24,27,25,26,27,27,26,27,27,0,0,0,0,0,0,0,0,27,26,28,27,27,27,26,26,26,26,26,27,0,0,0,0,0,0,0,0,22,21,22,19,19,17,17,15,13,12,9,8,0,0,0,0,0,0,0,0,6,7,7,7,8,8,8,9,10,9,9,10,0,0,0,0,0,0,0,0,11,11,10,10,10,10,11,12,12,12,12,11,0,0,0,0,0,0,0,0,8,8,8,7,6,6,6,6,6,6,6,6,0,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0,0,0,0,0,0,16,17,20,19,21,21,22,23,25,23,25,23,0,0,0,0,0,0,0,0,23,24,25,24,26,25,27,26,26,26,26,26,0,0,0,0,0,0,0,0,27,27,27,26,27,27,26,25,26,26,25,26,0,0,0,0,0,0,0,0,22,19,20,19,17,17,15,13,12,11,10,8,0,0,0,0,0,0,0,0,6,7,7,7,7,7,7,8,9,8,8,9,0,0,0,0,0,0,0,0,10,9,9,9,9,9,9,10,11,11,10,11,0,0,0,0,0,0,0,0,7,7,7,7,6,6,6,6,5,5,5,5,0,0,0,0,0,0,0,0,6,6,7,7,8,8,8,8,8,7,7,6,0,0,0,0,0,0,0,0,4,4,5,4,4,4,4,4,4,4,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,4,6,6,6,5,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,3,2,3,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,4,4,4,4,4,0,0,0,0,0,0,0,0,3,4,3,3,3,3,3,2,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,3,2,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,5,4,4,4,3,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,3,3,3,4,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,4,4,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,4,5,4,4,5,5,4,5,5,0,0,0,0,0,0,0,0,6,6,5,5,6,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,6,5,5,0,0,0,0,0,0,0,0,11,11,12,11,12,15,15,17,19,18,22,21,0,0,0,0,0,0,0,0,24,21,26,24,25,24,25,24,26,25,24,26,0,0,0,0,0,0,0,0,26,26,25,25,25,25,23,25,25],[0,28,27,28,28,29,28,27,28,27,26,27,27,26,26,27,27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3,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,5,5,4,4,5,5,4,4,5,0,0,0,0,0,0,0,0,6,5,5,5,5,5,5,5,6,6,6,5,0,0,0,0,0,0,0,0,4,5,4,4,5,5,4,4,5,5,4,5,0,0,0,0,0,0,0,0,10,11,11,11,12,14,15,17,19,19,22,22,0,0,0,0,0,0,0,0,24,22,25,25,25,25,26,25,26,25,26,27,0,0,0,0,0,0,0,0,26,25,25,25,25,24,23,25,25],[0,28,28,28,28,28,28,27,28,27,26,26,26,25,26,26,26,26,25,26,0,0,0,0,0,0,0,0,26,25,24,26,27,26,26,26,26,26,26,25,0,0,0,0,0,0,0,0,24,22,20,21,22,21,19,20,20,18,16,17,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,4,3,3,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,3,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,3,3,4,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,4,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,5,5,5,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,6,8,8,8,11,12,0,0,0,0,0,0,0,0,16,17,18,18,21,21,21,23,24,23,24,22,0,0,0,0,0,0,0,0,23,23,25,23,25,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,26,26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,0,0,0,0,0,4,4,3,3,4,3,3,3,4,3,3,4,0,0,0,0,0,0,0,0,8,10,10,9,11,12,13,15,17,17,20,20,0,0,0,0,0,0,0,0,22,23,25,24,24,23,25,24,25,24,24,26,0,0,0,0,0,0,0,0,24,24,23,25,24,24,21,24,23],[0,28,28,28,28,28,28,27,28,27,27,27,26,26,26,25,26,27,25,26,0,0,0,0,0,0,0,0,27,26,24,26,27,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,24,22,22,22,21,20,19,20,18,17,16,16,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,2,2,2,3,2,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,3,3,3,4,4,3,4,4,3,0,0,0,0,0,0,0,0,2,3,3,2,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,4,4,4,4,5,6,7,8,8,11,11,0,0,0,0,0,0,0,0,17,19,20,19,22,21,21,23,24,22,23,22,0,0,0,0,0,0,0,0,22,21,25,23,26,25,25,25,25,26,26,25,0,0,0,0,0,0,0,0,26,26,26,25,25,25,25,25,25,25,24,25,0,0,0,0,0,0,0,0,21,20,19,19,17,15,15,13,11,9,7,6,0,0,0,0,0,0,0,0,4,5,5,5,5,5,6,6,6,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24,23,22,22,23,23,24,22,23,24,0,0,0,0,0,0,0,0,23,23,23,23,23,23,20,23,23],[0,28,28,28,28,29,27,27,28,27,26,27,26,26,26,26,26,27,26,26,0,0,0,0,0,0,0,0,27,26,26,27,26,28,27,27,26,27,27,27,0,0,0,0,0,0,0,0,23,22,22,21,21,19,18,20,18,17,17,17,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,2,2,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,1,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,1,2,2,1,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,5,6,7,9,9,11,13,0,0,0,0,0,0,0,0,16,17,19,20,20,20,21,21,23,23,24,21,0,0,0,0,0,0,0,0,22,22,25,23,26,25,25,25,26,26,26,25,0,0,0,0,0,0,0,0,26,26,27,25,26,26,25,25,25,26,25,25,0,0,0,0,0,0,0,0,22,21,21,19,17,17,15,14,11,9,7,5,0,0,0,0,0,0,0,0,3,4,4,4,4,5,5,5,5,5,6,6,0,0,0,0,0,0,0,0,7,6,6,6,5,6,7,6,7,7,6,6,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,3,3,3,3,0,0,0,0,0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,2,0,0,0,0,0,0,0,0,3,4,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,3,3,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,3,2,2,2,0,0,0,0,0,0,0,0,7,9,9,9,10,12,12,14,15,16,18,18,0,0,0,0,0,0,0,0,21,21,24,24,23,22,24,22,23,23,24,23,0,0,0,0,0,0,0,0,24,21,23,23,24,23,21,23,25],[0,28,28,28,28,28,27,27,26,26,27,26,26,24,25,23,25,26,24,25,0,0,0,0,0,0,0,0,27,26,25,26,26,26,26,27,26,27,27,27,0,0,0,0,0,0,0,0,23,22,22,22,21,20,18,20,19,17,17,17,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,2,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,2,2,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,2,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,1,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,5,7,8,8,11,12,0,0,0,0,0,0,0,0,17,18,18,19,21,20,20,21,22,23,23,21,0,0,0,0,0,0,0,0,21,21,23,23,26,24,23,23,24,24,24,24,0,0,0,0,0,0,0,0,24,25,26,24,25,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0,0,3,3,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,7,8,9,8,9,11,12,14,15,15,18,18,0,0,0,0,0,0,0,0,20,21,23,24,23,22,23,22,23,22,22,24,0,0,0,0,0,0,0,0,22,21,21,22,24,23,19,22,23],[0,28,28,28,28,27,27,27,26,26,26,26,26,24,25,24,25,26,25,25,0,0,0,0,0,0,0,0,26,26,25,25,26,26,26,26,26,26,26,26,0,0,0,0,0,0,0,0,23,22,22,21,21,20,18,19,18,17,17,16,0,0,0,0,0,0,0,0,3,2,2,2,1,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,4,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,2,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,2,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,2,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,5,7,8,8,11,12,0,0,0,0,0,0,0,0,17,18,18,20,21,20,21,21,22,22,22,21,0,0,0,0,0,0,0,0,21,21,24,24,26,23,23,24,25,24,24,24,0,0,0,0,0,0,0,0,25,25,25,25,25,24,25,25,24,25,24,24,0,0,0,0,0,0,0,0,21,20,19,18,17,16,14,12,10,9,7,5,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,4,5,5,0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,23,22,23,23,22,22,0,0,0,0,0,0,0,0,22,22,22,22,23,23,20,22,22],[0,27,28,27,27,28,27,27,28,26,26,26,26,25,26,25,25,27,26,26,0,0,0,0,0,0,0,0,27,26,26,27,27,27,26,27,26,26,27,26,0,0,0,0,0,0,0,0,23,23,22,22,21,20,19,20,19,18,17,17,0,0,0,0,0,0,0,0,3,2,2,2,2,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,4,4,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,4,3,3,4,4,4,3,3,3,0,0,0,0,0,0,0,0,2,3,3,2,2,3,3,3,3,4,3,3,0,0,0,0,0,0,0,0,3,2,3,3,2,2,3,3,2,3,3,3,0,0,0,0,0,0,0,0,2,2,3,2,2,3,3,3,4,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,2,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,2,0,0,0,0,0,0,0,0,2,1,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,4,6,7,9,9,11,12,0,0,0,0,0,0,0,0,18,17,19,19,20,20,21,21,23,22,23,22,0,0,0,0,0,0,0,0,22,23,25,24,26,25,25,26,26,26,26,25,0,0,0,0,0,0,0,0,26,26,26,26,26,25,26,25,25,26,25,25,0,0,0,0,0,0,0,0,22,21,20,20,18,16,14,12,10,9,7,5,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,5,5,0,0,0,0,0,0,0,0,5,5,4,4,4,5,5,5,6,6,5,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,2,2,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,4,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,1,2,2,1,2,2,0,0,0,0,0,0,0,0,7,7,8,8,8,11,10,12,15,15,18,18,0,0,0,0,0,0,0,0,19,19,22,22,22,21,21,21,23,22,21,22,0,0,0,0,0,0,0,0,20,20,19,21,21,19,18,21,21],[0,28,28,28,28,28,27,27,27,26,27,26,26,25,26,25,25,27,25,25,0,0,0,0,0,0,0,0,26,26,25,25,26,26,25,26,25,25,26,25,0,0,0,0,0,0,0,0,23,23,21,21,21,19,17,19,17,16,16,16,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,5,5,4,4,3,3,4,4,4,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,3,3,3,0,0,0,0,0,0,0,0,2,3,3,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,3,2,2,3,2,2,2,3,2,0,0,0,0,0,0,0,0,2,2,3,3,2,3,3,3,4,3,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,2,3,2,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,1,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,3,4,4,4,5,7,7,8,10,12,0,0,0,0,0,0,0,0,17,17,17,18,20,19,20,21,21,21,21,20,0,0,0,0,0,0,0,0,21,21,23,23,26,24,24,24,25,25,26,25,0,0,0,0,0,0,0,0,26,26,26,25,26,24,25,24,24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,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,7,8,8,8,8,10,10,12,14,14,18,18,0,0,0,0,0,0,0,0,19,19,22,22,21,21,20,21,23,21,21,21,0,0,0,0,0,0,0,0,20,19,18,21,21,18,18,20,19],[0,28,28,28,28,28,27,28,27,26,26,26,26,25,26,26,26,27,26,26,0,0,0,0,0,0,0,0,26,26,25,26,26,26,25,26,25,25,26,25,0,0,0,0,0,0,0,0,23,23,22,22,22,21,20,20,19,20,18,18,0,0,0,0,0,0,0,0,4,3,3,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,5,4,0,0,0,0,0,0,0,0,5,6,6,5,5,5,4,5,5,5,4,5,0,0,0,0,0,0,0,0,4,4,5,4,4,5,5,5,5,5,4,5,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,4,5,5,4,5,0,0,0,0,0,0,0,0,4,3,4,4,3,3,4,3,3,3,4,3,0,0,0,0,0,0,0,0,3,3,3,4,3,4,4,5,5,5,4,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,2,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,2,2,3,2,2,3,3,4,4,4,3,3,0,0,0,0,0,0,0,0,3,2,3,3,3,3,3,3,3,3,4,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,1,2,2,0,0,0,0,0,0,0,0,2,2,1,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,4,4,5,5,6,8,9,11,12,13,0,0,0,0,0,0,0,0,18,18,20,19,21,21,22,21,23,22,22,21,0,0,0,0,0,0,0,0,21,21,24,24,26,24,24,25,26,25,25,25,0,0,0,0,0,0,0,0,26,25,26,26,26,25,25,24,24,25,25,25,0,0,0,0,0,0,0,0,21,21,20,18,18,15,14,13,10,10,7,6,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,5,5,5,6,0,0,0,0,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21,21,21,0,0,0,0,0,0,0,0,22,20,19,21,22,18,18,21,19],[0,29,28,28,29,28,28,28,27,27,26,26,26,25,26,25,25,26,25,25,0,0,0,0,0,0,0,0,27,26,26,26,27,27,26,26,25,26,26,26,0,0,0,0,0,0,0,0,23,23,22,21,21,20,17,18,17,17,16,16,0,0,0,0,0,0,0,0,4,3,3,3,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,4,3,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,6,6,5,5,4,4,5,5,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,4,4,3,3,4,4,4,4,5,4,4,0,0,0,0,0,0,0,0,3,3,4,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,3,3,3,3,3,3,3,4,4,3,4,0,0,0,0,0,0,0,0,4,4,4,3,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,4,4,4,5,6,7,8,8,11,11,0,0,0,0,0,0,0,0,15,16,17,18,20,19,20,20,21,21,22,20,0,0,0,0,0,0,0,0,22,21,23,25,27,24,25,26,27,26,26,26,0,0,0,0,0,0,0,0,26,26,26,26,26,25,25,25,25,25,25,25,0,0,0,0,0,0,0,0,20,20,19,17,18,15,14,13,10,9,7,5,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4,5,6,5,5,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,3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,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,2,0,0,0,0,0,0,0,0,8,10,10,10,10,13,13,15,16,16,17,18,0,0,0,0,0,0,0,0,19,21,23,24,21,21,22,21,22,21,22,22,0,0,0,0,0,0,0,0,21,21,21,22,23,22,19,21,23],[0,28,28,28,28,28,27,27,27,27,27,26,26,24,26,24,25,26,26,25,0,0,0,0,0,0,0,0,27,27,25,26,27,27,26,27,26,26,27,26,0,0,0,0,0,0,0,0,24,23,23,22,22,20,19,19,18,17,17,18,0,0,0,0,0,0,0,0,4,3,3,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,4,4,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,6,6,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,4,4,3,3,4,4,4,4,5,5,5,0,0,0,0,0,0,0,0,4,3,4,4,3,3,4,3,3,3,4,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,3,3,4,0,0,0,0,0,0,0,0,3,3,4,3,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,4,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,2,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,7,8,8,10,12,0,0,0,0,0,0,0,0,17,18,19,21,21,21,21,21,22,22,23,21,0,0,0,0,0,0,0,0,22,22,25,25,27,25,25,26,26,25,26,25,0,0,0,0,0,0,0,0,26,26,27,26,27,26,26,26,25,26,25,26,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2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,9,10,11,10,10,13,14,15,15,17,18,19,0,0,0,0,0,0,0,0,21,21,24,24,21,22,24,23,22,23,23,21,0,0,0,0,0,0,0,0,23,22,22,22,24,21,21,24,23],[0,27,27,27,28,26,28,27,25,26,25,23,26,22,25,22,26,25,23,26,0,0,0,0,0,0,0,0,26,25,25,26,26,27,26,26,26,26,26,26,0,0,0,0,0,0,0,0,22,21,20,20,20,18,17,17,17,16,15,15,0,0,0,0,0,0,0,0,4,3,3,3,3,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,4,4,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,6,5,5,4,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,4,4,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,3,4,4,3,3,4,3,3,4,4,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,3,3,4,0,0,0,0,0,0,0,0,3,3,4,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,2,2,3,3,2,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,6,6,7,8,9,11,0,0,0,0,0,0,0,0,16,16,17,18,21,19,19,21,22,21,22,22,0,0,0,0,0,0,0,0,21,21,24,24,27,25,24,24,25,26,25,25,0,0,0,0,0,0,0,0,26,26,26,25,25,25,25,25,25,25,25,25,0,0,0,0,0,0,0,0,22,19,20,19,18,16,15,13,11,9,7,6,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,4,4,4,5,0,0,0,0,0,0,0,0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3,3,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,8,8,9,9,10,12,13,15,17,17,20,20,0,0,0,0,0,0,0,0,23,22,25,24,25,24,24,23,25,25,24,25,0,0,0,0,0,0,0,0,23,24,22,25,25,23,22,25,25],[0,28,27,27,28,27,27,27,25,26,25,23,26,23,25,23,25,25,24,26,0,0,0,0,0,0,0,0,26,25,23,26,27,27,26,27,26,27,26,26,0,0,0,0,0,0,0,0,24,23,21,21,21,20,19,19,18,17,16,15,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,4,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,6,6,6,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,5,4,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,4,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,3,3,3,0,0,0,0,0,0,0,0,3,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,4,4,3,0,0,0,0,0,0,0,0,3,4,3,4,4,4,5,5,5,8,10,12,0,0,0,0,0,0,0,0,14,15,15,19,20,18,21,21,23,21,23,22,0,0,0,0,0,0,0,0,21,23,24,24,26,25,25,26,26,26,27,26,0,0,0,0,0,0,0,0,27,26,26,26,26,25,26,24,26,25,24,25,0,0,0,0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,2,2,2,0,0,0,0,0,0,0,0,7,9,9,9,10,13,14,15,18,17,20,19,0,0,0,0,0,0,0,0,23,22,25,25,24,24,25,24,25,25,25,25,0,0,0,0,0,0,0,0,24,24,25,24,27,25,22,25,25],[0,29,29,28,28,28,28,27,27,27,26,26,27,25,26,25,26,26,25,26,0,0,0,0,0,0,0,0,27,26,25,27,27,28,26,28,26,27,27,26,0,0,0,0,0,0,0,0,24,23,22,21,22,22,18,20,20,19,18,17,0,0,0,0,0,0,0,0,3,2,3,2,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,4,4,4,5,4,0,0,0,0,0,0,0,0,6,6,6,6,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,5,4,4,4,5,5,5,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,5,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,3,4,3,3,4,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,5,5,5,5,5,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,4,4,3,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,3,2,2,3,3,2,2,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,3,4,4,3,0,0,0,0,0,0,0,0,3,4,3,3,3,5,4,5,5,7,9,12,0,0,0,0,0,0,0,0,14,15,15,18,19,20,22,22,22,23,24,24,0,0,0,0,0,0,0,0,23,25,26,27,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,28,27,27,27,25,26,26,26,26,0,0,0,0,0,0,0,0,22,19,21,18,18,16,14,13,10,8,7,6,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,5,4,5,5,0,0,0,0,0,0,0,0,6,5,5,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,0,0,0,0,0,0,0,0,21,23,25,24,27,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,25,26,26,26,26,25,25,24,25,25,23,25,0,0,0,0,0,0,0,0,20,18,19,19,17,16,15,14,13,11,10,8,0,0,0,0,0,0,0,0,7,8,7,7,8,8,9,8,10,9,9,10,0,0,0,0,0,0,0,0,10,9,9,9,10,9,10,10,10,11,10,10,0,0,0,0,0,0,0,0,9,8,8,8,7,7,8,8,7,8,7,7,0,0,0,0,0,0,0,0,8,8,8,9,9,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,7,7,7,7,7,7,6,6,6,5,5,6,0,0,0,0,0,0,0,0,3,4,4,4,3,3,4,4,7,8,9,7,0,0,0,0,0,0,0,0,5,6,6,7,6,6,7,7,6,6,6,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,4,4,4,5,5,0,0,0,0,0,0,0,0,6,6,6,7,7,7,6,6,6,5,6,6,0,0,0,0,0,0,0,0,3,3,3,3,4,3,2,2,2,1,0,1,0,0,0,0,0,0,0,0,4,4,5,5,5,6,5,6,6,6,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,5,5,4,4,3,0,0,0,0,0,0,0,0,4,4,4,4,5,4,4,4,5,4,4,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,4,3,2,3,3,2,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4,4,5,4,4,0,0,0,0,0,0,0,0,5,5,5,4,5,4,4,5,5,5,6,5,0,0,0,0,0,0,0,0,7,5,6,5,6,6,6,5,6,6,6,5,0,0,0,0,0,0,0,0,5,6,6,5,7,6,7,7,7,8,7,7,0,0,0,0,0,0,0,0,12,13,13,12,13,14,15,17,18,18,21,20,0,0,0,0,0,0,0,0,22,22,24,24,23,24,25,23,24,25,24,24,0,0,0,0,0,0,0,0,24,23,23,24,25,23,22,24,24],[0,28,28,28,28,28,28,27,28,27,27,27,27,26,26,26,26,27,26,25,0,0,0,0,0,0,0,0,26,26,24,26,27,27,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,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,4,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,6,5,6,6,7,6,6,7,6,7,0,0,0,0,0,0,0,0,11,12,13,11,13,15,16,17,19,19,22,21,0,0,0,0,0,0,0,0,24,22,24,25,26,24,25,25,26,25,25,27,0,0,0,0,0,0,0,0,25,25,24,26,26,24,23,25,24],[0,28,28,28,28,29,28,28,28,27,27,28,27,27,26,27,27,28,27,27,0,0,0,0,0,0,0,0,27,27,25,27,27,28,27,27,27,28,27,27,0,0,0,0,0,0,0,0,23,22,23,22,21,21,19,19,19,19,17,16,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,4,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,5,4,5,5,5,5,6,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,6,7,6,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,7,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,4,5,5,5,5,5,4,4,5,5,4,0,0,0,0,0,0,0,0,4,5,4,4,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4,5,5,4,4,0,0,0,0,0,0,0,0,4,4,3,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,6,6,6,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,7,8,7,11,12,0,0,0,0,0,0,0,0,13,15,17,17,18,19,21,21,23,23,24,22,0,0,0,0,0,0,0,0,22,23,26,25,27,26,26,26,26,26,27,27,0,0,0,0,0,0,0,0,27,27,27,27,27,25,26,24,26,26,23,25,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,10,11,11,10,12,13,14,16,18,17,20,20,0,0,0,0,0,0,0,0,23,21,24,24,25,24,25,24,26,25,25,26,0,0,0,0,0,0,0,0,26,24,24,25,26,24,22,24,24],[0,29,29,29,29,29,29,29,29,28,28,28,28,28,27,28,27,28,27,27,0,0,0,0,0,0,0,0,27,27,26,27,28,28,28,27,27,28,27,27,0,0,0,0,0,0,0,0,23,23,22,21,21,22,19,20,20,19,19,18,0,0,0,0,0,0,0,0,3,2,2,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,5,5,5,5,5,0,0,0,0,0,0,0,0,7,7,7,6,5,6,5,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,7,6,6,5,5,0,0,0,0,0,0,0,0,4,5,5,4,4,4,5,4,5,5,4,4,0,0,0,0,0,0,0,0,4,4,4,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,6,5,5,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,6,6,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,6,8,8,9,11,13,0,0,0,0,0,0,0,0,16,16,18,19,18,21,21,23,24,23,25,24,0,0,0,0,0,0,0,0,25,25,27,27,28,27,27,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,27,27,27,27,26,27,0,0,0,0,0,0,0,0,22,20,19,20,18,16,15,14,11,10,8,7,0,0,0,0,0,0,0,0,5,6,6,6,6,7,7,7,8,7,8,9,0,0,0,0,0,0,0,0,9,8,8,8,8,8,9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,25,25,25,25,26,25,23,25,24],[0,28,28,29,28,29,28,28,28,28,27,27,27,27,27,27,27,28,27,27,0,0,0,0,0,0,0,0,27,27,25,27,28,28,27,27,27,27,27,26,0,0,0,0,0,0,0,0,24,22,22,21,21,18,19,19,17,17,17,18,0,0,0,0,0,0,0,0,5,6,5,6,6,7,6,6,5,5,4,4,0,0,0,0,0,0,0,0,4,4,4,5,4,5,5,5,6,6,6,7,0,0,0,0,0,0,0,0,8,9,9,8,7,8,7,8,8,8,8,9,0,0,0,0,0,0,0,0,7,8,8,8,8,8,9,9,8,8,7,7,0,0,0,0,0,0,0,0,6,6,7,7,6,6,6,6,5,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,8,8,8,8,8,0,0,0,0,0,0,0,0,8,7,7,7,8,8,7,8,8,8,8,8,0,0,0,0,0,0,0,0,6,6,5,6,6,5,6,7,5,6,6,6,0,0,0,0,0,0,0,0,6,7,7,6,7,7,8,8,8,8,8,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,9,8,8,8,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,6,7,8,7,8,8,8,8,7,9,8,7,0,0,0,0,0,0,0,0,8,9,9,9,10,9,10,9,10,9,9,9,0,0,0,0,0,0,0,0,6,7,7,7,7,7,8,8,10,10,11,13,0,0,0,0,0,0,0,0,17,17,18,19,21,20,23,23,24,23,25,22,0,0,0,0,0,0,0,0,23,24,25,24,27,25,26,26,26,26,27,27,0,0,0,0,0,0,0,0,27,26,27,27,27,27,26,25,26,26,25,25,0,0,0,0,0,0,0,0,21,19,20,20,18,17,17,16,15,14,11,10,0,0,0,0,0,0,0,0,9,10,10,10,10,10,10,10,11,10,11,12,0,0,0,0,0,0,0,0,12,11,11,11,12,11,13,13,14,14,13,12,0,0,0,0,0,0,0,0,10,10,10,10,9,9,10,9,9,10,9,9,0,0,0,0,0,0,0,0,10,10,10,10,10,11,11,11,11,11,10,10,0,0,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0,0,0,0,0,25,26,27,26,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,28,27,28,27,27,26,27,26,26,27,0,0,0,0,0,0,0,0,23,20,20,20,18,18,18,15,14,13,11,10,0,0,0,0,0,0,0,0,9,10,11,9,10,11,10,11,11,11,11,11,0,0,0,0,0,0,0,0,12,12,11,11,11,12,12,12,14,14,12,13,0,0,0,0,0,0,0,0,10,10,10,9,9,9,9,9,8,8,8,9,0,0,0,0,0,0,0,0,9,9,10,10,10,12,11,10,11,11,10,10,0,0,0,0,0,0,0,0,8,8,8,7,7,7,7,6,7,7,6,6,0,0,0,0,0,0,0,0,4,5,4,3,4,4,5,5,7,8,8,7,0,0,0,0,0,0,0,0,5,5,6,5,5,5,6,5,4,4,4,4,0,0,0,0,0,0,0,0,2,3,3,3,4,4,4,4,5,5,4,5,0,0,0,0,0,0,0,0,7,8,7,8,8,8,8,8,8,7,8,7,0,0,0,0,0,0,0,0,6,6,5,5,5,5,4,4,4,4,4,4,0,0,0,0,0,0,0,0,1,0,1,2,2,2,2,3,3,3,3,4,0,0,0,0,0,0,0,0,4,5,4,5,5,5,6,6,5,5,4,3,0,0,0,0,0,0,0,0,5,5,6,5,6,7,6,6,8,7,6,7,0,0,0,0,0,0,0,0,6,7,7,6,6,6,6,5,5,5,6,5,0,0,0,0,0,0,0,0,5,5,6,6,6,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,8,7,7,7,7,7,7,8,7,7,7,8,0,0,0,0,0,0,0,0,9,9,9,8,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,8,9,8,8,9,9,8,9,9,9,8,9,0,0,0,0,0,0,0,0,13,15,15,14,15,17,18,19,22,21,23,23,0,0,0,0,0,0,0,0,25,24,25,26,26,26,26,25,27,26,27,28,0,0,0,0,0,0,0,0,27,26,25,27,27,26,23,25,26],[0,28,28,28,28,29,28,28,29,27,27,27,27,27,27,27,27,28,27,27,0,0,0,0,0,0,0,0,28,27,26,28,28,29,28,28,27,28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8,7,8,9,0,0,0,0,0,0,0,0,8,9,9,8,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,13,14,15,14,15,17,18,19,21,21,23,23,0,0,0,0,0,0,0,0,26,25,26,26,27,25,26,25,27,26,26,28,0,0,0,0,0,0,0,0,27,27,26,27,27,26,25,26,26],[0,27,27,27,27,28,28,27,28,26,26,25,26,25,25,26,26,27,26,27,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,27,27,27,27,26,0,0,0,0,0,0,0,0,23,20,22,20,20,19,19,20,18,18,17,17,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,3,3,3,2,2,0,0,0,0,0,0,0,0,2,2,2,3,3,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5,5,4,4,4,4,4,4,5,5,5,0,0,0,0,0,0,0,0,4,5,5,5,4,5,5,6,5,5,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,4,5,5,5,5,0,0,0,0,0,0,0,0,4,5,5,5,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,3,3,4,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,5,5,6,5,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,6,6,7,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,3,4,4,4,4,5,4,4,5,5,5,5,0,0,0,0,0,0,0,0,6,7,7,8,7,8,8,8,8,8,7,8,0,0,0,0,0,0,0,0,5,6,6,6,7,7,8,11,10,10,12,13,0,0,0,0,0,0,0,0,16,18,20,20,20,20,22,21,23,23,24,23,0,0,0,0,0,0,0,0,22,23,25,24,26,24,25,26,26,26,26,26,0,0,0,0,0,0,0,0,25,25,26,25,26,25,25,25,25,25,24,25,0,0,0,0,0,0,0,0,21,20,19,19,17,18,16,14,13,13,10,9,0,0,0,0,0,0,0,0,9,9,9,9,9,10,9,10,12,11,10,12,0,0,0,0,0,0,0,0,13,12,12,12,11,12,12,13,13,13,13,13,0,0,0,0,0,0,0,0,9,9,9,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,9,9,9,10,10,11,11,11,10,10,9,8,0,0,0,0,0,0,0,0,6,6,6,7,6,6,6,6,6,6,5,6,0,0,0,0,0,0,0,0,5,4,4,4,4,5,5,6,7,7,7,7,0,0,0,0,0,0,0,0,3,3,4,4,4,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,2,3,3,3,3,3,3,3,3,4,4,4,0,0,0,0,0,0,0,0,6,6,6,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,5,5,5,5,5,5,4,5,4,4,0,0,0,0,0,0,0,0,2,2,1,1,0,1,1,2,2,2,1,2,0,0,0,0,0,0,0,0,4,4,3,4,4,4,5,4,4,4,4,3,0,0,0,0,0,0,0,0,4,5,5,5,5,6,6,6,7,6,6,7,0,0,0,0,0,0,0,0,7,7,7,6,6,6,6,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,7,7,7,0,0,0,0,0,0,0,0,8,7,6,6,7,6,6,7,7,6,7,7,0,0,0,0,0,0,0,0,8,8,9,7,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,8,9,8,7,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,13,14,15,13,15,16,17,19,19,20,21,20,0,0,0,0,0,0,0,0,24,23,25,25,24,23,24,23,24,25,24,26,0,0,0,0,0,0,0,0,24,25,24,25,25,24,23,23,24],[0,29,28,28,28,29,29,28,28,28,27,27,28,27,27,27,27,28,27,28,0,0,0,0,0,0,0,0,28,27,26,28,28,28,28,28,27,28,28,27,0,0,0,0,0,0,0,0,24,21,22,21,22,20,19,21,18,19,18,18,0,0,0,0,0,0,0,0,4,4,4,4,4,3,3,2,3,2,2,2,0,0,0,0,0,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,0,0,0,0,11,12,13,12,12,14,16,18,20,20,22,22,0,0,0,0,0,0,0,0,24,23,25,26,25,24,25,24,26,25,25,26,0,0,0,0,0,0,0,0,26,25,24,25,25,23,22,25,24],[0,29,28,28,28,29,28,28,28,27,27,27,27,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,28,26,27,27,27,0,0,0,0,0,0,0,0,23,22,22,22,21,20,19,20,18,19,18,18,0,0,0,0,0,0,0,0,4,4,4,4,4,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,3,3,0,0,0,0,0,0,0,0,4,5,4,4,3,3,3,3,3,4,3,4,0,0,0,0,0,0,0,0,3,3,4,4,3,4,4,4,4,4,3,4,0,0,0,0,0,0,0,0,2,2,2,2,1,2,2,1,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,4,4,3,3,4,4,5,5,5,4,5,0,0,0,0,0,0,0,0,4,3,3,3,3,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,3,3,4,4,4,3,4,4,4,0,0,0,0,0,0,0,0,4,4,4,3,4,4,4,5,5,5,5,4,0,0,0,0,0,0,0,0,3,3,4,4,3,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,2,3,3,2,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,5,5,5,5,6,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,7,8,7,8,12,11,11,14,14,0,0,0,0,0,0,0,0,19,19,21,22,23,23,23,24,25,24,25,23,0,0,0,0,0,0,0,0,25,24,26,26,27,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,26,27,26,25,26,26,26,26,0,0,0,0,0,0,0,0,22,21,20,20,18,18,16,14,13,12,10,8,0,0,0,0,0,0,0,0,7,8,8,8,8,8,8,9,10,9,9,10,0,0,0,0,0,0,0,0,11,10,10,10,10,10,10,11,11,12,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25,24,24,22,23,24],[0,28,28,28,28,28,28,28,28,27,26,25,27,26,26,26,27,27,27,27,0,0,0,0,0,0,0,0,27,26,26,28,27,28,26,27,26,27,27,26,0,0,0,0,0,0,0,0,23,21,21,21,22,20,20,21,18,19,18,18,0,0,0,0,0,0,0,0,4,4,4,3,4,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,4,3,4,4,4,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,5,4,4,4,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,1,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,3,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,5,4,4,5,4,0,0,0,0,0,0,0,0,4,4,5,4,4,5,5,5,6,6,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,5,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,4,4,3,4,4,4,4,4,0,0,0,0,0,0,0,0,6,6,6,6,7,7,7,7,7,7,7,6,0,0,0,0,0,0,0,0,5,6,6,6,7,7,8,11,11,11,14,14,0,0,0,0,0,0,0,0,18,19,20,22,22,21,22,23,24,23,24,23,0,0,0,0,0,0,0,0,23,23,25,25,27,25,26,26,27,26,26,26,0,0,0,0,0,0,0,0,27,26,26,26,27,26,25,25,26,25,26,26,0,0,0,0,0,0,0,0,21,20,18,19,17,17,15,14,13,11,10,9,0,0,0,0,0,0,0,0,8,9,9,9,8,9,9,10,11,10,10,11,0,0,0,0,0,0,0,0,12,12,10,11,11,11,11,12,13,12,12,12,0,0,0,0,0,0,0,0,9,9,9,8,7,7,7,7,7,6,7,7,0,0,0,0,0,0,0,0,7,8,9,9,9,10,10,10,9,9,8,7,0,0,0,0,0,0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,0,25,25,27,27,27,26,27,28,28,27,27,27,0,0,0,0,0,0,0,0,27,27,28,28,28,28,27,27,27,27,27,28,0,0,0,0,0,0,0,0,23,22,20,20,18,18,17,15,14,13,12,10,0,0,0,0,0,0,0,0,10,11,11,12,12,13,12,12,14,13,13,14,0,0,0,0,0,0,0,0,14,14,13,13,13,13,14,14,14,16,15,15,0,0,0,0,0,0,0,0,12,11,11,11,11,10,9,10,9,8,8,10,0,0,0,0,0,0,0,0,10,10,11,11,11,11,12,11,11,10,9,9,0,0,0,0,0,0,0,0,6,7,7,7,6,7,7,7,6,6,6,6,0,0,0,0,0,0,0,0,6,5,5,5,5,6,6,7,7,8,9,7,0,0,0,0,0,0,0,0,4,4,5,5,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,4,5,5,5,0,0,0,0,0,0,0,0,7,7,7,7,8,8,7,8,7,8,7,7,0,0,0,0,0,0,0,0,6,7,7,6,6,7,7,6,6,6,6,6,0,0,0,0,0,0,0,0,4,3,3,3,2,2,2,1,1,1,1,1,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,7,6,5,5,4,0,0,0,0,0,0,0,0,6,5,6,6,6,7,7,7,7,7,8,8,0,0,0,0,0,0,0,0,8,9,8,8,8,8,9,8,7,8,8,7,0,0,0,0,0,0,0,0,6,7,7,7,8,8,8,8,8,8,9,9,0,0,0,0,0,0,0,0,10,10,9,9,9,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,11,11,11,11,10,0,0,0,0,0,0,0,0,10,11,9,9,10,10,9,9,9,9,8,9,0,0,0,0,0,0,0,0,14,15,16,14,15,17,19,20,21,20,21,22,0,0,0,0,0,0,0,0,25,23,24,25,26,24,25,22,26,26,25,27,0,0,0,0,0,0,0,0,26,26,25,26,26,25,23,24,25],[0,28,28,28,27,28,28,27,28,27,27,27,27,27,27,28,27,27,28,27,0,0,0,0,0,0,0,0,27,28,26,27,28,29,27,28,27,27,27,26,0,0,0,0,0,0,0,0,24,20,22,22,22,20,20,21,18,19,19,18,0,0,0,0,0,0,0,0,7,7,6,6,6,5,5,5,5,3,3,4,0,0,0,0,0,0,0,0,3,3,3,3,4,3,3,4,3,4,4,5,0,0,0,0,0,0,0,0,5,6,6,5,4,4,4,5,5,5,5,5,0,0,0,0,0,0,0,0,5,6,6,6,6,6,7,7,6,7,6,6,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,4,5,5,5,6,0,0,0,0,0,0,0,0,6,6,7,7,7,7,8,8,7,8,8,8,0,0,0,0,0,0,0,0,7,6,6,7,6,6,6,5,5,5,5,5,0,0,0,0,0,0,0,0,3,4,5,5,5,5,6,6,5,5,5,5,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,7,7,8,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,8,7,7,0,0,0,0,0,0,0,0,5,5,6,5,6,6,6,5,6,6,7,7,0,0,0,0,0,0,0,0,8,8,9,10,9,9,10,11,11,11,10,10,0,0,0,0,0,0,0,0,8,9,9,9,10,10,10,13,13,13,15,16,0,0,0,0,0,0,0,0,19,20,23,23,23,23,26,25,26,25,26,26,0,0,0,0,0,0,0,0,24,25,27,26,28,27,28,27,28,28,28,27,0,0,0,0,0,0,0,0,27,27,27,28,27,27,27,27,27,26,27,28,0,0,0,0,0,0,0,0,22,22,20,20,19,18,18,16,15,14,12,12,0,0,0,0,0,0,0,0,13,13,13,13,13,14,14,14,15,15,14,15,0,0,0,0,0,0,0,0,16,15,15,15,15,15,15,15,15,16,16,16,0,0,0,0,0,0,0,0,13,13,13,12,12,11,11,13,11,10,10,11,0,0,0,0,0,0,0,0,12,13,13,14,14,14,14,14,13,13,11,10,0,0,0,0,0,0,0,0,7,8,8,8,8,8,8,7,8,8,7,7,0,0,0,0,0,0,0,0,6,7,6,6,6,7,7,8,8,9,10,9,0,0,0,0,0,0,0,0,6,5,6,6,6,5,6,5,5,4,4,5,0,0,0,0,0,0,0,0,5,5,6,5,5,6,7,5,5,6,7,6,0,0,0,0,0,0,0,0,8,8,8,8,9,10,10,9,9,9,9,8,0,0,0,0,0,0,0,0,8,9,8,7,8,8,8,8,7,7,8,7,0,0,0,0,0,0,0,0,5,4,3,3,2,3,2,2,2,1,2,1,0,0,0,0,0,0,0,0,5,6,5,5,6,6,6,6,7,7,6,5,0,0,0,0,0,0,0,0,7,7,7,7,7,8,8,8,8,8,9,9,0,0,0,0,0,0,0,0,9,10,10,9,9,10,9,8,8,9,9,8,0,0,0,0,0,0,0,0,8,8,8,8,9,9,9,10,9,10,10,10,0,0,0,0,0,0,0,0,11,10,9,9,10,9,10,10,9,9,11,10,0,0,0,0,0,0,0,0,11,12,12,10,12,11,12,12,12,13,12,12,0,0,0,0,0,0,0,0,11,12,11,11,11,11,11,11,11,11,10,10,0,0,0,0,0,0,0,0,17,17,18,17,18,19,20,21,22,20,22,22,0,0,0,0,0,0,0,0,25,24,25,24,26,25,25,24,26,27,25,28,0,0,0,0,0,0,0,0,25,26,25,26,26,25,23,24,25],[0,29,28,28,29,29,29,29,28,27,27,27,28,28,27,28,28,28,27,28,0,0,0,0,0,0,0,0,27,28,26,27,28,28,27,28,27,27,28,27,0,0,0,0,0,0,0,0,23,21,21,22,21,20,20,21,19,20,19,19,0,0,0,0,0,0,0,0,10,10,11,10,11,10,9,8,8,6,5,6,0,0,0,0,0,0,0,0,5,6,5,6,6,6,5,7,6,6,7,7,0,0,0,0,0,0,0,0,9,8,8,8,7,7,6,7,7,9,8,10,0,0,0,0,0,0,0,0,9,11,11,10,10,11,11,11,12,11,10,10,0,0,0,0,0,0,0,0,8,6,7,8,6,5,5,4,4,5,4,3,0,0,0,0,0,0,0,0,6,7,7,8,8,9,8,9,10,10,10,11,0,0,0,0,0,0,0,0,11,11,12,11,12,13,12,12,12,12,11,12,0,0,0,0,0,0,0,0,9,9,9,10,9,9,10,10,9,9,10,10,0,0,0,0,0,0,0,0,7,10,9,9,9,9,9,9,9,9,10,11,0,0,0,0,0,0,0,0,13,13,13,12,12,13,13,12,13,13,13,13,0,0,0,0,0,0,0,0,13,12,12,12,13,11,12,12,12,11,10,11,0,0,0,0,0,0,0,0,9,11,11,10,12,12,11,12,12,12,13,13,0,0,0,0,0,0,0,0,14,15,16,18,16,17,16,16,18,16,15,16,0,0,0,0,0,0,0,0,13,12,13,12,14,12,14,15,15,15,17,17,0,0,0,0,0,0,0,0,20,25,24,24,25,25,26,26,28,26,28,27,0,0,0,0,0,0,0,0,27,27,29,28,29,28,29,28,29,28,28,29,0,0,0,0,0,0,0,0,28,28,29,28,28,27,28,27,27,28,27,27,0,0,0,0,0,0,0,0,23,22,21,22,20,19,20,17,18,18,16,17,0,0,0,0,0,0,0,0,19,20,18,20,20,21,19,20,21,20,20,20,0,0,0,0,0,0,0,0,21,20,21,22,21,22,22,22,22,22,22,20,0,0,0,0,0,0,0,0,19,20,19,19,18,17,20,18,19,18,18,18,0,0,0,0,0,0,0,0,18,17,18,19,18,18,18,18,18,19,17,17,0,0,0,0,0,0,0,0,13,14,15,15,13,14,13,13,13,12,13,13,0,0,0,0,0,0,0,0,11,10,10,9,9,10,10,10,10,11,12,12,0,0,0,0,0,0,0,0,8,7,9,9,8,6,8,7,6,5,5,6,0,0,0,0,0,0,0,0,8,8,10,8,10,11,12,11,11,12,12,12,0,0,0,0,0,0,0,0,14,14,15,15,14,17,15,16,16,15,14,16,0,0,0,0,0,0,0,0,13,14,12,12,13,12,11,11,12,10,11,10,0,0,0,0,0,0,0,0,6,6,4,5,3,3,4,4,3,3,4,3,0,0,0,0,0,0,0,0,4,5,5,5,6,7,8,8,9,9,9,9,0,0,0,0,0,0,0,0,13,11,12,13,13,15,14,13,15,14,14,15,0,0,0,0,0,0,0,0,15,15,14,15,13,14,14,12,13,14,12,11,0,0,0,0,0,0,0,0,12,13,13,14,14,14,15,16,14,15,15,15,0,0,0,0,0,0,0,0,16,15,14,14,15,13,15,16,14,14,16,16,0,0,0,0,0,0,0,0,18,18,18,16,16,17,15,18,16,17,17,17,0,0,0,0,0,0,0,0,15,18,18,18,16,17,19,16,17,18,17,16,0,0,0,0,0,0,0,0,20,20,22,21,22,22,24,24,25,24,25,25,0,0,0,0,0,0,0,0,27,26,27,27,28,27,28,26,28,28,28,28,0,0,0,0,0,0,0,0,28,28,27,28,28,27,26,26,28],[0,30,30,30,30,30,30,30,30,29,29,29,29,28,29,29,29,29,28,29,0,0,0,0,0,0,0,0,29,28,27,29,29,29,28,28,27,28,28,27,0,0,0,0,0,0,0,0,25,23,23,22,23,21,22,22,21,21,20,21,0,0,0,0,0,0,0,0,11,9,12,10,12,10,11,8,8,8,7,7,0,0,0,0,0,0,0,0,7,7,6,6,7,7,5,7,6,6,7,8,0,0,0,0,0,0,0,0,9,9,9,8,7,7,7,8,9,10,10,10,0,0,0,0,0,0,0,0,12,11,10,11,11,10,11,11,12,11,10,10,0,0,0,0,0,0,0,0,9,7,8,9,8,7,6,5,4,5,5,5,0,0,0,0,0,0,0,0,8,9,9,9,10,11,10,12,11,11,11,11,0,0,0,0,0,0,0,0,12,10,11,12,11,12,13,13,12,13,12,12,0,0,0,0,0,0,0,0,9,9,8,9,9,9,9,10,8,9,10,10,0,0,0,0,0,0,0,0,9,11,11,10,10,12,11,11,10,11,12,11,0,0,0,0,0,0,0,0,12,14,12,13,11,14,13,12,14,13,14,13,0,0,0,0,0,0,0,0,13,13,12,12,13,13,12,13,13,12,12,11,0,0,0,0,0,0,0,0,11,11,13,12,11,11,12,12,11,11,12,14,0,0,0,0,0,0,0,0,14,15,15,17,15,16,16,17,17,17,16,15,0,0,0,0,0,0,0,0,14,13,14,14,15,13,14,16,18,15,17,17,0,0,0,0,0,0,0,0,22,23,25,24,25,24,27,26,27,27,27,26,0,0,0,0,0,0,0,0,27,28,29,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,28,28,27,28,28,28,27,28,0,0,0,0,0,0,0,0,25,23,23,23,22,21,20,20,19,18,18,16,0,0,0,0,0,0,0,0,18,19,18,20,20,21,20,21,22,21,21,21,0,0,0,0,0,0,0,0,22,22,21,21,22,22,22,23,22,23,24,23,0,0,0,0,0,0,0,0,20,20,20,18,17,17,18,18,16,16,15,17,0,0,0,0,0,0,0,0,18,17,19,19,20,19,20,19,19,18,18,17,0,0,0,0,0,0,0,0,12,14,14,13,13,13,15,14,13,13,14,13,0,0,0,0,0,0,0,0,11,12,11,11,10,11,10,11,11,11,12,13,0,0,0,0,0,0,0,0,8,9,8,8,7,8,7,7,7,6,7,7,0,0,0,0,0,0,0,0,7,8,9,8,9,10,11,12,12,12,11,12,0,0,0,0,0,0,0,0,14,14,14,13,16,15,15,15,13,14,14,14,0,0,0,0,0,0,0,0,14,13,14,13,13,12,13,13,12,11,11,11,0,0,0,0,0,0,0,0,8,8,6,6,3,4,5,7,6,3,3,3,0,0,0,0,0,0,0,0,7,6,5,6,7,7,7,8,9,8,9,8,0,0,0,0,0,0,0,0,12,12,13,12,11,14,13,12,13,14,14,14,0,0,0,0,0,0,0,0,13,14,14,15,14,13,13,13,13,13,12,13,0,0,0,0,0,0,0,0,12,12,12,13,13,13,14,14,13,14,14,15,0,0,0,0,0,0,0,0,14,14,12,13,13,13,14,14,13,13,14,16,0,0,0,0,0,0,0,0,16,16,15,14,16,16,15,17,16,18,16,17,0,0,0,0,0,0,0,0,16,18,16,17,17,16,15,17,18,18,16,16,0,0,0,0,0,0,0,0,21,23,23,22,23,24,24,26,26,26,28,26,0,0,0,0,0,0,0,0,29,28,29,29,29,28,28,28,30,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,29,28,28,29,28],[0,29,28,29,29,29,29,28,29,28,28,27,28,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,27,28,25,27,28,29,27,28,26,27,27,26,0,0,0,0,0,0,0,0,24,20,22,22,22,20,20,23,19,20,21,20,0,0,0,0,0,0,0,0,11,11,12,12,12,11,10,9,9,7,7,8,0,0,0,0,0,0,0,0,7,7,7,7,7,6,7,8,7,6,9,9,0,0,0,0,0,0,0,0,10,10,10,9,8,8,9,9,10,11,11,12,0,0,0,0,0,0,0,0,12,12,12,12,12,11,12,12,12,12,11,11,0,0,0,0,0,0,0,0,9,7,8,8,7,6,7,5,6,7,5,6,0,0,0,0,0,0,0,0,8,9,9,9,10,10,11,11,12,12,12,12,0,0,0,0,0,0,0,0,13,12,11,13,13,13,12,13,13,13,13,14,0,0,0,0,0,0,0,0,11,10,11,11,11,10,10,11,10,9,10,10,0,0,0,0,0,0,0,0,8,10,11,10,10,11,11,12,11,12,11,12,0,0,0,0,0,0,0,0,13,14,12,13,14,14,14,14,15,15,14,15,0,0,0,0,0,0,0,0,14,13,13,12,13,13,13,14,13,13,12,11,0,0,0,0,0,0,0,0,11,11,13,12,12,13,13,13,12,13,14,13,0,0,0,0,0,0,0,0,16,17,18,19,18,19,19,18,20,19,18,18,0,0,0,0,0,0,0,0,15,14,14,15,15,14,16,16,15,16,17,17,0,0,0,0,0,0,0,0,21,23,25,24,24,24,26,26,27,25,26,26,0,0,0,0,0,0,0,0,26,26,28,27,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,27,28,28,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,22,23,21,21,21,20,19,18,18,19,16,16,0,0,0,0,0,0,0,0,20,21,19,20,20,21,19,20,21,20,20,21,0,0,0,0,0,0,0,0,22,21,21,21,22,21,21,21,21,22,22,23,0,0,0,0,0,0,0,0,20,20,21,19,19,19,20,20,21,20,19,20,0,0,0,0,0,0,0,0,20,19,19,20,20,20,20,21,20,19,19,17,0,0,0,0,0,0,0,0,15,17,16,18,16,17,16,16,17,15,15,16,0,0,0,0,0,0,0,0,12,13,12,11,11,12,11,12,12,12,13,14,0,0,0,0,0,0,0,0,10,9,10,10,10,7,8,7,7,6,6,7,0,0,0,0,0,0,0,0,8,8,10,9,10,12,12,11,11,13,12,13,0,0,0,0,0,0,0,0,16,16,17,17,19,19,18,18,18,17,16,17,0,0,0,0,0,0,0,0,14,16,15,13,13,14,13,13,13,11,13,12,0,0,0,0,0,0,0,0,6,7,7,8,3,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,7,7,5,6,8,8,9,9,9,9,9,8,0,0,0,0,0,0,0,0,13,13,12,13,13,16,15,14,16,16,16,16,0,0,0,0,0,0,0,0,16,16,16,16,15,15,15,15,14,14,14,14,0,0,0,0,0,0,0,0,13,14,14,14,15,15,14,16,16,16,17,17,0,0,0,0,0,0,0,0,17,15,15,15,15,16,16,17,15,16,17,17,0,0,0,0,0,0,0,0,17,17,18,16,18,16,17,18,18,19,18,18,0,0,0,0,0,0,0,0,18,19,19,19,18,19,20,18,19,20,20,18,0,0,0,0,0,0,0,0,23,21,22,22,22,22,24,24,25,24,26,25,0,0,0,0,0,0,0,0,27,26,27,27,27,26,27,26,28,28,26,28,0,0,0,0,0,0,0,0,27,28,27,27,27,26,26,25,27],[0,29,29,29,29,29,29,28,29,27,28,27,28,27,27,27,27,28,26,28,0,0,0,0,0,0,0,0,27,27,24,27,28,28,25,27,26,26,27,26,0,0,0,0,0,0,0,0,23,20,21,21,21,20,20,21,19,19,19,19,0,0,0,0,0,0,0,0,10,12,12,12,13,12,12,10,10,9,9,9,0,0,0,0,0,0,0,0,7,8,7,8,8,7,7,9,9,7,9,10,0,0,0,0,0,0,0,0,12,11,11,11,9,11,9,10,11,12,12,13,0,0,0,0,0,0,0,0,13,13,14,13,13,13,13,13,13,14,13,12,0,0,0,0,0,0,0,0,11,10,11,11,11,10,9,7,6,8,8,6,0,0,0,0,0,0,0,0,11,11,11,11,12,12,12,13,13,14,14,14,0,0,0,0,0,0,0,0,14,13,14,13,14,14,13,13,14,13,12,13,0,0,0,0,0,0,0,0,10,10,10,11,12,11,12,12,11,11,12,13,0,0,0,0,0,0,0,0,11,13,12,13,11,13,12,14,13,13,13,14,0,0,0,0,0,0,0,0,16,15,16,15,16,14,15,15,15,14,14,15,0,0,0,0,0,0,0,0,14,14,13,13,13,13,13,14,13,13,12,11,0,0,0,0,0,0,0,0,12,12,14,13,13,14,14,15,15,15,15,16,0,0,0,0,0,0,0,0,17,19,20,20,18,20,19,19,21,19,18,18,0,0,0,0,0,0,0,0,15,13,15,14,16,14,15,15,15,15,17,16,0,0,0,0,0,0,0,0,21,23,25,24,25,25,26,26,27,26,28,26,0,0,0,0,0,0,0,0,26,27,28,28,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,27,28,27,27,26,27,27,26,27,0,0,0,0,0,0,0,0,23,22,21,22,21,20,20,19,19,20,17,17,0,0,0,0,0,0,0,0,22,22,21,22,22,23,21,21,23,23,21,22,0,0,0,0,0,0,0,0,22,22,22,24,23,23,24,24,24,25,24,24,0,0,0,0,0,0,0,0,21,23,21,20,20,20,22,22,22,21,21,20,0,0,0,0,0,0,0,0,22,20,21,21,21,21,21,21,21,21,21,18,0,0,0,0,0,0,0,0,16,17,18,18,16,16,15,14,15,13,13,15,0,0,0,0,0,0,0,0,11,11,10,10,9,12,11,11,11,12,12,13,0,0,0,0,0,0,0,0,9,8,11,9,8,8,7,6,5,4,6,6,0,0,0,0,0,0,0,0,8,8,9,9,10,11,13,12,12,12,13,16,0,0,0,0,0,0,0,0,16,16,17,17,17,19,19,18,19,17,16,17,0,0,0,0,0,0,0,0,15,15,13,12,13,13,12,12,12,11,11,11,0,0,0,0,0,0,0,0,6,5,4,5,5,4,5,6,7,5,4,5,0,0,0,0,0,0,0,0,3,4,4,3,5,7,7,8,8,9,9,9,0,0,0,0,0,0,0,0,13,12,14,14,14,16,15,14,16,16,15,16,0,0,0,0,0,0,0,0,17,16,16,14,14,15,15,13,13,14,13,13,0,0,0,0,0,0,0,0,14,14,14,16,15,15,15,17,16,16,16,16,0,0,0,0,0,0,0,0,17,16,16,14,15,15,15,18,16,15,18,18,0,0,0,0,0,0,0,0,20,19,20,18,18,19,18,20,18,19,18,18,0,0,0,0,0,0,0,0,18,20,20,20,19,19,21,18,20,20,19,18,0,0,0,0,0,0,0,0,23,23,23,23,23,23,24,26,25,25,27,26,0,0,0,0,0,0,0,0,28,27,27,27,28,27,28,27,28,29,28,29,0,0,0,0,0,0,0,0,29,28,28,28,29,27,26,27,28],[0,30,29,30,30,30,30,30,30,29,29,29,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,27,28,28,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,24,22,23,23,22,21,21,22,20,21,20,20,0,0,0,0,0,0,0,0,11,10,12,11,12,11,10,10,8,8,9,9,0,0,0,0,0,0,0,0,6,6,5,6,8,6,7,8,8,8,8,10,0,0,0,0,0,0,0,0,11,11,10,10,9,11,10,10,11,12,12,13,0,0,0,0,0,0,0,0,12,12,14,12,13,13,12,14,12,13,12,12,0,0,0,0,0,0,0,0,9,9,11,11,8,9,9,8,7,8,8,8,0,0,0,0,0,0,0,0,11,11,11,11,13,11,12,13,12,14,13,13,0,0,0,0,0,0,0,0,14,13,14,13,13,14,13,14,13,13,13,13,0,0,0,0,0,0,0,0,9,8,10,10,9,10,12,11,9,10,12,11,0,0,0,0,0,0,0,0,12,11,11,12,11,12,12,13,12,12,14,14,0,0,0,0,0,0,0,0,13,15,15,13,14,14,14,13,14,15,14,15,0,0,0,0,0,0,0,0,13,13,12,13,13,13,13,12,13,12,11,10,0,0,0,0,0,0,0,0,12,12,13,12,13,13,13,14,12,12,12,14,0,0,0,0,0,0,0,0,15,16,15,16,17,17,17,17,16,16,17,16,0,0,0,0,0,0,0,0,14,14,14,14,16,14,13,15,16,16,18,17,0,0,0,0,0,0,0,0,21,22,24,24,24,25,26,26,26,25,27,26,0,0,0,0,0,0,0,0,27,28,29,28,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,25,24,23,23,23,23,22,20,19,20,17,16,0,0,0,0,0,0,0,0,17,19,18,18,19,20,19,19,21,20,20,21,0,0,0,0,0,0,0,0,22,22,21,22,21,21,22,22,22,23,22,21,0,0,0,0,0,0,0,0,20,18,19,19,16,17,17,19,16,15,16,17,0,0,0,0,0,0,0,0,19,18,19,20,19,20,19,21,19,20,19,18,0,0,0,0,0,0,0,0,14,14,15,16,15,14,16,15,14,14,14,14,0,0,0,0,0,0,0,0,11,10,10,9,9,9,9,9,10,10,11,12,0,0,0,0,0,0,0,0,8,8,10,9,8,7,8,7,6,4,5,7,0,0,0,0,0,0,0,0,6,8,7,9,9,10,10,9,11,13,11,13,0,0,0,0,0,0,0,0,14,14,14,14,15,15,15,15,14,15,15,15,0,0,0,0,0,0,0,0,15,14,13,13,14,12,12,10,11,10,9,9,0,0,0,0,0,0,0,0,7,7,4,7,4,4,7,7,8,6,5,6,0,0,0,0,0,0,0,0,3,4,4,4,6,7,7,8,9,8,8,8,0,0,0,0,0,0,0,0,12,13,13,13,12,15,13,13,13,14,15,13,0,0,0,0,0,0,0,0,14,13,14,14,13,14,13,12,13,13,12,11,0,0,0,0,0,0,0,0,12,12,12,14,14,13,14,14,14,14,15,14,0,0,0,0,0,0,0,0,14,13,13,13,12,13,14,14,14,14,15,14,0,0,0,0,0,0,0,0,15,16,16,14,15,15,15,16,17,17,16,16,0,0,0,0,0,0,0,0,16,17,16,17,17,17,18,18,18,17,16,17,0,0,0,0,0,0,0,0,21,22,24,22,23,23,24,26,26,25,28,27,0,0,0,0,0,0,0,0,28,27,29,29,29,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,29,28,28,28,28],[0,29,28,29,29,30,29,29,29,28,28,28,28,28,28,27,28,28,27,27,0,0,0,0,0,0,0,0,27,27,25,27,28,28,26,27,26,26,26,25,0,0,0,0,0,0,0,0,23,22,22,22,21,21,21,21,19,20,20,18,0,0,0,0,0,0,0,0,10,11,10,12,11,10,11,9,9,9,8,7,0,0,0,0,0,0,0,0,5,6,6,6,7,6,6,9,8,7,8,8,0,0,0,0,0,0,0,0,11,10,10,9,9,10,10,10,10,11,11,12,0,0,0,0,0,0,0,0,11,11,13,11,12,12,11,13,11,11,11,10,0,0,0,0,0,0,0,0,10,9,9,10,9,9,8,7,7,7,7,7,0,0,0,0,0,0,0,0,11,11,10,12,13,11,11,12,12,12,11,12,0,0,0,0,0,0,0,0,12,11,12,12,12,12,11,12,11,12,12,12,0,0,0,0,0,0,0,0,9,9,9,10,9,8,10,10,9,9,10,11,0,0,0,0,0,0,0,0,11,10,11,12,10,12,11,12,12,11,12,12,0,0,0,0,0,0,0,0,14,14,12,13,14,12,12,13,14,13,13,13,0,0,0,0,0,0,0,0,14,12,11,11,13,12,12,13,12,11,11,10,0,0,0,0,0,0,0,0,11,11,12,12,12,12,12,13,13,13,13,14,0,0,0,0,0,0,0,0,16,16,18,18,17,18,18,17,19,18,18,19,0,0,0,0,0,0,0,0,14,13,12,14,13,13,14,14,14,14,17,15,0,0,0,0,0,0,0,0,19,22,23,21,24,24,25,25,27,26,26,27,0,0,0,0,0,0,0,0,27,27,28,28,29,28,29,28,29,28,28,28,0,0,0,0,0,0,0,0,29,28,29,28,28,28,28,27,27,28,28,28,0,0,0,0,0,0,0,0,24,23,22,22,21,20,19,18,19,18,18,16,0,0,0,0,0,0,0,0,21,19,20,20,20,20,20,21,22,20,20,20,0,0,0,0,0,0,0,0,22,20,21,21,22,21,22,22,21,21,22,22,0,0,0,0,0,0,0,0,20,21,20,18,19,18,21,19,21,18,19,18,0,0,0,0,0,0,0,0,19,18,18,20,19,20,19,19,19,18,19,17,0,0,0,0,0,0,0,0,14,16,15,16,15,16,14,14,14,13,13,13,0,0,0,0,0,0,0,0,11,10,9,9,8,9,9,9,11,10,11,12,0,0,0,0,0,0,0,0,8,8,8,8,7,7,6,6,6,3,6,6,0,0,0,0,0,0,0,0,6,8,8,7,9,10,10,10,11,12,12,12,0,0,0,0,0,0,0,0,15,15,16,15,16,17,16,17,18,15,15,16,0,0,0,0,0,0,0,0,14,12,11,11,11,10,10,11,11,9,10,9,0,0,0,0,0,0,0,0,5,5,4,5,4,4,5,6,6,5,5,6,0,0,0,0,0,0,0,0,1,3,2,3,3,4,6,7,7,7,7,7,0,0,0,0,0,0,0,0,10,10,11,11,12,14,13,13,13,14,14,14,0,0,0,0,0,0,0,0,14,13,13,13,12,13,12,11,11,12,11,11,0,0,0,0,0,0,0,0,11,13,12,14,13,13,13,14,13,14,15,16,0,0,0,0,0,0,0,0,16,14,12,13,14,13,14,15,13,13,16,15,0,0,0,0,0,0,0,0,17,16,17,14,16,16,16,17,15,17,16,16,0,0,0,0,0,0,0,0,15,17,18,18,16,18,19,16,17,19,19,16,0,0,0,0,0,0,0,0,22,21,21,21,21,22,21,23,24,23,26,24,0,0,0,0,0,0,0,0,27,26,27,27,27,26,27,26,27,27,26,28,0,0,0,0,0,0,0,0,28,27,27,27,27,27,26,26,27],[0,30,29,30,29,30,30,30,29,29,28,28,29,28,28,28,29,28,28,29,0,0,0,0,0,0,0,0,28,28,26,28,28,28,27,28,26,27,27,26,0,0,0,0,0,0,0,0,23,21,22,22,21,20,21,22,22,21,20,21,0,0,0,0,0,0,0,0,10,8,11,10,11,10,10,8,9,9,8,8,0,0,0,0,0,0,0,0,6,7,7,7,7,7,8,8,9,9,8,9,0,0,0,0,0,0,0,0,12,11,10,11,10,11,10,10,12,12,13,12,0,0,0,0,0,0,0,0,12,12,12,13,13,11,12,13,12,12,11,11,0,0,0,0,0,0,0,0,10,9,10,10,10,10,8,8,8,8,9,8,0,0,0,0,0,0,0,0,12,12,11,12,14,13,12,13,12,12,13,13,0,0,0,0,0,0,0,0,12,11,13,12,13,13,13,13,13,12,12,12,0,0,0,0,0,0,0,0,9,7,9,10,10,9,10,11,10,10,11,11,0,0,0,0,0,0,0,0,11,11,11,12,11,12,11,12,13,12,12,12,0,0,0,0,0,0,0,0,13,13,13,13,12,12,12,13,13,13,13,13,0,0,0,0,0,0,0,0,14,13,11,13,14,12,12,14,12,12,11,11,0,0,0,0,0,0,0,0,11,11,13,13,12,12,13,13,12,12,13,15,0,0,0,0,0,0,0,0,14,15,17,18,15,16,17,17,18,16,16,15,0,0,0,0,0,0,0,0,12,12,13,12,12,12,13,15,14,15,16,18,0,0,0,0,0,0,0,0,19,22,23,21,24,24,25,26,27,25,27,26,0,0,0,0,0,0,0,0,26,26,28,28,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,27,28,28,27,27,27,27,27,27,0,0,0,0,0,0,0,0,23,22,22,22,20,21,19,17,18,17,17,16,0,0,0,0,0,0,0,0,18,18,17,18,18,19,18,19,20,19,18,18,0,0,0,0,0,0,0,0,20,20,20,21,20,20,21,21,22,22,22,22,0,0,0,0,0,0,0,0,18,18,17,17,16,18,17,18,17,16,16,17,0,0,0,0,0,0,0,0,19,17,18,19,19,19,19,20,20,19,19,17,0,0,0,0,0,0,0,0,14,14,15,15,13,13,13,13,14,13,13,13,0,0,0,0,0,0,0,0,11,10,10,9,9,9,9,9,11,10,11,12,0,0,0,0,0,0,0,0,7,7,8,8,7,7,5,5,4,4,5,6,0,0,0,0,0,0,0,0,7,7,7,7,7,9,10,10,11,12,11,14,0,0,0,0,0,0,0,0,13,14,14,14,15,15,15,15,14,14,14,14,0,0,0,0,0,0,0,0,13,12,12,13,12,11,12,11,11,10,11,8,0,0,0,0,0,0,0,0,5,4,4,5,4,5,5,7,7,7,6,7,0,0,0,0,0,0,0,0,0,1,1,1,2,3,4,5,6,7,6,6,0,0,0,0,0,0,0,0,11,12,11,11,12,14,13,12,12,12,13,12,0,0,0,0,0,0,0,0,12,13,14,14,13,13,12,12,11,12,12,10,0,0,0,0,0,0,0,0,10,11,12,13,13,12,12,12,13,13,13,13,0,0,0,0,0,0,0,0,13,12,12,13,13,12,13,14,13,13,14,13,0,0,0,0,0,0,0,0,15,14,15,14,14,14,15,16,16,16,15,16,0,0,0,0,0,0,0,0,13,15,15,17,16,16,17,15,16,17,16,16,0,0,0,0,0,0,0,0,22,21,22,21,23,23,23,24,25,24,26,25,0,0,0,0,0,0,0,0,28,28,28,28,28,27,27,27,28,28,28,29,0,0,0,0,0,0,0,0,28,28,27,28,27,28,28,27,27],[0,29,28,29,29,29,29,28,29,28,27,28,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,27,25,27,28,28,27,28,26,27,27,26,0,0,0,0,0,0,0,0,23,22,22,22,21,20,21,22,19,19,21,21,0,0,0,0,0,0,0,0,9,10,11,12,14,12,12,9,9,11,9,8,0,0,0,0,0,0,0,0,7,9,8,8,10,10,9,10,12,12,11,12,0,0,0,0,0,0,0,0,13,13,13,13,12,12,12,13,13,14,15,16,0,0,0,0,0,0,0,0,13,15,14,14,15,14,15,15,14,14,13,12,0,0,0,0,0,0,0,0,13,13,12,13,13,12,11,11,10,10,10,10,0,0,0,0,0,0,0,0,13,13,12,14,16,13,13,14,14,15,15,15,0,0,0,0,0,0,0,0,14,14,13,14,15,13,13,14,14,13,13,13,0,0,0,0,0,0,0,0,9,10,11,12,13,11,12,13,12,12,13,14,0,0,0,0,0,0,0,0,12,13,12,12,12,13,14,14,14,13,15,15,0,0,0,0,0,0,0,0,15,16,15,15,16,15,15,15,15,15,15,16,0,0,0,0,0,0,0,0,15,15,13,14,15,14,13,13,13,13,12,13,0,0,0,0,0,0,0,0,13,14,13,13,14,14,15,14,15,15,14,14,0,0,0,0,0,0,0,0,17,18,19,19,19,20,20,19,20,19,18,18,0,0,0,0,0,0,0,0,13,14,14,13,12,13,13,14,14,15,16,17,0,0,0,0,0,0,0,0,19,22,24,21,23,25,25,25,27,25,27,27,0,0,0,0,0,0,0,0,27,26,28,28,29,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,27,28,28,28,28,27,27,27,28,27,27,0,0,0,0,0,0,0,0,22,21,21,22,20,21,20,18,18,17,17,18,0,0,0,0,0,0,0,0,20,20,19,19,19,21,19,20,21,21,19,20,0,0,0,0,0,0,0,0,22,20,21,22,21,22,23,22,23,23,21,23,0,0,0,0,0,0,0,0,18,19,20,19,17,19,20,20,20,20,19,21,0,0,0,0,0,0,0,0,21,19,21,21,21,20,20,21,20,21,21,19,0,0,0,0,0,0,0,0,17,18,19,18,16,17,16,16,16,14,15,14,0,0,0,0,0,0,0,0,14,11,11,11,9,9,11,10,12,11,12,12,0,0,0,0,0,0,0,0,9,8,9,9,9,7,6,5,6,5,4,5,0,0,0,0,0,0,0,0,7,8,9,8,9,11,11,11,13,14,14,13,0,0,0,0,0,0,0,0,16,17,17,17,18,19,18,18,18,18,17,16,0,0,0,0,0,0,0,0,15,14,14,13,12,13,12,12,12,11,11,10,0,0,0,0,0,0,0,0,6,5,4,6,6,5,6,8,9,7,7,9,0,0,0,0,0,0,0,0,1,0,1,1,2,3,4,5,6,7,7,7,0,0,0,0,0,0,0,0,12,12,14,13,13,15,15,14,14,15,15,15,0,0,0,0,0,0,0,0,14,15,14,14,14,14,14,14,12,14,14,11,0,0,0,0,0,0,0,0,12,14,13,15,14,14,14,16,15,16,15,16,0,0,0,0,0,0,0,0,15,16,14,14,16,16,14,15,15,15,16,16,0,0,0,0,0,0,0,0,17,17,17,15,16,16,16,17,16,18,16,17,0,0,0,0,0,0,0,0,17,19,20,19,18,20,20,18,19,21,18,18,0,0,0,0,0,0,0,0,21,22,22,23,23,24,24,25,25,26,27,26,0,0,0,0,0,0,0,0,28,26,28,27,28,27,28,27,28,28,27,29,0,0,0,0,0,0,0,0,28,28,27,28,28,26,27,28,27],[0,30,29,30,29,30,30,29,29,29,29,28,29,28,28,28,29,29,28,29,0,0,0,0,0,0,0,0,28,28,26,28,28,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,24,21,23,23,22,20,21,23,20,20,21,21,0,0,0,0,0,0,0,0,9,10,10,11,12,11,9,9,7,9,7,7,0,0,0,0,0,0,0,0,7,7,7,8,8,7,8,10,9,9,9,11,0,0,0,0,0,0,0,0,14,13,13,13,11,14,12,13,14,14,14,14,0,0,0,0,0,0,0,0,14,13,15,14,13,13,14,14,14,14,13,13,0,0,0,0,0,0,0,0,11,10,13,12,11,11,10,9,10,10,9,8,0,0,0,0,0,0,0,0,12,12,13,13,14,14,14,13,13,15,14,14,0,0,0,0,0,0,0,0,13,13,13,12,13,14,13,13,14,13,13,13,0,0,0,0,0,0,0,0,10,10,10,11,11,10,11,12,12,10,11,13,0,0,0,0,0,0,0,0,11,13,13,12,12,12,13,14,14,14,14,15,0,0,0,0,0,0,0,0,13,15,14,12,14,15,15,14,15,14,14,14,0,0,0,0,0,0,0,0,13,12,12,13,13,12,12,14,13,11,13,12,0,0,0,0,0,0,0,0,11,12,14,11,12,13,13,14,12,13,14,14,0,0,0,0,0,0,0,0,16,17,19,19,17,18,18,18,18,19,17,17,0,0,0,0,0,0,0,0,13,14,14,12,13,14,14,16,16,16,17,18,0,0,0,0,0,0,0,0,20,21,24,24,24,24,27,26,27,25,27,26,0,0,0,0,0,0,0,0,26,27,28,28,29,28,29,29,28,28,29,28,0,0,0,0,0,0,0,0,28,28,28,28,29,28,28,27,27,28,27,28,0,0,0,0,0,0,0,0,24,22,23,23,21,21,21,18,19,18,17,16,0,0,0,0,0,0,0,0,19,19,18,19,19,20,19,20,21,20,19,21,0,0,0,0,0,0,0,0,22,21,20,21,20,21,21,23,22,23,22,23,0,0,0,0,0,0,0,0,19,19,19,18,17,18,20,19,19,18,17,18,0,0,0,0,0,0,0,0,20,19,20,20,20,21,20,21,20,19,19,18,0,0,0,0,0,0,0,0,14,16,16,16,13,16,15,14,15,15,14,13,0,0,0,0,0,0,0,0,12,12,9,10,9,10,11,11,12,11,13,13,0,0,0,0,0,0,0,0,8,9,8,9,8,8,7,6,6,5,5,6,0,0,0,0,0,0,0,0,6,7,7,8,8,9,10,11,10,13,13,11,0,0,0,0,0,0,0,0,14,15,15,15,17,17,17,16,16,16,16,15,0,0,0,0,0,0,0,0,11,12,13,11,11,12,13,12,12,11,11,10,0,0,0,0,0,0,0,0,6,6,4,5,4,5,5,6,8,6,6,7,0,0,0,0,0,0,0,0,2,1,0,1,2,3,4,5,6,6,7,7,0,0,0,0,0,0,0,0,11,11,11,12,12,12,13,12,13,14,15,14,0,0,0,0,0,0,0,0,13,15,15,14,13,12,13,13,11,12,12,12,0,0,0,0,0,0,0,0,13,12,12,12,12,13,13,13,14,15,15,15,0,0,0,0,0,0,0,0,16,14,14,13,14,14,14,16,14,13,15,15,0,0,0,0,0,0,0,0,16,15,17,15,15,16,15,17,17,16,16,17,0,0,0,0,0,0,0,0,17,18,19,19,17,18,18,17,18,20,17,18,0,0,0,0,0,0,0,0,23,21,22,22,23,24,25,26,26,25,28,27,0,0,0,0,0,0,0,0,29,27,28,28,29,28,29,27,29,29,28,30,0,0,0,0,0,0,0,0,29,29,28,28,28,27,28,28,28],[0,30,30,30,30,30,30,30,30,30,29,29,30,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,29,28,27,28,29,29,28,28,27,28,28,27,0,0,0,0,0,0,0,0,25,24,23,24,24,23,22,24,23,22,21,22,0,0,0,0,0,0,0,0,9,9,11,11,12,12,11,8,8,9,8,8,0,0,0,0,0,0,0,0,6,6,6,7,8,8,8,9,11,9,10,12,0,0,0,0,0,0,0,0,14,14,12,13,11,14,12,12,13,13,14,14,0,0,0,0,0,0,0,0,15,13,14,14,15,13,14,14,14,15,13,13,0,0,0,0,0,0,0,0,12,11,12,13,12,12,10,10,9,10,11,9,0,0,0,0,0,0,0,0,13,13,13,12,15,14,14,15,14,15,14,15,0,0,0,0,0,0,0,0,15,14,16,14,15,15,15,15,14,15,13,14,0,0,0,0,0,0,0,0,9,9,9,11,10,10,13,13,10,12,13,13,0,0,0,0,0,0,0,0,12,13,13,12,12,13,13,14,14,13,14,15,0,0,0,0,0,0,0,0,14,15,16,15,14,14,15,14,15,15,14,15,0,0,0,0,0,0,0,0,15,13,13,14,14,13,12,14,13,12,11,12,0,0,0,0,0,0,0,0,12,14,15,13,13,14,14,15,13,13,14,16,0,0,0,0,0,0,0,0,16,17,17,18,16,17,16,16,17,16,16,17,0,0,0,0,0,0,0,0,13,13,14,13,13,12,14,16,15,16,17,18,0,0,0,0,0,0,0,0,21,23,23,24,25,25,26,26,27,26,28,26,0,0,0,0,0,0,0,0,27,27,29,28,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,24,23,23,22,21,22,22,18,19,18,17,15,0,0,0,0,0,0,0,0,18,17,18,18,18,19,19,19,20,19,18,19,0,0,0,0,0,0,0,0,21,21,19,21,19,20,22,21,22,23,22,21,0,0,0,0,0,0,0,0,17,18,17,16,16,16,18,17,18,17,16,17,0,0,0,0,0,0,0,0,17,18,18,19,18,20,19,19,19,19,19,17,0,0,0,0,0,0,0,0,16,15,16,17,15,15,16,15,15,14,14,14,0,0,0,0,0,0,0,0,12,10,8,8,9,9,8,9,11,10,11,11,0,0,0,0,0,0,0,0,7,7,8,8,8,7,7,7,6,3,7,7,0,0,0,0,0,0,0,0,5,7,9,7,9,10,9,9,10,13,11,12,0,0,0,0,0,0,0,0,14,15,15,15,17,17,16,16,15,16,16,15,0,0,0,0,0,0,0,0,14,13,12,12,13,12,11,10,10,10,9,9,0,0,0,0,0,0,0,0,6,4,3,4,4,4,5,7,9,8,6,7,0,0,0,0,0,0,0,0,4,2,1,0,1,2,4,5,6,6,7,6,0,0,0,0,0,0,0,0,11,12,12,12,12,14,14,13,13,15,14,14,0,0,0,0,0,0,0,0,14,14,15,14,12,12,12,12,11,12,11,11,0,0,0,0,0,0,0,0,12,12,12,13,13,12,12,14,15,13,15,13,0,0,0,0,0,0,0,0,14,13,13,13,12,13,13,15,13,14,14,14,0,0,0,0,0,0,0,0,15,15,16,15,15,15,15,16,17,17,15,17,0,0,0,0,0,0,0,0,16,16,17,17,16,17,17,18,18,18,17,17,0,0,0,0,0,0,0,0,21,21,23,21,23,24,25,26,27,25,28,27,0,0,0,0,0,0,0,0,29,28,29,29,29,29,29,29,30,29,29,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,28,28],[0,30,30,30,30,30,30,30,30,30,29,29,30,29,29,29,30,29,29,30,0,0,0,0,0,0,0,0,29,29,27,29,29,29,28,29,27,28,28,28,0,0,0,0,0,0,0,0,24,23,21,22,22,21,21,22,22,21,21,22,0,0,0,0,0,0,0,0,10,12,13,14,16,16,13,12,11,13,11,10,0,0,0,0,0,0,0,0,8,10,9,9,10,12,10,11,14,13,11,15,0,0,0,0,0,0,0,0,17,17,15,16,14,16,16,15,17,17,19,18,0,0,0,0,0,0,0,0,17,18,18,18,17,17,17,18,17,17,15,16,0,0,0,0,0,0,0,0,16,14,15,17,15,16,13,14,12,12,15,11,0,0,0,0,0,0,0,0,17,17,15,16,19,17,16,17,17,18,17,19,0,0,0,0,0,0,0,0,17,17,17,16,17,18,16,17,17,16,16,17,0,0,0,0,0,0,0,0,11,12,12,13,13,11,14,16,15,16,15,16,0,0,0,0,0,0,0,0,16,16,16,17,16,17,16,17,17,15,17,17,0,0,0,0,0,0,0,0,18,20,19,18,19,18,19,18,18,17,17,19,0,0,0,0,0,0,0,0,17,17,17,16,17,16,16,17,17,15,15,14,0,0,0,0,0,0,0,0,16,17,19,17,17,18,19,19,18,18,19,20,0,0,0,0,0,0,0,0,20,20,21,22,20,21,21,20,22,21,20,20,0,0,0,0,0,0,0,0,16,15,16,13,14,15,14,16,17,17,16,19,0,0,0,0,0,0,0,0,21,23,25,23,24,26,26,27,28,26,28,27,0,0,0,0,0,0,0,0,28,28,29,28,29,28,29,29,29,28,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,29,28,28,28,29,28,28,0,0,0,0,0,0,0,0,23,23,22,23,21,21,22,19,20,20,18,18,0,0,0,0,0,0,0,0,22,21,21,22,21,21,21,21,21,22,21,20,0,0,0,0,0,0,0,0,22,22,23,22,22,22,24,22,23,25,22,24,0,0,0,0,0,0,0,0,20,21,20,20,20,19,23,22,22,22,21,23,0,0,0,0,0,0,0,0,22,21,22,22,21,21,21,21,22,22,22,20,0,0,0,0,0,0,0,0,18,20,21,21,17,20,20,18,19,19,18,18,0,0,0,0,0,0,0,0,13,13,13,13,12,13,13,13,15,12,13,16,0,0,0,0,0,0,0,0,10,9,10,9,10,9,8,7,7,5,7,8,0,0,0,0,0,0,0,0,9,11,10,10,11,13,12,13,14,15,15,17,0,0,0,0,0,0,0,0,18,19,21,20,20,22,21,20,20,21,20,19,0,0,0,0,0,0,0,0,18,18,17,15,15,16,13,14,12,12,13,11,0,0,0,0,0,0,0,0,7,7,6,7,6,6,7,9,12,9,8,12,0,0,0,0,0,0,0,0,3,4,2,1,0,2,3,5,6,7,8,8,0,0,0,0,0,0,0,0,13,14,13,15,16,18,18,18,16,18,19,18,0,0,0,0,0,0,0,0,17,19,19,17,18,18,18,16,14,17,15,12,0,0,0,0,0,0,0,0,15,14,16,17,15,17,16,18,19,17,18,20,0,0,0,0,0,0,0,0,17,16,17,16,17,16,17,18,17,17,18,18,0,0,0,0,0,0,0,0,19,18,20,17,18,19,19,20,20,21,19,20,0,0,0,0,0,0,0,0,20,20,22,21,20,20,22,21,21,22,21,20,0,0,0,0,0,0,0,0,23,23,23,23,24,25,26,26,27,26,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,28,30,28,29,30,29,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,28,28],[0,30,30,30,30,30,30,30,30,30,29,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,27,29,29,29,28,29,27,28,28,27,0,0,0,0,0,0,0,0,25,24,23,24,23,23,22,23,22,22,21,22,0,0,0,0,0,0,0,0,10,10,14,15,17,18,16,11,11,15,12,12,0,0,0,0,0,0,0,0,11,14,11,14,16,15,16,17,18,17,18,19,0,0,0,0,0,0,0,0,22,21,20,22,19,20,19,21,21,21,22,23,0,0,0,0,0,0,0,0,20,23,22,23,21,21,22,21,23,22,21,22,0,0,0,0,0,0,0,0,19,18,21,21,18,19,18,17,17,18,19,16,0,0,0,0,0,0,0,0,20,20,21,20,21,21,21,20,21,22,22,23,0,0,0,0,0,0,0,0,20,20,21,20,22,21,21,21,21,20,20,21,0,0,0,0,0,0,0,0,15,16,17,18,20,17,20,19,20,19,19,20,0,0,0,0,0,0,0,0,18,21,20,19,20,19,20,21,20,20,22,22,0,0,0,0,0,0,0,0,22,23,23,21,23,22,22,21,22,22,22,23,0,0,0,0,0,0,0,0,20,20,19,21,19,20,18,21,19,20,20,18,0,0,0,0,0,0,0,0,19,19,20,19,20,21,19,21,20,20,21,20,0,0,0,0,0,0,0,0,23,23,25,26,24,25,25,24,25,24,23,23,0,0,0,0,0,0,0,0,18,19,20,15,16,18,16,16,18,19,17,21,0,0,0,0,0,0,0,0,22,24,26,25,25,26,28,27,28,26,28,27,0,0,0,0,0,0,0,0,28,28,30,29,29,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,25,24,23,24,22,23,23,20,22,20,20,20,0,0,0,0,0,0,0,0,26,24,24,25,24,24,25,25,25,25,23,24,0,0,0,0,0,0,0,0,26,25,26,26,25,25,26,25,26,26,25,25,0,0,0,0,0,0,0,0,24,24,25,24,23,23,25,25,25,24,24,25,0,0,0,0,0,0,0,0,25,24,24,26,24,25,25,26,25,25,25,24,0,0,0,0,0,0,0,0,21,23,24,24,22,24,22,21,23,21,21,21,0,0,0,0,0,0,0,0,18,18,17,18,13,17,17,15,16,16,17,18,0,0,0,0,0,0,0,0,15,13,14,14,15,10,12,11,10,8,10,10,0,0,0,0,0,0,0,0,10,13,15,14,12,17,18,16,18,19,18,19,0,0,0,0,0,0,0,0,22,22,23,22,23,24,24,24,23,23,23,22,0,0,0,0,0,0,0,0,20,20,19,18,19,19,18,16,17,17,18,15,0,0,0,0,0,0,0,0,8,8,7,9,9,10,10,12,14,12,13,13,0,0,0,0,0,0,0,0,7,5,4,4,1,0,2,4,6,7,10,9,0,0,0,0,0,0,0,0,16,17,17,17,18,19,19,19,20,20,21,21,0,0,0,0,0,0,0,0,19,20,20,20,19,19,19,19,16,18,19,17,0,0,0,0,0,0,0,0,17,16,18,19,18,20,18,20,21,19,20,21,0,0,0,0,0,0,0,0,21,19,21,19,20,18,20,21,19,20,20,20,0,0,0,0,0,0,0,0,22,21,22,21,20,21,20,22,22,22,22,22,0,0,0,0,0,0,0,0,22,23,24,26,23,24,25,23,24,25,24,23,0,0,0,0,0,0,0,0,26,25,25,26,26,27,28,28,28,27,29,28,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,30,29,30,29,29,29],[0,30,30,30,30,31,31,30,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,28,29,29,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,25,24,24,25,24,23,23,24,24,23,23,24,0,0,0,0,0,0,0,0,11,14,14,16,16,20,17,15,14,18,15,13,0,0,0,0,0,0,0,0,18,18,16,18,19,17,19,19,20,20,19,22,0,0,0,0,0,0,0,0,23,22,22,22,21,23,22,22,22,22,23,24,0,0,0,0,0,0,0,0,23,24,25,24,23,24,23,23,24,23,22,23,0,0,0,0,0,0,0,0,22,21,22,21,21,23,20,20,20,20,20,18,0,0,0,0,0,0,0,0,21,22,21,22,22,22,22,22,22,23,24,25,0,0,0,0,0,0,0,0,23,24,25,22,23,25,23,23,24,23,23,24,0,0,0,0,0,0,0,0,19,18,20,22,21,21,23,23,23,22,23,22,0,0,0,0,0,0,0,0,21,21,21,20,20,20,19,22,22,21,22,23,0,0,0,0,0,0,0,0,21,24,24,22,23,24,24,23,24,23,24,24,0,0,0,0,0,0,0,0,23,23,22,23,24,22,22,24,24,23,23,22,0,0,0,0,0,0,0,0,21,22,23,22,22,23,22,22,21,22,22,22,0,0,0,0,0,0,0,0,22,24,25,25,24,25,25,24,25,25,23,23,0,0,0,0,0,0,0,0,18,19,20,16,15,19,18,18,19,21,21,22,0,0,0,0,0,0,0,0,22,25,27,26,27,27,28,27,29,28,29,28,0,0,0,0,0,0,0,0,28,29,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,28,29,28,28,0,0,0,0,0,0,0,0,24,24,23,23,22,23,22,21,22,22,21,21,0,0,0,0,0,0,0,0,24,25,24,24,25,25,25,26,25,25,25,24,0,0,0,0,0,0,0,0,26,25,25,26,25,26,26,26,27,27,26,26,0,0,0,0,0,0,0,0,24,24,25,24,24,24,24,25,24,24,24,26,0,0,0,0,0,0,0,0,25,25,25,26,25,25,25,25,25,25,26,25,0,0,0,0,0,0,0,0,22,24,25,25,22,24,24,23,24,24,23,23,0,0,0,0,0,0,0,0,21,19,17,17,16,19,18,20,18,20,22,22,0,0,0,0,0,0,0,0,17,17,19,18,18,15,16,15,13,11,15,16,0,0,0,0,0,0,0,0,11,17,18,13,15,19,19,18,18,20,18,20,0,0,0,0,0,0,0,0,23,23,23,23,25,24,25,24,23,24,24,23,0,0,0,0,0,0,0,0,23,23,23,22,23,23,21,17,17,19,21,18,0,0,0,0,0,0,0,0,9,9,9,9,11,12,12,17,18,14,14,16,0,0,0,0,0,0,0,0,9,8,6,6,4,2,0,2,4,5,7,10,0,0,0,0,0,0,0,0,16,19,19,19,20,22,23,21,22,23,23,23,0,0,0,0,0,0,0,0,22,24,24,23,23,22,23,23,21,21,21,19,0,0,0,0,0,0,0,0,15,18,21,20,21,22,21,21,24,22,23,24,0,0,0,0,0,0,0,0,22,22,21,21,22,19,23,23,21,20,22,22,0,0,0,0,0,0,0,0,23,24,23,22,23,23,23,24,23,25,23,24,0,0,0,0,0,0,0,0,24,25,24,25,25,25,24,25,25,25,24,25,0,0,0,0,0,0,0,0,27,27,27,27,28,28,28,28,29,28,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29],[0,30,30,30,30,30,30,30,30,30,30,30,30,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,29,29,27,29,29,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,24,23,23,22,23,23,21,22,22,22,21,21,0,0,0,0,0,0,0,0,10,12,14,15,16,17,15,14,13,16,13,13,0,0,0,0,0,0,0,0,13,16,14,15,16,15,17,18,19,19,19,21,0,0,0,0,0,0,0,0,23,22,22,22,21,22,21,22,23,24,24,24,0,0,0,0,0,0,0,0,22,23,24,22,22,23,23,23,23,22,21,22,0,0,0,0,0,0,0,0,20,19,21,19,17,18,19,16,18,19,17,17,0,0,0,0,0,0,0,0,18,19,22,20,20,22,23,22,22,24,24,24,0,0,0,0,0,0,0,0,22,23,23,20,21,23,21,22,23,20,20,22,0,0,0,0,0,0,0,0,17,17,19,20,19,19,21,20,20,21,20,19,0,0,0,0,0,0,0,0,19,21,19,17,20,18,19,20,22,22,23,23,0,0,0,0,0,0,0,0,22,24,24,22,23,23,22,22,22,22,23,23,0,0,0,0,0,0,0,0,21,22,21,21,21,21,21,21,22,21,20,20,0,0,0,0,0,0,0,0,18,19,20,19,20,21,20,21,21,21,22,19,0,0,0,0,0,0,0,0,24,24,24,24,24,25,25,25,24,25,24,23,0,0,0,0,0,0,0,0,16,17,18,15,13,17,16,16,17,19,19,19,0,0,0,0,0,0,0,0,23,24,26,25,26,26,28,27,28,27,29,28,0,0,0,0,0,0,0,0,28,28,29,28,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,28,29,28,27,29,27,28,0,0,0,0,0,0,0,0,24,22,22,24,22,23,22,20,22,20,21,22,0,0,0,0,0,0,0,0,24,25,25,24,24,25,25,25,25,24,24,23,0,0,0,0,0,0,0,0,26,25,26,25,25,25,25,25,26,27,25,25,0,0,0,0,0,0,0,0,23,24,25,25,23,24,25,25,24,24,23,25,0,0,0,0,0,0,0,0,25,24,24,25,23,24,24,24,24,24,25,24,0,0,0,0,0,0,0,0,22,23,25,24,21,24,23,22,23,22,22,21,0,0,0,0,0,0,0,0,19,17,15,16,13,16,16,18,18,18,19,19,0,0,0,0,0,0,0,0,16,16,19,18,17,13,15,15,13,11,13,12,0,0,0,0,0,0,0,0,11,13,14,14,14,16,15,15,17,18,16,16,0,0,0,0,0,0,0,0,21,22,23,22,23,23,24,24,22,23,24,21,0,0,0,0,0,0,0,0,20,21,19,19,18,20,18,16,16,17,16,14,0,0,0,0,0,0,0,0,10,9,8,8,10,10,11,13,14,12,11,15,0,0,0,0,0,0,0,0,9,8,7,7,7,4,2,0,1,3,6,9,0,0,0,0,0,0,0,0,14,16,17,16,17,18,19,20,20,20,20,22,0,0,0,0,0,0,0,0,20,22,22,20,19,19,19,18,18,18,19,17,0,0,0,0,0,0,0,0,13,15,18,16,18,20,19,20,20,20,22,21,0,0,0,0,0,0,0,0,20,20,19,19,20,17,19,21,19,17,21,20,0,0,0,0,0,0,0,0,22,22,20,20,21,22,21,23,22,23,22,23,0,0,0,0,0,0,0,0,24,24,24,24,23,24,24,24,25,25,24,24,0,0,0,0,0,0,0,0,26,25,26,26,27,27,28,27,29,27,29,28,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,30,29],[0,30,30,30,30,30,30,30,30,29,30,30,29,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,29,29,27,29,29,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,25,24,24,25,24,22,21,24,22,21,22,21,0,0,0,0,0,0,0,0,8,10,11,13,12,17,12,13,13,14,13,12,0,0,0,0,0,0,0,0,14,15,14,14,15,15,14,17,17,16,18,19,0,0,0,0,0,0,0,0,22,22,21,22,19,20,18,21,21,22,21,24,0,0,0,0,0,0,0,0,20,21,23,23,20,21,23,22,23,22,21,24,0,0,0,0,0,0,0,0,17,17,18,17,17,17,16,15,15,16,17,15,0,0,0,0,0,0,0,0,18,19,20,19,19,19,19,20,20,21,22,22,0,0,0,0,0,0,0,0,19,21,22,20,21,21,20,21,22,20,21,21,0,0,0,0,0,0,0,0,16,16,18,19,19,18,19,19,18,17,18,19,0,0,0,0,0,0,0,0,17,20,18,16,17,18,17,19,19,20,20,20,0,0,0,0,0,0,0,0,20,21,20,20,22,22,21,20,23,20,21,22,0,0,0,0,0,0,0,0,20,21,20,20,20,20,20,20,20,20,20,20,0,0,0,0,0,0,0,0,18,17,18,19,19,19,17,19,18,19,19,17,0,0,0,0,0,0,0,0,22,22,22,22,22,24,23,23,23,22,22,21,0,0,0,0,0,0,0,0,13,14,15,12,11,15,14,14,17,18,18,20,0,0,0,0,0,0,0,0,21,23,25,24,25,26,27,26,27,27,29,27,0,0,0,0,0,0,0,0,28,29,29,29,30,29,29,29,29,29,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,27,28,28,27,29,0,0,0,0,0,0,0,0,24,22,21,22,21,22,21,19,19,18,18,19,0,0,0,0,0,0,0,0,23,24,22,22,23,24,23,23,24,24,23,23,0,0,0,0,0,0,0,0,25,24,25,24,24,25,24,24,25,25,23,24,0,0,0,0,0,0,0,0,22,23,23,23,21,22,23,24,23,23,21,23,0,0,0,0,0,0,0,0,25,24,24,24,24,24,23,24,23,24,25,23,0,0,0,0,0,0,0,0,20,22,24,23,21,22,21,20,21,20,21,21,0,0,0,0,0,0,0,0,17,16,15,14,12,15,15,16,15,18,18,19,0,0,0,0,0,0,0,0,16,14,17,17,17,14,17,14,14,10,14,13,0,0,0,0,0,0,0,0,12,13,13,12,12,15,14,14,15,17,16,16,0,0,0,0,0,0,0,0,20,20,21,21,22,22,23,22,21,20,22,21,0,0,0,0,0,0,0,0,19,19,18,18,16,17,17,14,14,16,16,13,0,0,0,0,0,0,0,0,9,9,8,9,8,11,11,13,12,10,12,14,0,0,0,0,0,0,0,0,10,9,8,9,8,5,5,1,0,2,3,5,0,0,0,0,0,0,0,0,11,17,15,14,16,18,17,17,19,19,18,19,0,0,0,0,0,0,0,0,18,18,19,19,19,17,17,18,15,15,18,16,0,0,0,0,0,0,0,0,10,13,14,14,14,15,17,18,18,18,19,20,0,0,0,0,0,0,0,0,18,19,19,18,20,14,15,19,16,13,17,18,0,0,0,0,0,0,0,0,19,20,20,19,21,19,20,19,19,22,20,22,0,0,0,0,0,0,0,0,23,23,24,24,22,23,24,23,24,25,23,22,0,0,0,0,0,0,0,0,25,25,25,26,26,26,28,27,28,28,28,28,0,0,0,0,0,0,0,0,30,29,29,29,30,29,30,29,30,29,29,30,0,0,0,0,0,0,0,0,29,29,29,30,29,30,29,29,29],[0,30,30,30,30,30,30,30,30,30,30,29,30,29,30,29,30,29,29,30,0,0,0,0,0,0,0,0,29,29,27,29,29,29,28,29,28,29,28,28,0,0,0,0,0,0,0,0,25,24,23,23,23,22,21,22,21,21,20,20,0,0,0,0,0,0,0,0,7,7,9,9,11,12,10,9,9,12,10,10,0,0,0,0,0,0,0,0,11,11,11,12,13,12,12,15,16,14,15,15,0,0,0,0,0,0,0,0,17,15,15,16,15,18,16,16,16,16,18,17,0,0,0,0,0,0,0,0,17,17,19,17,16,17,17,16,17,18,16,17,0,0,0,0,0,0,0,0,15,16,16,14,14,13,13,13,13,13,12,11,0,0,0,0,0,0,0,0,13,13,16,16,14,15,16,16,17,18,17,18,0,0,0,0,0,0,0,0,17,17,17,16,16,18,17,16,18,16,16,17,0,0,0,0,0,0,0,0,16,14,16,15,16,17,16,15,15,15,15,15,0,0,0,0,0,0,0,0,12,14,11,11,12,13,12,13,14,16,15,16,0,0,0,0,0,0,0,0,16,17,17,16,17,17,15,15,16,16,17,16,0,0,0,0,0,0,0,0,16,14,14,16,15,15,15,16,16,15,16,15,0,0,0,0,0,0,0,0,13,13,11,12,14,14,13,13,14,14,14,13,0,0,0,0,0,0,0,0,18,18,18,18,20,19,18,19,18,17,17,15,0,0,0,0,0,0,0,0,11,11,11,10,10,12,11,10,15,16,16,18,0,0,0,0,0,0,0,0,20,20,23,23,23,24,25,25,26,25,27,26,0,0,0,0,0,0,0,0,26,27,28,27,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,28,28,28,28,27,27,26,27,27,26,26,0,0,0,0,0,0,0,0,22,20,20,21,20,20,20,18,18,16,16,15,0,0,0,0,0,0,0,0,16,19,18,17,18,19,17,17,19,18,17,17,0,0,0,0,0,0,0,0,19,18,19,19,18,18,19,18,19,21,18,20,0,0,0,0,0,0,0,0,17,16,17,18,16,16,19,19,17,19,16,19,0,0,0,0,0,0,0,0,19,18,18,18,18,18,18,17,18,18,18,18,0,0,0,0,0,0,0,0,16,17,18,18,15,16,18,15,16,15,16,16,0,0,0,0,0,0,0,0,13,13,10,8,9,10,11,12,12,14,15,16,0,0,0,0,0,0,0,0,13,13,14,13,15,11,12,12,10,10,11,10,0,0,0,0,0,0,0,0,10,10,9,8,12,11,10,12,12,10,11,11,0,0,0,0,0,0,0,0,14,15,17,18,16,17,16,18,16,15,16,16,0,0,0,0,0,0,0,0,14,15,13,14,13,13,12,8,7,11,11,11,0,0,0,0,0,0,0,0,8,7,8,6,7,8,8,11,10,8,9,9,0,0,0,0,0,0,0,0,8,9,7,7,7,6,5,6,1,0,1,3,0,0,0,0,0,0,0,0,9,10,11,9,10,12,13,13,15,14,13,15,0,0,0,0,0,0,0,0,12,12,13,14,12,13,13,12,12,11,12,10,0,0,0,0,0,0,0,0,7,10,11,10,9,12,12,12,12,13,14,14,0,0,0,0,0,0,0,0,13,12,12,11,14,11,11,13,12,10,12,12,0,0,0,0,0,0,0,0,17,15,15,14,15,15,14,15,14,17,16,17,0,0,0,0,0,0,0,0,18,18,17,17,17,18,17,18,18,19,16,17,0,0,0,0,0,0,0,0,20,21,21,20,21,23,23,25,26,25,26,26,0,0,0,0,0,0,0,0,28,28,28,29,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,28,29,28,28,28,28],[0,29,28,28,28,29,29,29,28,28,28,28,28,28,27,28,28,28,28,29,0,0,0,0,0,0,0,0,28,28,26,28,29,29,28,29,28,28,28,27,0,0,0,0,0,0,0,0,24,23,22,23,23,21,20,21,20,20,19,18,0,0,0,0,0,0,0,0,6,6,7,7,9,9,8,7,7,8,7,8,0,0,0,0,0,0,0,0,9,10,9,9,11,9,9,10,11,11,10,12,0,0,0,0,0,0,0,0,13,13,12,12,11,12,11,11,12,13,13,13,0,0,0,0,0,0,0,0,12,14,13,13,12,12,12,12,12,13,12,12,0,0,0,0,0,0,0,0,12,12,11,11,10,10,10,9,10,9,9,9,0,0,0,0,0,0,0,0,11,10,11,11,12,11,11,12,12,12,12,13,0,0,0,0,0,0,0,0,11,12,13,11,12,12,13,12,12,12,12,13,0,0,0,0,0,0,0,0,11,10,11,12,12,12,11,12,10,11,11,11,0,0,0,0,0,0,0,0,9,11,9,9,10,10,10,11,11,11,12,11,0,0,0,0,0,0,0,0,11,12,11,11,12,12,11,12,13,12,11,12,0,0,0,0,0,0,0,0,12,10,11,11,12,10,11,11,12,12,11,10,0,0,0,0,0,0,0,0,10,10,10,9,11,10,11,11,11,11,11,10,0,0,0,0,0,0,0,0,14,13,13,13,14,14,14,14,14,15,14,13,0,0,0,0,0,0,0,0,9,8,9,9,8,10,11,12,12,13,15,15,0,0,0,0,0,0,0,0,18,20,21,21,22,22,23,25,25,25,26,25,0,0,0,0,0,0,0,0,25,27,28,27,28,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,27,27,25,26,27,25,26,0,0,0,0,0,0,0,0,22,21,21,20,20,19,19,16,15,14,12,11,0,0,0,0,0,0,0,0,13,15,14,14,14,15,15,14,15,14,14,15,0,0,0,0,0,0,0,0,16,14,14,15,15,15,16,16,17,16,17,17,0,0,0,0,0,0,0,0,14,14,14,15,13,13,14,14,13,13,12,14,0,0,0,0,0,0,0,0,15,14,14,14,14,15,15,15,14,14,15,14,0,0,0,0,0,0,0,0,12,12,13,13,11,12,12,11,11,10,10,11,0,0,0,0,0,0,0,0,8,8,7,6,6,7,8,9,10,11,11,11,0,0,0,0,0,0,0,0,10,10,11,10,11,9,10,10,8,9,9,9,0,0,0,0,0,0,0,0,6,6,6,5,8,7,7,7,8,8,8,9,0,0,0,0,0,0,0,0,11,11,12,12,12,13,13,13,11,12,12,11,0,0,0,0,0,0,0,0,9,9,8,7,8,8,7,5,6,7,7,6,0,0,0,0,0,0,0,0,6,6,6,7,7,8,7,8,7,7,9,8,0,0,0,0,0,0,0,0,8,7,7,7,6,5,6,4,2,1,0,1,0,0,0,0,0,0,0,0,5,7,7,7,8,8,8,8,10,10,10,10,0,0,0,0,0,0,0,0,8,9,10,8,9,8,8,7,7,6,7,7,0,0,0,0,0,0,0,0,6,7,8,8,7,8,8,8,9,9,11,10,0,0,0,0,0,0,0,0,10,11,9,8,10,8,8,10,8,7,9,11,0,0,0,0,0,0,0,0,12,13,11,11,13,12,12,13,13,14,12,12,0,0,0,0,0,0,0,0,13,14,12,13,14,14,12,13,14,14,13,13,0,0,0,0,0,0,0,0,18,17,18,18,18,19,22,22,22,22,24,23,0,0,0,0,0,0,0,0,27,25,27,26,27,26,27,26,27,27,28,28,0,0,0,0,0,0,0,0,26,27,26,27,27,26,26,26,26],[0,29,28,28,29,29,29,28,29,27,27,27,28,27,28,27,27,27,27,27,0,0,0,0,0,0,0,0,28,27,26,27,28,28,28,28,27,28,27,27,0,0,0,0,0,0,0,0,24,23,21,21,21,20,18,19,19,18,17,17,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,2,3,4,3,3,0,0,0,0,0,0,0,0,4,4,5,5,5,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,9,8,8,8,7,7,8,8,8,8,8,8,0,0,0,0,0,0,0,0,7,7,7,7,7,7,8,8,7,7,6,7,0,0,0,0,0,0,0,0,5,6,6,5,5,6,6,6,5,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,7,7,6,0,0,0,0,0,0,0,0,5,6,6,6,6,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,6,5,5,5,5,5,5,5,4,5,5,4,0,0,0,0,0,0,0,0,5,5,4,5,6,6,7,7,6,7,7,7,0,0,0,0,0,0,0,0,6,6,6,5,6,6,6,7,7,7,7,6,0,0,0,0,0,0,0,0,5,4,5,5,5,5,5,5,6,6,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,4,5,5,5,5,0,0,0,0,0,0,0,0,6,7,6,6,7,8,7,7,7,7,7,7,0,0,0,0,0,0,0,0,4,5,4,5,5,6,7,10,10,10,14,15,0,0,0,0,0,0,0,0,17,19,20,20,20,21,22,22,24,23,24,23,0,0,0,0,0,0,0,0,24,25,26,26,27,26,26,27,27,27,27,27,0,0,0,0,0,0,0,0,27,27,28,27,28,27,27,25,26,26,25,25,0,0,0,0,0,0,0,0,20,19,18,19,18,17,17,15,14,13,10,9,0,0,0,0,0,0,0,0,8,9,8,9,9,9,9,10,10,9,9,11,0,0,0,0,0,0,0,0,11,10,10,10,11,10,11,12,11,12,12,11,0,0,0,0,0,0,0,0,8,9,8,8,7,8,8,7,6,7,7,8,0,0,0,0,0,0,0,0,8,8,8,9,9,10,10,10,10,9,8,8,0,0,0,0,0,0,0,0,5,6,6,5,5,6,6,5,6,5,5,5,0,0,0,0,0,0,0,0,4,4,3,4,4,5,5,6,7,7,8,8,0,0,0,0,0,0,0,0,5,5,5,6,6,6,6,6,6,6,5,5,0,0,0,0,0,0,0,0,3,3,3,2,3,3,3,3,3,3,4,4,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,5,5,5,6,5,0,0,0,0,0,0,0,0,5,5,4,4,4,5,4,4,4,4,4,3,0,0,0,0,0,0,0,0,2,3,3,4,4,4,4,4,4,4,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,4,3,2,1,0,0,0,0,0,0,0,0,0,3,3,4,4,4,6,5,5,4,5,5,5,0,0,0,0,0,0,0,0,5,6,6,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,3,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,6,6,6,6,6,5,5,6,5,5,5,6,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,8,8,8,8,8,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,7,7,7,6,7,0,0,0,0,0,0,0,0,13,14,14,14,15,16,17,19,20,19,22,20,0,0,0,0,0,0,0,0,25,23,26,25,26,24,25,25,26,25,25,26,0,0,0,0,0,0,0,0,26,25,23,25,26,24,23,24,25],[0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,0,3,4,3,3,4,4,4,3,4,4,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,9,10,10,10,11,12,13,14,16,17,18,17,0,0,0,0,0,0,0,0,21,22,25,24,22,22,24,23,23,24,24,23,0,0,0,0,0,0,0,0,23,23,23,22,24,23,20,23,24],[0,28,28,28,28,28,28,27,28,27,27,27,27,26,26,26,26,27,26,26,0,0,0,0,0,0,0,0,27,26,25,27,27,27,26,27,27,27,27,27,0,0,0,0,0,0,0,0,23,22,22,21,20,20,18,19,17,17,17,16,0,0,0,0,0,0,0,0,2,2,2,1,2,1,2,1,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,3,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,3,3,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,3,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,3,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,2,2,2,0,0,0,0,0,0,0,0,2,1,1,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,5,8,7,10,10,13,0,0,0,0,0,0,0,0,16,16,18,19,19,20,21,20,22,22,22,21,0,0,0,0,0,0,0,0,22,22,25,23,26,25,24,25,25,26,25,26,0,0,0,0,0,0,0,0,25,26,26,26,26,25,25,25,25,25,25,25,0,0,0,0,0,0,0,0,22,19,19,19,18,14,14,13,10,9,6,5,0,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13,14,16,16,18,17,0,0,0,0,0,0,0,0,20,21,24,23,21,22,24,22,23,23,23,22,0,0,0,0,0,0,0,0,23,21,23,23,24,23,20,24,24],[0,28,28,28,28,29,27,27,28,26,26,26,26,26,25,26,26,26,26,25,0,0,0,0,0,0,0,0,27,26,26,27,27,28,27,27,28,28,28,28,0,0,0,0,0,0,0,0,23,22,22,21,21,19,18,19,17,17,17,16,0,0,0,0,0,0,0,0,2,2,2,1,1,1,2,1,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,3,3,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,3,3,3,0,0,0,0,0,0,0,0,2,3,3,2,2,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,2,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,4,4,4,3,4,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,3,2,2,0,0,0,0,0,0,0,0,2,2,1,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,6,8,8,11,11,0,0,0,0,0,0,0,0,16,16,17,18,20,19,19,21,22,22,23,21,0,0,0,0,0,0,0,0,22,22,25,24,26,26,25,26,26,26,26,27,0,0,0,0,0,0,0,0,27,27,27,27,27,27,26,26,25,26,26,25,0,0,0,0,0,0,0,0,22,19,19,18,16,14,13,13,9,10,6,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,4,5,0,0,0,0,0,0,0,0,5,5,4,4,4,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,3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2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,8,9,8,9,9,12,13,14,16,17,20,20,0,0,0,0,0,0,0,0,21,20,24,25,22,23,24,23,24,24,24,22,0,0,0,0,0,0,0,0,22,22,21,21,24,21,21,23,23],[0,28,28,28,28,28,27,27,27,26,26,26,26,25,26,24,25,26,25,25,0,0,0,0,0,0,0,0,26,26,26,26,27,27,26,27,26,26,27,26,0,0,0,0,0,0,0,0,23,23,22,22,20,19,17,18,17,15,16,16,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,2,3,3,2,0,0,0,0,0,0,0,0,3,3,3,4,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,6,6,5,5,4,4,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,5,4,4,4,5,5,5,4,4,4,0,0,0,0,0,0,0,0,3,4,4,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,3,4,4,3,4,4,4,3,4,4,4,0,0,0,0,0,0,0,0,3,3,4,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,4,4,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,4,3,3,0,0,0,0,0,0,0,0,3,2,2,3,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,5,6,6,7,9,11,0,0,0,0,0,0,0,0,15,13,16,18,19,19,19,20,21,21,22,21,0,0,0,0,0,0,0,0,21,21,24,24,26,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,26,27,26,26,26,25,25,25,25,25,25,25,0,0,0,0,0,0,0,0,20,19,20,19,17,15,13,13,10,9,7,5,0,0,0,0,0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,19,17,0,0,0,0,0,0,0,0,20,22,23,23,23,22,22,22,24,22,22,22,0,0,0,0,0,0,0,0,22,21,21,22,23,20,20,23,21],[0,27,28,27,28,28,27,27,28,26,26,26,26,24,26,24,26,26,25,26,0,0,0,0,0,0,0,0,27,27,26,27,27,27,27,27,26,27,27,27,0,0,0,0,0,0,0,0,24,24,22,22,22,21,19,21,19,18,17,17,0,0,0,0,0,0,0,0,5,4,4,4,4,3,4,4,5,5,5,5,0,0,0,0,0,0,0,0,5,5,6,7,6,6,7,7,6,7,8,7,0,0,0,0,0,0,0,0,9,10,10,9,8,7,8,8,8,8,8,8,0,0,0,0,0,0,0,0,7,7,8,7,6,7,8,8,8,7,7,8,0,0,0,0,0,0,0,0,6,7,7,6,5,6,7,6,7,7,7,8,0,0,0,0,0,0,0,0,6,6,6,6,5,6,7,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,5,6,7,7,7,6,7,0,0,0,0,0,0,0,0,6,6,6,6,5,6,6,5,5,6,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,7,7,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,6,6,6,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,5,5,5,5,0,0,0,0,0,0,0,0,4,4,3,4,4,4,4,4,4,4,3,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,5,5,6,7,7,8,9,10,12,14,0,0,0,0,0,0,0,0,16,18,19,18,20,20,22,22,24,22,24,22,0,0,0,0,0,0,0,0,20,23,24,25,27,25,26,25,25,27,27,27,0,0,0,0,0,0,0,0,27,27,26,27,27,26,26,25,25,26,25,26,0,0,0,0,0,0,0,0,22,22,21,20,18,17,16,14,14,12,9,7,0,0,0,0,0,0,0,0,3,4,3,3,4,5,4,4,5,5,5,6,0,0,0,0,0,0,0,0,7,6,5,6,5,6,6,6,8,7,6,7,0,0,0,0,0,0,0,0,5,4,4,4,4,3,3,3,2,3,3,3,0,0,0,0,0,0,0,0,4,4,5,6,6,6,7,7,6,6,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,5,6,6,6,5,0,0,0,0,0,0,0,0,5,6,6,7,7,7,7,7,7,7,6,6,0,0,0,0,0,0,0,0,4,4,3,3,4,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,2,3,3,3,2,3,3,2,2,3,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,2,3,3,3,3,0,0,0,0,0,0,0,0,4,4,5,5,6,6,5,6,6,6,6,7,0,0,0,0,0,0,0,0,7,7,7,6,6,7,6,6,6,5,5,4,0,0,0,0,0,0,0,0,3,2,2,2,2,2,1,2,2,1,1,0,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,2,2,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,3,3,0,0,0,0,0,0,0,0,3,3,3,4,4,3,4,3,4,4,4,4,0,0,0,0,0,0,0,0,3,3,2,3,4,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,9,10,10,10,10,14,14,16,17,18,21,20,0,0,0,0,0,0,0,0,21,21,25,24,24,24,25,24,25,25,24,24,0,0,0,0,0,0,0,0,23,22,21,23,24,20,20,22,20],[0,27,27,28,28,27,28,27,27,27,26,26,27,24,27,24,27,26,26,27,0,0,0,0,0,0,0,0,27,28,27,28,28,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,25,25,23,23,23,22,21,21,19,19,17,18,0,0,0,0,0,0,0,0,5,5,5,4,5,4,5,5,5,6,6,5,0,0,0,0,0,0,0,0,8,8,8,9,9,9,10,10,9,10,11,10,0,0,0,0,0,0,0,0,12,13,13,12,11,11,11,11,11,12,11,11,0,0,0,0,0,0,0,0,10,10,11,10,9,10,10,10,10,10,10,10,0,0,0,0,0,0,0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0,0,3,3,3,3,2,3,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,4,3,3,4,3,3,3,3,3,4,0,0,0,0,0,0,0,0,3,3,3,3,4,4,3,3,4,4,3,3,0,0,0,0,0,0,0,0,2,3,3,2,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,10,11,11,12,12,15,16,15,18,17,20,20,0,0,0,0,0,0,0,0,23,23,26,24,24,26,25,24,26,26,24,25,0,0,0,0,0,0,0,0,26,24,23,25,25,21,23,26,24],[0,29,29,29,29,29,28,28,28,28,28,26,28,24,27,25,27,27,26,28,0,0,0,0,0,0,0,0,28,28,26,28,28,29,27,28,28,28,28,28,0,0,0,0,0,0,0,0,25,24,23,23,23,22,19,21,20,18,18,19,0,0,0,0,0,0,0,0,4,3,3,3,3,3,4,3,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,6,6,6,6,0,0,0,0,0,0,0,0,7,8,8,7,7,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,7,6,6,6,6,0,0,0,0,0,0,0,0,5,6,6,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,5,5,6,5,0,0,0,0,0,0,0,0,4,4,5,5,4,5,5,6,6,6,5,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,4,5,5,4,0,0,0,0,0,0,0,0,4,4,4,4,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,5,5,5,4,4,0,0,0,0,0,0,0,0,4,3,3,3,4,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,7,8,8,11,14,0,0,0,0,0,0,0,0,18,16,18,20,22,21,22,24,24,23,24,22,0,0,0,0,0,0,0,0,21,23,24,24,27,26,26,26,26,27,27,27,0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,3,3,3,3,4,3,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,9,10,9,10,12,14,15,17,19,19,21,20,0,0,0,0,0,0,0,0,24,23,26,24,25,24,24,23,26,26,23,25,0,0,0,0,0,0,0,0,25,25,23,24,26,22,22,25,24],[0,28,28,28,29,28,28,27,27,27,26,25,27,23,25,23,26,25,25,26,0,0,0,0,0,0,0,0,27,27,25,27,27,27,26,27,26,27,27,27,0,0,0,0,0,0,0,0,24,23,23,22,21,21,19,19,20,18,17,16,0,0,0,0,0,0,0,0,4,4,4,3,3,3,4,4,4,4,5,4,0,0,0,0,0,0,0,0,5,5,5,6,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,8,8,8,8,7,6,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,7,6,6,6,7,7,7,7,6,7,0,0,0,0,0,0,0,0,6,6,6,6,5,5,6,6,6,6,6,7,0,0,0,0,0,0,0,0,6,6,6,6,5,6,6,5,6,6,6,5,0,0,0,0,0,0,0,0,4,5,5,5,4,5,5,6,6,6,5,6,0,0,0,0,0,0,0,0,5,5,6,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,5,4,4,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,5,4,4,4,5,5,5,6,6,5,4,0,0,0,0,0,0,0,0,4,3,3,4,4,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,3,3,3,4,3,4,4,4,4,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,5,4,5,5,7,7,9,11,12,0,0,0,0,0,0,0,0,16,15,15,18,21,19,20,22,22,21,23,21,0,0,0,0,0,0,0,0,20,21,25,23,26,25,26,25,25,26,26,26,0,0,0,0,0,0,0,0,27,27,27,26,27,26,27,24,25,25,25,26,0,0,0,0,0,0,0,0,24,20,21,21,19,17,15,14,12,9,8,6,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,22,22,24,23,23,23,25,22,25,25,24,24,0,0,0,0,0,0,0,0,24,23,23,24,25,22,21,24,23],[0,27,27,27,27,27,27,26,25,26,24,24,24,22,24,24,25,23,24,24,0,0,0,0,0,0,0,0,25,24,23,25,25,26,25,25,24,25,25,25,0,0,0,0,0,0,0,0,22,22,22,20,20,21,20,19,18,18,16,16,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4,5,5,5,5,0,0,0,0,0,0,0,0,5,5,6,5,6,6,6,6,6,6,7,6,0,0,0,0,0,0,0,0,8,8,9,8,7,7,7,8,8,8,7,8,0,0,0,0,0,0,0,0,7,6,7,7,6,6,7,7,7,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,7,6,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,6,6,6,7,7,6,6,6,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,6,6,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,5,4,5,0,0,0,0,0,0,0,0,4,4,4,4,5,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,5,4,5,5,5,6,6,6,8,10,10,0,0,0,0,0,0,0,0,13,13,13,16,17,16,18,20,21,19,21,21,0,0,0,0,0,0,0,0,20,23,22,22,25,23,26,26,25,26,26,26,0,0,0,0,0,0,0,0,26,26,25,26,27,25,25,23,23,24,22,25,0,0,0,0,0,0,0,0,21,20,19,18,17,16,14,12,11,9,8,7,0,0,0,0,0,0,0,0,3,4,4,3,4,4,4,4,5,5,5,5,0,0,0,0,0,0,0,0,6,6,6,5,5,6,7,6,7,7,6,6,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4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3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,3,4,0,0,0,0,0,0,0,0,9,11,10,11,12,13,15,15,18,17,20,19,0,0,0,0,0,0,0,0,23,22,25,25,24,24,25,24,24,26,24,24,0,0,0,0,0,0,0,0,25,23,25,24,26,23,21,25,24],[0,28,28,29,28,29,28,28,28,27,27,27,27,27,26,27,26,27,26,25,0,0,0,0,0,0,0,0,27,26,25,27,27,27,27,27,27,27,27,26,0,0,0,0,0,0,0,0,23,22,22,21,21,22,20,20,20,20,18,18,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,4,4,3,0,0,0,0,0,0,0,0,4,4,5,5,5,6,5,5,5,6,6,6,0,0,0,0,0,0,0,0,7,8,8,7,6,6,6,6,6,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,7,6,6,6,6,0,0,0,0,0,0,0,0,5,6,5,5,5,5,5,6,5,5,6,5,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,5,6,6,6,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,6,6,6,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,5,4,4,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,4,5,5,5,6,5,5,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,3,3,3,4,3,4,4,4,4,4,3,0,0,0,0,0,0,0,0,4,4,4,4,5,4,4,4,5,4,5,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,6,7,7,10,9,0,0,0,0,0,0,0,0,12,12,14,16,16,16,20,21,22,21,22,21,0,0,0,0,0,0,0,0,20,23,23,23,26,26,26,25,26,26,27,27,0,0,0,0,0,0,0,0,26,27,27,27,27,25,26,24,26,25,23,25,0,0,0,0,0,0,0,0,21,18,20,19,17,16,14,13,11,9,7,6,0,0,0,0,0,0,0,0,3,4,4,3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,0,0,0,22,20,24,24,22,23,24,23,24,24,24,24,0,0,0,0,0,0,0,0,25,22,24,24,26,23,21,25,25],[0,28,28,28,28,29,28,28,29,28,28,28,28,28,27,27,27,28,28,27,0,0,0,0,0,0,0,0,28,27,27,28,28,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,22,22,23,21,20,21,20,20,20,21,19,17,0,0,0,0,0,0,0,0,3,2,2,2,3,3,3,3,3,4,4,3,0,0,0,0,0,0,0,0,4,5,5,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,8,8,8,7,6,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,6,7,6,6,7,7,7,7,7,7,6,0,0,0,0,0,0,0,0,5,6,6,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,6,6,5,0,0,0,0,0,0,0,0,5,5,5,6,5,5,6,6,7,7,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,4,4,4,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,4,5,6,6,6,6,6,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,5,5,4,5,0,0,0,0,0,0,0,0,4,3,3,3,4,4,4,4,4,4,3,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,5,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,5,4,6,7,8,10,11,0,0,0,0,0,0,0,0,12,13,15,17,16,17,21,21,23,23,24,22,0,0,0,0,0,0,0,0,22,24,25,26,27,26,26,26,27,27,28,28,0,0,0,0,0,0,0,0,27,27,28,27,28,26,27,25,27,27,25,27,0,0,0,0,0,0,0,0,21,19,20,19,17,15,15,13,12,11,8,6,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,6,6,7,7,7,8,8,7,7,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4,4,4,4,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,0,0,0,0,0,0,0,4,4,3,3,4,4,4,4,4,4,4,5,0,0,0,0,0,0,0,0,10,11,11,11,12,13,15,16,18,17,20,19,0,0,0,0,0,0,0,0,23,21,25,24,24,24,25,24,25,25,24,24,0,0,0,0,0,0,0,0,25,24,24,24,26,23,22,24,24],[0,28,28,28,28,29,28,28,29,27,28,28,28,27,27,27,27,28,27,27,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,29,29,29,29,28,0,0,0,0,0,0,0,0,25,24,24,23,23,21,21,21,19,19,19,17,0,0,0,0,0,0,0,0,3,2,2,2,2,2,2,2,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,5,4,5,5,5,0,0,0,0,0,0,0,0,6,7,7,6,6,5,5,6,6,6,6,6,0,0,0,0,0,0,0,0,5,6,6,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,4,4,5,5,5,0,0,0,0,0,0,0,0,4,4,5,4,5,5,5,6,6,6,5,6,0,0,0,0,0,0,0,0,4,4,5,4,4,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,3,4,3,3,4,4,5,5,4,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,3,3,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,2,2,3,2,4,4,6,6,8,8,9,10,0,0,0,0,0,0,0,0,14,16,18,19,18,19,21,21,24,23,24,21,0,0,0,0,0,0,0,0,22,24,26,26,27,26,27,27,27,28,28,28,0,0,0,0,0,0,0,0,27,28,28,28,28,26,27,26,27,27,24,26,0,0,0,0,0,0,0,0,22,21,20,19,17,16,15,15,12,11,8,5,0,0,0,0,0,0,0,0,3,3,3,3,4,4,3,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21,19,24,24,22,22,23,22,23,24,22,21,0,0,0,0,0,0,0,0,23,22,22,23,25,22,20,24,23],[0,28,29,28,29,29,28,28,29,27,28,28,28,27,26,26,26,27,27,26,0,0,0,0,0,0,0,0,28,28,26,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,24,24,23,22,21,21,21,20,19,20,19,19,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,3,3,2,0,0,0,0,0,0,0,0,3,3,3,3,4,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,6,6,5,4,4,4,4,4,4,4,5,0,0,0,0,0,0,0,0,4,4,5,4,4,5,5,5,5,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,3,3,4,4,4,0,0,0,0,0,0,0,0,3,3,4,3,3,4,4,5,5,4,4,5,0,0,0,0,0,0,0,0,3,3,4,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,2,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,4,3,0,0,0,0,0,0,0,0,3,2,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,2,3,3,3,3,3,3,3,2,0,0,0,0,0,0,0,0,2,2,2,2,3,3,3,6,8,7,9,12,0,0,0,0,0,0,0,0,12,13,15,16,16,17,19,20,21,21,22,21,0,0,0,0,0,0,0,0,21,22,24,24,27,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,26,27,27,26,26,26,26,25,25,25,24,25,0,0,0,0,0,0,0,0,20,19,19,18,16,15,14,13,10,9,7,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,3,4,0,0,0,0,0,0,0,0,5,5,4,4,4,5,5,4,5,5,4,4,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,2,2,2,2,0,0,0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,1,1,1,0,0,0,0,0,0,0,0,2,2,2,1,1,2,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,1,2,2,2,2,2,2,2,2,3,0,0,0,0,0,0,0,0,2,3,2,2,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,8,10,9,9,11,12,13,14,17,16,19,17,0,0,0,0,0,0,0,0,21,20,24,24,21,23,24,23,23,24,22,22,0,0,0,0,0,0,0,0,23,22,23,22,25,22,20,23,23],[0,28,28,28,28,28,27,27,27,26,27,26,27,25,25,25,25,26,25,25,0,0,0,0,0,0,0,0,26,25,25,26,27,27,26,27,26,26,27,26,0,0,0,0,0,0,0,0,23,23,22,21,20,20,18,19,18,18,18,16,0,0,0,0,0,0,0,0,3,2,3,2,2,2,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,4,5,4,4,5,5,5,5,6,5,0,0,0,0,0,0,0,0,7,7,7,7,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,4,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,5,4,4,5,5,4,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,5,6,5,5,5,0,0,0,0,0,0,0,0,4,4,5,4,4,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,4,4,3,3,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,3,4,4,5,5,5,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,2,3,3,2,4,6,6,8,10,11,0,0,0,0,0,0,0,0,12,12,14,16,15,16,18,18,20,19,22,19,0,0,0,0,0,0,0,0,19,22,22,25,27,23,25,26,26,26,26,27,0,0,0,0,0,0,0,0,26,27,27,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0,0,0,0,3,3,3,3,3,3,3,4,4,4,4,4,0,0,0,0,0,0,0,0,9,10,11,11,11,13,14,15,16,16,20,18,0,0,0,0,0,0,0,0,23,21,24,24,24,22,23,22,23,24,23,23,0,0,0,0,0,0,0,0,23,22,22,22,24,21,20,24,23],[0,28,28,28,28,28,28,27,28,26,27,27,27,25,26,26,26,26,26,26,0,0,0,0,0,0,0,0,27,27,26,27,28,28,27,28,27,28,28,28,0,0,0,0,0,0,0,0,24,24,24,22,21,21,21,20,19,20,19,17,0,0,0,0,0,0,0,0,5,4,4,4,4,4,4,4,5,5,6,5,0,0,0,0,0,0,0,0,6,6,6,7,7,7,8,8,7,8,8,8,0,0,0,0,0,0,0,0,10,11,11,10,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,9,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,7,8,8,7,7,7,8,8,8,8,7,8,0,0,0,0,0,0,0,0,6,6,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,7,8,8,7,7,0,0,0,0,0,0,0,0,6,7,7,7,6,7,6,6,6,7,6,6,0,0,0,0,0,0,0,0,6,6,5,5,6,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,5,6,6,6,5,6,6,7,7,7,6,5,0,0,0,0,0,0,0,0,5,4,4,5,5,4,5,5,5,6,5,6,0,0,0,0,0,0,0,0,5,4,4,4,5,4,4,5,5,4,4,4,0,0,0,0,0,0,0,0,4,4,4,5,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,4,4,4,4,5,5,7,7,8,9,11,12,0,0,0,0,0,0,0,0,14,13,15,17,17,17,19,20,22,20,22,19,0,0,0,0,0,0,0,0,20,23,23,25,27,24,26,26,27,27,27,28,0,0,0,0,0,0,0,0,27,27,27,27,27,27,27,25,27,27,25,26,0,0,0,0,0,0,0,0,21,21,19,19,19,16,15,14,12,11,8,6,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,5,5,5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,24,24,24,22,25,25,23,23,0,0,0,0,0,0,0,0,24,23,21,24,24,22,20,23,23],[0,29,28,29,29,29,29,28,28,27,28,27,28,26,26,27,27,26,26,27,0,0,0,0,0,0,0,0,28,28,26,28,29,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,26,25,24,22,24,21,22,21,20,21,20,19,0,0,0,0,0,0,0,0,6,5,6,5,5,5,6,6,6,6,7,7,0,0,0,0,0,0,0,0,8,8,8,9,8,8,9,9,9,9,10,10,0,0,0,0,0,0,0,0,11,12,13,12,10,10,10,11,11,12,11,11,0,0,0,0,0,0,0,0,10,10,10,10,9,9,10,10,11,9,10,10,0,0,0,0,0,0,0,0,8,9,9,9,8,8,9,9,9,9,9,9,0,0,0,0,0,0,0,0,8,8,9,8,8,8,9,9,9,9,9,9,0,0,0,0,0,0,0,0,7,7,8,8,7,8,8,9,9,9,9,9,0,0,0,0,0,0,0,0,8,8,9,8,8,8,8,7,8,8,8,7,0,0,0,0,0,0,0,0,7,7,6,7,7,8,9,9,8,9,9,9,0,0,0,0,0,0,0,0,7,7,7,7,6,7,7,7,8,8,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,5,5,6,6,6,6,6,5,6,5,0,0,0,0,0,0,0,0,5,5,5,5,6,6,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,6,6,8,8,9,12,12,0,0,0,0,0,0,0,0,14,16,17,18,18,19,20,21,22,21,22,21,0,0,0,0,0,0,0,0,21,23,23,23,25,24,25,25,27,26,27,27,0,0,0,0,0,0,0,0,27,28,27,27,27,27,27,25,27,26,26,27,0,0,0,0,0,0,0,0,23,21,21,20,20,17,15,14,12,10,8,7,0,0,0,0,0,0,0,0,3,4,4,4,4,5,4,5,6,6,5,6,0,0,0,0,0,0,0,0,7,7,6,7,6,7,7,7,8,8,7,7,0,0,0,0,0,0,0,0,5,5,5,5,4,4,4,4,4,5,4,4,0,0,0,0,0,0,0,0,6,5,6,7,7,8,8,9,8,8,7,7,0,0,0,0,0,0,0,0,6,5,6,6,6,6,6,5,5,4,5,5,0,0,0,0,0,0,0,0,4,5,5,4,5,5,5,6,7,7,7,7,0,0,0,0,0,0,0,0,7,8,8,9,8,9,9,8,8,8,7,8,0,0,0,0,0,0,0,0,6,6,5,5,6,6,5,5,6,5,4,5,0,0,0,0,0,0,0,0,4,4,5,5,5,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,4,3,3,3,3,3,4,4,3,3,4,4,0,0,0,0,0,0,0,0,6,7,7,8,8,8,8,8,8,8,9,8,0,0,0,0,0,0,0,0,9,8,8,8,8,8,8,7,7,6,6,5,0,0,0,0,0,0,0,0,4,4,4,3,3,4,3,3,3,3,2,2,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,3,3,2,3,0,0,0,0,0,0,0,0,4,3,3,3,3,2,2,2,2,2,2,1,0,0,0,0,0,0,0,0,2,2,2,2,2,3,2,3,3,3,2,3,0,0,0,0,0,0,0,0,3,3,2,2,3,3,2,2,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,5,4,4,5,5,5,5,6,0,0,0,0,0,0,0,0,11,13,12,12,14,15,15,17,19,19,23,20,0,0,0,0,0,0,0,0,24,22,26,25,25,25,26,25,26,26,25,25,0,0,0,0,0,0,0,0,25,23,25,24,26,23,20,24,24],[0,28,28,28,28,28,28,27,27,27,26,26,26,26,26,26,25,25,25,25,0,0,0,0,0,0,0,0,26,26,25,27,27,27,27,28,27,28,27,28,0,0,0,0,0,0,0,0,24,24,24,22,23,22,20,20,20,19,19,17,0,0,0,0,0,0,0,0,8,8,8,8,8,9,9,9,9,10,10,10,0,0,0,0,0,0,0,0,10,11,12,12,12,12,13,13,13,14,13,14,0,0,0,0,0,0,0,0,16,16,17,15,15,15,15,15,16,16,15,15,0,0,0,0,0,0,0,0,15,14,14,14,14,14,14,14,14,14,13,13,0,0,0,0,0,0,0,0,13,14,14,13,13,12,14,13,14,13,13,14,0,0,0,0,0,0,0,0,13,13,13,14,13,13,14,14,13,13,13,13,0,0,0,0,0,0,0,0,12,12,12,11,11,12,12,13,13,13,11,12,0,0,0,0,0,0,0,0,11,11,12,11,11,12,12,11,11,12,13,10,0,0,0,0,0,0,0,0,11,11,9,11,10,11,11,11,12,12,12,13,0,0,0,0,0,0,0,0,10,12,11,11,9,11,10,11,12,12,11,10,0,0,0,0,0,0,0,0,10,8,8,9,9,8,9,9,10,11,9,10,0,0,0,0,0,0,0,0,10,9,8,8,10,8,8,9,9,9,9,9,0,0,0,0,0,0,0,0,9,9,9,10,9,9,9,10,9,9,9,9,0,0,0,0,0,0,0,0,7,7,7,8,8,6,7,9,7,8,12,13,0,0,0,0,0,0,0,0,15,15,16,18,19,19,19,20,23,20,23,19,0,0,0,0,0,0,0,0,21,23,22,23,25,23,24,25,24,26,26,26,0,0,0,0,0,0,0,0,26,27,26,26,27,25,26,25,26,25,24,26,0,0,0,0,0,0,0,0,23,22,21,20,19,17,16,14,13,11,10,8,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,8,8,7,8,7,0,0,0,0,0,0,0,0,9,8,9,9,9,10,9,9,10,10,8,8,0,0,0,0,0,0,0,0,7,7,8,8,8,8,8,8,7,8,7,7,0,0,0,0,0,0,0,0,9,9,9,10,10,10,11,11,11,11,10,10,0,0,0,0,0,0,0,0,9,8,9,10,8,9,9,8,8,7,7,8,0,0,0,0,0,0,0,0,6,7,7,6,6,6,6,7,8,8,8,8,0,0,0,0,0,0,0,0,10,11,11,11,11,10,11,12,11,11,11,9,0,0,0,0,0,0,0,0,9,9,8,7,8,8,7,7,8,8,6,7,0,0,0,0,0,0,0,0,7,6,8,8,9,7,8,7,7,6,7,7,0,0,0,0,0,0,0,0,5,4,5,5,5,4,5,5,5,5,6,6,0,0,0,0,0,0,0,0,9,9,10,10,11,10,10,11,11,11,12,12,0,0,0,0,0,0,0,0,11,11,11,10,9,10,9,9,9,9,8,8,0,0,0,0,0,0,0,0,6,7,5,4,6,5,4,5,5,4,4,4,0,0,0,0,0,0,0,0,3,2,3,4,3,3,3,4,4,4,4,5,0,0,0,0,0,0,0,0,5,5,5,5,4,4,5,3,3,4,4,2,0,0,0,0,0,0,0,0,2,2,3,3,3,3,4,3,3,4,4,4,0,0,0,0,0,0,0,0,5,4,5,4,4,4,4,3,4,4,4,4,0,0,0,0,0,0,0,0,5,6,6,5,7,8,7,7,8,9,8,9,0,0,0,0,0,0,0,0,13,12,12,13,15,15,15,18,19,20,22,20,0,0,0,0,0,0,0,0,23,20,26,23,23,24,24,24,25,26,23,23,0,0,0,0,0,0,0,0,24,22,21,23,24,20,20,22,22],[0,28,28,28,28,28,28,28,27,27,27,26,27,25,26,27,26,25,25,25,0,0,0,0,0,0,0,0,26,27,25,26,27,27,26,27,26,27,28,27,0,0,0,0,0,0,0,0,25,23,23,24,22,22,22,21,20,20,20,17,0,0,0,0,0,0,0,0,6,7,7,7,7,7,8,8,8,8,8,8,0,0,0,0,0,0,0,0,9,10,10,11,10,11,12,11,11,11,13,12,0,0,0,0,0,0,0,0,14,16,15,14,13,13,14,14,13,14,14,14,0,0,0,0,0,0,0,0,13,13,13,13,12,13,12,13,13,12,13,13,0,0,0,0,0,0,0,0,11,12,12,11,10,9,11,11,12,11,11,12,0,0,0,0,0,0,0,0,10,10,11,12,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,0,10,10,10,9,10,10,10,12,12,11,10,11,0,0,0,0,0,0,0,0,9,10,11,10,9,11,10,10,10,10,11,9,0,0,0,0,0,0,0,0,9,10,9,9,9,9,11,10,10,11,12,12,0,0,0,0,0,0,0,0,9,11,10,10,9,10,10,10,11,10,10,9,0,0,0,0,0,0,0,0,9,8,8,8,9,7,7,8,8,9,8,9,0,0,0,0,0,0,0,0,8,8,7,7,8,8,8,8,9,8,8,7,0,0,0,0,0,0,0,0,7,8,7,8,8,8,7,8,8,7,7,7,0,0,0,0,0,0,0,0,6,6,5,7,6,5,7,8,8,8,11,13,0,0,0,0,0,0,0,0,14,16,16,18,17,18,20,20,21,20,21,21,0,0,0,0,0,0,0,0,18,21,20,21,24,24,25,25,25,26,27,27,0,0,0,0,0,0,0,0,26,27,26,27,25,26,27,24,26,26,25,26,0,0,0,0,0,0,0,0,23,22,22,20,19,18,16,14,13,11,8,7,0,0,0,0,0,0,0,0,6,6,6,5,6,6,6,6,7,7,6,7,0,0,0,0,0,0,0,0,8,7,8,7,8,8,8,7,9,8,7,8,0,0,0,0,0,0,0,0,6,5,6,7,6,6,6,7,5,7,6,6,0,0,0,0,0,0,0,0,8,8,8,10,9,10,11,10,10,10,9,10,0,0,0,0,0,0,0,0,8,8,9,8,8,8,8,7,7,6,7,7,0,0,0,0,0,0,0,0,6,7,7,5,6,6,7,8,8,9,9,8,0,0,0,0,0,0,0,0,10,9,11,10,10,9,10,10,10,9,9,9,0,0,0,0,0,0,0,0,8,8,7,7,7,7,7,6,7,7,6,6,0,0,0,0,0,0,0,0,7,6,7,7,7,7,7,6,6,5,6,6,0,0,0,0,0,0,0,0,5,4,4,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,8,8,8,9,9,9,9,10,9,9,10,11,0,0,0,0,0,0,0,0,10,10,10,10,9,9,9,8,8,7,7,7,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,4,4,5,4,4,0,0,0,0,0,0,0,0,3,3,3,4,3,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,4,4,4,5,3,3,3,4,3,2,3,2,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,3,3,3,3,0,0,0,0,0,0,0,0,4,3,3,3,3,3,2,3,2,3,4,4,0,0,0,0,0,0,0,0,5,5,5,5,6,6,7,7,7,8,8,8,0,0,0,0,0,0,0,0,12,14,12,13,15,16,16,17,18,19,22,22,0,0,0,0,0,0,0,0,25,21,27,24,24,25,25,22,27,27,24,24,0,0,0,0,0,0,0,0,24,24,21,23,25,22,21,25,24],[0,28,27,27,28,27,27,28,26,25,26,25,26,25,25,25,24,25,25,26,0,0,0,0,0,0,0,0,26,25,24,26,27,26,25,27,26,26,26,26,0,0,0,0,0,0,0,0,23,24,23,21,23,21,21,20,20,20,19,17,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,6,7,8,8,7,0,0,0,0,0,0,0,0,8,9,9,10,10,10,11,11,10,11,11,11,0,0,0,0,0,0,0,0,13,13,13,12,13,13,12,12,12,14,13,13,0,0,0,0,0,0,0,0,13,13,12,12,12,12,11,12,13,11,13,11,0,0,0,0,0,0,0,0,10,11,12,11,9,9,11,10,11,11,10,11,0,0,0,0,0,0,0,0,10,9,10,11,10,11,12,11,11,12,11,11,0,0,0,0,0,0,0,0,9,9,10,10,9,10,10,11,12,11,10,11,0,0,0,0,0,0,0,0,9,9,10,9,9,10,10,9,8,10,10,8,0,0,0,0,0,0,0,0,9,9,8,8,9,9,10,10,10,10,11,12,0,0,0,0,0,0,0,0,9,10,11,9,9,9,9,10,10,10,9,8,0,0,0,0,0,0,0,0,8,8,8,8,8,7,7,7,8,9,8,8,0,0,0,0,0,0,0,0,8,7,7,7,8,8,7,8,8,8,7,6,0,0,0,0,0,0,0,0,7,7,8,8,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,5,6,6,6,6,7,7,7,10,11,0,0,0,0,0,0,0,0,14,13,15,17,17,16,19,20,21,19,21,19,0,0,0,0,0,0,0,0,20,21,22,22,23,24,24,24,24,26,26,26,0,0,0,0,0,0,0,0,27,26,25,26,26,25,26,23,25,25,22,25,0,0,0,0,0,0,0,0,21,20,21,20,18,16,15,14,12,10,9,7,0,0,0,0,0,0,0,0,6,6,6,5,5,6,5,6,6,6,6,6,0,0,0,0,0,0,0,0,8,7,8,7,7,8,8,7,8,7,6,7,0,0,0,0,0,0,0,0,6,5,6,6,6,6,6,6,6,7,6,6,0,0,0,0,0,0,0,0,8,7,7,9,9,9,9,9,9,10,9,9,0,0,0,0,0,0,0,0,8,8,9,8,8,8,8,7,7,6,6,7,0,0,0,0,0,0,0,0,6,6,6,5,5,5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0,0,0,0,0,0,0,0,1,1,1,1,1,2,1,1,2,2,2,2,0,0,0,0,0,0,0,0,3,3,2,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,5,6,5,5,6,0,0,0,0,0,0,0,0,11,12,11,13,13,15,14,16,19,20,23,20,0,0,0,0,0,0,0,0,26,20,24,25,26,25,26,25,27,26,25,25,0,0,0,0,0,0,0,0,25,25,25,25,24,23,22,24,23],[0,28,28,28,28,29,28,28,28,27,28,26,28,27,27,27,27,27,26,26,0,0,0,0,0,0,0,0,27,27,26,27,27,27,27,27,27,27,28,27,0,0,0,0,0,0,0,0,25,24,24,24,23,22,22,21,20,20,21,19,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,6,7,7,6,0,0,0,0,0,0,0,0,7,7,7,8,7,8,9,8,8,8,9,9,0,0,0,0,0,0,0,0,11,12,12,11,10,9,10,11,10,11,10,11,0,0,0,0,0,0,0,0,9,9,10,9,9,10,9,10,9,9,9,10,0,0,0,0,0,0,0,0,8,9,9,8,7,8,8,8,8,9,8,9,0,0,0,0,0,0,0,0,8,7,8,8,8,8,8,8,8,9,8,8,0,0,0,0,0,0,0,0,8,7,7,7,7,8,8,9,9,8,8,8,0,0,0,0,0,0,0,0,7,8,8,7,7,8,8,7,7,8,8,7,0,0,0,0,0,0,0,0,7,7,7,7,8,8,8,8,8,8,9,9,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,8,8,8,6,0,0,0,0,0,0,0,0,6,6,6,6,6,5,6,6,6,6,6,7,0,0,0,0,0,0,0,0,6,6,5,6,6,6,6,6,7,6,5,5,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,5,5,5,0,0,0,0,0,0,0,0,5,4,5,4,5,5,5,7,7,8,11,12,0,0,0,0,0,0,0,0,15,15,16,18,18,19,19,21,22,21,23,21,0,0,0,0,0,0,0,0,20,23,21,22,26,25,26,24,25,26,28,27,0,0,0,0,0,0,0,0,26,27,26,27,26,25,26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0,0,0,0,0,0,0,5,5,6,6,6,6,6,5,6,5,5,5,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,5,4,4,4,4,0,0,0,0,0,0,0,0,6,7,7,7,8,8,8,8,8,8,8,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,7,7,7,6,6,5,0,0,0,0,0,0,0,0,5,5,5,4,4,4,4,4,4,4,3,4,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,3,3,4,3,3,3,3,3,2,2,2,0,0,0,0,0,0,0,0,1,0,1,1,1,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,3,3,2,2,2,3,2,3,3,3,4,4,0,0,0,0,0,0,0,0,4,5,5,5,6,6,6,6,6,7,7,7,0,0,0,0,0,0,0,0,11,13,12,12,14,15,14,16,17,17,20,20,0,0,0,0,0,0,0,0,22,20,24,22,22,23,24,21,24,24,22,23,0,0,0,0,0,0,0,0,21,21,22,22,23,21,20,23,23],[0,28,27,27,28,28,28,27,27,26,27,26,27,25,26,26,26,26,26,26,0,0,0,0,0,0,0,0,26,26,25,27,27,27,26,27,26,27,27,27,0,0,0,0,0,0,0,0,24,24,24,23,23,23,22,21,21,21,20,19,0,0,0,0,0,0,0,0,5,4,5,5,5,5,6,5,6,7,7,6,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,9,8,9,9,9,0,0,0,0,0,0,0,0,12,12,11,11,10,10,10,10,10,11,11,11,0,0,0,0,0,0,0,0,10,10,11,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,8,9,9,8,8,8,9,8,8,9,8,9,0,0,0,0,0,0,0,0,8,8,9,9,9,9,9,9,9,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,8,9,9,9,10,9,8,10,0,0,0,0,0,0,0,0,8,8,8,8,8,9,8,8,8,8,9,8,0,0,0,0,0,0,0,0,7,8,7,7,7,8,8,9,8,9,9,9,0,0,0,0,0,0,0,0,8,9,8,8,8,8,8,8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,5,6,5,5,6,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,12,13,12,12,14,16,16,16,19,17,20,19,0,0,0,0,0,0,0,0,23,20,24,22,23,23,24,22,24,24,23,24,0,0,0,0,0,0,0,0,22,22,23,24,22,22,20,23,22],[0,29,28,28,29,29,29,29,28,27,28,28,28,27,28,28,28,28,27,27,0,0,0,0,0,0,0,0,28,28,25,28,29,29,28,28,28,29,28,28,0,0,0,0,0,0,0,0,25,24,25,24,23,22,22,22,21,20,20,19,0,0,0,0,0,0,0,0,4,4,4,4,4,4,5,4,5,5,5,5,0,0,0,0,0,0,0,0,6,6,7,7,7,7,7,7,7,7,8,8,0,0,0,0,0,0,0,0,10,10,10,9,8,8,8,9,9,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,9,8,8,8,9,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,8,7,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,6,7,7,7,7,7,8,8,8,7,8,0,0,0,0,0,0,0,0,7,7,7,6,7,7,7,6,7,6,6,6,0,0,0,0,0,0,0,0,6,6,5,6,6,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,7,7,7,7,6,0,0,0,0,0,0,0,0,6,5,5,6,6,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,4,5,5,5,5,5,5,4,4,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,3,4,6,7,7,9,10,0,0,0,0,0,0,0,0,13,15,16,17,18,18,19,20,22,22,22,21,0,0,0,0,0,0,0,0,20,21,22,23,27,24,25,25,26,27,27,27,0,0,0,0,0,0,0,0,27,27,27,26,26,25,26,25,25,26,25,26,0,0,0,0,0,0,0,0,22,20,20,20,19,16,16,15,13,12,8,5,0,0,0,0,0,0,0,0,4,4,4,4,4,5,5,5,5,5,6,5,0,0,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22,23,24,23,23,0,0,0,0,0,0,0,0,22,21,23,23,24,22,21,23,23],[0,29,29,28,29,29,28,28,28,27,28,27,28,27,27,27,27,28,27,28,0,0,0,0,0,0,0,0,28,28,26,28,29,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,25,24,24,23,23,23,22,22,21,21,20,18,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,4,4,4,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,6,6,6,7,7,0,0,0,0,0,0,0,0,9,9,9,8,7,7,7,7,8,7,7,8,0,0,0,0,0,0,0,0,7,7,7,7,6,7,8,8,8,7,7,7,0,0,0,0,0,0,0,0,6,6,6,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,6,5,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,6,5,6,5,6,6,6,7,7,7,6,7,0,0,0,0,0,0,0,0,6,6,6,5,6,6,6,5,5,6,5,5,0,0,0,0,0,0,0,0,5,5,4,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,6,6,6,5,0,0,0,0,0,0,0,0,5,4,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,3,4,4,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,3,4,4,3,4,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,4,5,7,8,7,9,10,0,0,0,0,0,0,0,0,14,15,15,17,17,18,19,21,21,21,23,20,0,0,0,0,0,0,0,0,20,23,24,24,27,24,26,26,26,26,27,27,0,0,0,0,0,0,0,0,27,26,27,26,27,26,25,25,25,26,24,26,0,0,0,0,0,0,0,0,22,20,20,20,18,16,15,14,12,10,7,5,0,0,0,0,0,0,0,0,3,3,3,3,3,4,4,3,4,4,4,4,0,0,0,0,0,0,0,0,6,6,5,5,4,5,6,5,6,6,5,5,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,5,5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,0,0,0,0,2,2,2,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,4,3,3,4,4,3,4,4,0,0,0,0,0,0,0,0,9,11,10,10,11,13,13,14,16,16,19,19,0,0,0,0,0,0,0,0,22,20,24,24,21,24,23,23,24,24,23,22,0,0,0,0,0,0,0,0,24,21,22,23,24,21,20,24,22],[0,28,28,28,28,29,28,28,28,27,27,27,27,27,26,27,27,27,26,27,0,0,0,0,0,0,0,0,27,27,26,27,28,28,26,28,27,27,27,27,0,0,0,0,0,0,0,0,24,25,24,23,23,22,21,22,21,21,19,19,0,0,0,0,0,0,0,0,3,3,3,3,3,3,4,4,4,5,5,4,0,0,0,0,0,0,0,0,6,6,6,7,6,6,7,7,7,7,8,7,0,0,0,0,0,0,0,0,9,10,9,9,8,8,7,8,8,7,7,8,0,0,0,0,0,0,0,0,7,8,8,8,7,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,6,7,7,6,6,6,6,6,6,7,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,7,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,7,7,8,7,7,7,0,0,0,0,0,0,0,0,6,6,7,6,6,6,7,6,6,6,6,5,0,0,0,0,0,0,0,0,5,5,4,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,6,6,7,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,4,4,4,4,5,4,4,4,4,4,4,3,0,0,0,0,0,0,0,0,3,4,4,3,3,4,4,4,3,3,3,3,0,0,0,0,0,0,0,0,3,3,2,3,3,5,4,7,6,8,8,9,0,0,0,0,0,0,0,0,14,14,16,17,17,18,19,20,22,19,22,20,0,0,0,0,0,0,0,0,21,23,23,24,27,25,26,26,27,27,27,28,0,0,0,0,0,0,0,0,27,27,24,28,27,26,26,22,26,24,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4,4,4,4,4,4,4,4,5,0,0,0,0,0,0,0,0,9,11,10,10,11,13,13,15,15,16,19,18,0,0,0,0,0,0,0,0,22,21,23,23,24,23,23,23,25,24,23,25,0,0,0,0,0,0,0,0,23,21,23,23,25,21,19,23,22],[0,28,28,28,28,28,28,28,28,27,27,27,27,26,26,26,27,28,27,27,0,0,0,0,0,0,0,0,27,28,27,27,28,28,27,28,28,27,28,27,0,0,0,0,0,0,0,0,24,24,24,23,22,21,21,21,20,20,20,19,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,5,5,5,6,6,6,6,6,6,6,7,6,0,0,0,0,0,0,0,0,8,9,9,8,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,6,7,7,6,7,7,8,7,7,7,7,0,0,0,0,0,0,0,0,5,6,6,5,5,5,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,6,5,5,6,6,6,0,0,0,0,0,0,0,0,5,5,6,5,5,6,6,7,7,7,6,7,0,0,0,0,0,0,0,0,6,6,6,5,5,6,5,5,5,5,5,4,0,0,0,0,0,0,0,0,4,4,4,4,5,5,5,6,5,5,6,6,0,0,0,0,0,0,0,0,4,4,5,4,4,5,5,6,6,6,5,5,0,0,0,0,0,0,0,0,4,4,4,5,4,4,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,4,3,3,4,4,3,4,4,3,3,3,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,3,3,4,6,7,8,9,10,0,0,0,0,0,0,0,0,14,13,15,17,17,18,19,20,20,20,21,20,0,0,0,0,0,0,0,0,22,22,26,25,27,26,25,26,26,26,27,27,0,0,0,0,0,0,0,0,26,27,26,26,26,26,25,25,25,26,24,25,0,0,0,0,0,0,0,0,20,19,19,17,16,14,13,12,9,7,6,4,0,0,0,0,0,0,0,0,2,3,3,3,3,3,3,3,3,4,4,4,0,0,0,0,0,0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6,6,5,6,5,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,6,6,6,6,5,4,4,4,0,0,0,0,0,0,0,0,2,3,3,2,2,3,3,2,3,3,3,2,0,0,0,0,0,0,0,0,3,3,4,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,3,3,3,2,2,2,2,2,2,1,2,0,0,0,0,0,0,0,0,2,2,2,2,2,3,3,3,4,4,4,4,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,5,0,0,0,0,0,0,0,0,10,11,10,11,11,12,13,15,17,16,19,19,0,0,0,0,0,0,0,0,22,21,25,25,24,23,24,24,25,25,23,24,0,0,0,0,0,0,0,0,24,23,23,24,26,21,21,24,22],[0,28,28,28,29,29,28,28,28,27,27,27,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,28,27,28,28,29,27,28,27,28,28,28,0,0,0,0,0,0,0,0,26,24,25,24,24,22,23,23,21,21,20,18,0,0,0,0,0,0,0,0,5,4,4,4,4,4,5,5,5,6,6,5,0,0,0,0,0,0,0,0,8,8,8,9,9,9,9,9,9,9,10,10,0,0,0,0,0,0,0,0,12,13,12,11,11,11,9,10,11,11,10,10,0,0,0,0,0,0,0,0,10,10,10,10,10,10,11,11,11,11,11,11,0,0,0,0,0,0,0,0,9,9,9,8,8,8,9,9,9,9,8,9,0,0,0,0,0,0,0,0,8,7,8,8,8,8,8,8,8,8,9,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,9,10,10,10,9,10,0,0,0,0,0,0,0,0,9,9,9,9,8,9,9,8,8,8,8,7,0,0,0,0,0,0,0,0,7,7,6,6,6,7,7,8,8,8,8,8,0,0,0,0,0,0,0,0,6,7,7,7,7,7,7,8,8,8,7,7,0,0,0,0,0,0,0,0,7,6,7,7,7,7,8,8,8,8,8,8,0,0,0,0,0,0,0,0,6,6,5,5,6,5,5,6,6,5,5,4,0,0,0,0,0,0,0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,23,0,0,0,0,0,0,0,0,23,22,21,22,23,21,20,22,21],[0,29,29,29,29,29,29,29,29,29,29,28,29,28,28,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,28,29,29,29,29,28,0,0,0,0,0,0,0,0,27,26,24,25,26,23,23,23,22,21,21,19,0,0,0,0,0,0,0,0,6,6,6,5,6,6,7,7,8,8,8,8,0,0,0,0,0,0,0,0,10,10,11,11,11,11,12,11,10,11,13,12,0,0,0,0,0,0,0,0,13,15,14,14,12,12,12,13,12,13,12,13,0,0,0,0,0,0,0,0,11,11,12,12,10,12,12,13,12,12,12,12,0,0,0,0,0,0,0,0,9,11,11,9,10,10,10,11,11,12,11,12,0,0,0,0,0,0,0,0,9,9,9,10,9,10,10,10,9,10,10,10,0,0,0,0,0,0,0,0,9,9,10,9,9,10,10,12,12,12,11,12,0,0,0,0,0,0,0,0,11,11,12,11,9,11,10,9,10,10,9,8,0,0,0,0,0,0,0,0,8,8,7,7,8,8,9,9,9,9,10,10,0,0,0,0,0,0,0,0,8,8,8,7,8,8,8,9,10,10,9,8,0,0,0,0,0,0,0,0,8,7,8,8,8,7,8,9,9,9,8,9,0,0,0,0,0,0,0,0,7,7,8,6,7,7,7,7,7,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,6,5,5,5,5,4,5,4,0,0,0,0,0,0,0,0,5,5,4,5,5,7,9,11,11,12,15,16,0,0,0,0,0,0,0,0,18,18,20,22,22,21,23,23,24,22,24,21,0,0,0,0,0,0,0,0,21,25,25,26,27,27,26,27,27,27,28,28,0,0,0,0,0,0,0,0,28,28,28,27,27,26,27,25,27,27,25,26,0,0,0,0,0,0,0,0,24,23,23,21,20,18,17,15,14,11,9,6,0,0,0,0,0,0,0,0,2,4,4,3,3,4,4,4,4,5,5,5,0,0,0,0,0,0,0,0,7,6,6,6,6,5,6,5,7,7,5,5,0,0,0,0,0,0,0,0,3,3,3,3,2,3,2,3,3,4,4,4,0,0,0,0,0,0,0,0,6,6,7,8,7,8,9,9,8,8,7,8,0,0,0,0,0,0,0,0,7,7,8,7,7,8,7,7,7,7,6,7,0,0,0,0,0,0,0,0,7,7,7,7,7,7,8,8,10,10,10,10,0,0,0,0,0,0,0,0,11,11,12,12,12,11,12,12,12,11,11,11,0,0,0,0,0,0,0,0,8,7,7,7,7,6,7,6,7,6,6,6,0,0,0,0,0,0,0,0,6,4,5,5,5,5,5,6,5,5,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,5,5,6,6,5,6,6,0,0,0,0,0,0,0,0,8,8,9,10,10,10,9,10,9,10,11,11,0,0,0,0,0,0,0,0,11,12,11,10,11,11,9,9,9,7,7,6,0,0,0,0,0,0,0,0,5,5,5,5,4,5,5,4,4,5,4,3,0,0,0,0,0,0,0,0,5,5,5,6,5,5,5,5,5,5,4,5,0,0,0,0,0,0,0,0,4,4,3,3,4,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,4,4,5,4,4,4,3,3,3,3,2,2,0,0,0,0,0,0,0,0,2,3,3,3,4,4,4,5,5,6,5,6,0,0,0,0,0,0,0,0,6,6,5,6,6,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,11,13,12,13,13,14,14,16,18,18,21,21,0,0,0,0,0,0,0,0,23,20,24,24,24,24,24,23,25,25,23,24,0,0,0,0,0,0,0,0,24,22,23,25,25,22,21,24,20],[0,29,29,29,29,29,29,29,29,28,27,27,28,27,28,27,28,26,27,28,0,0,0,0,0,0,0,0,28,28,26,28,28,29,27,28,27,28,28,28,0,0,0,0,0,0,0,0,27,26,25,25,24,24,23,23,21,22,20,18,0,0,0,0,0,0,0,0,8,8,7,7,7,7,9,9,10,10,11,11,0,0,0,0,0,0,0,0,14,14,15,15,16,15,14,15,16,16,16,17,0,0,0,0,0,0,0,0,19,17,18,17,16,17,16,17,16,16,14,16,0,0,0,0,0,0,0,0,16,15,15,17,16,15,15,15,16,17,16,17,0,0,0,0,0,0,0,0,14,15,16,13,14,12,14,15,15,15,15,14,0,0,0,0,0,0,0,0,13,11,13,14,13,12,15,15,12,13,14,14,0,0,0,0,0,0,0,0,13,13,14,15,13,13,14,14,16,16,15,15,0,0,0,0,0,0,0,0,15,14,15,15,14,15,14,14,14,15,14,11,0,0,0,0,0,0,0,0,12,12,9,10,10,11,11,12,12,12,12,13,0,0,0,0,0,0,0,0,10,10,11,10,9,10,11,11,12,12,11,11,0,0,0,0,0,0,0,0,12,10,11,13,12,10,11,12,12,14,13,15,0,0,0,0,0,0,0,0,10,10,8,9,10,8,8,9,9,8,7,7,0,0,0,0,0,0,0,0,6,6,6,5,6,6,6,6,5,6,6,5,0,0,0,0,0,0,0,0,5,6,6,6,6,8,9,12,12,13,15,17,0,0,0,0,0,0,0,0,17,17,20,21,19,21,23,22,24,21,24,21,0,0,0,0,0,0,0,0,22,23,24,24,26,25,26,26,26,27,27,28,0,0,0,0,0,0,0,0,26,27,26,27,26,26,27,24,26,27,26,27,0,0,0,0,0,0,0,0,24,24,22,22,21,20,17,17,14,12,10,7,0,0,0,0,0,0,0,0,4,4,4,3,3,5,4,4,5,6,5,5,0,0,0,0,0,0,0,0,7,8,8,7,7,6,7,7,8,8,6,5,0,0,0,0,0,0,0,0,3,3,4,4,3,3,4,4,4,5,5,5,0,0,0,0,0,0,0,0,8,8,9,10,10,11,11,12,11,10,9,9,0,0,0,0,0,0,0,0,9,8,9,10,9,10,9,9,9,9,9,9,0,0,0,0,0,0,0,0,9,10,9,10,9,10,10,11,12,11,11,11,0,0,0,0,0,0,0,0,14,14,15,15,15,15,15,15,15,15,15,14,0,0,0,0,0,0,0,0,11,11,10,10,10,10,9,9,9,8,7,7,0,0,0,0,0,0,0,0,7,5,6,6,6,6,7,7,6,7,7,7,0,0,0,0,0,0,0,0,7,7,8,8,8,7,8,9,8,8,9,9,0,0,0,0,0,0,0,0,11,11,13,12,14,14,12,14,13,13,15,15,0,0,0,0,0,0,0,0,15,14,13,14,13,12,12,11,11,9,9,10,0,0,0,0,0,0,0,0,6,6,7,5,5,6,6,5,5,6,5,4,0,0,0,0,0,0,0,0,6,6,7,8,7,7,6,8,8,6,6,8,0,0,0,0,0,0,0,0,6,5,4,4,5,5,3,4,5,4,4,5,0,0,0,0,0,0,0,0,5,6,7,6,5,6,5,4,5,5,3,3,0,0,0,0,0,0,0,0,2,3,3,3,4,4,6,6,7,8,7,8,0,0,0,0,0,0,0,0,8,8,7,7,8,8,8,8,8,8,8,10,0,0,0,0,0,0,0,0,14,15,15,15,15,17,17,19,18,19,21,23,0,0,0,0,0,0,0,0,23,23,26,25,24,25,25,24,24,26,24,24,0,0,0,0,0,0,0,0,24,22,22,22,24,21,20,23,21],[0,29,29,29,29,29,29,29,28,28,27,27,28,27,28,27,28,27,28,28,0,0,0,0,0,0,0,0,28,28,26,28,28,29,28,29,28,28,29,29,0,0,0,0,0,0,0,0,26,26,25,25,25,24,23,22,22,21,19,20,0,0,0,0,0,0,0,0,11,11,11,12,12,12,12,14,13,15,14,15,0,0,0,0,0,0,0,0,17,17,17,17,18,20,17,17,19,18,19,19,0,0,0,0,0,0,0,0,20,19,19,19,19,21,20,20,19,19,18,19,0,0,0,0,0,0,0,0,19,18,17,19,17,17,17,17,18,19,18,18,0,0,0,0,0,0,0,0,18,18,18,18,18,17,17,18,17,17,18,16,0,0,0,0,0,0,0,0,16,16,17,17,16,18,17,17,17,17,17,17,0,0,0,0,0,0,0,0,16,17,16,16,15,17,17,16,17,18,16,17,0,0,0,0,0,0,0,0,17,17,17,18,16,19,16,16,18,17,17,15,0,0,0,0,0,0,0,0,16,16,13,15,13,15,13,15,15,15,15,15,0,0,0,0,0,0,0,0,14,15,14,14,13,15,15,14,15,15,15,14,0,0,0,0,0,0,0,0,15,13,14,15,15,13,14,14,15,16,15,16,0,0,0,0,0,0,0,0,14,13,12,13,14,11,12,14,13,11,13,11,0,0,0,0,0,0,0,0,8,9,9,8,8,9,9,8,7,6,7,6,0,0,0,0,0,0,0,0,8,8,8,9,10,10,12,13,13,14,15,17,0,0,0,0,0,0,0,0,17,16,20,21,20,20,23,23,23,21,23,21,0,0,0,0,0,0,0,0,21,23,22,22,26,25,26,25,26,26,27,27,0,0,0,0,0,0,0,0,26,27,26,27,26,25,26,25,26,26,25,27,0,0,0,0,0,0,0,0,23,24,22,21,21,18,17,16,15,14,9,8,0,0,0,0,0,0,0,0,5,5,6,6,4,6,5,5,5,6,7,6,0,0,0,0,0,0,0,0,9,8,9,8,7,7,8,7,10,11,6,7,0,0,0,0,0,0,0,0,5,5,5,4,4,5,5,6,7,8,8,7,0,0,0,0,0,0,0,0,10,10,9,14,12,14,14,15,14,13,13,12,0,0,0,0,0,0,0,0,12,13,14,14,12,12,13,13,12,12,12,13,0,0,0,0,0,0,0,0,11,13,12,10,12,12,12,13,13,13,13,14,0,0,0,0,0,0,0,0,16,16,16,16,17,16,17,18,16,17,16,15,0,0,0,0,0,0,0,0,14,14,13,13,14,13,12,13,12,12,11,11,0,0,0,0,0,0,0,0,10,9,10,10,9,9,9,11,10,9,10,11,0,0,0,0,0,0,0,0,10,8,9,10,10,8,10,10,9,10,10,11,0,0,0,0,0,0,0,0,14,14,15,15,16,16,16,16,17,17,17,18,0,0,0,0,0,0,0,0,16,16,15,15,15,14,14,14,13,13,12,13,0,0,0,0,0,0,0,0,10,11,9,8,10,10,8,8,10,9,7,6,0,0,0,0,0,0,0,0,7,7,8,9,8,7,7,8,9,7,7,9,0,0,0,0,0,0,0,0,10,8,6,8,7,7,5,6,6,5,5,6,0,0,0,0,0,0,0,0,6,6,8,7,8,7,6,6,7,6,5,5,0,0,0,0,0,0,0,0,1,2,3,4,4,4,5,5,7,7,6,8,0,0,0,0,0,0,0,0,9,8,8,8,9,9,9,10,10,11,11,12,0,0,0,0,0,0,0,0,16,15,16,16,16,17,19,19,21,19,22,24,0,0,0,0,0,0,0,0,24,22,25,25,25,25,26,25,25,26,24,24,0,0,0,0,0,0,0,0,24,22,23,24,25,22,22,24,23],[0,29,29,29,29,29,29,29,29,29,28,28,29,27,28,27,29,28,27,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,28,29,29,28,0,0,0,0,0,0,0,0,27,27,25,25,26,24,23,24,23,22,22,21,0,0,0,0,0,0,0,0,12,13,12,10,12,12,12,14,14,14,15,14,0,0,0,0,0,0,0,0,18,17,19,20,18,19,19,18,18,19,21,19,0,0,0,0,0,0,0,0,22,20,21,21,19,19,20,21,20,21,20,20,0,0,0,0,0,0,0,0,18,18,19,20,17,18,19,18,19,19,19,19,0,0,0,0,0,0,0,0,17,18,19,16,17,17,17,19,19,18,19,18,0,0,0,0,0,0,0,0,16,17,18,18,16,18,19,17,15,18,18,18,0,0,0,0,0,0,0,0,15,16,17,16,16,18,17,17,18,17,16,18,0,0,0,0,0,0,0,0,17,17,18,18,16,18,18,15,17,18,16,15,0,0,0,0,0,0,0,0,15,16,14,14,15,14,16,16,16,16,16,17,0,0,0,0,0,0,0,0,14,15,16,13,13,16,15,14,15,15,15,15,0,0,0,0,0,0,0,0,15,14,15,16,15,15,16,16,16,16,15,16,0,0,0,0,0,0,0,0,14,13,13,13,13,13,12,13,12,12,12,12,0,0,0,0,0,0,0,0,9,10,10,9,10,10,9,9,8,9,8,8,0,0,0,0,0,0,0,0,9,9,10,10,9,11,12,13,13,14,15,16,0,0,0,0,0,0,0,0,20,18,21,22,22,22,23,23,24,22,25,23,0,0,0,0,0,0,0,0,22,23,24,25,26,26,26,26,27,27,27,27,0,0,0,0,0,0,0,0,26,27,27,27,26,26,26,26,27,27,26,27,0,0,0,0,0,0,0,0,25,24,24,23,22,21,19,17,16,15,12,11,0,0,0,0,0,0,0,0,6,7,6,5,5,7,7,6,6,8,8,7,0,0,0,0,0,0,0,0,11,9,9,10,8,8,9,7,11,11,8,8,0,0,0,0,0,0,0,0,5,5,6,6,6,6,5,7,7,9,8,7,0,0,0,0,0,0,0,0,11,11,11,12,12,13,13,14,14,13,13,12,0,0,0,0,0,0,0,0,13,12,14,14,14,13,14,12,12,12,12,11,0,0,0,0,0,0,0,0,12,13,12,12,12,12,13,13,13,15,14,15,0,0,0,0,0,0,0,0,17,17,18,19,17,17,17,17,17,17,17,16,0,0,0,0,0,0,0,0,15,15,14,14,13,13,13,13,12,12,10,11,0,0,0,0,0,0,0,0,10,8,9,10,11,10,10,10,10,9,10,9,0,0,0,0,0,0,0,0,9,8,9,10,9,9,9,12,9,9,11,10,0,0,0,0,0,0,0,0,14,14,17,17,18,17,16,17,16,18,18,19,0,0,0,0,0,0,0,0,17,18,15,15,16,15,15,14,14,13,13,14,0,0,0,0,0,0,0,0,9,9,8,7,8,7,8,7,7,8,6,6,0,0,0,0,0,0,0,0,6,6,8,9,7,7,6,7,7,6,6,8,0,0,0,0,0,0,0,0,7,8,7,6,6,6,5,5,5,5,5,5,0,0,0,0,0,0,0,0,4,5,6,5,6,6,5,6,6,6,5,7,0,0,0,0,0,0,0,0,0,1,2,3,3,4,5,5,6,7,7,8,0,0,0,0,0,0,0,0,9,9,8,9,10,10,10,11,10,12,12,13,0,0,0,0,0,0,0,0,15,16,16,16,18,17,19,20,20,20,23,23,0,0,0,0,0,0,0,0,25,23,27,26,25,27,27,26,26,28,26,25,0,0,0,0,0,0,0,0,26,23,23,25,26,23,22,25,23],[0,28,28,28,28,28,29,28,28,28,27,26,28,26,27,26,28,27,27,27,0,0,0,0,0,0,0,0,27,28,26,28,28,28,27,28,27,28,28,27,0,0,0,0,0,0,0,0,25,25,24,24,24,23,23,22,21,21,20,19,0,0,0,0,0,0,0,0,11,10,11,9,11,11,12,13,13,13,13,13,0,0,0,0,0,0,0,0,14,16,16,15,16,17,17,17,17,17,19,18,0,0,0,0,0,0,0,0,19,19,20,19,17,19,18,19,18,19,18,18,0,0,0,0,0,0,0,0,18,18,17,19,17,16,17,16,18,17,16,17,0,0,0,0,0,0,0,0,16,16,17,17,16,16,15,18,17,17,18,16,0,0,0,0,0,0,0,0,16,17,16,16,15,17,16,17,15,16,16,15,0,0,0,0,0,0,0,0,15,16,15,15,15,16,16,17,16,17,16,17,0,0,0,0,0,0,0,0,16,16,16,17,15,16,16,15,17,16,16,15,0,0,0,0,0,0,0,0,14,14,13,14,13,14,14,14,15,14,15,14,0,0,0,0,0,0,0,0,13,15,14,13,14,15,14,13,14,14,14,14,0,0,0,0,0,0,0,0,14,13,13,14,14,14,14,15,14,14,15,14,0,0,0,0,0,0,0,0,13,12,12,11,12,11,12,12,12,11,12,12,0,0,0,0,0,0,0,0,8,9,9,7,8,9,7,7,7,7,8,7,0,0,0,0,0,0,0,0,9,8,8,9,8,8,11,11,10,12,14,14,0,0,0,0,0,0,0,0,18,16,19,21,20,20,22,23,24,22,24,21,0,0,0,0,0,0,0,0,20,23,21,22,25,23,25,25,26,25,26,27,0,0,0,0,0,0,0,0,25,27,25,26,27,25,26,23,26,26,24,26,0,0,0,0,0,0,0,0,23,23,22,21,20,18,17,15,14,13,11,9,0,0,0,0,0,0,0,0,5,5,5,4,5,6,5,5,6,6,6,6,0,0,0,0,0,0,0,0,9,8,8,8,6,7,9,7,12,11,7,8,0,0,0,0,0,0,0,0,6,4,5,6,5,5,5,6,6,7,6,6,0,0,0,0,0,0,0,0,9,10,11,11,12,13,12,13,13,13,12,12,0,0,0,0,0,0,0,0,12,11,12,13,12,11,12,11,11,11,11,11,0,0,0,0,0,0,0,0,10,11,11,10,10,11,11,13,12,13,13,14,0,0,0,0,0,0,0,0,16,15,16,16,16,15,15,16,16,15,15,15,0,0,0,0,0,0,0,0,13,13,12,12,13,13,11,11,11,11,10,10,0,0,0,0,0,0,0,0,10,7,8,8,9,8,9,10,9,8,10,10,0,0,0,0,0,0,0,0,9,8,8,9,8,7,9,10,8,8,10,9,0,0,0,0,0,0,0,0,13,13,14,15,15,15,16,15,15,15,16,16,0,0,0,0,0,0,0,0,16,16,14,14,15,15,14,13,13,12,12,12,0,0,0,0,0,0,0,0,8,9,9,7,7,8,7,6,7,7,6,5,0,0,0,0,0,0,0,0,7,6,7,8,7,7,6,6,6,6,5,7,0,0,0,0,0,0,0,0,7,6,6,6,6,4,4,4,4,3,4,4,0,0,0,0,0,0,0,0,4,5,6,5,6,5,5,4,5,6,4,5,0,0,0,0,0,0,0,0,1,0,1,3,3,4,4,5,7,7,7,9,0,0,0,0,0,0,0,0,9,9,8,8,9,10,9,10,10,10,11,12,0,0,0,0,0,0,0,0,16,15,17,16,16,17,18,20,20,19,22,22,0,0,0,0,0,0,0,0,25,22,26,24,25,25,25,25,26,26,25,25,0,0,0,0,0,0,0,0,24,22,21,23,24,21,22,24,22],[0,29,29,29,29,29,29,29,29,28,29,28,29,27,28,27,28,28,27,28,0,0,0,0,0,0,0,0,28,28,27,29,29,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,26,25,25,24,24,24,22,23,21,20,20,19,0,0,0,0,0,0,0,0,6,7,6,6,7,7,8,9,9,11,12,11,0,0,0,0,0,0,0,0,14,13,14,15,14,14,16,16,15,15,18,17,0,0,0,0,0,0,0,0,18,17,18,17,17,17,16,17,17,18,16,17,0,0,0,0,0,0,0,0,16,16,16,17,14,15,16,16,16,17,17,17,0,0,0,0,0,0,0,0,14,15,16,13,13,14,16,14,16,15,14,15,0,0,0,0,0,0,0,0,14,14,15,16,14,14,16,14,13,14,15,15,0,0,0,0,0,0,0,0,13,14,15,13,13,15,15,16,17,15,14,16,0,0,0,0,0,0,0,0,14,13,16,15,13,16,15,13,14,15,13,13,0,0,0,0,0,0,0,0,12,13,10,10,11,12,12,14,13,14,13,14,0,0,0,0,0,0,0,0,11,13,12,11,10,13,13,12,13,14,13,12,0,0,0,0,0,0,0,0,12,11,11,12,11,11,11,13,14,13,12,12,0,0,0,0,0,0,0,0,11,10,9,8,10,10,9,10,10,9,8,8,0,0,0,0,0,0,0,0,7,7,7,7,7,8,7,7,7,7,7,6,0,0,0,0,0,0,0,0,6,6,6,6,6,7,7,8,10,9,12,14,0,0,0,0,0,0,0,0,15,16,16,19,19,19,20,21,22,20,21,20,0,0,0,0,0,0,0,0,21,22,23,24,26,23,25,24,26,26,27,27,0,0,0,0,0,0,0,0,26,27,25,27,26,26,25,24,25,25,25,26,0,0,0,0,0,0,0,0,23,21,22,20,20,17,17,14,14,13,9,7,0,0,0,0,0,0,0,0,4,5,4,4,5,5,4,4,5,6,5,5,0,0,0,0,0,0,0,0,8,8,8,7,6,7,8,7,7,8,7,7,0,0,0,0,0,0,0,0,5,4,5,6,4,5,5,5,5,6,7,6,0,0,0,0,0,0,0,0,8,8,8,10,11,12,11,11,12,12,9,11,0,0,0,0,0,0,0,0,9,9,10,11,9,9,11,9,9,8,9,8,0,0,0,0,0,0,0,0,7,9,8,8,8,7,8,9,11,10,11,11,0,0,0,0,0,0,0,0,13,15,14,14,14,14,15,15,14,14,13,13,0,0,0,0,0,0,0,0,10,10,8,8,9,9,8,7,8,8,7,7,0,0,0,0,0,0,0,0,7,7,6,7,7,7,7,7,7,6,7,7,0,0,0,0,0,0,0,0,6,5,5,6,6,7,5,6,5,5,6,6,0,0,0,0,0,0,0,0,10,10,13,12,14,14,13,13,14,14,14,14,0,0,0,0,0,0,0,0,13,14,13,13,12,12,11,10,10,9,8,8,0,0,0,0,0,0,0,0,5,5,5,6,6,6,6,4,5,5,4,3,0,0,0,0,0,0,0,0,6,4,5,5,4,5,4,4,5,5,4,5,0,0,0,0,0,0,0,0,5,4,4,5,4,3,3,4,3,2,3,3,0,0,0,0,0,0,0,0,2,3,4,3,3,3,3,2,3,3,2,2,0,0,0,0,0,0,0,0,1,1,0,1,2,2,3,4,5,5,5,6,0,0,0,0,0,0,0,0,7,7,8,7,8,7,8,8,8,7,8,10,0,0,0,0,0,0,0,0,12,16,14,13,16,17,16,18,20,20,22,22,0,0,0,0,0,0,0,0,26,22,25,24,25,24,24,25,27,25,25,25,0,0,0,0,0,0,0,0,24,22,22,25,24,21,22,24,22],[0,29,28,28,29,29,28,28,28,28,27,26,28,27,27,26,28,27,26,27,0,0,0,0,0,0,0,0,28,28,27,28,29,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,26,26,25,25,23,22,23,22,21,21,20,18,0,0,0,0,0,0,0,0,8,8,8,7,8,7,8,9,10,11,12,10,0,0,0,0,0,0,0,0,13,13,13,14,14,14,15,16,14,14,17,17,0,0,0,0,0,0,0,0,18,17,18,18,17,15,16,17,16,18,16,17,0,0,0,0,0,0,0,0,17,15,16,16,15,14,16,15,17,16,17,17,0,0,0,0,0,0,0,0,13,15,16,13,13,13,14,14,15,15,14,15,0,0,0,0,0,0,0,0,13,12,14,14,13,13,16,14,12,14,15,14,0,0,0,0,0,0,0,0,13,13,15,13,13,14,14,14,16,15,15,14,0,0,0,0,0,0,0,0,14,14,15,15,12,14,14,14,12,14,14,12,0,0,0,0,0,0,0,0,11,12,10,10,12,12,13,13,13,13,14,15,0,0,0,0,0,0,0,0,10,12,12,11,10,11,12,12,13,13,12,11,0,0,0,0,0,0,0,0,12,9,10,12,12,10,11,12,12,13,12,13,0,0,0,0,0,0,0,0,10,9,7,8,10,8,7,10,9,8,8,8,0,0,0,0,0,0,0,0,7,8,7,6,7,8,7,7,6,7,7,7,0,0,0,0,0,0,0,0,7,7,8,7,8,8,10,10,10,13,12,13,0,0,0,0,0,0,0,0,16,15,17,19,17,19,21,21,23,20,22,22,0,0,0,0,0,0,0,0,21,23,22,22,25,23,25,25,26,26,27,27,0,0,0,0,0,0,0,0,26,26,26,26,26,24,26,25,25,26,24,26,0,0,0,0,0,0,0,0,23,23,21,22,20,18,17,16,14,13,10,7,0,0,0,0,0,0,0,0,4,5,5,5,5,5,5,6,6,6,7,6,0,0,0,0,0,0,0,0,9,9,8,8,7,7,8,8,8,9,8,8,0,0,0,0,0,0,0,0,6,5,6,6,5,5,5,6,5,7,6,5,0,0,0,0,0,0,0,0,9,8,9,10,10,11,11,10,12,11,9,11,0,0,0,0,0,0,0,0,9,9,9,10,8,9,9,9,8,8,9,8,0,0,0,0,0,0,0,0,9,10,8,8,8,9,9,10,11,11,11,12,0,0,0,0,0,0,0,0,13,13,15,15,14,13,14,14,15,13,13,12,0,0,0,0,0,0,0,0,9,10,9,8,9,9,8,7,9,8,7,8,0,0,0,0,0,0,0,0,7,6,6,7,7,7,7,7,6,6,7,7,0,0,0,0,0,0,0,0,7,7,7,7,6,6,7,7,7,7,8,7,0,0,0,0,0,0,0,0,9,10,13,11,13,13,12,13,12,14,14,14,0,0,0,0,0,0,0,0,14,15,12,12,13,13,12,11,11,9,9,9,0,0,0,0,0,0,0,0,6,6,5,5,5,5,6,5,5,5,5,4,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,7,6,5,5,5,0,0,0,0,0,0,0,0,5,5,4,6,5,3,3,4,3,2,3,4,0,0,0,0,0,0,0,0,3,3,4,4,3,4,4,3,3,4,3,3,0,0,0,0,0,0,0,0,2,1,1,0,1,2,3,4,4,6,5,6,0,0,0,0,0,0,0,0,7,7,6,6,8,7,7,8,8,8,8,9,0,0,0,0,0,0,0,0,13,15,15,14,15,17,16,18,18,19,21,20,0,0,0,0,0,0,0,0,24,22,25,25,24,23,24,23,25,26,24,24,0,0,0,0,0,0,0,0,24,21,22,22,24,21,20,23,22],[0,29,28,28,28,28,29,28,28,28,27,27,27,26,27,25,27,26,26,27,0,0,0,0,0,0,0,0,28,27,26,28,28,28,27,28,27,28,28,28,0,0,0,0,0,0,0,0,26,27,26,25,25,24,23,23,21,22,20,18,0,0,0,0,0,0,0,0,9,10,9,10,10,11,11,11,11,13,13,12,0,0,0,0,0,0,0,0,16,17,17,17,18,18,17,18,17,18,19,19,0,0,0,0,0,0,0,0,20,20,19,19,18,20,20,19,19,19,19,19,0,0,0,0,0,0,0,0,19,18,17,19,18,19,16,18,18,19,19,18,0,0,0,0,0,0,0,0,17,18,18,17,17,17,17,18,17,17,17,17,0,0,0,0,0,0,0,0,16,16,16,16,17,16,17,17,16,17,16,16,0,0,0,0,0,0,0,0,16,16,15,17,16,16,16,16,17,17,15,16,0,0,0,0,0,0,0,0,16,17,17,16,15,18,17,16,17,17,17,15,0,0,0,0,0,0,0,0,14,14,12,13,13,14,14,15,15,15,16,16,0,0,0,0,0,0,0,0,12,15,15,14,13,14,14,15,15,14,14,13,0,0,0,0,0,0,0,0,14,13,14,13,14,13,13,14,14,15,15,15,0,0,0,0,0,0,0,0,13,12,11,11,13,12,11,12,12,11,11,11,0,0,0,0,0,0,0,0,9,9,10,10,10,10,11,10,9,9,8,8,0,0,0,0,0,0,0,0,8,7,8,8,9,8,10,11,11,12,13,16,0,0,0,0,0,0,0,0,16,15,18,20,17,19,22,21,23,20,23,21,0,0,0,0,0,0,0,0,21,23,20,22,24,24,26,25,25,26,27,27,0,0,0,0,0,0,0,0,25,26,26,27,26,25,26,23,26,26,25,26,0,0,0,0,0,0,0,0,24,23,22,21,20,18,17,16,14,13,11,8,0,0,0,0,0,0,0,0,7,8,7,7,7,8,6,7,8,8,8,8,0,0,0,0,0,0,0,0,11,11,10,10,10,10,10,10,11,11,8,9,0,0,0,0,0,0,0,0,6,7,7,7,6,7,7,9,9,10,9,9,0,0,0,0,0,0,0,0,11,13,13,13,13,13,13,13,13,13,13,12,0,0,0,0,0,0,0,0,11,11,12,13,12,12,12,12,11,11,11,10,0,0,0,0,0,0,0,0,11,11,11,11,11,11,11,12,13,12,12,13,0,0,0,0,0,0,0,0,16,16,17,16,16,16,16,16,16,16,16,15,0,0,0,0,0,0,0,0,13,13,12,12,12,12,10,11,10,11,10,10,0,0,0,0,0,0,0,0,10,9,10,9,11,10,11,10,10,9,10,10,0,0,0,0,0,0,0,0,10,8,9,9,9,8,9,9,8,9,9,10,0,0,0,0,0,0,0,0,13,12,14,14,15,16,14,15,16,16,16,17,0,0,0,0,0,0,0,0,16,16,15,15,14,14,12,12,12,11,11,11,0,0,0,0,0,0,0,0,8,8,9,7,8,9,7,6,8,8,6,5,0,0,0,0,0,0,0,0,7,7,8,9,8,7,7,9,8,7,7,7,0,0,0,0,0,0,0,0,7,6,5,6,6,4,5,5,4,3,3,5,0,0,0,0,0,0,0,0,5,6,6,6,5,6,5,4,4,5,5,4,0,0,0,0,0,0,0,0,4,3,3,1,0,1,2,3,5,5,6,6,0,0,0,0,0,0,0,0,9,9,9,10,10,9,11,11,11,12,11,12,0,0,0,0,0,0,0,0,14,15,16,15,17,18,18,20,19,19,21,22,0,0,0,0,0,0,0,0,24,22,26,24,25,25,25,24,26,27,24,25,0,0,0,0,0,0,0,0,23,22,22,23,24,21,21,23,22],[0,28,28,28,28,28,29,28,28,28,27,27,27,26,27,26,27,26,26,27,0,0,0,0,0,0,0,0,27,28,26,28,28,28,28,29,27,28,28,28,0,0,0,0,0,0,0,0,26,26,24,25,24,24,23,22,22,21,20,19,0,0,0,0,0,0,0,0,13,14,14,15,14,15,14,16,16,16,18,17,0,0,0,0,0,0,0,0,19,19,20,20,21,21,20,20,20,21,21,22,0,0,0,0,0,0,0,0,23,21,22,21,21,22,22,22,22,21,22,22,0,0,0,0,0,0,0,0,22,20,21,21,19,19,20,20,21,20,20,20,0,0,0,0,0,0,0,0,19,21,21,20,20,20,20,21,21,20,21,19,0,0,0,0,0,0,0,0,20,20,19,20,19,20,20,20,18,19,20,20,0,0,0,0,0,0,0,0,18,18,18,19,17,19,18,19,20,20,18,19,0,0,0,0,0,0,0,0,18,19,20,20,18,20,20,18,19,20,19,17,0,0,0,0,0,0,0,0,18,17,15,17,17,17,18,18,18,18,18,19,0,0,0,0,0,0,0,0,15,18,18,16,16,17,16,16,17,17,16,16,0,0,0,0,0,0,0,0,16,15,16,16,16,15,17,17,18,18,16,18,0,0,0,0,0,0,0,0,17,15,13,15,16,15,14,16,16,15,15,14,0,0,0,0,0,0,0,0,14,14,15,15,14,14,13,13,13,12,12,13,0,0,0,0,0,0,0,0,10,11,12,11,12,10,12,12,12,13,15,15,0,0,0,0,0,0,0,0,16,16,19,20,20,20,22,22,23,21,23,21,0,0,0,0,0,0,0,0,19,21,21,21,24,23,24,25,25,26,27,27,0,0,0,0,0,0,0,0,26,27,26,27,27,26,27,26,26,27,25,27,0,0,0,0,0,0,0,0,25,24,24,23,22,19,18,17,15,15,12,10,0,0,0,0,0,0,0,0,10,9,9,9,8,10,8,8,9,10,9,10,0,0,0,0,0,0,0,0,14,12,11,13,12,13,13,12,13,13,9,10,0,0,0,0,0,0,0,0,8,9,10,10,9,10,10,10,11,13,11,11,0,0,0,0,0,0,0,0,15,14,15,15,15,15,16,16,16,16,16,16,0,0,0,0,0,0,0,0,15,16,16,17,14,15,16,14,14,14,13,14,0,0,0,0,0,0,0,0,13,15,14,14,14,14,14,14,14,14,15,15,0,0,0,0,0,0,0,0,18,18,19,19,19,19,19,19,20,20,18,18,0,0,0,0,0,0,0,0,16,16,14,15,16,14,14,13,14,13,14,13,0,0,0,0,0,0,0,0,14,12,14,12,14,13,12,13,12,11,13,13,0,0,0,0,0,0,0,0,11,8,11,12,12,11,10,14,12,12,12,13,0,0,0,0,0,0,0,0,16,16,19,18,20,20,19,19,20,20,20,21,0,0,0,0,0,0,0,0,19,19,18,17,17,18,16,16,15,15,14,15,0,0,0,0,0,0,0,0,13,12,11,10,11,10,9,10,9,8,8,8,0,0,0,0,0,0,0,0,8,6,7,10,9,9,9,10,9,10,8,11,0,0,0,0,0,0,0,0,11,10,10,10,12,7,8,7,6,6,6,6,0,0,0,0,0,0,0,0,4,7,9,8,6,8,6,5,6,8,7,5,0,0,0,0,0,0,0,0,5,4,5,2,2,0,1,3,4,5,5,6,0,0,0,0,0,0,0,0,10,9,9,10,13,11,12,14,15,16,14,15,0,0,0,0,0,0,0,0,17,16,16,17,18,18,18,20,20,20,22,22,0,0,0,0,0,0,0,0,25,22,26,25,25,24,26,25,26,27,25,24,0,0,0,0,0,0,0,0,25,22,22,24,24,21,21,24,22],[0,29,29,29,29,29,29,28,28,28,28,28,28,27,27,27,28,26,26,27,0,0,0,0,0,0,0,0,29,28,27,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,27,27,26,26,26,24,24,24,22,21,20,0,0,0,0,0,0,0,0,12,12,12,13,13,14,14,14,15,15,16,15,0,0,0,0,0,0,0,0,17,18,18,19,20,20,20,20,20,20,20,21,0,0,0,0,0,0,0,0,22,21,21,22,22,22,22,21,21,22,21,21,0,0,0,0,0,0,0,0,21,20,20,21,19,18,19,19,20,19,20,20,0,0,0,0,0,0,0,0,19,20,20,19,19,18,18,20,19,18,20,18,0,0,0,0,0,0,0,0,18,19,19,20,18,20,19,19,18,19,19,18,0,0,0,0,0,0,0,0,17,17,17,18,16,17,18,17,18,19,16,17,0,0,0,0,0,0,0,0,17,17,19,18,15,19,18,17,19,19,19,17,0,0,0,0,0,0,0,0,17,16,15,16,15,16,16,16,17,17,17,17,0,0,0,0,0,0,0,0,15,17,16,16,15,15,16,16,16,16,15,16,0,0,0,0,0,0,0,0,17,14,13,15,15,13,14,15,15,15,14,15,0,0,0,0,0,0,0,0,15,14,12,14,16,14,13,16,15,14,14,13,0,0,0,0,0,0,0,0,12,12,14,12,12,12,12,12,11,10,10,11,0,0,0,0,0,0,0,0,10,10,10,12,10,11,13,13,12,12,14,16,0,0,0,0,0,0,0,0,18,17,18,22,21,21,24,24,26,23,25,22,0,0,0,0,0,0,0,0,21,23,21,23,25,25,26,26,26,27,27,28,0,0,0,0,0,0,0,0,27,28,26,27,27,26,27,26,27,28,27,28,0,0,0,0,0,0,0,0,26,25,24,23,23,21,21,18,16,15,13,11,0,0,0,0,0,0,0,0,8,9,8,8,8,9,9,8,9,8,9,8,0,0,0,0,0,0,0,0,12,12,13,11,10,11,12,10,12,12,10,10,0,0,0,0,0,0,0,0,9,8,8,8,10,10,11,9,11,11,11,9,0,0,0,0,0,0,0,0,13,13,13,13,13,14,14,14,15,14,14,14,0,0,0,0,0,0,0,0,14,14,15,15,14,13,14,14,12,12,13,13,0,0,0,0,0,0,0,0,11,12,12,11,12,11,12,14,13,14,14,14,0,0,0,0,0,0,0,0,16,17,18,18,18,17,18,17,17,16,17,16,0,0,0,0,0,0,0,0,14,14,13,13,14,14,11,12,13,12,12,11,0,0,0,0,0,0,0,0,12,11,12,11,12,12,11,12,11,11,11,12,0,0,0,0,0,0,0,0,11,10,10,11,10,10,10,11,10,11,12,13,0,0,0,0,0,0,0,0,15,15,16,17,18,18,17,18,18,18,19,19,0,0,0,0,0,0,0,0,17,18,16,16,16,16,14,14,14,14,15,14,0,0,0,0,0,0,0,0,10,10,10,9,9,11,9,9,10,10,8,7,0,0,0,0,0,0,0,0,7,7,8,9,9,8,10,9,8,8,8,9,0,0,0,0,0,0,0,0,10,9,9,10,8,8,9,8,7,6,6,6,0,0,0,0,0,0,0,0,4,7,9,8,7,8,8,7,8,8,7,6,0,0,0,0,0,0,0,0,5,3,5,3,2,1,0,1,4,4,5,6,0,0,0,0,0,0,0,0,10,11,10,9,10,12,11,11,12,12,12,13,0,0,0,0,0,0,0,0,16,17,17,17,18,20,18,21,21,21,23,25,0,0,0,0,0,0,0,0,26,23,27,26,27,27,27,26,27,28,26,27,0,0,0,0,0,0,0,0,24,24,22,25,25,23,23,24,24],[0,29,29,29,29,29,29,28,28,28,27,27,28,26,27,26,27,25,27,27,0,0,0,0,0,0,0,0,27,28,27,28,28,29,28,29,27,28,28,28,0,0,0,0,0,0,0,0,25,26,25,24,24,23,22,22,22,22,19,20,0,0,0,0,0,0,0,0,11,13,12,13,12,13,12,15,14,14,14,14,0,0,0,0,0,0,0,0,15,16,16,16,16,18,16,16,17,17,17,18,0,0,0,0,0,0,0,0,19,18,19,19,19,20,20,20,19,19,18,19,0,0,0,0,0,0,0,0,17,16,16,17,15,15,16,16,17,17,17,16,0,0,0,0,0,0,0,0,16,17,17,16,17,16,16,18,17,16,17,16,0,0,0,0,0,0,0,0,16,16,16,16,15,17,16,16,15,15,16,15,0,0,0,0,0,0,0,0,14,14,14,14,14,16,14,15,15,15,14,15,0,0,0,0,0,0,0,0,13,14,15,15,14,15,15,14,17,16,15,13,0,0,0,0,0,0,0,0,14,14,14,15,15,14,14,15,16,15,16,15,0,0,0,0,0,0,0,0,14,15,14,13,13,14,15,12,13,13,13,13,0,0,0,0,0,0,0,0,13,11,11,13,13,12,12,13,14,13,13,12,0,0,0,0,0,0,0,0,13,12,12,13,13,12,12,13,13,12,13,12,0,0,0,0,0,0,0,0,12,12,12,12,12,12,11,12,11,12,11,12,0,0,0,0,0,0,0,0,10,10,11,11,11,10,11,13,11,13,13,15,0,0,0,0,0,0,0,0,17,16,19,21,19,20,22,23,24,22,24,22,0,0,0,0,0,0,0,0,21,21,23,22,25,25,25,25,26,26,27,27,0,0,0,0,0,0,0,0,26,27,27,28,27,26,27,25,26,27,26,26,0,0,0,0,0,0,0,0,24,23,24,22,21,20,19,16,15,13,12,10,0,0,0,0,0,0,0,0,8,8,7,7,7,8,8,8,8,9,8,9,0,0,0,0,0,0,0,0,11,10,10,11,11,11,11,10,12,12,10,10,0,0,0,0,0,0,0,0,9,7,9,10,9,8,10,9,10,11,9,9,0,0,0,0,0,0,0,0,12,11,11,13,13,14,13,14,13,13,13,14,0,0,0,0,0,0,0,0,12,12,14,13,11,11,12,10,10,10,10,11,0,0,0,0,0,0,0,0,10,11,10,10,11,11,10,12,11,12,12,12,0,0,0,0,0,0,0,0,15,15,15,14,16,14,14,14,15,14,14,13,0,0,0,0,0,0,0,0,13,13,12,12,12,12,12,12,11,11,11,10,0,0,0,0,0,0,0,0,10,10,11,10,11,10,9,11,9,9,9,9,0,0,0,0,0,0,0,0,8,8,8,8,9,8,9,10,9,9,10,10,0,0,0,0,0,0,0,0,14,12,15,14,15,15,17,16,17,16,17,17,0,0,0,0,0,0,0,0,15,15,14,14,16,14,13,13,12,12,12,13,0,0,0,0,0,0,0,0,12,10,9,9,9,9,8,6,7,7,6,6,0,0,0,0,0,0,0,0,6,6,5,6,6,5,7,8,7,7,7,8,0,0,0,0,0,0,0,0,9,8,8,7,8,8,6,5,5,6,5,5,0,0,0,0,0,0,0,0,4,5,7,5,6,6,6,5,6,7,6,6,0,0,0,0,0,0,0,0,5,4,4,4,3,2,1,0,1,3,6,4,0,0,0,0,0,0,0,0,7,8,8,7,8,9,9,10,10,11,10,12,0,0,0,0,0,0,0,0,16,15,16,18,18,19,18,20,21,20,23,23,0,0,0,0,0,0,0,0,25,23,26,24,25,26,26,24,26,27,25,25,0,0,0,0,0,0,0,0,24,24,22,24,24,21,23,25,23],[0,29,28,28,29,28,29,28,27,27,26,26,27,25,26,25,27,25,26,27,0,0,0,0,0,0,0,0,28,28,26,28,29,29,28,29,27,29,29,29,0,0,0,0,0,0,0,0,27,26,26,24,25,23,24,23,22,22,20,19,0,0,0,0,0,0,0,0,12,12,12,12,12,11,13,12,14,14,14,13,0,0,0,0,0,0,0,0,14,15,15,16,17,17,17,16,18,17,18,18,0,0,0,0,0,0,0,0,20,19,19,18,20,20,19,19,19,19,20,19,0,0,0,0,0,0,0,0,18,17,17,18,17,17,16,17,17,17,17,16,0,0,0,0,0,0,0,0,16,17,17,16,17,16,16,17,16,16,17,16,0,0,0,0,0,0,0,0,15,18,17,17,16,18,17,17,17,16,17,16,0,0,0,0,0,0,0,0,14,15,15,14,14,15,15,16,15,15,15,15,0,0,0,0,0,0,0,0,15,15,15,15,13,16,15,14,16,16,16,14,0,0,0,0,0,0,0,0,15,15,13,14,13,15,15,15,16,16,16,16,0,0,0,0,0,0,0,0,13,15,15,14,13,13,14,14,14,14,13,14,0,0,0,0,0,0,0,0,15,13,13,14,13,13,14,15,14,13,13,13,0,0,0,0,0,0,0,0,13,13,13,12,14,13,14,14,14,13,13,14,0,0,0,0,0,0,0,0,11,12,13,13,12,12,12,11,11,11,11,11,0,0,0,0,0,0,0,0,10,10,11,12,10,12,12,13,11,12,14,16,0,0,0,0,0,0,0,0,17,18,19,22,21,22,23,23,24,22,25,21,0,0,0,0,0,0,0,0,22,24,22,24,24,24,25,26,25,26,26,27,0,0,0,0,0,0,0,0,27,27,27,28,28,28,27,26,27,27,27,28,0,0,0,0,0,0,0,0,25,25,24,23,22,20,20,17,16,14,12,11,0,0,0,0,0,0,0,0,9,9,8,7,9,9,7,8,10,9,8,9,0,0,0,0,0,0,0,0,12,12,11,10,10,11,11,11,12,11,11,11,0,0,0,0,0,0,0,0,10,9,9,9,9,10,10,10,9,12,10,9,0,0,0,0,0,0,0,0,12,12,12,13,12,13,12,13,13,13,13,12,0,0,0,0,0,0,0,0,13,13,14,14,12,13,13,12,12,11,11,12,0,0,0,0,0,0,0,0,10,11,11,10,12,11,11,13,11,13,13,14,0,0,0,0,0,0,0,0,15,15,15,16,17,15,16,16,17,15,15,15,0,0,0,0,0,0,0,0,13,14,13,13,14,13,12,12,11,12,11,11,0,0,0,0,0,0,0,0,11,11,10,11,11,12,10,11,10,10,11,12,0,0,0,0,0,0,0,0,10,8,8,9,9,8,9,11,9,8,11,11,0,0,0,0,0,0,0,0,14,13,14,15,15,15,15,15,17,16,17,17,0,0,0,0,0,0,0,0,16,17,15,15,16,14,14,12,13,12,13,13,0,0,0,0,0,0,0,0,11,11,10,9,9,11,8,7,10,8,6,6,0,0,0,0,0,0,0,0,7,5,5,7,6,7,6,8,9,7,7,8,0,0,0,0,0,0,0,0,10,9,9,9,7,6,7,7,5,5,5,5,0,0,0,0,0,0,0,0,4,6,7,7,8,7,8,6,8,7,7,7,0,0,0,0,0,0,0,0,6,5,5,4,4,5,3,1,0,1,3,3,0,0,0,0,0,0,0,0,8,8,8,9,9,10,10,11,11,11,11,12,0,0,0,0,0,0,0,0,15,15,15,16,16,18,17,19,20,21,23,23,0,0,0,0,0,0,0,0,25,23,26,25,26,25,26,24,27,26,24,27,0,0,0,0,0,0,0,0,24,24,21,25,25,22,23,24,23],[0,29,28,28,28,28,28,27,26,27,25,25,26,23,26,24,26,24,26,26,0,0,0,0,0,0,0,0,28,27,27,28,28,28,28,29,26,28,28,28,0,0,0,0,0,0,0,0,25,26,26,23,24,24,23,22,22,21,19,20,0,0,0,0,0,0,0,0,12,15,13,14,13,14,15,16,15,16,16,17,0,0,0,0,0,0,0,0,17,18,18,18,18,20,19,18,20,19,19,21,0,0,0,0,0,0,0,0,21,20,22,21,20,22,21,21,21,22,21,21,0,0,0,0,0,0,0,0,20,19,19,19,19,17,18,18,20,18,18,17,0,0,0,0,0,0,0,0,18,19,19,19,20,19,19,21,19,18,20,19,0,0,0,0,0,0,0,0,19,18,18,20,19,19,19,18,18,18,19,18,0,0,0,0,0,0,0,0,16,15,15,16,16,17,15,16,17,16,15,16,0,0,0,0,0,0,0,0,15,16,17,17,15,17,17,16,18,18,18,16,0,0,0,0,0,0,0,0,17,17,16,17,15,17,16,18,18,17,17,16,0,0,0,0,0,0,0,0,16,17,15,15,15,14,15,14,15,14,13,14,0,0,0,0,0,0,0,0,16,14,11,13,14,13,13,15,16,14,15,15,0,0,0,0,0,0,0,0,15,14,15,14,14,13,14,16,14,14,14,14,0,0,0,0,0,0,0,0,13,13,14,13,13,13,13,14,13,14,12,13,0,0,0,0,0,0,0,0,11,11,12,11,12,10,12,12,11,14,14,15,0,0,0,0,0,0,0,0,18,16,17,21,21,20,20,22,24,21,25,21,0,0,0,0,0,0,0,0,21,22,23,24,23,23,24,26,25,27,26,27,0,0,0,0,0,0,0,0,26,27,26,28,27,27,27,25,27,27,26,27,0,0,0,0,0,0,0,0,25,23,24,22,22,21,19,18,17,15,13,12,0,0,0,0,0,0,0,0,11,12,10,10,10,10,10,10,12,10,10,12,0,0,0,0,0,0,0,0,13,13,14,13,11,14,13,12,14,13,10,12,0,0,0,0,0,0,0,0,12,11,12,12,12,11,13,12,12,13,11,11,0,0,0,0,0,0,0,0,12,11,12,13,12,14,14,13,14,13,13,13,0,0,0,0,0,0,0,0,14,11,13,13,13,11,13,12,12,10,11,13,0,0,0,0,0,0,0,0,11,12,12,11,12,11,11,13,12,14,13,14,0,0,0,0,0,0,0,0,16,17,16,16,17,16,15,16,16,15,16,15,0,0,0,0,0,0,0,0,15,15,14,14,16,15,14,14,13,14,13,12,0,0,0,0,0,0,0,0,12,12,13,11,12,12,10,12,12,9,10,13,0,0,0,0,0,0,0,0,9,9,9,11,10,10,11,13,11,9,13,11,0,0,0,0,0,0,0,0,16,15,17,17,18,18,18,19,20,19,19,20,0,0,0,0,0,0,0,0,17,16,15,16,16,16,14,15,15,15,13,15,0,0,0,0,0,0,0,0,13,12,12,11,13,11,10,10,11,9,7,9,0,0,0,0,0,0,0,0,6,6,6,7,9,6,7,8,10,8,8,10,0,0,0,0,0,0,0,0,12,10,10,11,10,9,9,9,9,8,6,6,0,0,0,0,0,0,0,0,6,6,7,8,7,8,8,7,8,9,9,9,0,0,0,0,0,0,0,0,8,8,5,5,5,6,3,2,1,0,1,2,0,0,0,0,0,0,0,0,6,7,8,7,8,10,9,9,10,12,11,12,0,0,0,0,0,0,0,0,14,15,15,16,17,18,17,20,21,21,22,23,0,0,0,0,0,0,0,0,23,21,26,23,24,25,24,23,26,26,23,23,0,0,0,0,0,0,0,0,24,23,22,23,25,23,22,24,24],[0,28,27,28,28,28,27,26,27,26,25,26,26,24,26,24,25,25,26,26,0,0,0,0,0,0,0,0,27,27,26,28,28,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,25,26,24,24,24,23,22,22,21,21,19,19,0,0,0,0,0,0,0,0,12,12,11,12,11,12,11,13,13,13,13,13,0,0,0,0,0,0,0,0,13,14,15,15,15,15,16,17,15,16,17,17,0,0,0,0,0,0,0,0,19,19,19,18,18,18,18,18,18,19,19,18,0,0,0,0,0,0,0,0,16,14,16,16,14,15,15,15,16,16,16,16,0,0,0,0,0,0,0,0,13,15,16,14,14,15,15,15,16,16,16,16,0,0,0,0,0,0,0,0,15,15,15,15,14,15,15,14,13,15,15,14,0,0,0,0,0,0,0,0,12,12,13,13,12,14,13,14,14,14,13,13,0,0,0,0,0,0,0,0,13,13,14,14,12,15,14,13,13,14,12,12,0,0,0,0,0,0,0,0,13,13,12,13,14,14,14,14,15,15,14,15,0,0,0,0,0,0,0,0,13,14,13,11,12,13,13,12,12,12,12,11,0,0,0,0,0,0,0,0,11,10,9,10,10,10,10,10,11,12,11,12,0,0,0,0,0,0,0,0,11,10,9,10,11,10,10,12,11,11,11,11,0,0,0,0,0,0,0,0,12,12,13,12,12,13,12,12,11,12,11,11,0,0,0,0,0,0,0,0,10,11,12,11,13,13,12,15,13,14,13,16,0,0,0,0,0,0,0,0,18,17,19,20,21,21,21,22,23,21,23,21,0,0,0,0,0,0,0,0,22,24,23,24,25,23,25,26,25,26,26,27,0,0,0,0,0,0,0,0,27,28,28,28,28,27,28,26,27,27,27,27,0,0,0,0,0,0,0,0,25,24,25,23,21,21,19,16,16,14,13,12,0,0,0,0,0,0,0,0,7,9,8,8,9,8,9,8,10,9,10,10,0,0,0,0,0,0,0,0,12,10,10,11,10,12,12,11,12,12,11,11,0,0,0,0,0,0,0,0,11,9,10,10,10,9,11,9,9,11,10,9,0,0,0,0,0,0,0,0,11,9,10,11,11,11,12,13,12,12,12,12,0,0,0,0,0,0,0,0,10,11,10,10,10,9,9,8,8,7,8,8,0,0,0,0,0,0,0,0,8,10,10,9,10,10,9,10,10,10,10,11,0,0,0,0,0,0,0,0,13,14,14,14,15,14,13,14,14,14,14,13,0,0,0,0,0,0,0,0,12,11,10,11,11,10,10,9,9,9,9,10,0,0,0,0,0,0,0,0,9,8,10,9,10,9,8,9,8,6,7,9,0,0,0,0,0,0,0,0,6,6,7,8,7,8,8,9,8,9,9,9,0,0,0,0,0,0,0,0,12,13,14,15,15,14,15,15,15,16,15,16,0,0,0,0,0,0,0,0,15,15,14,14,15,14,14,13,13,13,13,13,0,0,0,0,0,0,0,0,10,8,8,8,8,8,7,6,7,7,6,6,0,0,0,0,0,0,0,0,6,5,4,7,6,6,7,7,7,6,7,8,0,0,0,0,0,0,0,0,9,9,8,8,8,7,7,6,6,6,5,6,0,0,0,0,0,0,0,0,5,6,7,6,7,7,8,7,7,9,7,7,0,0,0,0,0,0,0,0,7,6,5,5,6,6,5,4,2,1,0,1,0,0,0,0,0,0,0,0,6,7,6,6,6,7,7,7,8,9,8,9,0,0,0,0,0,0,0,0,13,13,13,15,14,16,16,18,19,18,21,20,0,0,0,0,0,0,0,0,23,21,25,23,23,23,24,22,25,25,23,24,0,0,0,0,0,0,0,0,23,22,22,24,24,21,22,24,22],[0,28,27,28,27,27,27,26,26,26,24,25,24,23,25,24,25,22,25,25,0,0,0,0,0,0,0,0,27,26,25,27,26,28,27,29,26,28,28,28,0,0,0,0,0,0,0,0,26,26,25,23,25,24,22,22,22,19,19,21,0,0,0,0,0,0,0,0,13,14,14,13,13,12,13,13,15,16,16,14,0,0,0,0,0,0,0,0,15,15,17,16,17,17,18,17,17,18,18,18,0,0,0,0,0,0,0,0,18,19,19,18,18,20,20,19,18,21,20,19,0,0,0,0,0,0,0,0,18,17,18,18,16,16,16,16,17,16,17,17,0,0,0,0,0,0,0,0,16,18,18,17,17,17,17,18,18,17,18,18,0,0,0,0,0,0,0,0,16,18,17,18,16,18,17,17,17,17,17,16,0,0,0,0,0,0,0,0,14,14,15,14,13,14,14,14,16,15,13,14,0,0,0,0,0,0,0,0,14,15,16,15,13,17,16,13,14,16,16,13,0,0,0,0,0,0,0,0,15,16,14,15,15,16,16,16,16,15,16,16,0,0,0,0,0,0,0,0,15,15,15,13,13,14,12,14,14,12,12,11,0,0,0,0,0,0,0,0,12,11,9,11,11,10,10,11,12,12,11,13,0,0,0,0,0,0,0,0,13,11,11,12,13,12,13,15,13,11,13,13,0,0,0,0,0,0,0,0,12,12,12,12,12,12,11,12,13,11,11,14,0,0,0,0,0,0,0,0,12,12,11,13,12,11,13,13,12,15,14,16,0,0,0,0,0,0,0,0,18,18,18,22,22,21,22,23,24,22,24,21,0,0,0,0,0,0,0,0,21,22,21,22,24,23,24,26,25,27,25,27,0,0,0,0,0,0,0,0,27,27,27,27,27,27,28,24,27,27,26,27,0,0,0,0,0,0,0,0,24,23,23,22,22,21,20,18,17,15,14,12,0,0,0,0,0,0,0,0,9,11,9,8,9,10,8,10,11,10,10,10,0,0,0,0,0,0,0,0,11,12,11,11,12,13,12,11,12,11,12,11,0,0,0,0,0,0,0,0,11,11,11,11,10,11,12,12,10,11,9,9,0,0,0,0,0,0,0,0,10,9,10,11,11,12,12,12,12,12,11,12,0,0,0,0,0,0,0,0,11,11,11,11,10,10,10,9,10,8,9,10,0,0,0,0,0,0,0,0,9,10,11,10,11,9,9,11,12,11,10,11,0,0,0,0,0,0,0,0,14,15,15,15,15,15,16,15,16,15,15,14,0,0,0,0,0,0,0,0,13,12,11,11,12,11,11,11,10,10,11,11,0,0,0,0,0,0,0,0,10,9,11,10,11,10,9,11,9,7,8,8,0,0,0,0,0,0,0,0,7,6,7,8,8,8,8,9,9,9,10,10,0,0,0,0,0,0,0,0,13,14,16,16,17,16,16,16,17,18,17,18,0,0,0,0,0,0,0,0,16,16,14,15,15,14,13,14,14,14,14,13,0,0,0,0,0,0,0,0,11,11,10,9,11,9,8,7,8,6,6,6,0,0,0,0,0,0,0,0,6,5,5,6,5,6,7,8,7,8,8,9,0,0,0,0,0,0,0,0,10,11,11,10,9,8,9,8,8,7,6,6,0,0,0,0,0,0,0,0,6,7,8,8,7,9,9,8,9,9,9,9,0,0,0,0,0,0,0,0,6,6,6,6,5,6,4,4,4,3,1,0,0,0,0,0,0,0,0,0,5,6,5,5,7,7,7,7,8,9,9,9,0,0,0,0,0,0,0,0,13,13,13,14,15,17,16,20,21,21,23,22,0,0,0,0,0,0,0,0,25,21,26,23,25,25,24,21,26,26,23,23,0,0,0,0,0,0,0,0,24,23,22,25,25,22,22,25,23],[0,28,27,28,28,27,27,27,26,26,25,25,26,23,26,24,25,25,26,25,0,0,0,0,0,0,0,0,28,28,27,28,29,29,27,29,28,28,29,28,0,0,0,0,0,0,0,0,26,27,25,25,25,25,23,23,23,23,22,21,0,0,0,0,0,0,0,0,13,13,12,13,13,12,12,13,14,14,15,14,0,0,0,0,0,0,0,0,15,16,16,16,16,17,16,17,16,16,18,18,0,0,0,0,0,0,0,0,18,19,19,18,18,18,17,19,18,19,18,18,0,0,0,0,0,0,0,0,17,16,17,17,15,17,16,16,16,16,15,16,0,0,0,0,0,0,0,0,16,17,16,16,16,15,15,17,17,17,16,16,0,0,0,0,0,0,0,0,15,15,16,16,15,16,16,15,15,16,16,15,0,0,0,0,0,0,0,0,14,13,15,14,13,13,14,14,15,15,14,15,0,0,0,0,0,0,0,0,14,16,15,15,14,15,15,14,14,15,14,14,0,0,0,0,0,0,0,0,13,14,12,14,14,15,15,15,16,15,15,15,0,0,0,0,0,0,0,0,13,13,14,13,12,12,12,12,13,13,12,11,0,0,0,0,0,0,0,0,12,10,9,11,11,9,9,11,12,13,13,12,0,0,0,0,0,0,0,0,12,11,10,11,11,11,12,13,11,11,11,13,0,0,0,0,0,0,0,0,12,12,13,11,12,12,11,13,12,14,13,12,0,0,0,0,0,0,0,0,12,13,13,13,13,12,13,13,13,14,14,16,0,0,0,0,0,0,0,0,18,18,19,22,22,21,24,24,24,23,24,24,0,0,0,0,0,0,0,0,21,22,23,22,25,24,25,26,26,26,26,27,0,0,0,0,0,0,0,0,28,28,28,28,28,27,28,25,27,28,26,27,0,0,0,0,0,0,0,0,26,26,25,23,22,22,21,19,17,16,14,13,0,0,0,0,0,0,0,0,9,10,9,8,10,10,10,10,11,10,10,10,0,0,0,0,0,0,0,0,13,11,11,12,10,13,13,12,14,13,11,11,0,0,0,0,0,0,0,0,12,10,11,11,12,11,12,11,10,12,10,10,0,0,0,0,0,0,0,0,10,9,9,11,10,11,12,12,12,11,10,12,0,0,0,0,0,0,0,0,12,10,10,10,9,8,11,9,9,8,8,10,0,0,0,0,0,0,0,0,10,11,11,10,10,9,9,10,13,12,10,11,0,0,0,0,0,0,0,0,14,14,15,16,15,14,15,14,16,15,15,14,0,0,0,0,0,0,0,0,11,11,10,11,12,11,10,11,12,10,10,11,0,0,0,0,0,0,0,0,10,10,11,10,11,9,9,9,9,7,8,9,0,0,0,0,0,0,0,0,7,6,6,8,8,6,8,9,8,9,9,9,0,0,0,0,0,0,0,0,13,13,15,16,16,15,16,16,15,17,16,16,0,0,0,0,0,0,0,0,16,16,14,15,16,15,14,13,13,13,14,12,0,0,0,0,0,0,0,0,10,10,9,9,9,8,7,8,8,6,6,6,0,0,0,0,0,0,0,0,5,3,4,5,5,6,7,8,8,8,7,8,0,0,0,0,0,0,0,0,9,8,9,10,9,8,8,6,6,8,6,6,0,0,0,0,0,0,0,0,6,7,8,8,9,9,9,7,8,10,8,9,0,0,0,0,0,0,0,0,6,6,6,6,6,6,5,4,4,3,1,1,0,0,0,0,0,0,0,0,4,6,5,5,7,7,6,7,8,9,9,9,0,0,0,0,0,0,0,0,11,14,12,14,15,17,17,19,20,21,22,22,0,0,0,0,0,0,0,0,25,19,26,23,25,25,25,21,26,25,23,25,0,0,0,0,0,0,0,0,24,23,22,23,24,20,22,23,22],[0,27,26,27,27,26,26,25,25,26,23,24,23,22,24,22,23,22,24,24,0,0,0,0,0,0,0,0,27,27,26,28,28,29,28,29,28,29,28,28,0,0,0,0,0,0,0,0,27,27,26,25,26,25,24,23,22,22,20,21,0,0,0,0,0,0,0,0,13,13,13,13,13,13,13,14,14,16,15,13,0,0,0,0,0,0,0,0,15,15,17,17,17,18,17,17,18,17,17,18,0,0,0,0,0,0,0,0,18,19,19,19,19,20,18,19,19,21,19,18,0,0,0,0,0,0,0,0,17,17,18,17,16,17,16,18,16,15,15,16,0,0,0,0,0,0,0,0,16,17,17,16,18,17,17,18,18,18,17,18,0,0,0,0,0,0,0,0,15,16,17,18,14,17,17,16,15,16,16,16,0,0,0,0,0,0,0,0,14,14,14,13,14,15,15,15,17,15,13,16,0,0,0,0,0,0,0,0,13,15,14,15,14,15,15,14,14,16,15,14,0,0,0,0,0,0,0,0,15,15,13,13,14,16,15,16,17,16,16,15,0,0,0,0,0,0,0,0,13,13,13,13,13,13,15,13,13,13,13,12,0,0,0,0,0,0,0,0,13,11,10,11,11,11,11,13,14,13,12,12,0,0,0,0,0,0,0,0,13,12,11,12,12,12,13,14,13,13,13,13,0,0,0,0,0,0,0,0,11,12,11,12,11,12,11,12,11,12,11,11,0,0,0,0,0,0,0,0,11,12,12,11,12,11,12,14,13,15,15,14,0,0,0,0,0,0,0,0,19,18,19,22,22,21,23,24,24,24,25,21,0,0,0,0,0,0,0,0,19,21,23,24,24,22,25,25,25,26,26,27,0,0,0,0,0,0,0,0,27,27,27,27,28,26,27,25,28,27,26,27,0,0,0,0,0,0,0,0,25,25,26,24,22,21,20,19,17,15,14,12,0,0,0,0,0,0,0,0,9,10,8,9,10,10,9,10,11,9,11,11,0,0,0,0,0,0,0,0,11,10,11,11,10,12,11,11,11,11,10,11,0,0,0,0,0,0,0,0,10,10,10,10,13,11,12,9,11,12,9,8,0,0,0,0,0,0,0,0,10,8,8,11,10,11,11,11,12,12,10,11,0,0,0,0,0,0,0,0,12,11,11,10,10,9,10,9,9,10,9,11,0,0,0,0,0,0,0,0,10,10,11,9,10,9,9,11,12,11,11,12,0,0,0,0,0,0,0,0,15,16,15,14,16,15,15,16,15,15,16,15,0,0,0,0,0,0,0,0,12,12,11,11,13,12,10,11,11,11,11,11,0,0,0,0,0,0,0,0,10,9,11,11,11,9,8,9,8,7,7,9,0,0,0,0,0,0,0,0,7,6,7,7,7,7,9,9,8,9,9,10,0,0,0,0,0,0,0,0,14,12,16,16,16,16,16,17,18,18,17,17,0,0,0,0,0,0,0,0,17,16,15,16,14,15,14,14,14,14,12,13,0,0,0,0,0,0,0,0,11,11,10,10,10,9,7,8,9,7,6,7,0,0,0,0,0,0,0,0,7,4,5,6,6,6,6,8,7,7,8,8,0,0,0,0,0,0,0,0,10,9,11,10,9,10,9,7,7,8,6,7,0,0,0,0,0,0,0,0,8,8,8,9,8,9,9,10,10,9,11,10,0,0,0,0,0,0,0,0,8,7,7,8,7,8,6,5,5,4,3,1,0,0,0,0,0,0,0,0,5,6,6,6,7,8,8,7,7,9,9,9,0,0,0,0,0,0,0,0,11,15,12,13,15,18,17,21,20,22,21,22,0,0,0,0,0,0,0,0,24,22,26,24,25,25,26,23,26,25,24,25,0,0,0,0,0,0,0,0,25,22,22,24,25,21,21,24,24],[0,27,26,27,27,27,27,26,26,26,25,25,25,24,25,25,26,25,26,27,0,0,0,0,0,0,0,0,28,28,27,28,28,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,25,26,24,23,23,23,21,21,21,20,19,19,0,0,0,0,0,0,0,0,12,13,12,12,12,13,12,13,13,14,14,15,0,0,0,0,0,0,0,0,13,16,16,15,15,17,16,16,16,16,16,17,0,0,0,0,0,0,0,0,18,18,19,18,17,18,17,18,17,18,17,17,0,0,0,0,0,0,0,0,17,15,16,17,15,14,15,14,15,15,14,15,0,0,0,0,0,0,0,0,15,16,16,16,17,16,15,17,17,16,17,16,0,0,0,0,0,0,0,0,15,15,15,15,14,16,16,15,14,14,15,13,0,0,0,0,0,0,0,0,14,13,12,13,14,14,13,13,13,13,12,12,0,0,0,0,0,0,0,0,13,14,13,13,13,13,14,13,15,15,14,13,0,0,0,0,0,0,0,0,13,14,12,14,13,14,13,14,14,14,14,14,0,0,0,0,0,0,0,0,13,13,13,13,11,12,12,12,12,12,11,11,0,0,0,0,0,0,0,0,13,11,11,11,12,11,11,11,12,12,11,12,0,0,0,0,0,0,0,0,13,12,10,12,12,11,12,14,12,12,12,13,0,0,0,0,0,0,0,0,11,11,11,10,11,10,10,11,9,10,10,10,0,0,0,0,0,0,0,0,11,12,12,12,11,12,14,14,13,16,15,16,0,0,0,0,0,0,0,0,19,18,20,22,22,21,23,24,26,24,26,24,0,0,0,0,0,0,0,0,21,23,24,24,26,26,26,26,27,27,27,28,0,0,0,0,0,0,0,0,27,28,27,28,28,27,27,25,27,28,26,27,0,0,0,0,0,0,0,0,24,24,24,22,22,20,19,17,17,14,13,12,0,0,0,0,0,0,0,0,8,9,7,8,8,8,8,9,10,8,9,9,0,0,0,0,0,0,0,0,11,10,11,10,10,10,10,11,12,12,9,13,0,0,0,0,0,0,0,0,9,9,9,10,10,8,11,9,9,10,8,7,0,0,0,0,0,0,0,0,10,10,8,9,9,12,11,11,12,11,10,10,0,0,0,0,0,0,0,0,13,9,12,11,12,9,12,11,10,11,11,11,0,0,0,0,0,0,0,0,11,11,10,9,9,9,9,11,11,11,10,10,0,0,0,0,0,0,0,0,14,14,13,13,13,14,13,14,15,14,14,13,0,0,0,0,0,0,0,0,12,13,12,12,12,12,11,11,11,12,11,11,0,0,0,0,0,0,0,0,10,9,11,10,10,8,8,10,9,7,9,9,0,0,0,0,0,0,0,0,9,7,7,10,8,6,9,10,9,9,10,10,0,0,0,0,0,0,0,0,14,12,15,16,16,16,15,17,16,17,17,17,0,0,0,0,0,0,0,0,14,14,13,14,14,13,13,12,12,13,12,13,0,0,0,0,0,0,0,0,12,10,10,10,9,10,7,7,8,8,6,6,0,0,0,0,0,0,0,0,6,4,5,6,7,8,6,8,8,7,7,9,0,0,0,0,0,0,0,0,11,10,9,10,9,8,7,7,7,6,6,6,0,0,0,0,0,0,0,0,6,7,7,7,8,9,8,8,9,9,8,9,0,0,0,0,0,0,0,0,8,7,6,7,8,7,6,5,5,4,3,2,0,0,0,0,0,0,0,0,4,5,5,5,8,7,7,8,9,12,10,10,0,0,0,0,0,0,0,0,12,13,12,14,15,16,16,19,17,19,20,20,0,0,0,0,0,0,0,0,22,21,25,23,22,24,25,22,25,25,23,22,0,0,0,0,0,0,0,0,22,22,21,23,24,21,21,23,22],[0,28,28,28,28,28,28,27,27,26,26,26,26,25,26,25,26,25,26,26,0,0,0,0,0,0,0,0,28,28,27,28,28,29,28,28,28,28,29,28,0,0,0,0,0,0,0,0,26,26,24,24,24,23,22,22,21,21,19,19,0,0,0,0,0,0,0,0,11,11,10,9,9,8,9,10,12,11,11,11,0,0,0,0,0,0,0,0,12,12,13,13,13,13,13,15,14,14,15,15,0,0,0,0,0,0,0,0,15,16,16,16,15,15,14,16,15,16,15,15,0,0,0,0,0,0,0,0,14,13,13,13,13,13,12,13,13,12,13,13,0,0,0,0,0,0,0,0,12,13,13,11,12,13,13,13,14,14,14,15,0,0,0,0,0,0,0,0,13,13,13,13,12,12,13,12,11,12,12,12,0,0,0,0,0,0,0,0,10,9,11,10,10,10,11,11,11,12,10,12,0,0,0,0,0,0,0,0,11,12,12,11,11,12,12,11,10,11,11,10,0,0,0,0,0,0,0,0,10,11,9,11,12,11,13,12,12,13,12,12,0,0,0,0,0,0,0,0,10,10,10,9,9,9,10,10,10,10,9,8,0,0,0,0,0,0,0,0,9,8,7,9,9,9,8,8,10,11,10,10,0,0,0,0,0,0,0,0,9,9,8,7,9,8,9,8,8,8,8,8,0,0,0,0,0,0,0,0,9,9,7,8,9,9,7,9,7,10,8,8,0,0,0,0,0,0,0,0,9,10,10,11,11,11,11,13,13,12,14,15,0,0,0,0,0,0,0,0,19,19,20,22,24,23,24,25,25,25,25,24,0,0,0,0,0,0,0,0,23,24,25,26,27,27,27,27,27,28,28,28,0,0,0,0,0,0,0,0,28,29,28,29,29,28,28,27,28,28,27,28,0,0,0,0,0,0,0,0,26,24,24,23,22,20,19,17,16,14,13,11,0,0,0,0,0,0,0,0,7,7,6,7,6,8,8,7,8,9,9,9,0,0,0,0,0,0,0,0,10,10,10,9,9,9,10,10,11,11,9,10,0,0,0,0,0,0,0,0,8,8,7,9,8,7,7,7,7,7,6,7,0,0,0,0,0,0,0,0,7,6,7,8,7,8,9,8,9,9,8,8,0,0,0,0,0,0,0,0,9,8,7,7,7,6,6,7,7,5,7,8,0,0,0,0,0,0,0,0,10,8,8,7,8,8,9,9,10,10,10,9,0,0,0,0,0,0,0,0,12,12,12,12,13,13,13,13,13,13,13,12,0,0,0,0,0,0,0,0,10,10,9,10,10,9,8,8,8,8,8,8,0,0,0,0,0,0,0,0,7,6,7,8,8,6,5,6,5,5,5,6,0,0,0,0,0,0,0,0,6,6,7,7,8,7,7,8,8,9,8,9,0,0,0,0,0,0,0,0,11,11,13,12,12,13,12,12,13,13,13,13,0,0,0,0,0,0,0,0,13,13,13,13,14,13,12,11,12,11,12,11,0,0,0,0,0,0,0,0,8,7,8,7,7,7,8,7,10,6,5,7,0,0,0,0,0,0,0,0,5,4,5,6,6,6,7,6,7,8,6,7,0,0,0,0,0,0,0,0,7,7,7,7,6,6,7,6,6,6,5,5,0,0,0,0,0,0,0,0,5,6,7,7,7,8,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,5,6,5,6,5,5,4,5,5,2,2,0,0,0,0,0,0,0,0,3,6,4,4,6,6,5,5,7,6,6,6,0,0,0,0,0,0,0,0,11,12,12,12,14,16,15,18,17,18,20,21,0,0,0,0,0,0,0,0,22,21,26,23,22,24,25,23,25,25,24,22,0,0,0,0,0,0,0,0,23,22,21,23,24,20,21,23,21],[0,28,27,28,27,26,27,26,25,26,23,24,25,21,25,23,25,24,24,26,0,0,0,0,0,0,0,0,28,27,27,28,29,29,28,29,28,28,29,29,0,0,0,0,0,0,0,0,27,26,25,24,24,24,23,23,22,20,19,21,0,0,0,0,0,0,0,0,11,10,10,9,10,9,10,9,11,11,12,11,0,0,0,0,0,0,0,0,11,12,13,14,13,14,15,14,12,13,15,14,0,0,0,0,0,0,0,0,15,16,17,16,15,15,15,16,16,16,15,16,0,0,0,0,0,0,0,0,13,12,14,13,11,13,13,14,13,12,13,13,0,0,0,0,0,0,0,0,12,13,13,12,12,12,13,13,14,15,14,15,0,0,0,0,0,0,0,0,12,13,13,13,12,13,13,12,12,12,12,12,0,0,0,0,0,0,0,0,9,9,13,10,10,10,11,11,13,13,10,11,0,0,0,0,0,0,0,0,11,12,13,12,11,12,12,11,11,12,11,10,0,0,0,0,0,0,0,0,11,11,10,11,11,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,10,10,10,9,9,10,9,10,10,9,8,8,0,0,0,0,0,0,0,0,8,8,7,8,8,7,8,8,9,10,9,9,0,0,0,0,0,0,0,0,9,9,8,8,9,9,9,10,9,9,10,9,0,0,0,0,0,0,0,0,8,8,8,8,8,8,7,8,8,8,8,8,0,0,0,0,0,0,0,0,9,9,10,11,10,9,11,12,12,14,13,15,0,0,0,0,0,0,0,0,18,19,19,22,24,21,23,24,25,24,26,22,0,0,0,0,0,0,0,0,21,23,23,25,26,25,26,26,27,27,27,27,0,0,0,0,0,0,0,0,27,28,28,28,28,27,28,26,27,28,27,28,0,0,0,0,0,0,0,0,24,24,23,22,22,21,20,18,17,14,13,10,0,0,0,0,0,0,0,0,6,7,7,6,7,7,7,7,9,8,8,8,0,0,0,0,0,0,0,0,10,10,10,9,9,9,9,9,9,9,9,8,0,0,0,0,0,0,0,0,8,8,8,8,7,8,8,8,7,7,6,5,0,0,0,0,0,0,0,0,5,5,6,6,7,7,8,7,8,7,6,7,0,0,0,0,0,0,0,0,8,7,6,7,6,6,6,6,6,5,6,7,0,0,0,0,0,0,0,0,7,7,8,7,7,7,7,8,10,8,8,9,0,0,0,0,0,0,0,0,11,12,12,12,14,12,13,13,13,13,12,11,0,0,0,0,0,0,0,0,10,9,8,8,10,9,8,8,8,7,8,9,0,0,0,0,0,0,0,0,6,6,7,7,6,6,5,5,5,4,4,5,0,0,0,0,0,0,0,0,5,6,5,5,5,6,6,6,6,6,7,8,0,0,0,0,0,0,0,0,10,11,13,13,14,14,13,12,13,14,13,13,0,0,0,0,0,0,0,0,13,13,13,12,13,13,11,12,12,12,12,10,0,0,0,0,0,0,0,0,8,7,7,6,7,6,6,6,6,4,4,4,0,0,0,0,0,0,0,0,4,4,4,5,5,6,6,6,6,6,5,6,0,0,0,0,0,0,0,0,7,7,7,7,6,6,6,6,5,5,5,5,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,6,5,5,5,5,5,5,5,5,4,4,3,0,0,0,0,0,0,0,0,2,2,3,2,2,3,4,3,4,5,5,5,0,0,0,0,0,0,0,0,10,11,12,11,12,16,15,16,18,19,21,21,0,0,0,0,0,0,0,0,22,19,25,23,21,24,25,22,24,26,25,19,0,0,0,0,0,0,0,0,25,22,22,23,25,21,21,24,23],[0,27,25,26,26,25,27,25,25,26,23,23,24,22,24,23,25,24,25,26,0,0,0,0,0,0,0,0,26,26,25,27,26,27,26,27,26,27,27,27,0,0,0,0,0,0,0,0,23,24,23,21,22,21,19,19,19,18,16,17,0,0,0,0,0,0,0,0,8,8,7,7,7,7,7,7,8,9,9,8,0,0,0,0,0,0,0,0,9,10,10,10,10,11,11,11,10,11,11,11,0,0,0,0,0,0,0,0,13,14,14,14,13,14,13,13,13,13,12,12,0,0,0,0,0,0,0,0,11,9,10,11,9,9,10,10,10,10,10,10,0,0,0,0,0,0,0,0,10,11,11,10,10,10,11,12,12,12,12,12,0,0,0,0,0,0,0,0,10,9,11,11,9,10,11,10,9,9,9,8,0,0,0,0,0,0,0,0,8,7,8,8,7,8,8,8,9,9,8,8,0,0,0,0,0,0,0,0,8,9,9,8,8,9,9,9,9,9,9,8,0,0,0,0,0,0,0,0,8,8,7,8,8,9,9,10,10,10,9,10,0,0,0,0,0,0,0,0,7,7,7,7,6,6,7,7,7,7,6,6,0,0,0,0,0,0,0,0,7,6,6,7,7,6,6,6,7,7,6,7,0,0,0,0,0,0,0,0,7,7,6,7,7,6,7,7,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,6,5,6,6,6,0,0,0,0,0,0,0,0,7,8,8,9,9,8,10,11,10,12,12,14,0,0,0,0,0,0,0,0,18,16,18,20,21,19,21,22,23,21,24,20,0,0,0,0,0,0,0,0,20,23,23,24,24,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,26,26,26,26,26,26,26,25,26,25,25,26,0,0,0,0,0,0,0,0,24,22,22,20,19,17,17,15,14,12,11,9,0,0,0,0,0,0,0,0,5,5,5,5,6,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,8,8,8,7,7,7,8,7,9,9,7,8,0,0,0,0,0,0,0,0,7,6,6,6,6,6,6,5,4,4,3,4,0,0,0,0,0,0,0,0,4,4,4,5,6,6,6,6,6,6,4,5,0,0,0,0,0,0,0,0,6,4,4,5,5,4,4,5,4,4,5,5,0,0,0,0,0,0,0,0,5,6,6,5,6,6,6,7,8,8,8,7,0,0,0,0,0,0,0,0,9,10,10,10,10,10,10,11,10,11,10,9,0,0,0,0,0,0,0,0,8,8,7,7,7,7,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,4,3,3,3,3,3,3,4,0,0,0,0,0,0,0,0,4,6,5,5,5,5,5,6,6,5,6,6,0,0,0,0,0,0,0,0,8,9,10,10,10,11,10,11,11,11,11,11,0,0,0,0,0,0,0,0,12,11,11,11,11,11,10,10,9,9,8,8,0,0,0,0,0,0,0,0,7,5,6,6,5,5,4,4,4,4,3,4,0,0,0,0,0,0,0,0,4,4,3,4,5,5,5,5,5,6,5,5,0,0,0,0,0,0,0,0,6,6,6,5,6,6,5,5,5,5,5,4,0,0,0,0,0,0,0,0,5,5,6,6,6,6,6,6,6,6,6,7,0,0,0,0,0,0,0,0,6,5,5,5,5,5,4,4,4,4,4,3,0,0,0,0,0,0,0,0,1,1,1,2,2,2,2,2,3,3,3,3,0,0,0,0,0,0,0,0,10,10,11,11,12,14,13,16,17,16,18,20,0,0,0,0,0,0,0,0,21,19,26,23,21,24,25,22,24,25,24,21,0,0,0,0,0,0,0,0,23,21,19,23,23,18,20,22,21],[0,28,28,27,28,28,27,27,27,26,26,25,26,25,25,25,26,26,26,26,0,0,0,0,0,0,0,0,27,28,26,27,28,28,27,28,27,28,28,28,0,0,0,0,0,0,0,0,25,24,23,23,23,21,20,21,20,19,18,18,0,0,0,0,0,0,0,0,7,7,7,6,6,5,6,6,7,7,8,7,0,0,0,0,0,0,0,0,8,8,9,10,9,10,10,10,9,10,11,11,0,0,0,0,0,0,0,0,13,13,13,13,12,12,12,12,12,12,11,11,0,0,0,0,0,0,0,0,10,9,10,10,8,9,9,10,10,10,10,10,0,0,0,0,0,0,0,0,8,9,10,8,8,8,10,10,10,10,10,10,0,0,0,0,0,0,0,0,8,8,9,9,8,8,9,8,7,8,8,7,0,0,0,0,0,0,0,0,7,6,7,7,6,7,8,8,9,9,8,8,0,0,0,0,0,0,0,0,8,8,9,8,7,8,8,7,7,8,7,6,0,0,0,0,0,0,0,0,7,7,6,7,7,8,8,9,9,9,8,9,0,0,0,0,0,0,0,0,6,6,6,6,5,5,6,6,7,6,6,5,0,0,0,0,0,0,0,0,6,5,5,6,6,5,5,6,6,7,7,7,0,0,0,0,0,0,0,0,6,6,5,5,5,5,5,6,5,5,5,5,0,0,0,0,0,0,0,0,5,5,5,5,5,5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,0,0,22,20,19,22,23,18,17,21,20],[0,28,28,28,28,27,27,27,27,27,25,25,26,24,26,24,26,25,26,26,0,0,0,0,0,0,0,0,28,28,26,28,28,28,28,28,28,28,29,28,0,0,0,0,0,0,0,0,25,25,24,23,23,22,21,21,20,20,18,19,0,0,0,0,0,0,0,0,7,7,6,6,6,6,6,7,7,7,8,7,0,0,0,0,0,0,0,0,8,8,8,9,8,9,9,9,9,9,10,9,0,0,0,0,0,0,0,0,11,11,12,11,10,10,10,10,10,10,9,10,0,0,0,0,0,0,0,0,9,8,9,9,8,8,8,8,9,8,9,8,0,0,0,0,0,0,0,0,9,8,9,8,8,8,9,9,9,9,9,9,0,0,0,0,0,0,0,0,9,8,8,8,8,8,8,8,7,7,8,7,0,0,0,0,0,0,0,0,6,6,7,6,6,6,7,7,8,8,7,8,0,0,0,0,0,0,0,0,8,8,8,8,8,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,7,7,6,7,7,8,8,8,9,8,8,8,0,0,0,0,0,0,0,0,6,6,5,6,6,5,5,6,7,6,5,5,0,0,0,0,0,0,0,0,6,5,5,5,6,5,5,5,6,6,6,7,0,0,0,0,0,0,0,0,6,5,5,5,5,6,5,5,5,5,5,6,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,6,0,0,0,0,0,0,0,0,6,7,7,8,8,7,9,10,10,11,11,14,0,0,0,0,0,0,0,0,18,19,20,22,23,22,24,24,26,24,25,21,0,0,0,0,0,0,0,0,23,23,25,25,27,25,27,26,27,27,27,27,0,0,0,0,0,0,0,0,27,27,27,27,28,27,27,26,27,27,26,27,0,0,0,0,0,0,0,0,24,24,22,23,20,20,19,16,14,11,10,8,0,0,0,0,0,0,0,0,5,5,5,4,5,5,5,5,6,6,6,6,0,0,0,0,0,0,0,0,7,7,7,7,6,6,7,7,8,9,7,7,0,0,0,0,0,0,0,0,6,6,5,5,6,5,5,4,4,4,4,3,0,0,0,0,0,0,0,0,4,4,4,5,5,6,6,6,6,6,4,4,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4,4,5,4,4,4,0,0,0,0,0,0,0,0,3,4,3,4,4,4,4,3,4,4,3,3,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,8,10,11,10,10,13,13,14,16,15,18,18,0,0,0,0,0,0,0,0,21,19,24,23,21,23,24,22,23,24,24,20,0,0,0,0,0,0,0,0,24,21,21,22,24,20,19,23,22],[0,27,25,27,27,25,27,27,25,25,24,24,25,23,25,24,26,25,26,26,0,0,0,0,0,0,0,0,27,26,25,27,27,28,26,27,26,27,27,27,0,0,0,0,0,0,0,0,23,23,22,21,21,21,18,19,18,17,16,16,0,0,0,0,0,0,0,0,6,5,5,4,4,4,4,5,5,6,6,5,0,0,0,0,0,0,0,0,6,6,6,7,6,7,7,6,6,7,7,6,0,0,0,0,0,0,0,0,8,9,9,8,8,8,8,8,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,7,6,6,6,6,0,0,0,0,0,0,0,0,6,6,7,6,6,6,6,7,7,8,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,5,5,5,5,4,5,5,5,6,6,5,6,0,0,0,0,0,0,0,0,5,6,6,5,5,5,5,5,5,5,5,4,0,0,0,0,0,0,0,0,5,5,4,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,3,4,4,4,5,5,4,3,0,0,0,0,0,0,0,0,4,3,3,4,4,3,3,4,4,4,4,5,0,0,0,0,0,0,0,0,4,3,3,4,4,3,4,4,3,3,4,4,0,0,0,0,0,0,0,0,4,3,3,3,4,3,3,4,3,4,4,4,0,0,0,0,0,0,0,0,5,5,5,6,6,7,8,9,8,10,11,12,0,0,0,0,0,0,0,0,17,16,17,19,20,20,21,21,22,21,22,19,0,0,0,0,0,0,0,0,19,22,23,23,25,24,24,25,25,25,25,25,0,0,0,0,0,0,0,0,26,26,26,26,27,25,26,23,25,25,24,26,0,0,0,0,0,0,0,0,22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,0,0,0,0,0,0,7,10,10,10,10,12,13,14,16,16,19,18,0,0,0,0,0,0,0,0,20,20,24,24,21,22,23,23,24,23,24,22,0,0,0,0,0,0,0,0,22,21,21,22,23,20,19,22,22],[0,28,26,27,28,26,28,27,26,26,25,24,26,24,26,24,26,26,25,27,0,0,0,0,0,0,0,0,28,27,26,28,28,28,28,28,27,28,29,28,0,0,0,0,0,0,0,0,24,24,22,21,22,21,19,20,19,18,17,16,0,0,0,0,0,0,0,0,6,5,5,4,4,4,4,4,5,5,5,5,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,7,6,0,0,0,0,0,0,0,0,8,9,9,8,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,7,7,7,7,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,5,5,5,5,5,0,0,0,0,0,0,0,0,5,4,5,5,4,4,5,5,6,6,5,6,0,0,0,0,0,0,0,0,5,6,6,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,0,5,5,4,5,5,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,4,4,4,4,3,4,4,4,5,4,4,3,0,0,0,0,0,0,0,0,4,3,3,4,4,4,4,4,4,4,4,5,0,0,0,0,0,0,0,0,4,3,3,4,4,3,4,4,3,3,4,4,0,0,0,0,0,0,0,0,4,4,3,3,4,3,3,4,3,4,4,4,0,0,0,0,0,0,0,0,5,5,6,6,6,6,8,9,9,10,11,12,0,0,0,0,0,0,0,0,17,17,17,20,21,20,21,22,24,22,24,21,0,0,0,0,0,0,0,0,20,22,24,24,26,24,25,25,26,26,26,26,0,0,0,0,0,0,0,0,26,26,26,26,27,25,26,25,25,26,25,26,0,0,0,0,0,0,0,0,21,23,20,19,19,17,17,15,13,12,9,8,0,0,0,0,0,0,0,0,4,4,3,4,4,4,4,5,5,5,5,6,0,0,0,0,0,0,0,0,6,5,5,5,5,6,6,6,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,5,6,0,0,0,0,0,0,0,0,6,5,6,6,6,6,6,5,6,6,5,5,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,1,1,1,0,0,0,0,0,0,0,0,7,9,10,10,9,11,13,14,15,16,18,18,0,0,0,0,0,0,0,0,21,21,24,23,23,22,22,22,24,24,23,23,0,0,0,0,0,0,0,0,22,21,21,23,23,20,19,22,22],[0,29,28,28,29,27,29,29,27,28,27,27,28,27,27,27,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,30,29,30,29,29,0,0,0,0,0,0,0,0,28,27,27,27,27,27,26,27,25,25,24,23,0,0,0,0,0,0,0,0,13,13,12,13,12,12,13,12,12,12,14,14,0,0,0,0,0,0,0,0,14,15,14,14,15,15,15,16,15,15,14,14,0,0,0,0,0,0,0,0,14,15,16,16,15,15,15,16,14,15,15,14,0,0,0,0,0,0,0,0,13,13,14,13,13,13,13,15,13,14,14,14,0,0,0,0,0,0,0,0,15,14,14,13,14,14,13,15,15,14,15,15,0,0,0,0,0,0,0,0,14,13,13,14,13,13,13,13,12,13,12,12,0,0,0,0,0,0,0,0,10,10,13,12,11,12,13,13,14,13,13,16,0,0,0,0,0,0,0,0,13,14,14,14,12,14,14,11,14,13,12,11,0,0,0,0,0,0,0,0,13,13,10,12,12,12,12,14,13,12,12,12,0,0,0,0,0,0,0,0,10,9,9,8,7,8,8,9,9,9,8,7,0,0,0,0,0,0,0,0,10,10,10,10,11,10,11,12,10,11,11,12,0,0,0,0,0,0,0,0,11,9,10,11,9,8,10,11,8,8,10,12,0,0,0,0,0,0,0,0,9,8,7,9,9,9,7,9,9,10,10,11,0,0,0,0,0,0,0,0,12,13,13,15,14,14,16,17,17,19,18,19,0,0,0,0,0,0,0,0,23,24,25,26,27,26,27,27,28,27,28,26,0,0,0,0,0,0,0,0,25,26,28,27,27,27,28,27,27,28,28,28,0,0,0,0,0,0,0,0,28,28,28,29,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,26,27,25,24,24,21,23,19,19,18,15,15,0,0,0,0,0,0,0,0,11,11,11,11,11,12,12,12,12,12,12,13,0,0,0,0,0,0,0,0,13,12,12,13,13,13,14,15,16,16,15,15,0,0,0,0,0,0,0,0,13,11,11,11,11,11,11,9,10,8,8,9,0,0,0,0,0,0,0,0,6,7,7,7,8,8,9,8,8,7,5,6,0,0,0,0,0,0,0,0,6,5,4,6,6,5,6,8,7,8,9,8,0,0,0,0,0,0,0,0,12,13,12,12,11,12,12,13,13,14,14,13,0,0,0,0,0,0,0,0,14,15,16,15,16,14,15,15,16,15,15,15,0,0,0,0,0,0,0,0,13,13,13,13,13,13,12,11,12,10,11,11,0,0,0,0,0,0,0,0,7,7,7,5,5,7,6,5,8,8,7,8,0,0,0,0,0,0,0,0,10,10,13,11,14,12,12,13,12,10,13,12,0,0,0,0,0,0,0,0,14,14,15,14,15,15,15,14,14,15,15,15,0,0,0,0,0,0,0,0,17,16,15,15,16,15,14,14,14,14,13,14,0,0,0,0,0,0,0,0,12,11,12,11,12,9,12,11,10,8,10,10,0,0,0,0,0,0,0,0,12,11,13,12,12,11,12,12,11,11,12,13,0,0,0,0,0,0,0,0,11,12,12,12,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,0,12,13,13,11,13,13,13,12,13,13,11,12,0,0,0,0,0,0,0,0,12,11,12,12,12,12,12,12,12,14,11,11,0,0,0,0,0,0,0,0,9,8,9,8,7,7,6,6,6,4,4,4,0,0,0,0,0,0,0,0,8,9,10,10,10,13,16,16,16,17,21,20,0,0,0,0,0,0,0,0,23,22,24,23,22,23,24,24,24,26,24,22,0,0,0,0,0,0,0,0,25,23,23,24,25,22,21,24,24],[0,28,27,28,29,27,28,29,27,28,28,28,29,27,29,28,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,29,29,29,28,28,0,0,0,0,0,0,0,0,24,24,23,22,22,22,22,22,23,23,24,24,0,0,0,0,0,0,0,0,25,23,26,25,23,26,25,25,22,25,25,23,0,0,0,0,0,0,0,0,24,23,24,25,25,25,25,25,24,25,25,23,0,0,0,0,0,0,0,0,24,22,24,25,22,20,24,22,22,23,24,25,0,0,0,0,0,0,0,0,22,25,25,22,24,25,25,25,26,25,24,24,0,0,0,0,0,0,0,0,23,24,25,25,23,24,25,23,23,25,24,20,0,0,0,0,0,0,0,0,21,19,21,21,21,20,22,20,22,22,20,22,0,0,0,0,0,0,0,0,22,23,23,22,22,24,23,22,23,24,22,21,0,0,0,0,0,0,0,0,23,22,21,22,22,22,23,23,23,23,23,24,0,0,0,0,0,0,0,0,20,19,17,18,16,15,15,17,18,16,13,14,0,0,0,0,0,0,0,0,21,20,18,21,21,19,20,21,21,21,20,22,0,0,0,0,0,0,0,0,20,18,21,22,19,17,20,20,17,17,19,22,0,0,0,0,0,0,0,0,21,19,18,21,21,19,18,21,20,22,21,22,0,0,0,0,0,0,0,0,23,24,24,25,23,23,24,26,26,25,26,26,0,0,0,0,0,0,0,0,28,29,28,29,30,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,28,28,27,27,28,26,25,26,24,23,0,0,0,0,0,0,0,0,21,22,21,21,22,22,21,23,22,22,22,23,0,0,0,0,0,0,0,0,22,20,19,22,22,24,24,24,24,24,23,24,0,0,0,0,0,0,0,0,25,22,22,23,22,21,22,22,20,19,16,20,0,0,0,0,0,0,0,0,15,15,19,15,14,15,16,14,14,11,12,13,0,0,0,0,0,0,0,0,13,10,9,12,11,9,10,14,12,14,14,13,0,0,0,0,0,0,0,0,20,21,20,19,21,21,18,21,20,20,20,21,0,0,0,0,0,0,0,0,24,25,26,25,25,25,25,25,26,25,26,24,0,0,0,0,0,0,0,0,24,21,20,23,22,20,20,21,21,19,20,21,0,0,0,0,0,0,0,0,11,15,17,12,12,15,10,12,14,13,8,11,0,0,0,0,0,0,0,0,19,20,20,20,22,20,20,22,21,19,23,23,0,0,0,0,0,0,0,0,24,24,26,25,26,26,25,24,25,26,25,25,0,0,0,0,0,0,0,0,25,25,24,25,25,24,24,24,23,24,24,25,0,0,0,0,0,0,0,0,21,20,19,21,21,20,19,20,19,17,19,21,0,0,0,0,0,0,0,0,21,21,20,20,20,20,22,21,22,21,23,23,0,0,0,0,0,0,0,0,22,24,23,20,22,23,21,20,22,22,21,21,0,0,0,0,0,0,0,0,23,21,21,21,22,23,24,23,22,24,22,24,0,0,0,0,0,0,0,0,22,22,22,22,22,21,20,21,21,21,19,19,0,0,0,0,0,0,0,0,19,18,19,13,13,13,10,9,10,10,7,6,0,0,0,0,0,0,0,0,7,9,12,11,10,15,18,19,20,20,23,23,0,0,0,0,0,0,0,0,25,24,25,25,25,24,26,26,26,26,26,25,0,0,0,0,0,0,0,0,26,25,25,26,27,25,23,26,26],[0,29,27,28,29,28,29,29,28,28,28,29,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,25,26,26,24,25,23,24,26,26,25,26,27,0,0,0,0,0,0,0,0,27,26,28,28,26,28,27,27,26,27,27,26,0,0,0,0,0,0,0,0,26,25,26,27,27,27,27,26,26,27,26,26,0,0,0,0,0,0,0,0,26,24,25,26,24,22,24,24,27,25,27,27,0,0,0,0,0,0,0,0,25,27,26,25,26,27,26,27,28,26,27,26,0,0,0,0,0,0,0,0,26,27,27,27,25,25,26,25,24,25,25,22,0,0,0,0,0,0,0,0,24,21,24,24,23,21,24,23,25,24,23,25,0,0,0,0,0,0,0,0,25,26,26,26,24,27,26,24,26,26,25,23,0,0,0,0,0,0,0,0,25,25,21,25,24,26,25,26,25,24,25,24,0,0,0,0,0,0,0,0,23,22,21,21,19,17,16,20,20,18,16,16,0,0,0,0,0,0,0,0,24,23,21,23,24,22,23,25,23,24,24,25,0,0,0,0,0,0,0,0,23,22,22,24,22,21,22,23,20,19,22,24,0,0,0,0,0,0,0,0,22,23,19,23,22,21,19,23,22,22,23,22,0,0,0,0,0,0,0,0,26,24,26,26,26,26,26,27,27,27,28,28,0,0,0,0,0,0,0,0,29,30,29,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,27,26,26,25,24,0,0,0,0,0,0,0,0,22,23,23,24,24,24,23,25,24,24,25,25,0,0,0,0,0,0,0,0,23,22,21,24,23,24,24,25,26,26,25,26,0,0,0,0,0,0,0,0,25,25,24,24,24,24,23,23,21,21,20,21,0,0,0,0,0,0,0,0,15,16,18,17,14,14,17,16,13,11,12,14,0,0,0,0,0,0,0,0,15,14,11,15,15,11,13,17,15,18,19,19,0,0,0,0,0,0,0,0,24,24,23,22,24,24,23,25,24,24,24,24,0,0,0,0,0,0,0,0,26,27,27,27,27,27,27,27,27,27,28,27,0,0,0,0,0,0,0,0,27,25,25,25,25,24,23,24,23,22,22,23,0,0,0,0,0,0,0,0,15,18,18,15,14,18,14,12,18,18,14,17,0,0,0,0,0,0,0,0,23,23,24,23,24,24,24,24,24,24,25,26,0,0,0,0,0,0,0,0,27,27,27,27,27,28,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,26,26,26,27,26,26,27,25,26,25,27,0,0,0,0,0,0,0,0,25,22,22,24,23,23,24,22,22,22,23,22,0,0,0,0,0,0,0,0,24,24,24,24,24,22,25,25,25,24,26,27,0,0,0,0,0,0,0,0,26,27,24,23,25,26,23,23,25,24,23,24,0,0,0,0,0,0,0,0,26,24,24,25,26,25,27,26,25,26,25,26,0,0,0,0,0,0,0,0,24,24,24,25,24,23,24,24,24,25,22,24,0,0,0,0,0,0,0,0,21,20,20,18,16,15,14,13,11,11,10,8,0,0,0,0,0,0,0,0,5,7,9,9,9,14,16,17,20,20,23,23,0,0,0,0,0,0,0,0,24,22,25,25,24,23,26,25,25,26,26,25,0,0,0,0,0,0,0,0,25,25,25,26,26,25,23,25,26],[0,29,27,29,29,28,30,30,28,29,29,29,30,29,30,29,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,0,0,0,0,31,31,31,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,29,28,27,28,25,27,28,28,28,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,29,28,29,28,29,29,28,0,0,0,0,0,0,0,0,28,27,28,29,29,29,29,28,28,28,29,27,0,0,0,0,0,0,0,0,27,26,25,27,26,26,25,26,26,27,28,27,0,0,0,0,0,0,0,0,28,29,29,26,29,29,29,29,29,28,29,28,0,0,0,0,0,0,0,0,28,29,29,29,27,27,28,27,26,27,26,25,0,0,0,0,0,0,0,0,26,24,26,25,26,24,25,26,25,26,25,26,0,0,0,0,0,0,0,0,28,27,27,27,27,28,26,26,28,28,26,25,0,0,0,0,0,0,0,0,27,27,24,27,28,27,27,28,27,27,26,26,0,0,0,0,0,0,0,0,26,24,24,24,21,21,19,22,22,20,18,17,0,0,0,0,0,0,0,0,26,26,25,26,26,26,26,27,26,26,27,27,0,0,0,0,0,0,0,0,25,25,26,27,25,24,25,26,24,23,25,26,0,0,0,0,0,0,0,0,26,26,24,27,26,25,25,26,26,27,26,26,0,0,0,0,0,0,0,0,28,28,28,28,27,28,28,29,29,28,29,29,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,29,29,29,29,28,28,29,27,27,0,0,0,0,0,0,0,0,27,27,27,27,28,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,25,25,23,26,27,27,27,27,27,28,26,28,0,0,0,0,0,0,0,0,28,27,27,27,27,27,27,26,26,25,23,25,0,0,0,0,0,0,0,0,17,19,21,18,14,13,18,17,15,13,15,17,0,0,0,0,0,0,0,0,20,17,15,17,19,15,15,19,19,23,23,23,0,0,0,0,0,0,0,0,27,27,26,27,28,28,26,28,27,27,27,27,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,27,28,28,28,27,27,27,26,26,26,26,0,0,0,0,0,0,0,0,20,22,22,20,18,22,19,18,22,22,18,22,0,0,0,0,0,0,0,0,27,28,28,27,27,28,28,27,27,27,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,28,29,27,28,28,27,28,28,29,0,0,0,0,0,0,0,0,28,25,26,27,26,26,27,27,27,26,27,27,0,0,0,0,0,0,0,0,27,28,28,28,27,26,28,28,28,27,29,28,0,0,0,0,0,0,0,0,28,29,28,27,28,28,27,27,28,28,27,28,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,28,28,28,27,28,0,0,0,0,0,0,0,0,26,27,28,27,27,27,28,27,27,27,26,28,0,0,0,0,0,0,0,0,25,23,23,22,20,19,18,16,15,15,13,12,0,0,0,0,0,0,0,0,4,7,7,8,8,11,13,16,18,22,23,24,0,0,0,0,0,0,0,0,25,23,25,26,23,25,27,25,26,28,27,24,0,0,0,0,0,0,0,0,26,24,25,25,26,24,23,25,25],[0,28,27,28,28,28,29,28,28,29,28,28,29,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,30,31,31,31,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,27,29,28,27,28,27,27,28,28,28,28,29,0,0,0,0,0,0,0,0,29,27,29,28,28,29,28,28,28,29,28,27,0,0,0,0,0,0,0,0,28,28,28,28,28,29,29,28,28,29,28,28,0,0,0,0,0,0,0,0,28,25,26,27,25,26,26,26,26,26,27,28,0,0,0,0,0,0,0,0,27,29,28,26,28,29,28,29,29,28,28,28,0,0,0,0,0,0,0,0,28,28,29,29,27,27,28,27,26,27,27,26,0,0,0,0,0,0,0,0,25,24,26,24,25,24,25,25,25,25,24,25,0,0,0,0,0,0,0,0,27,27,27,27,26,28,26,25,28,28,26,25,0,0,0,0,0,0,0,0,28,27,26,27,27,27,27,27,27,27,27,27,0,0,0,0,0,0,0,0,27,24,23,25,22,21,18,23,24,20,18,16,0,0,0,0,0,0,0,0,25,26,21,24,24,25,24,25,24,24,25,26,0,0,0,0,0,0,0,0,25,24,26,27,25,24,26,26,23,23,25,26,0,0,0,0,0,0,0,0,26,26,23,27,26,24,22,26,25,27,26,26,0,0,0,0,0,0,0,0,28,28,28,27,27,27,27,28,28,28,28,28,0,0,0,0,0,0,0,0,30,30,29,30,31,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,29,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,31,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,29,30,29,29,29,28,28,28,27,27,0,0,0,0,0,0,0,0,26,26,26,26,28,26,26,26,26,26,26,27,0,0,0,0,0,0,0,0,24,24,23,25,26,27,27,27,27,26,25,27,0,0,0,0,0,0,0,0,28,27,26,27,27,26,27,26,26,24,22,25,0,0,0,0,0,0,0,0,17,17,17,16,13,13,17,15,15,12,15,16,0,0,0,0,0,0,0,0,21,18,15,15,19,15,15,17,18,20,21,22,0,0,0,0,0,0,0,0,26,26,26,26,27,27,26,26,26,25,25,26,0,0,0,0,0,0,0,0,28,28,29,28,29,28,28,28,28,28,29,28,0,0,0,0,0,0,0,0,29,27,28,29,28,26,27,28,26,26,26,25,0,0,0,0,0,0,0,0,20,23,24,20,18,23,18,18,23,22,17,22,0,0,0,0,0,0,0,0,25,27,26,26,27,27,27,27,27,26,28,27,0,0,0,0,0,0,0,0,29,28,29,28,29,29,29,28,29,28,29,29,0,0,0,0,0,0,0,0,28,28,28,28,28,27,28,28,27,28,27,29,0,0,0,0,0,0,0,0,28,25,26,27,27,26,26,27,26,25,27,26,0,0,0,0,0,0,0,0,27,27,26,27,25,27,27,26,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,27,28,28,27,27,27,27,27,28,0,0,0,0,0,0,0,0,27,26,26,27,28,28,28,28,27,28,28,27,0,0,0,0,0,0,0,0,26,26,27,26,26,25,26,26,25,26,25,25,0,0,0,0,0,0,0,0,22,21,23,20,19,20,19,15,15,16,13,11,0,0,0,0,0,0,0,0,2,4,5,8,7,11,11,14,16,18,19,21,0,0,0,0,0,0,0,0,22,21,24,23,22,23,24,24,23,25,24,22,0,0,0,0,0,0,0,0,25,22,24,25,26,22,20,24,23],[0,28,27,29,29,28,29,29,28,29,29,29,29,28,29,29,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,31,31,31,31,30,31,31,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,27,28,28,27,27,26,26,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,29,29,29,28,29,28,28,0,0,0,0,0,0,0,0,28,28,28,28,29,29,29,29,28,29,28,28,0,0,0,0,0,0,0,0,27,25,26,27,25,25,25,24,25,25,27,26,0,0,0,0,0,0,0,0,28,29,28,27,28,29,28,28,29,28,29,28,0,0,0,0,0,0,0,0,28,29,28,28,27,27,28,27,25,27,26,24,0,0,0,0,0,0,0,0,24,22,24,24,23,22,24,24,24,24,24,24,0,0,0,0,0,0,0,0,27,27,27,26,25,28,26,25,27,28,25,25,0,0,0,0,0,0,0,0,27,26,24,27,26,27,27,27,27,26,26,25,0,0,0,0,0,0,0,0,24,22,22,22,20,19,18,21,22,19,17,17,0,0,0,0,0,0,0,0,23,23,21,23,24,24,24,25,23,23,25,25,0,0,0,0,0,0,0,0,24,23,25,26,22,22,24,25,22,22,24,26,0,0,0,0,0,0,0,0,25,24,22,25,24,24,20,24,25,25,25,25,0,0,0,0,0,0,0,0,27,27,27,27,27,26,27,28,28,28,28,27,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,29,29,29,28,28,28,27,27,0,0,0,0,0,0,0,0,26,25,23,26,25,24,25,26,26,25,26,25,0,0,0,0,0,0,0,0,23,22,21,24,25,25,25,26,25,26,25,27,0,0,0,0,0,0,0,0,27,26,25,26,26,25,26,24,23,23,21,22,0,0,0,0,0,0,0,0,14,16,16,14,12,10,15,14,13,11,13,15,0,0,0,0,0,0,0,0,19,17,14,15,17,15,15,17,19,19,21,21,0,0,0,0,0,0,0,0,25,25,26,25,27,27,24,27,26,26,26,26,0,0,0,0,0,0,0,0,27,28,28,28,28,28,28,28,28,29,28,28,0,0,0,0,0,0,0,0,29,27,27,28,27,25,26,27,25,23,25,25,0,0,0,0,0,0,0,0,20,21,21,20,17,21,17,17,21,22,16,21,0,0,0,0,0,0,0,0,24,26,26,24,25,27,27,26,27,26,28,28,0,0,0,0,0,0,0,0,28,28,28,29,28,29,29,28,29,28,29,28,0,0,0,0,0,0,0,0,28,29,28,28,28,28,28,28,28,27,28,28,0,0,0,0,0,0,0,0,27,24,25,27,25,25,26,26,25,24,26,26,0,0,0,0,0,0,0,0,26,27,26,26,26,26,27,27,26,27,28,28,0,0,0,0,0,0,0,0,27,28,27,27,27,27,26,26,27,26,26,26,0,0,0,0,0,0,0,0,27,27,27,26,27,28,27,27,27,27,26,27,0,0,0,0,0,0,0,0,26,27,26,26,26,26,26,26,26,26,25,26,0,0,0,0,0,0,0,0,21,20,21,20,17,16,17,14,14,14,13,10,0,0,0,0,0,0,0,0,0,1,2,5,4,6,6,8,9,10,12,15,0,0,0,0,0,0,0,0,20,20,23,21,20,21,22,22,21,24,24,21,0,0,0,0,0,0,0,0,25,22,22,23,24,22,19,23,20],[0,28,27,28,28,27,28,28,28,28,27,28,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,26,28,27,26,27,26,26,28,27,27,27,28,0,0,0,0,0,0,0,0,29,28,28,28,28,29,28,29,28,28,28,27,0,0,0,0,0,0,0,0,27,27,28,28,28,28,28,28,28,28,27,27,0,0,0,0,0,0,0,0,27,24,25,27,24,23,24,23,25,24,27,25,0,0,0,0,0,0,0,0,28,28,27,26,28,27,27,28,29,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,26,26,27,26,23,26,25,24,0,0,0,0,0,0,0,0,23,21,25,24,22,22,24,24,26,25,24,26,0,0,0,0,0,0,0,0,27,27,26,26,26,28,26,24,27,27,24,23,0,0,0,0,0,0,0,0,27,25,24,27,25,26,25,26,26,26,25,25,0,0,0,0,0,0,0,0,25,21,21,21,20,19,18,21,21,19,18,16,0,0,0,0,0,0,0,0,23,23,20,23,24,24,23,25,23,24,25,25,0,0,0,0,0,0,0,0,23,21,24,25,23,21,24,23,22,20,24,25,0,0,0,0,0,0,0,0,23,24,22,24,23,21,21,23,24,23,23,23,0,0,0,0,0,0,0,0,27,26,27,26,27,26,27,29,29,28,28,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,28,28,27,26,28,26,26,0,0,0,0,0,0,0,0,24,23,24,24,23,24,24,23,23,24,24,24,0,0,0,0,0,0,0,0,21,21,20,22,22,23,24,24,24,25,24,26,0,0,0,0,0,0,0,0,26,25,25,25,25,25,23,23,23,22,21,22,0,0,0,0,0,0,0,0,15,16,16,13,13,10,12,14,12,12,15,17,0,0,0,0,0,0,0,0,19,18,14,15,19,13,13,17,19,20,20,20,0,0,0,0,0,0,0,0,25,25,25,25,27,26,25,27,25,26,26,26,0,0,0,0,0,0,0,0,28,29,28,28,28,29,28,29,29,29,28,28,0,0,0,0,0,0,0,0,29,28,27,28,27,25,26,27,24,24,25,24,0,0,0,0,0,0,0,0,21,21,21,19,18,22,17,19,21,21,17,21,0,0,0,0,0,0,0,0,23,24,24,24,25,26,26,27,27,25,28,27,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,29,28,28,28,28,27,28,27,28,0,0,0,0,0,0,0,0,27,25,26,26,26,24,25,25,24,22,24,24,0,0,0,0,0,0,0,0,26,24,24,25,25,25,26,27,26,27,28,28,0,0,0,0,0,0,0,0,27,27,28,25,27,27,26,26,27,26,24,26,0,0,0,0,0,0,0,0,27,26,26,26,27,27,27,27,26,27,26,26,0,0,0,0,0,0,0,0,25,25,25,25,25,24,25,24,24,25,22,24,0,0,0,0,0,0,0,0,22,22,22,21,20,18,19,16,16,16,13,10,0,0,0,0,0,0,0,0,1,0,1,2,2,4,5,8,8,11,12,16,0,0,0,0,0,0,0,0,17,19,19,19,19,20,21,21,21,24,22,20,0,0,0,0,0,0,0,0,23,20,21,20,22,19,18,19,19],[0,28,27,28,28,28,29,29,28,28,27,27,28,28,29,28,29,28,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,27,28,28,26,27,24,26,28,28,27,28,29,0,0,0,0,0,0,0,0,29,28,29,29,28,28,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,27,28,29,29,29,29,29,28,28,28,28,0,0,0,0,0,0,0,0,28,25,25,28,26,24,25,24,27,25,28,27,0,0,0,0,0,0,0,0,28,28,28,27,28,28,28,28,29,28,29,29,0,0,0,0,0,0,0,0,28,28,28,28,27,27,27,27,24,25,25,24,0,0,0,0,0,0,0,0,23,20,22,24,21,21,22,21,24,23,22,24,0,0,0,0,0,0,0,0,27,28,28,26,25,28,26,24,28,28,25,24,0,0,0,0,0,0,0,0,27,25,23,27,25,27,25,27,27,26,25,25,0,0,0,0,0,0,0,0,23,22,21,21,19,19,18,20,20,18,17,18,0,0,0,0,0,0,0,0,22,22,20,22,24,23,21,24,22,23,24,25,0,0,0,0,0,0,0,0,24,21,24,25,22,21,23,24,21,21,24,26,0,0,0,0,0,0,0,0,24,24,24,25,24,23,21,25,24,25,24,23,0,0,0,0,0,0,0,0,26,27,26,27,27,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,30,30,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,28,28,26,27,27,25,26,0,0,0,0,0,0,0,0,26,25,26,25,25,24,24,26,25,23,25,24,0,0,0,0,0,0,0,0,21,23,21,22,23,23,23,24,25,26,24,27,0,0,0,0,0,0,0,0,26,25,24,25,25,24,24,23,24,24,22,23,0,0,0,0,0,0,0,0,16,16,15,13,13,9,13,14,13,13,17,17,0,0,0,0,0,0,0,0,20,19,16,16,17,15,15,16,19,18,19,19,0,0,0,0,0,0,0,0,25,25,26,25,28,27,25,27,28,26,26,25,0,0,0,0,0,0,0,0,28,29,28,28,28,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,29,27,27,28,28,25,27,27,25,23,25,25,0,0,0,0,0,0,0,0,22,22,23,21,20,23,19,20,22,22,18,22,0,0,0,0,0,0,0,0,24,24,25,25,25,27,27,26,27,27,28,28,0,0,0,0,0,0,0,0,28,28,28,29,28,29,28,28,28,29,29,29,0,0,0,0,0,0,0,0,28,29,28,28,28,28,28,28,27,28,27,28,0,0,0,0,0,0,0,0,27,23,25,26,25,24,25,25,23,23,25,24,0,0,0,0,0,0,0,0,26,27,25,26,27,25,27,27,27,26,28,29,0,0,0,0,0,0,0,0,27,28,26,25,27,27,24,24,27,26,24,26,0,0,0,0,0,0,0,0,27,26,28,26,26,27,27,27,27,27,26,27,0,0,0,0,0,0,0,0,24,25,25,25,26,24,26,25,24,27,23,25,0,0,0,0,0,0,0,0,21,22,22,22,19,20,21,16,16,18,15,10,0,0,0,0,0,0,0,0,3,1,0,1,2,3,5,8,7,9,11,13,0,0,0,0,0,0,0,0,19,18,21,20,20,20,23,21,20,24,22,21,0,0,0,0,0,0,0,0,24,18,21,21,22,19,16,19,19],[0,27,26,27,27,27,28,28,28,28,28,28,28,28,29,28,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,26,27,24,26,28,28,28,28,28,0,0,0,0,0,0,0,0,29,28,29,29,28,28,29,29,28,29,29,28,0,0,0,0,0,0,0,0,28,28,29,29,29,29,29,29,28,29,28,28,0,0,0,0,0,0,0,0,28,25,26,28,25,24,25,25,26,25,28,28,0,0,0,0,0,0,0,0,27,28,28,27,28,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,28,27,27,28,27,24,27,26,25,0,0,0,0,0,0,0,0,23,23,23,24,22,22,24,24,24,24,23,25,0,0,0,0,0,0,0,0,27,28,28,27,25,28,26,24,27,28,25,24,0,0,0,0,0,0,0,0,27,25,24,26,26,27,27,28,26,27,26,26,0,0,0,0,0,0,0,0,23,23,23,22,22,21,20,21,21,19,19,19,0,0,0,0,0,0,0,0,22,21,20,22,25,22,22,24,22,23,25,26,0,0,0,0,0,0,0,0,24,22,23,25,23,23,24,24,23,23,25,26,0,0,0,0,0,0,0,0,25,25,23,24,24,24,21,24,23,26,24,24,0,0,0,0,0,0,0,0,27,28,26,27,26,27,28,28,27,28,27,28,0,0,0,0,0,0,0,0,29,29,29,30,30,29,29,29,29,29,30,28,0,0,0,0,0,0,0,0,28,28,28,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,28,28,25,27,26,25,27,0,0,0,0,0,0,0,0,24,23,23,25,25,23,24,25,25,22,24,24,0,0,0,0,0,0,0,0,21,22,20,20,23,22,23,25,24,25,25,26,0,0,0,0,0,0,0,0,26,25,24,26,25,24,25,23,24,22,21,22,0,0,0,0,0,0,0,0,15,13,15,12,10,9,13,13,13,13,15,18,0,0,0,0,0,0,0,0,19,19,16,16,18,14,16,17,19,19,19,20,0,0,0,0,0,0,0,0,24,25,27,25,28,27,26,27,27,25,25,26,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,28,28,28,29,0,0,0,0,0,0,0,0,29,28,28,28,28,26,26,27,25,23,24,25,0,0,0,0,0,0,0,0,22,21,22,21,19,21,18,20,21,22,19,21,0,0,0,0,0,0,0,0,23,25,25,25,25,27,26,27,28,26,28,28,0,0,0,0,0,0,0,0,28,29,29,29,28,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,28,28,28,29,28,28,28,28,0,0,0,0,0,0,0,0,27,24,25,26,25,24,25,25,24,23,25,25,0,0,0,0,0,0,0,0,25,26,24,25,26,25,27,27,27,26,28,28,0,0,0,0,0,0,0,0,27,28,26,25,27,27,25,25,27,26,25,25,0,0,0,0,0,0,0,0,26,26,27,26,27,28,27,27,27,27,26,26,0,0,0,0,0,0,0,0,24,26,26,26,26,25,24,25,24,25,23,23,0,0,0,0,0,0,0,0,19,20,21,20,16,18,19,15,14,15,14,12,0,0,0,0,0,0,0,0,4,3,1,0,1,3,5,7,7,8,10,12,0,0,0,0,0,0,0,0,18,18,19,20,18,18,19,20,18,21,21,20,0,0,0,0,0,0,0,0,23,18,20,19,22,19,16,19,18],[0,27,27,28,28,28,29,28,29,29,27,28,28,28,29,28,29,28,29,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,29,30,29,28,29,29,0,0,0,0,0,0,0,0,27,28,28,27,27,25,26,27,27,27,27,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,27,28,28,27,0,0,0,0,0,0,0,0,27,27,28,27,28,28,28,28,27,28,27,26,0,0,0,0,0,0,0,0,27,23,25,27,24,22,23,23,26,24,26,25,0,0,0,0,0,0,0,0,27,28,28,26,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,28,28,28,25,26,27,25,24,26,25,24,0,0,0,0,0,0,0,0,23,23,24,25,22,23,24,22,24,25,23,25,0,0,0,0,0,0,0,0,27,26,27,27,24,28,25,23,27,27,24,23,0,0,0,0,0,0,0,0,27,24,24,26,25,26,26,27,25,25,25,24,0,0,0,0,0,0,0,0,25,21,22,22,23,20,20,22,22,18,17,18,0,0,0,0,0,0,0,0,22,23,21,23,24,24,23,24,22,23,25,26,0,0,0,0,0,0,0,0,23,21,25,25,22,22,24,24,23,21,24,25,0,0,0,0,0,0,0,0,23,24,23,24,24,22,20,21,22,23,23,23,0,0,0,0,0,0,0,0,27,26,26,25,26,26,27,28,27,26,28,28,0,0,0,0,0,0,0,0,28,29,28,29,29,29,30,30,30,30,30,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,30,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,28,28,28,26,26,26,25,25,0,0,0,0,0,0,0,0,23,22,22,22,22,22,21,22,21,22,22,22,0,0,0,0,0,0,0,0,18,21,18,20,21,21,21,21,21,23,22,25,0,0,0,0,0,0,0,0,24,23,24,23,24,23,23,22,22,22,20,21,0,0,0,0,0,0,0,0,14,14,13,11,11,9,11,13,13,12,15,17,0,0,0,0,0,0,0,0,20,19,16,17,18,16,17,17,20,19,20,20,0,0,0,0,0,0,0,0,24,25,26,25,28,27,25,26,26,25,26,25,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,28,28,28,27,25,26,27,24,23,25,25,0,0,0,0,0,0,0,0,20,22,21,20,18,20,18,19,21,21,18,20,0,0,0,0,0,0,0,0,23,25,24,23,24,25,25,26,27,26,27,27,0,0,0,0,0,0,0,0,28,29,28,28,28,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,27,28,29,28,27,28,28,28,27,27,28,0,0,0,0,0,0,0,0,27,23,25,26,25,23,24,24,23,23,25,24,0,0,0,0,0,0,0,0,25,24,24,26,25,25,26,26,26,26,26,27,0,0,0,0,0,0,0,0,27,27,27,26,27,26,25,25,26,25,24,25,0,0,0,0,0,0,0,0,26,24,25,26,25,26,27,26,26,27,25,25,0,0,0,0,0,0,0,0,24,24,26,24,23,23,24,23,23,22,22,23,0,0,0,0,0,0,0,0,20,19,21,19,17,17,18,16,13,16,15,11,0,0,0,0,0,0,0,0,4,3,3,1,0,1,3,4,4,6,7,8,0,0,0,0,0,0,0,0,17,18,19,19,19,18,19,19,18,20,20,20,0,0,0,0,0,0,0,0,21,18,19,18,20,18,16,18,18],[0,26,26,26,27,27,27,28,28,27,27,26,27,27,28,27,28,28,28,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,29,29,28,29,28,0,0,0,0,0,0,0,0,28,27,28,25,27,24,25,27,28,27,28,28,0,0,0,0,0,0,0,0,28,28,29,29,28,28,29,29,27,29,29,28,0,0,0,0,0,0,0,0,28,28,29,28,28,28,28,28,28,29,28,28,0,0,0,0,0,0,0,0,27,24,25,27,23,23,24,24,27,25,28,27,0,0,0,0,0,0,0,0,27,28,28,27,28,27,27,28,29,28,28,28,0,0,0,0,0,0,0,0,28,27,27,27,26,26,27,26,24,24,23,23,0,0,0,0,0,0,0,0,23,22,22,23,23,22,23,23,24,24,24,25,0,0,0,0,0,0,0,0,27,27,27,27,25,27,25,25,26,27,23,24,0,0,0,0,0,0,0,0,27,24,24,26,25,27,27,27,25,26,25,24,0,0,0,0,0,0,0,0,24,22,21,22,21,20,21,20,21,19,18,18,0,0,0,0,0,0,0,0,22,23,21,22,24,24,22,23,22,23,24,25,0,0,0,0,0,0,0,0,23,22,23,24,22,22,23,23,22,20,22,24,0,0,0,0,0,0,0,0,22,23,22,22,22,22,21,22,21,24,22,23,0,0,0,0,0,0,0,0,26,27,26,27,27,26,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,30,29,29,28,0,0,0,0,0,0,0,0,27,28,29,29,29,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,29,29,30,29,30,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,26,27,27,25,27,0,0,0,0,0,0,0,0,22,23,22,22,23,22,23,21,22,22,22,21,0,0,0,0,0,0,0,0,19,20,18,19,21,21,22,21,22,23,21,24,0,0,0,0,0,0,0,0,24,23,23,23,22,23,22,22,22,21,20,21,0,0,0,0,0,0,0,0,14,14,15,13,10,9,12,13,12,11,15,17,0,0,0,0,0,0,0,0,18,18,16,16,18,15,16,17,18,18,20,19,0,0,0,0,0,0,0,0,24,25,27,26,27,27,26,26,27,25,26,26,0,0,0,0,0,0,0,0,28,28,29,28,28,28,29,29,29,29,28,28,0,0,0,0,0,0,0,0,28,27,26,27,27,26,26,26,25,25,25,24,0,0,0,0,0,0,0,0,21,20,20,17,18,19,17,17,19,20,17,19,0,0,0,0,0,0,0,0,23,25,22,23,25,26,24,27,27,25,27,27,0,0,0,0,0,0,0,0,28,28,28,29,29,29,28,28,28,29,28,28,0,0,0,0,0,0,0,0,28,28,28,28,27,28,28,28,28,28,27,27,0,0,0,0,0,0,0,0,26,24,25,26,23,24,24,23,22,23,23,23,0,0,0,0,0,0,0,0,25,23,23,26,23,25,26,26,27,26,26,26,0,0,0,0,0,0,0,0,27,27,27,25,27,26,24,25,26,23,25,24,0,0,0,0,0,0,0,0,24,24,26,25,25,26,26,25,26,27,25,24,0,0,0,0,0,0,0,0,23,23,24,23,22,22,23,23,23,23,22,22,0,0,0,0,0,0,0,0,19,19,18,17,16,17,16,13,13,15,14,12,0,0,0,0,0,0,0,0,4,4,3,2,1,0,1,2,4,4,6,8,0,0,0,0,0,0,0,0,12,13,15,16,15,16,17,16,15,17,18,16,0,0,0,0,0,0,0,0,20,15,18,16,19,17,14,16,17],[0,28,26,28,28,28,29,29,28,28,28,27,28,28,28,28,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,29,29,30,29,29,29,30,0,0,0,0,0,0,0,0,29,28,29,26,28,25,27,28,28,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,28,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,30,28,29,29,28,0,0,0,0,0,0,0,0,28,26,27,28,26,25,25,26,28,26,29,28,0,0,0,0,0,0,0,0,28,29,29,28,29,28,29,29,30,29,29,30,0,0,0,0,0,0,0,0,29,29,29,28,27,28,28,27,25,26,26,26,0,0,0,0,0,0,0,0,24,24,24,24,23,24,24,25,26,25,24,27,0,0,0,0,0,0,0,0,28,28,28,27,26,29,27,26,28,28,26,26,0,0,0,0,0,0,0,0,28,26,26,27,27,28,28,28,27,28,26,26,0,0,0,0,0,0,0,0,24,24,23,22,22,22,20,22,22,20,18,19,0,0,0,0,0,0,0,0,22,23,22,24,24,24,24,25,25,24,26,27,0,0,0,0,0,0,0,0,24,23,24,26,24,23,24,24,24,22,25,26,0,0,0,0,0,0,0,0,24,24,22,23,24,23,20,24,23,24,24,24,0,0,0,0,0,0,0,0,27,28,27,28,26,28,29,29,29,28,29,29,0,0,0,0,0,0,0,0,29,30,29,29,30,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,28,29,29,29,30,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,26,27,28,26,27,0,0,0,0,0,0,0,0,24,25,25,23,24,24,23,22,23,23,23,24,0,0,0,0,0,0,0,0,22,23,21,22,23,23,23,22,25,26,23,26,0,0,0,0,0,0,0,0,25,24,23,24,23,23,24,24,23,23,21,22,0,0,0,0,0,0,0,0,14,14,15,13,11,10,14,14,13,13,16,18,0,0,0,0,0,0,0,0,18,20,18,18,18,18,18,19,19,19,21,22,0,0,0,0,0,0,0,0,25,26,27,27,28,28,27,28,28,27,27,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,29,28,29,28,29,27,27,28,27,25,26,26,0,0,0,0,0,0,0,0,21,21,22,20,19,20,20,21,21,21,19,21,0,0,0,0,0,0,0,0,24,25,25,24,26,27,27,28,29,28,28,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,29,29,28,28,0,0,0,0,0,0,0,0,27,26,26,28,27,24,25,27,24,23,25,25,0,0,0,0,0,0,0,0,25,27,25,27,27,25,28,28,28,27,28,28,0,0,0,0,0,0,0,0,28,28,28,27,28,28,26,25,28,26,25,26,0,0,0,0,0,0,0,0,27,27,28,27,28,28,28,27,28,28,27,28,0,0,0,0,0,0,0,0,23,24,26,26,26,23,25,24,25,25,24,25,0,0,0,0,0,0,0,0,22,21,21,19,18,19,18,17,14,16,15,13,0,0,0,0,0,0,0,0,6,6,5,3,3,1,0,1,3,3,5,7,0,0,0,0,0,0,0,0,12,15,17,17,14,15,19,17,15,20,20,16,0,0,0,0,0,0,0,0,21,16,19,17,20,18,16,17,18],[0,28,27,28,28,28,29,29,29,28,28,28,29,28,29,28,29,28,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,29,29,29,28,28,27,28,29,29,28,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,29,30,29,28,29,30,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,30,29,30,29,28,0,0,0,0,0,0,0,0,28,24,26,29,25,25,26,25,28,25,29,28,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,28,28,28,28,24,26,27,25,0,0,0,0,0,0,0,0,24,24,25,26,24,26,25,26,27,26,25,27,0,0,0,0,0,0,0,0,29,28,29,28,27,29,27,25,29,29,26,25,0,0,0,0,0,0,0,0,29,26,25,29,27,28,28,29,28,27,27,27,0,0,0,0,0,0,0,0,25,25,24,23,24,23,22,22,23,24,22,21,0,0,0,0,0,0,0,0,24,24,23,25,26,24,25,26,26,25,27,27,0,0,0,0,0,0,0,0,26,23,26,27,25,24,27,25,25,24,26,27,0,0,0,0,0,0,0,0,25,26,22,25,25,23,20,24,25,25,25,25,0,0,0,0,0,0,0,0,28,28,28,28,28,28,29,29,28,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,27,28,28,27,27,0,0,0,0,0,0,0,0,25,25,24,24,24,24,24,26,23,23,25,25,0,0,0,0,0,0,0,0,22,23,21,23,24,24,24,24,24,25,24,26,0,0,0,0,0,0,0,0,27,25,26,26,27,25,24,25,24,22,21,23,0,0,0,0,0,0,0,0,14,13,15,14,10,11,14,16,14,13,18,18,0,0,0,0,0,0,0,0,20,21,17,18,20,19,19,21,20,23,23,21,0,0,0,0,0,0,0,0,27,27,28,28,28,28,27,29,29,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,29,28,28,29,28,26,27,27,0,0,0,0,0,0,0,0,21,24,23,21,20,21,18,18,22,21,19,21,0,0,0,0,0,0,0,0,25,26,26,26,27,28,28,29,28,27,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,29,28,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,28,28,27,28,27,26,26,27,26,24,26,26,0,0,0,0,0,0,0,0,27,27,26,27,27,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,28,28,28,28,28,27,27,28,27,26,27,0,0,0,0,0,0,0,0,27,26,27,28,27,28,28,27,27,28,28,26,0,0,0,0,0,0,0,0,26,25,26,26,25,26,26,26,26,25,25,24,0,0,0,0,0,0,0,0,22,21,22,21,19,19,19,17,15,18,17,13,0,0,0,0,0,0,0,0,7,6,5,5,4,3,1,0,1,2,4,5,0,0,0,0,0,0,0,0,12,12,15,15,13,13,17,16,14,19,19,16,0,0,0,0,0,0,0,0,19,17,17,16,19,16,15,16,17],[0,27,26,26,27,28,28,28,29,27,28,28,28,28,28,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,29,30,29,30,29,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,28,29,28,28,28,0,0,0,0,0,0,0,0,28,28,28,27,28,26,27,27,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,29,29,28,28,29,29,28,0,0,0,0,0,0,0,0,28,29,28,29,28,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,25,26,28,25,24,26,25,27,27,28,28,0,0,0,0,0,0,0,0,28,29,28,28,28,28,28,28,29,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,26,28,28,27,26,27,26,26,0,0,0,0,0,0,0,0,24,24,25,25,23,23,25,25,26,25,24,26,0,0,0,0,0,0,0,0,27,27,28,27,26,28,26,27,28,28,26,26,0,0,0,0,0,0,0,0,27,25,25,27,26,27,27,28,27,27,27,26,0,0,0,0,0,0,0,0,24,24,23,22,23,24,22,23,22,20,19,22,0,0,0,0,0,0,0,0,22,22,23,23,26,24,24,24,22,25,25,26,0,0,0,0,0,0,0,0,25,24,26,26,24,23,25,25,24,23,24,26,0,0,0,0,0,0,0,0,25,25,23,24,24,24,22,26,25,25,25,25,0,0,0,0,0,0,0,0,27,27,27,27,26,27,27,27,27,27,28,27,0,0,0,0,0,0,0,0,28,28,29,28,28,29,29,29,29,28,29,28,0,0,0,0,0,0,0,0,28,28,28,28,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,27,28,26,27,27,26,27,0,0,0,0,0,0,0,0,26,25,24,24,24,24,24,25,23,23,24,23,0,0,0,0,0,0,0,0,22,23,21,24,23,24,24,23,24,25,24,26,0,0,0,0,0,0,0,0,26,25,24,25,25,24,24,24,23,23,23,22,0,0,0,0,0,0,0,0,16,15,15,14,13,11,15,16,16,15,18,22,0,0,0,0,0,0,0,0,20,19,19,20,20,19,18,20,19,22,20,22,0,0,0,0,0,0,0,0,24,26,27,26,27,27,26,27,28,26,27,28,0,0,0,0,0,0,0,0,28,28,28,28,27,28,28,28,27,27,28,27,0,0,0,0,0,0,0,0,28,27,27,28,28,26,27,28,27,24,25,26,0,0,0,0,0,0,0,0,23,23,22,21,20,18,20,20,21,20,19,21,0,0,0,0,0,0,0,0,24,24,25,24,26,27,27,28,28,26,27,27,0,0,0,0,0,0,0,0,28,29,28,28,28,28,28,29,28,28,28,28,0,0,0,0,0,0,0,0,27,27,28,28,27,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,26,26,27,27,27,25,25,26,24,23,24,25,0,0,0,0,0,0,0,0,26,25,24,27,26,26,26,26,27,27,27,28,0,0,0,0,0,0,0,0,28,27,28,27,27,27,27,26,27,27,25,25,0,0,0,0,0,0,0,0,27,26,27,26,27,27,27,26,26,27,26,26,0,0,0,0,0,0,0,0,25,25,26,25,25,25,25,25,25,25,25,24,0,0,0,0,0,0,0,0,21,21,19,20,18,19,18,16,15,18,17,14,0,0,0,0,0,0,0,0,6,6,5,5,4,3,2,1,0,1,2,3,0,0,0,0,0,0,0,0,10,11,14,13,12,14,15,15,14,17,16,15,0,0,0,0,0,0,0,0,18,15,16,15,18,16,14,15,17],[0,26,26,27,27,28,27,28,28,27,27,27,28,27,28,28,29,28,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,28,29,28,28,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,29,30,29,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,29,30,30,29,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,27,27,30,27,27,28,28,29,27,30,29,0,0,0,0,0,0,0,0,29,30,30,29,29,30,29,29,30,29,29,29,0,0,0,0,0,0,0,0,30,30,29,30,28,29,29,29,27,29,29,27,0,0,0,0,0,0,0,0,27,26,27,27,27,26,27,27,28,28,27,28,0,0,0,0,0,0,0,0,29,29,29,28,27,29,28,28,30,29,28,27,0,0,0,0,0,0,0,0,30,29,28,30,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,27,26,26,24,25,26,25,25,26,25,22,25,0,0,0,0,0,0,0,0,26,26,26,27,27,27,27,28,26,26,29,28,0,0,0,0,0,0,0,0,28,26,28,29,27,26,28,27,26,26,27,29,0,0,0,0,0,0,0,0,27,26,25,26,25,26,24,26,25,27,27,26,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,29,29,27,28,28,0,0,0,0,0,0,0,0,29,29,28,30,29,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,28,29,30,29,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,29,29,27,28,28,27,28,0,0,0,0,0,0,0,0,27,25,24,25,24,25,24,25,24,24,26,25,0,0,0,0,0,0,0,0,22,23,20,24,23,25,24,24,24,26,23,27,0,0,0,0,0,0,0,0,28,27,26,27,26,26,26,26,24,26,24,24,0,0,0,0,0,0,0,0,14,15,15,14,13,12,14,16,15,14,17,19,0,0,0,0,0,0,0,0,22,23,21,22,22,21,21,23,22,25,24,23,0,0,0,0,0,0,0,0,28,28,28,28,29,29,29,28,29,28,29,29,0,0,0,0,0,0,0,0,29,29,30,30,29,29,29,29,28,29,29,28,0,0,0,0,0,0,0,0,29,28,28,29,29,28,29,29,28,27,28,28,0,0,0,0,0,0,0,0,24,25,23,23,21,22,21,21,22,23,21,23,0,0,0,0,0,0,0,0,26,26,26,27,28,28,29,29,28,28,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,30,29,29,29,30,0,0,0,0,0,0,0,0,28,28,28,28,28,28,29,29,29,30,28,29,0,0,0,0,0,0,0,0,29,27,27,29,28,28,27,28,27,27,27,27,0,0,0,0,0,0,0,0,27,27,26,27,27,27,28,27,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,27,28,28,28,28,0,0,0,0,0,0,0,0,28,27,27,27,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,26,26,26,26,27,26,27,26,25,25,24,0,0,0,0,0,0,0,0,23,23,21,24,19,23,20,20,16,19,18,15,0,0,0,0,0,0,0,0,8,7,6,6,5,4,3,3,1,0,1,2,0,0,0,0,0,0,0,0,7,9,12,13,10,10,14,13,11,15,14,13,0,0,0,0,0,0,0,0,17,15,16,13,17,15,12,14,15],[0,27,26,26,27,28,28,28,28,27,28,27,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,29,30,29,29,0,0,0,0,0,0,0,0,29,29,30,29,29,28,28,29,29,28,29,29,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,29,30,29,29,30,0,0,0,0,0,0,0,0,29,29,29,29,30,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,27,28,29,28,25,27,26,28,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,30,29,30,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,28,28,28,26,0,0,0,0,0,0,0,0,27,25,27,28,26,25,27,25,27,27,26,27,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,28,29,29,27,28,0,0,0,0,0,0,0,0,30,28,27,29,28,29,29,29,29,29,28,28,0,0,0,0,0,0,0,0,26,26,26,25,26,25,24,24,23,23,21,24,0,0,0,0,0,0,0,0,26,25,25,25,27,25,25,27,25,26,27,27,0,0,0,0,0,0,0,0,27,26,27,28,26,25,27,26,26,26,27,28,0,0,0,0,0,0,0,0,27,26,24,25,25,26,22,25,24,26,27,25,0,0,0,0,0,0,0,0,28,29,29,29,28,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,30,29,30,30,29,29,29,30,30,29,30,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,29,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,29,28,29,28,29,29,0,0,0,0,0,0,0,0,25,26,24,25,25,24,25,27,24,24,26,26,0,0,0,0,0,0,0,0,23,22,19,25,23,24,25,24,26,27,25,28,0,0,0,0,0,0,0,0,28,26,25,26,27,24,25,25,23,24,22,23,0,0,0,0,0,0,0,0,17,15,14,14,14,13,14,15,15,15,16,21,0,0,0,0,0,0,0,0,22,21,21,23,21,21,20,20,21,20,21,23,0,0,0,0,0,0,0,0,27,28,28,27,29,29,28,28,29,27,29,29,0,0,0,0,0,0,0,0,29,30,30,30,28,29,29,29,28,28,29,28,0,0,0,0,0,0,0,0,30,29,29,29,29,28,29,29,28,27,27,27,0,0,0,0,0,0,0,0,24,23,23,24,23,22,20,21,22,24,20,22,0,0,0,0,0,0,0,0,26,27,28,27,27,28,29,29,29,28,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,29,29,29,30,0,0,0,0,0,0,0,0,29,29,29,28,29,28,29,29,29,29,28,29,0,0,0,0,0,0,0,0,29,28,28,28,28,28,27,28,27,26,27,26,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,29,28,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,27,28,28,27,27,0,0,0,0,0,0,0,0,28,27,28,28,28,28,29,28,28,29,28,28,0,0,0,0,0,0,0,0,26,26,27,28,26,26,27,26,28,26,26,26,0,0,0,0,0,0,0,0,21,22,23,22,19,21,21,20,15,19,19,15,0,0,0,0,0,0,0,0,9,8,7,7,6,4,4,3,2,1,0,1,0,0,0,0,0,0,0,0,6,9,9,11,8,9,12,12,10,14,14,11,0,0,0,0,0,0,0,0,16,13,16,15,18,16,13,15,16],[0,25,25,25,26,27,26,27,26,26,26,26,27,27,27,27,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,29,29,29,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,29,29,28,28,27,27,28,29,28,29,29,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,30,28,30,29,28,0,0,0,0,0,0,0,0,28,26,28,29,26,24,28,27,28,27,29,29,0,0,0,0,0,0,0,0,28,29,29,28,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,28,28,28,28,27,28,28,26,0,0,0,0,0,0,0,0,26,25,26,26,26,26,26,26,27,27,26,28,0,0,0,0,0,0,0,0,29,29,29,28,28,29,27,27,28,28,26,27,0,0,0,0,0,0,0,0,29,27,26,28,27,29,28,29,28,28,28,27,0,0,0,0,0,0,0,0,25,24,25,24,25,25,24,25,25,24,22,24,0,0,0,0,0,0,0,0,24,26,25,26,27,25,25,27,26,26,27,27,0,0,0,0,0,0,0,0,26,25,26,28,25,26,26,26,26,25,26,27,0,0,0,0,0,0,0,0,26,24,24,24,23,23,22,23,22,24,25,25,0,0,0,0,0,0,0,0,28,28,28,27,27,27,29,28,28,28,28,27,0,0,0,0,0,0,0,0,28,28,28,29,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,28,29,29,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,29,28,28,27,27,27,26,27,0,0,0,0,0,0,0,0,25,25,24,24,23,23,24,26,22,22,26,25,0,0,0,0,0,0,0,0,20,22,20,22,21,22,22,23,23,26,23,27,0,0,0,0,0,0,0,0,28,26,25,26,26,24,25,24,22,23,22,21,0,0,0,0,0,0,0,0,17,17,15,14,15,14,14,15,15,15,18,20,0,0,0,0,0,0,0,0,21,22,21,22,20,22,20,22,23,23,23,23,0,0,0,0,0,0,0,0,28,27,27,27,29,28,29,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,29,28,29,29,28,0,0,0,0,0,0,0,0,29,27,28,29,28,28,28,28,27,27,27,27,0,0,0,0,0,0,0,0,24,23,21,22,21,19,22,21,20,22,21,22,0,0,0,0,0,0,0,0,26,26,27,27,27,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,28,28,29,28,28,28,28,28,28,29,28,28,0,0,0,0,0,0,0,0,28,27,27,28,26,27,27,26,27,26,26,25,0,0,0,0,0,0,0,0,27,26,27,27,27,27,26,27,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,27,28,27,27,27,27,27,0,0,0,0,0,0,0,0,26,25,27,27,28,27,27,27,28,28,27,28,0,0,0,0,0,0,0,0,26,25,25,25,25,27,25,26,26,25,26,25,0,0,0,0,0,0,0,0,22,21,21,22,20,20,19,20,18,18,18,16,0,0,0,0,0,0,0,0,10,7,8,7,6,5,4,3,2,2,1,0,0,0,0,0,0,0,0,0,6,7,8,10,8,8,12,10,11,14,12,10,0,0,0,0,0,0,0,0,15,15,14,14,16,14,12,14,16],[0,27,26,27,27,28,28,28,28,28,28,27,28,27,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,30,29,30,30,30,29,30,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,28,28,29,28,0,0,0,0,0,0,0,0,28,27,28,26,28,26,26,28,28,27,29,28,0,0,0,0,0,0,0,0,29,28,29,29,28,29,29,29,28,29,30,29,0,0,0,0,0,0,0,0,28,29,29,29,29,28,29,30,28,30,29,29,0,0,0,0,0,0,0,0,28,26,27,29,26,26,27,28,29,27,29,29,0,0,0,0,0,0,0,0,28,29,29,28,28,28,28,28,29,29,28,29,0,0,0,0,0,0,0,0,28,28,29,29,27,28,29,28,26,27,27,27,0,0,0,0,0,0,0,0,25,25,27,27,25,26,27,28,28,28,26,28,0,0,0,0,0,0,0,0,28,27,29,28,27,29,28,27,28,29,27,26,0,0,0,0,0,0,0,0,28,26,26,28,27,27,29,29,27,29,28,27,0,0,0,0,0,0,0,0,25,26,25,23,24,26,25,24,25,25,23,24,0,0,0,0,0,0,0,0,24,24,25,26,26,25,26,27,27,26,27,27,0,0,0,0,0,0,0,0,25,24,25,27,25,24,25,26,26,24,26,27,0,0,0,0,0,0,0,0,25,25,24,25,25,26,22,26,24,25,26,25,0,0,0,0,0,0,0,0,26,28,27,27,27,28,28,28,29,28,28,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,30,30,30,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,29,30,29,29,30,29,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,28,26,28,28,27,27,0,0,0,0,0,0,0,0,26,25,25,23,23,23,24,25,23,24,26,25,0,0,0,0,0,0,0,0,22,22,21,24,22,24,24,24,25,27,24,27,0,0,0,0,0,0,0,0,28,25,26,27,25,25,24,25,23,24,23,23,0,0,0,0,0,0,0,0,15,16,16,14,13,16,14,16,16,14,18,20,0,0,0,0,0,0,0,0,22,22,21,23,22,21,23,23,22,24,24,22,0,0,0,0,0,0,0,0,26,27,27,27,28,28,28,28,28,28,29,28,0,0,0,0,0,0,0,0,29,28,29,29,28,28,29,28,28,28,28,27,0,0,0,0,0,0,0,0,29,27,27,28,28,27,27,27,26,25,26,26,0,0,0,0,0,0,0,0,23,24,23,22,22,21,21,21,22,22,21,21,0,0,0,0,0,0,0,0,24,26,26,25,26,27,28,27,27,27,28,28,0,0,0,0,0,0,0,0,28,28,28,29,29,29,28,29,28,29,28,29,0,0,0,0,0,0,0,0,28,27,27,27,27,28,28,28,28,28,28,27,0,0,0,0,0,0,0,0,27,26,26,27,26,25,25,25,25,23,25,25,0,0,0,0,0,0,0,0,26,27,27,27,27,26,27,28,28,26,27,28,0,0,0,0,0,0,0,0,27,27,27,27,27,27,26,26,27,26,25,26,0,0,0,0,0,0,0,0,26,26,28,27,26,28,27,27,27,28,27,27,0,0,0,0,0,0,0,0,25,26,24,27,26,26,26,26,27,26,26,25,0,0,0,0,0,0,0,0,23,22,21,22,22,20,20,21,19,19,20,17,0,0,0,0,0,0,0,0,9,7,8,7,5,5,4,4,3,3,2,1,0,0,0,0,0,0,0,0,6,6,8,9,7,8,12,11,9,14,12,10,0,0,0,0,0,0,0,0,16,14,14,13,17,14,12,13,16],[0,26,26,27,27,28,29,29,28,28,28,27,29,28,29,28,29,29,28,29,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,27,28,26,26,28,29,28,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,30,30,29,30,29,29,0,0,0,0,0,0,0,0,29,26,27,29,26,25,26,26,28,27,29,29,0,0,0,0,0,0,0,0,28,29,29,28,29,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,27,28,29,28,25,27,27,26,0,0,0,0,0,0,0,0,25,24,25,25,24,25,26,26,28,27,24,28,0,0,0,0,0,0,0,0,28,28,29,28,27,29,28,26,28,29,27,26,0,0,0,0,0,0,0,0,28,26,26,27,27,28,28,29,27,28,27,27,0,0,0,0,0,0,0,0,25,25,24,23,24,24,23,23,24,22,22,22,0,0,0,0,0,0,0,0,24,24,24,26,25,24,24,26,25,25,27,27,0,0,0,0,0,0,0,0,25,25,24,26,25,25,25,25,25,24,26,27,0,0,0,0,0,0,0,0,25,26,23,25,25,26,23,25,23,25,25,24,0,0,0,0,0,0,0,0,28,28,27,28,27,28,28,28,28,29,29,29,0,0,0,0,0,0,0,0,30,29,29,30,30,30,29,30,30,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,27,29,28,27,28,0,0,0,0,0,0,0,0,26,24,24,25,25,24,24,26,24,23,25,26,0,0,0,0,0,0,0,0,22,22,19,24,23,24,24,24,23,26,25,26,0,0,0,0,0,0,0,0,27,25,25,26,26,25,25,25,23,24,22,24,0,0,0,0,0,0,0,0,17,15,15,14,14,14,14,16,15,15,18,19,0,0,0,0,0,0,0,0,22,21,20,21,20,20,20,22,22,22,23,23,0,0,0,0,0,0,0,0,26,27,27,27,28,28,27,28,29,27,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,29,28,29,29,28,0,0,0,0,0,0,0,0,29,28,28,28,28,27,27,27,26,24,25,26,0,0,0,0,0,0,0,0,23,22,23,23,21,22,22,22,22,24,22,22,0,0,0,0,0,0,0,0,25,26,26,26,26,27,28,27,28,28,28,28,0,0,0,0,0,0,0,0,28,29,29,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,28,28,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,25,26,27,27,25,26,26,24,24,25,25,0,0,0,0,0,0,0,0,26,27,27,27,28,26,28,28,28,27,28,28,0,0,0,0,0,0,0,0,27,28,27,26,28,27,26,25,28,26,25,26,0,0,0,0,0,0,0,0,27,28,28,28,28,28,28,27,28,28,26,28,0,0,0,0,0,0,0,0,24,27,25,27,27,26,27,26,28,27,25,26,0,0,0,0,0,0,0,0,21,20,22,21,18,20,20,18,14,20,17,15,0,0,0,0,0,0,0,0,9,8,6,6,6,6,4,3,3,2,2,2,0,0,0,0,0,0,0,0,5,6,8,9,7,8,10,10,9,12,12,10,0,0,0,0,0,0,0,0,17,12,14,15,18,15,14,16,16],[0,26,26,26,26,27,27,27,27,28,27,27,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,28,28,28,28,28,28,28,29,29,0,0,0,0,0,0,0,0,29,30,29,29,30,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,27,27,29,27,27,26,25,28,28,29,28,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,27,28,27,26,0,0,0,0,0,0,0,0,27,26,26,27,27,26,27,26,27,28,27,28,0,0,0,0,0,0,0,0,29,29,29,28,28,29,28,27,29,29,27,28,0,0,0,0,0,0,0,0,29,27,27,28,28,28,29,29,29,28,28,28,0,0,0,0,0,0,0,0,27,26,27,25,26,24,25,24,24,25,22,26,0,0,0,0,0,0,0,0,26,27,26,26,27,27,26,26,26,26,27,27,0,0,0,0,0,0,0,0,27,27,26,28,27,26,26,27,26,25,27,27,0,0,0,0,0,0,0,0,26,26,25,26,26,24,22,24,23,25,27,25,0,0,0,0,0,0,0,0,29,29,28,28,28,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,30,30,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,30,29,29,27,28,28,27,28,0,0,0,0,0,0,0,0,26,24,23,26,25,23,24,26,24,22,26,26,0,0,0,0,0,0,0,0,22,21,19,23,23,22,23,25,25,25,25,28,0,0,0,0,0,0,0,0,27,26,25,27,27,24,26,25,24,24,23,22,0,0,0,0,0,0,0,0,17,16,14,14,14,14,14,16,15,15,19,20,0,0,0,0,0,0,0,0,22,23,23,24,22,22,22,24,23,24,24,25,0,0,0,0,0,0,0,0,28,28,28,28,29,28,28,28,29,28,29,29,0,0,0,0,0,0,0,0,29,29,30,30,28,29,29,29,28,28,29,28,0,0,0,0,0,0,0,0,30,28,28,29,29,28,28,28,28,27,28,28,0,0,0,0,0,0,0,0,25,24,23,24,22,22,22,23,24,24,22,24,0,0,0,0,0,0,0,0,27,27,28,28,28,28,28,29,29,28,29,28,0,0,0,0,0,0,0,0,29,29,29,30,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,29,29,28,28,29,28,29,28,29,0,0,0,0,0,0,0,0,28,28,28,28,28,28,27,28,27,26,28,27,0,0,0,0,0,0,0,0,28,28,27,28,27,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,28,28,28,28,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,28,27,28,28,27,28,28,28,28,29,28,28,0,0,0,0,0,0,0,0,26,24,26,27,26,26,27,25,28,26,26,25,0,0,0,0,0,0,0,0,23,22,24,25,20,22,23,21,16,21,20,15,0,0,0,0,0,0,0,0,9,10,9,7,7,5,4,4,3,2,2,3,0,0,0,0,0,0,0,0,6,8,8,10,7,8,10,10,9,12,13,10,0,0,0,0,0,0,0,0,16,14,15,14,18,16,14,15,18],[0,25,25,26,26,27,27,27,27,28,26,27,27,27,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,28,29,28,28,29,29,28,30,29,0,0,0,0,0,0,0,0,30,29,30,29,29,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,27,28,30,27,26,28,28,29,28,30,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,27,28,28,27,0,0,0,0,0,0,0,0,27,26,27,28,26,27,28,27,28,28,27,28,0,0,0,0,0,0,0,0,29,29,29,29,28,30,29,28,29,29,28,28,0,0,0,0,0,0,0,0,29,28,27,29,28,29,29,30,29,29,28,28,0,0,0,0,0,0,0,0,27,25,26,26,25,25,23,25,25,24,23,25,0,0,0,0,0,0,0,0,26,26,26,27,28,26,26,27,27,28,28,28,0,0,0,0,0,0,0,0,27,27,28,29,27,26,28,27,27,26,27,28,0,0,0,0,0,0,0,0,28,26,24,27,26,25,22,24,25,26,27,27,0,0,0,0,0,0,0,0,28,29,28,28,28,28,29,29,28,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,29,30,29,30,29,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,27,28,28,28,27,0,0,0,0,0,0,0,0,26,25,24,26,26,25,26,26,25,25,26,27,0,0,0,0,0,0,0,0,22,24,22,23,24,24,25,26,26,26,26,27,0,0,0,0,0,0,0,0,28,27,26,28,27,26,26,26,24,25,24,23,0,0,0,0,0,0,0,0,18,20,18,16,16,16,16,18,18,17,21,22,0,0,0,0,0,0,0,0,24,23,22,24,24,23,21,24,25,25,25,24,0,0,0,0,0,0,0,0,27,28,29,28,29,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,29,29,29,28,29,29,29,27,28,28,0,0,0,0,0,0,0,0,25,25,24,24,23,22,22,22,24,23,22,23,0,0,0,0,0,0,0,0,27,28,28,28,28,29,28,29,29,28,29,29,0,0,0,0,0,0,0,0,29,30,30,30,29,30,29,30,29,30,29,29,0,0,0,0,0,0,0,0,29,28,29,29,28,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,27,28,28,28,27,26,28,26,0,0,0,0,0,0,0,0,28,28,27,28,28,28,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,29,29,28,29,28,28,28,29,27,28,28,0,0,0,0,0,0,0,0,28,27,28,28,28,28,29,28,28,29,28,27,0,0,0,0,0,0,0,0,27,26,26,26,25,27,27,27,27,26,27,27,0,0,0,0,0,0,0,0,24,23,23,24,24,22,22,22,20,21,20,18,0,0,0,0,0,0,0,0,12,10,9,10,8,8,6,5,4,4,3,3,0,0,0,0,0,0,0,0,6,6,6,9,7,7,10,10,9,13,13,9,0,0,0,0,0,0,0,0,14,14,15,14,16,15,12,15,17],[0,25,25,26,27,27,28,29,28,28,28,28,29,28,29,28,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,28,28,30,28,28,28,28,29,29,29,30,0,0,0,0,0,0,0,0,29,30,30,29,29,30,30,29,30,30,29,30,0,0,0,0,0,0,0,0,29,30,30,30,29,29,30,29,28,29,29,27,0,0,0,0,0,0,0,0,27,27,28,28,27,26,28,27,29,28,27,28,0,0,0,0,0,0,0,0,30,29,29,29,29,30,28,28,30,30,28,28,0,0,0,0,0,0,0,0,30,28,29,30,29,29,30,30,28,29,29,28,0,0,0,0,0,0,0,0,27,27,27,26,27,27,25,26,26,26,23,26,0,0,0,0,0,0,0,0,26,26,27,27,28,26,27,28,26,27,28,28,0,0,0,0,0,0,0,0,28,26,28,29,27,26,28,28,27,27,27,29,0,0,0,0,0,0,0,0,28,27,25,27,27,26,25,26,26,26,27,27,0,0,0,0,0,0,0,0,28,28,28,29,28,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,28,29,29,28,28,0,0,0,0,0,0,0,0,27,26,25,26,26,25,26,27,25,25,26,26,0,0,0,0,0,0,0,0,24,24,23,25,24,25,25,26,25,27,26,27,0,0,0,0,0,0,0,0,29,26,27,28,27,26,26,26,25,26,25,25,0,0,0,0,0,0,0,0,19,18,20,19,16,17,17,19,18,18,21,22,0,0,0,0,0,0,0,0,25,25,23,25,24,23,22,23,25,26,26,25,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,28,29,29,28,27,28,28,0,0,0,0,0,0,0,0,25,26,26,25,24,24,23,25,26,25,22,24,0,0,0,0,0,0,0,0,26,27,28,27,28,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,30,29,30,30,30,29,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,27,28,29,28,26,28,28,26,25,28,27,0,0,0,0,0,0,0,0,28,28,28,28,29,29,29,28,29,28,29,29,0,0,0,0,0,0,0,0,28,29,29,27,29,29,28,28,29,29,27,28,0,0,0,0,0,0,0,0,28,29,29,28,29,29,28,28,29,28,28,28,0,0,0,0,0,0,0,0,26,27,27,27,27,27,28,26,29,28,27,27,0,0,0,0,0,0,0,0,23,23,24,24,21,23,22,20,19,22,22,17,0,0,0,0,0,0,0,0,12,10,10,10,8,8,7,5,6,5,4,4,0,0,0,0,0,0,0,0,4,5,6,7,7,6,8,8,7,11,11,9,0,0,0,0,0,0,0,0,15,14,14,15,17,15,13,16,17],[0,25,24,25,26,26,27,27,26,27,26,26,28,27,28,28,29,28,28,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,30,31,31,30,31,31,30,0,0,0,0,0,0,0,0,30,28,28,30,28,26,29,27,30,27,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,28,30,29,27,0,0,0,0,0,0,0,0,28,27,27,28,27,25,27,27,28,28,26,28,0,0,0,0,0,0,0,0,30,30,30,29,28,30,28,28,30,30,27,28,0,0,0,0,0,0,0,0,30,29,28,30,29,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,28,26,26,26,26,25,24,26,26,24,22,25,0,0,0,0,0,0,0,0,27,27,26,25,28,27,25,27,27,26,28,28,0,0,0,0,0,0,0,0,28,27,29,30,27,27,29,28,27,26,28,29,0,0,0,0,0,0,0,0,28,27,25,28,28,26,24,25,26,28,28,28,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,30,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,27,26,26,27,28,26,27,28,27,25,27,27,0,0,0,0,0,0,0,0,25,25,23,25,25,26,27,27,27,27,27,28,0,0,0,0,0,0,0,0,29,28,28,29,28,28,27,28,26,26,25,25,0,0,0,0,0,0,0,0,21,21,20,17,18,16,16,19,19,18,21,23,0,0,0,0,0,0,0,0,25,24,22,23,24,24,20,22,25,24,23,25,0,0,0,0,0,0,0,0,28,28,30,29,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,31,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,30,29,27,29,29,0,0,0,0,0,0,0,0,25,26,26,24,23,24,24,24,24,25,23,25,0,0,0,0,0,0,0,0,28,29,28,28,29,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,28,29,30,29,28,29,29,28,26,29,28,0,0,0,0,0,0,0,0,29,29,27,28,29,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,30,29,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,29,30,29,29,0,0,0,0,0,0,0,0,28,28,28,29,28,28,28,27,28,28,27,27,0,0,0,0,0,0,0,0,24,23,24,25,22,23,23,21,20,22,20,18,0,0,0,0,0,0,0,0,13,11,11,12,9,9,8,6,6,5,5,5,0,0,0,0,0,0,0,0,3,4,5,6,5,6,7,7,7,10,9,8,0,0,0,0,0,0,0,0,14,14,14,15,15,15,13,16,18],[0,23,22,24,25,25,27,27,26,26,26,26,28,26,28,28,29,28,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,28,28,29,27,28,27,28,28,29,29,29,29,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,28,28,30,28,26,28,27,28,28,29,29,0,0,0,0,0,0,0,0,29,30,30,29,29,29,30,29,30,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,30,28,29,29,27,0,0,0,0,0,0,0,0,27,25,26,28,26,25,26,26,28,28,26,28,0,0,0,0,0,0,0,0,29,29,30,29,28,30,29,27,29,29,28,27,0,0,0,0,0,0,0,0,29,28,27,28,28,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,26,26,26,26,26,24,24,24,26,24,23,24,0,0,0,0,0,0,0,0,26,26,25,26,28,25,26,28,26,26,28,29,0,0,0,0,0,0,0,0,27,25,27,28,26,25,28,28,26,26,27,28,0,0,0,0,0,0,0,0,28,27,25,26,27,27,25,26,25,27,27,26,0,0,0,0,0,0,0,0,28,28,28,28,28,28,29,29,28,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,29,30,28,28,29,28,28,28,0,0,0,0,0,0,0,0,26,26,25,28,27,25,25,28,26,25,27,28,0,0,0,0,0,0,0,0,24,25,24,25,25,26,26,26,26,27,26,28,0,0,0,0,0,0,0,0,28,27,27,27,27,26,26,26,25,26,25,25,0,0,0,0,0,0,0,0,22,20,21,20,18,17,19,21,19,18,22,23,0,0,0,0,0,0,0,0,25,25,23,24,22,23,21,23,25,25,25,25,0,0,0,0,0,0,0,0,27,29,29,28,29,28,28,28,29,28,29,28,0,0,0,0,0,0,0,0,29,30,30,30,29,29,30,29,29,29,29,30,0,0,0,0,0,0,0,0,29,29,29,28,29,27,28,29,28,25,27,28,0,0,0,0,0,0,0,0,24,25,25,25,24,25,23,25,25,25,25,25,0,0,0,0,0,0,0,0,26,27,27,27,28,28,29,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,30,29,29,30,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,28,28,0,0,0,0,0,0,0,0,28,27,28,28,27,26,27,27,25,25,27,26,0,0,0,0,0,0,0,0,28,28,27,27,28,28,29,29,29,28,28,29,0,0,0,0,0,0,0,0,28,28,28,27,28,28,27,27,28,27,26,27,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,27,28,28,27,27,0,0,0,0,0,0,0,0,25,27,27,27,27,26,28,26,28,27,27,27,0,0,0,0,0,0,0,0,25,23,25,24,22,23,24,21,19,23,21,18,0,0,0,0,0,0,0,0,13,11,11,13,9,10,7,6,7,6,5,5,0,0,0,0,0,0,0,0,2,3,4,4,4,4,6,6,6,8,8,6,0,0,0,0,0,0,0,0,14,11,13,14,16,12,11,16,16],[0,24,22,24,25,25,27,27,26,27,26,26,28,26,28,27,29,28,27,29,0,0,0,0,0,0,0,0,29,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,30,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,30,29,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,28,28,30,28,27,29,28,30,28,29,29,0,0,0,0,0,0,0,0,29,29,30,29,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,29,29,28,29,29,29,28,29,29,27,0,0,0,0,0,0,0,0,27,26,28,29,26,25,28,27,29,29,27,28,0,0,0,0,0,0,0,0,29,29,29,28,28,30,29,26,30,30,27,27,0,0,0,0,0,0,0,0,30,28,27,30,29,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,27,27,26,26,26,27,26,26,26,25,24,24,0,0,0,0,0,0,0,0,27,27,25,25,28,26,25,27,26,28,27,29,0,0,0,0,0,0,0,0,27,25,28,29,26,24,29,28,26,25,27,28,0,0,0,0,0,0,0,0,28,27,25,27,27,24,22,25,25,27,28,27,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,30,29,30,30,0,0,0,0,0,0,0,0,29,30,30,29,30,29,29,29,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,29,30,30,29,30,29,29,29,29,30,0,0,0,0,0,0,0,0,29,29,30,29,29,30,29,28,29,28,28,28,0,0,0,0,0,0,0,0,26,24,24,27,26,25,25,27,26,25,27,27,0,0,0,0,0,0,0,0,25,24,23,26,26,26,25,27,26,27,26,28,0,0,0,0,0,0,0,0,29,27,27,28,27,26,27,26,26,25,23,25,0,0,0,0,0,0,0,0,21,20,20,19,18,17,18,20,21,18,23,24,0,0,0,0,0,0,0,0,24,23,22,24,24,23,22,23,24,24,24,24,0,0,0,0,0,0,0,0,27,28,29,28,30,30,27,29,29,29,29,28,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,27,28,30,28,26,28,28,0,0,0,0,0,0,0,0,23,25,26,24,24,24,23,22,25,23,22,24,0,0,0,0,0,0,0,0,26,26,26,26,28,28,29,28,29,28,29,29,0,0,0,0,0,0,0,0,29,30,29,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,28,29,28,29,0,0,0,0,0,0,0,0,29,27,27,29,29,26,27,28,26,25,28,27,0,0,0,0,0,0,0,0,29,29,27,27,29,28,29,29,28,28,29,29,0,0,0,0,0,0,0,0,29,29,29,27,29,29,28,27,29,29,26,28,0,0,0,0,0,0,0,0,28,28,29,28,28,29,29,29,28,29,28,28,0,0,0,0,0,0,0,0,27,27,27,28,27,27,28,26,28,27,26,27,0,0,0,0,0,0,0,0,23,23,24,23,23,23,22,22,20,22,21,18,0,0,0,0,0,0,0,0,15,12,13,14,9,10,9,6,8,6,6,6,0,0,0,0,0,0,0,0,1,2,3,3,3,4,4,4,5,7,6,5,0,0,0,0,0,0,0,0,11,11,12,14,13,13,12,15,16],[0,24,23,24,25,25,27,27,26,27,27,26,28,27,29,28,29,29,28,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,28,29,28,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,27,28,29,27,27,28,27,29,29,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,30,29,30,29,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,29,28,27,28,28,26,26,25,25,25,25,25,0,0,0,0,0,0,0,0,28,28,27,27,29,28,28,29,28,28,30,30,0,0,0,0,0,0,0,0,29,28,29,30,29,28,29,29,29,27,29,30,0,0,0,0,0,0,0,0,28,28,26,28,28,27,25,27,26,28,28,27,0,0,0,0,0,0,0,0,30,30,29,29,29,30,30,29,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,31,30,31,30,0,0,0,0,0,0,0,0,31,31,30,31,31,30,30,29,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,27,27,26,28,28,26,27,29,28,27,29,29,0,0,0,0,0,0,0,0,26,24,24,26,26,26,27,27,27,28,28,29,0,0,0,0,0,0,0,0,30,29,28,29,29,27,28,27,28,27,27,26,0,0,0,0,0,0,0,0,22,21,22,20,20,18,20,22,21,18,23,24,0,0,0,0,0,0,0,0,27,25,23,25,25,24,24,26,26,27,27,27,0,0,0,0,0,0,0,0,29,30,30,29,30,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,30,30,31,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,28,29,30,0,0,0,0,0,0,0,0,27,28,27,26,25,25,25,25,27,27,25,27,0,0,0,0,0,0,0,0,29,28,29,29,29,30,30,30,29,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,29,28,28,29,28,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,28,30,29,28,29,0,0,0,0,0,0,0,0,30,30,30,29,29,29,30,29,29,30,29,29,0,0,0,0,0,0,0,0,27,28,28,29,28,27,28,28,28,28,27,27,0,0,0,0,0,0,0,0,24,25,26,27,23,24,24,22,20,23,23,19,0,0,0,0,0,0,0,0,14,12,12,14,11,11,10,8,9,7,7,7,0,0,0,0,0,0,0,0,0,1,2,3,2,4,4,4,4,5,5,4,0,0,0,0,0,0,0,0,11,9,11,13,15,12,12,14,14],[0,24,24,25,25,25,26,27,26,27,27,27,28,26,28,27,28,28,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,29,28,28,29,29,0,0,0,0,0,0,0,0,30,29,29,29,29,28,29,30,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,28,29,29,29,28,29,28,29,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,30,29,29,29,27,0,0,0,0,0,0,0,0,28,27,28,29,27,27,28,28,29,28,27,29,0,0,0,0,0,0,0,0,30,28,29,29,27,29,28,27,29,29,28,28,0,0,0,0,0,0,0,0,29,29,27,29,28,29,28,29,28,28,28,29,0,0,0,0,0,0,0,0,28,26,27,26,26,24,26,27,27,25,24,25,0,0,0,0,0,0,0,0,27,27,27,27,28,28,27,28,28,27,28,29,0,0,0,0,0,0,0,0,28,26,27,29,27,26,29,29,27,26,27,29,0,0,0,0,0,0,0,0,27,27,25,27,27,24,23,25,25,27,27,27,0,0,0,0,0,0,0,0,28,28,28,28,28,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,30,30,30,30,29,30,29,29,29,30,29,0,0,0,0,0,0,0,0,28,28,29,29,30,29,29,30,30,29,30,29,0,0,0,0,0,0,0,0,30,29,30,29,30,29,29,29,29,30,29,30,0,0,0,0,0,0,0,0,30,29,30,29,29,29,28,29,28,29,28,28,0,0,0,0,0,0,0,0,27,25,25,27,26,25,26,26,26,25,28,27,0,0,0,0,0,0,0,0,24,24,24,25,25,26,25,26,26,28,26,28,0,0,0,0,0,0,0,0,28,28,28,27,28,26,27,26,26,27,25,26,0,0,0,0,0,0,0,0,22,21,19,18,19,16,19,22,21,18,22,20,0,0,0,0,0,0,0,0,26,23,24,25,24,25,26,26,26,27,26,26,0,0,0,0,0,0,0,0,29,29,29,28,29,30,28,30,30,29,29,29,0,0,0,0,0,0,0,0,30,29,30,30,29,29,30,30,30,29,30,29,0,0,0,0,0,0,0,0,29,29,28,29,29,28,28,29,28,27,28,28,0,0,0,0,0,0,0,0,25,25,26,25,24,25,24,24,26,26,24,25,0,0,0,0,0,0,0,0,26,27,28,27,28,29,29,29,28,29,29,29,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,29,28,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,29,29,29,28,28,0,0,0,0,0,0,0,0,29,28,28,29,27,28,28,29,27,26,27,27,0,0,0,0,0,0,0,0,28,29,28,28,28,27,29,29,28,28,28,29,0,0,0,0,0,0,0,0,29,28,29,27,29,28,27,27,29,28,27,28,0,0,0,0,0,0,0,0,27,28,28,28,28,28,29,28,28,28,28,27,0,0,0,0,0,0,0,0,27,28,26,28,27,27,29,27,28,28,26,27,0,0,0,0,0,0,0,0,23,24,25,24,22,23,23,21,20,22,21,20,0,0,0,0,0,0,0,0,13,11,11,15,10,11,8,7,9,7,7,8,0,0,0,0,0,0,0,0,1,0,1,2,1,2,2,3,4,4,4,5,0,0,0,0,0,0,0,0,9,8,9,10,12,9,10,12,13],[0,23,23,24,25,25,26,26,26,26,26,26,28,26,28,27,28,27,26,28,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,29,29,30,29,28,30,29,30,28,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,30,29,30,30,28,0,0,0,0,0,0,0,0,29,27,29,29,27,27,29,28,28,29,27,29,0,0,0,0,0,0,0,0,30,30,30,29,28,30,29,28,30,30,28,28,0,0,0,0,0,0,0,0,30,29,28,29,29,29,28,29,29,29,28,29,0,0,0,0,0,0,0,0,28,27,28,27,27,26,25,26,27,27,24,25,0,0,0,0,0,0,0,0,28,28,26,28,29,27,27,29,28,29,29,29,0,0,0,0,0,0,0,0,29,27,28,30,29,27,29,29,28,27,29,29,0,0,0,0,0,0,0,0,28,28,26,28,28,27,25,27,27,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,29,29,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,30,29,29,30,29,30,30,0,0,0,0,0,0,0,0,29,29,30,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,29,30,30,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,30,30,29,29,29,29,28,28,28,29,0,0,0,0,0,0,0,0,27,27,27,28,27,27,27,29,27,26,28,28,0,0,0,0,0,0,0,0,25,25,24,26,26,26,26,26,27,27,27,28,0,0,0,0,0,0,0,0,29,28,28,28,28,28,27,27,27,26,25,26,0,0,0,0,0,0,0,0,22,21,20,18,18,15,18,22,21,19,23,24,0,0,0,0,0,0,0,0,26,25,23,26,25,24,23,25,27,24,25,26,0,0,0,0,0,0,0,0,28,28,29,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,30,29,27,29,29,0,0,0,0,0,0,0,0,26,27,26,25,24,25,22,25,25,25,23,26,0,0,0,0,0,0,0,0,28,28,27,28,28,29,29,30,30,29,30,29,0,0,0,0,0,0,0,0,30,29,29,29,29,30,30,30,29,29,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,29,29,30,29,29,0,0,0,0,0,0,0,0,30,28,29,30,29,28,29,29,29,27,28,29,0,0,0,0,0,0,0,0,29,29,27,29,30,29,29,29,29,29,30,30,0,0,0,0,0,0,0,0,29,30,30,29,30,30,29,28,30,29,28,28,0,0,0,0,0,0,0,0,29,29,29,28,29,29,30,29,29,30,29,29,0,0,0,0,0,0,0,0,28,28,28,29,28,28,27,27,28,27,27,28,0,0,0,0,0,0,0,0,23,23,26,25,22,24,23,22,20,23,21,18,0,0,0,0,0,0,0,0,14,12,11,14,12,12,10,8,11,9,10,10,0,0,0,0,0,0,0,0,2,1,0,1,2,2,2,2,3,4,4,4,0,0,0,0,0,0,0,0,9,9,11,11,12,12,11,13,15],[0,24,24,26,26,26,27,27,27,27,27,28,28,27,28,28,28,28,27,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,29,30,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,29,29,30,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,30,28,27,29,28,29,27,29,29,0,0,0,0,0,0,0,0,29,30,30,29,30,29,29,29,29,28,29,28,0,0,0,0,0,0,0,0,29,29,29,29,28,29,30,29,28,29,30,27,0,0,0,0,0,0,0,0,28,26,27,29,27,27,28,27,29,28,27,29,0,0,0,0,0,0,0,0,29,29,30,29,29,30,28,27,29,29,28,27,0,0,0,0,0,0,0,0,29,29,27,29,28,29,28,29,29,28,28,28,0,0,0,0,0,0,0,0,28,28,27,26,27,25,23,25,26,24,20,25,0,0,0,0,0,0,0,0,28,28,27,27,28,28,27,29,28,28,29,30,0,0,0,0,0,0,0,0,29,27,28,29,28,27,29,29,27,26,29,29,0,0,0,0,0,0,0,0,28,27,25,27,26,25,24,24,26,27,27,27,0,0,0,0,0,0,0,0,28,29,28,28,28,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,29,29,30,29,29,30,30,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,30,29,30,29,29,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,25,26,27,26,25,27,27,26,26,28,27,0,0,0,0,0,0,0,0,25,26,23,26,25,26,26,26,26,27,26,28,0,0,0,0,0,0,0,0,29,27,27,28,27,27,27,26,26,26,25,25,0,0,0,0,0,0,0,0,22,22,21,19,19,17,18,23,20,18,23,21,0,0,0,0,0,0,0,0,25,24,24,24,25,24,24,26,27,26,26,26,0,0,0,0,0,0,0,0,28,29,29,29,29,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,29,27,29,29,0,0,0,0,0,0,0,0,25,26,26,25,24,25,23,25,27,26,24,27,0,0,0,0,0,0,0,0,28,28,28,29,29,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,29,28,29,29,28,29,28,29,0,0,0,0,0,0,0,0,29,28,28,29,28,28,28,29,27,26,28,28,0,0,0,0,0,0,0,0,29,29,27,29,29,28,28,29,29,28,29,29,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,27,29,28,27,28,0,0,0,0,0,0,0,0,27,28,28,28,27,28,29,28,29,29,28,28,0,0,0,0,0,0,0,0,27,27,26,28,27,26,28,27,28,27,27,28,0,0,0,0,0,0,0,0,23,24,25,26,23,23,23,23,22,22,22,20,0,0,0,0,0,0,0,0,13,13,13,15,12,12,11,11,11,10,11,11,0,0,0,0,0,0,0,0,2,2,1,0,1,2,2,2,2,4,3,3,0,0,0,0,0,0,0,0,9,7,9,10,13,11,10,13,13],[0,23,24,25,25,25,27,27,26,27,27,27,28,27,29,27,29,29,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,28,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,29,30,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,27,28,29,27,26,29,28,29,28,27,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,28,28,27,25,26,26,25,24,25,0,0,0,0,0,0,0,0,28,28,27,27,29,27,26,28,27,28,29,29,0,0,0,0,0,0,0,0,29,28,28,30,29,28,29,29,28,27,29,29,0,0,0,0,0,0,0,0,29,28,27,28,29,28,25,27,26,28,28,27,0,0,0,0,0,0,0,0,29,29,28,29,28,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,27,27,25,29,28,27,27,29,28,27,29,29,0,0,0,0,0,0,0,0,26,25,26,27,26,27,27,28,28,28,28,29,0,0,0,0,0,0,0,0,30,29,28,29,28,27,28,27,27,27,26,26,0,0,0,0,0,0,0,0,23,21,21,19,17,16,20,23,21,18,23,24,0,0,0,0,0,0,0,0,27,26,23,25,25,25,23,24,27,25,24,26,0,0,0,0,0,0,0,0,28,29,30,29,29,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,31,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,29,30,28,29,29,0,0,0,0,0,0,0,0,27,27,27,27,25,25,24,25,27,26,25,27,0,0,0,0,0,0,0,0,28,28,28,29,29,29,29,30,29,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,26,28,29,29,29,30,30,29,30,30,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,28,30,29,27,28,0,0,0,0,0,0,0,0,29,29,30,29,30,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,27,28,28,29,28,27,29,27,29,27,26,26,0,0,0,0,0,0,0,0,23,24,26,26,24,24,23,23,20,24,22,19,0,0,0,0,0,0,0,0,14,12,12,14,11,11,10,8,10,9,8,9,0,0,0,0,0,0,0,0,2,2,2,1,0,1,1,1,2,2,2,2,0,0,0,0,0,0,0,0,7,6,8,9,12,10,9,11,12],[0,24,25,24,26,26,27,27,26,27,27,26,28,26,28,27,28,28,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,28,29,28,29,28,29,28,29,29,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,30,29,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,29,27,28,29,28,25,28,27,29,26,30,29,0,0,0,0,0,0,0,0,29,30,29,29,29,29,29,29,29,28,29,28,0,0,0,0,0,0,0,0,29,29,29,30,29,29,29,29,28,29,29,26,0,0,0,0,0,0,0,0,27,25,27,29,25,26,28,27,28,28,26,28,0,0,0,0,0,0,0,0,29,29,29,28,28,30,28,27,29,29,27,27,0,0,0,0,0,0,0,0,29,28,28,28,28,28,28,28,29,29,28,29,0,0,0,0,0,0,0,0,27,27,26,27,26,26,26,25,26,25,25,26,0,0,0,0,0,0,0,0,27,27,24,26,28,25,25,27,26,27,28,29,0,0,0,0,0,0,0,0,28,26,29,29,27,26,28,28,27,26,28,29,0,0,0,0,0,0,0,0,28,27,25,27,27,25,24,25,25,27,28,27,0,0,0,0,0,0,0,0,28,28,28,27,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,28,28,28,28,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,28,30,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,27,27,27,27,27,0,0,0,0,0,0,0,0,26,26,24,26,26,25,26,27,26,25,28,27,0,0,0,0,0,0,0,0,24,23,22,25,25,25,26,26,25,26,26,27,0,0,0,0,0,0,0,0,28,27,27,28,28,27,27,27,26,26,25,26,0,0,0,0,0,0,0,0,20,20,19,19,19,16,19,19,20,18,21,23,0,0,0,0,0,0,0,0,25,23,23,24,23,23,22,24,24,23,23,25,0,0,0,0,0,0,0,0,27,28,29,28,29,29,27,28,28,27,27,28,0,0,0,0,0,0,0,0,29,29,30,29,29,29,29,29,28,28,29,29,0,0,0,0,0,0,0,0,29,29,29,30,29,28,29,29,29,27,29,29,0,0,0,0,0,0,0,0,24,26,25,25,24,24,23,21,25,26,23,24,0,0,0,0,0,0,0,0,26,28,28,28,28,29,29,29,28,28,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,27,28,28,28,27,27,28,28,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,28,28,29,29,27,26,28,28,0,0,0,0,0,0,0,0,28,29,27,28,28,28,28,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,27,29,28,28,28,0,0,0,0,0,0,0,0,28,26,27,28,27,27,29,28,27,28,28,28,0,0,0,0,0,0,0,0,27,27,27,27,27,26,27,26,28,26,26,26,0,0,0,0,0,0,0,0,21,22,24,24,20,23,22,20,19,20,21,17,0,0,0,0,0,0,0,0,14,11,11,13,12,12,10,8,10,8,8,8,0,0,0,0,0,0,0,0,3,2,3,2,1,0,1,2,2,2,3,3,0,0,0,0,0,0,0,0,8,7,8,9,10,9,9,10,11],[0,22,23,24,24,26,26,26,26,26,25,25,26,25,27,26,27,26,27,28,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,30,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,28,28,28,29,0,0,0,0,0,0,0,0,30,30,29,29,30,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,28,28,28,28,28,30,28,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,28,26,28,28,29,28,29,29,0,0,0,0,0,0,0,0,29,30,29,29,29,29,29,29,29,28,29,28,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,30,29,29,29,28,0,0,0,0,0,0,0,0,28,26,28,29,26,26,28,27,28,29,27,29,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,29,30,29,28,28,0,0,0,0,0,0,0,0,29,29,28,28,28,29,28,28,29,27,27,28,0,0,0,0,0,0,0,0,28,27,27,27,27,24,24,26,26,24,24,24,0,0,0,0,0,0,0,0,27,27,25,27,28,27,26,28,27,29,28,29,0,0,0,0,0,0,0,0,29,27,28,29,28,27,28,29,28,27,28,29,0,0,0,0,0,0,0,0,28,27,26,28,27,26,25,27,27,27,27,28,0,0,0,0,0,0,0,0,28,27,28,27,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,28,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,28,27,28,27,27,0,0,0,0,0,0,0,0,27,26,25,27,27,26,27,28,27,26,28,27,0,0,0,0,0,0,0,0,25,24,22,27,26,26,26,27,25,26,26,28,0,0,0,0,0,0,0,0,28,28,28,27,28,28,27,27,26,27,25,26,0,0,0,0,0,0,0,0,23,22,19,19,19,16,19,23,22,18,24,22,0,0,0,0,0,0,0,0,25,25,24,24,25,24,23,23,26,25,25,25,0,0,0,0,0,0,0,0,27,28,29,28,29,29,28,29,29,28,28,28,0,0,0,0,0,0,0,0,29,29,30,30,30,29,29,29,28,28,29,29,0,0,0,0,0,0,0,0,29,29,29,30,29,29,29,29,29,27,29,29,0,0,0,0,0,0,0,0,26,26,26,25,25,25,24,24,26,26,24,25,0,0,0,0,0,0,0,0,28,28,26,28,29,29,29,29,29,28,30,29,0,0,0,0,0,0,0,0,30,29,29,29,28,29,29,30,29,28,29,29,0,0,0,0,0,0,0,0,29,28,28,29,29,27,29,29,28,28,28,29,0,0,0,0,0,0,0,0,29,28,29,29,28,27,29,28,28,27,28,28,0,0,0,0,0,0,0,0,29,29,27,28,28,28,29,29,28,29,29,29,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,28,29,29,27,28,0,0,0,0,0,0,0,0,29,28,29,28,28,28,29,29,28,29,28,28,0,0,0,0,0,0,0,0,27,27,27,28,27,27,27,26,28,26,27,26,0,0,0,0,0,0,0,0,23,23,25,25,22,24,24,22,21,24,22,20,0,0,0,0,0,0,0,0,15,12,11,13,12,11,10,8,10,10,10,10,0,0,0,0,0,0,0,0,3,2,2,3,2,1,0,1,2,2,2,3,0,0,0,0,0,0,0,0,7,8,9,10,10,10,10,10,12],[0,24,25,26,26,27,27,27,27,27,26,26,27,26,27,28,28,28,27,29,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,29,28,29,29,29,29,29,28,28,0,0,0,0,0,0,0,0,28,29,29,28,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,28,28,29,29,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,29,29,29,30,28,28,29,29,30,27,29,29,0,0,0,0,0,0,0,0,29,30,29,30,30,29,29,29,29,28,29,28,0,0,0,0,0,0,0,0,29,29,29,29,28,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,26,28,29,27,26,28,27,29,28,27,29,0,0,0,0,0,0,0,0,29,29,30,29,28,30,29,28,29,30,29,28,0,0,0,0,0,0,0,0,29,29,28,29,29,29,28,29,29,28,28,28,0,0,0,0,0,0,0,0,28,28,28,27,27,27,23,26,26,25,21,26,0,0,0,0,0,0,0,0,28,27,25,27,29,27,27,28,28,28,29,29,0,0,0,0,0,0,0,0,29,27,28,30,28,27,29,29,28,27,29,29,0,0,0,0,0,0,0,0,28,28,26,28,28,26,25,26,26,28,28,27,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,29,28,29,29,0,0,0,0,0,0,0,0,29,29,28,28,29,29,28,29,29,28,29,29,0,0,0,0,0,0,0,0,28,28,28,29,29,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,28,28,28,28,28,27,28,27,27,0,0,0,0,0,0,0,0,26,26,24,27,26,26,27,28,27,26,28,28,0,0,0,0,0,0,0,0,26,25,24,27,26,26,26,27,27,27,26,28,0,0,0,0,0,0,0,0,29,27,28,28,28,27,28,27,26,27,25,25,0,0,0,0,0,0,0,0,23,21,21,20,18,17,19,22,20,18,23,22,0,0,0,0,0,0,0,0,25,24,24,26,25,24,23,26,26,25,26,27,0,0,0,0,0,0,0,0,27,29,29,29,29,29,27,29,29,29,28,29,0,0,0,0,0,0,0,0,29,29,29,29,28,29,28,29,28,29,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,30,29,27,29,29,0,0,0,0,0,0,0,0,26,26,26,26,25,24,24,25,27,26,25,27,0,0,0,0,0,0,0,0,28,27,28,28,28,28,29,29,29,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,28,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,29,29,27,28,29,28,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,28,27,28,28,27,27,28,28,0,0,0,0,0,0,0,0,29,29,28,28,29,28,28,28,28,28,29,29,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,27,29,29,26,28,0,0,0,0,0,0,0,0,28,28,28,27,28,28,29,28,28,29,28,28,0,0,0,0,0,0,0,0,27,28,27,29,28,27,28,28,29,28,26,27,0,0,0,0,0,0,0,0,22,23,25,25,23,23,23,22,21,23,22,20,0,0,0,0,0,0,0,0,13,12,12,13,12,11,11,10,11,10,10,11,0,0,0,0,0,0,0,0,4,3,2,2,2,1,1,0,1,2,3,3,0,0,0,0,0,0,0,0,6,6,7,8,10,9,9,10,11],[0,24,25,25,26,26,27,27,26,27,27,27,28,27,28,28,28,28,27,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,29,29,28,28,28,29,28,29,28,28,29,0,0,0,0,0,0,0,0,30,30,29,29,30,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,29,29,30,29,27,28,29,30,29,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,29,29,29,29,29,28,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,25,27,29,27,26,28,27,29,29,27,28,0,0,0,0,0,0,0,0,30,29,29,29,29,30,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,28,27,28,28,28,29,29,29,28,29,29,0,0,0,0,0,0,0,0,27,26,26,27,26,25,25,25,25,24,24,24,0,0,0,0,0,0,0,0,27,27,25,26,28,27,27,28,26,27,28,28,0,0,0,0,0,0,0,0,27,27,28,28,27,26,27,28,27,26,27,28,0,0,0,0,0,0,0,0,27,26,24,26,27,26,24,26,25,26,27,26,0,0,0,0,0,0,0,0,28,28,28,27,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,29,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,28,28,28,27,27,0,0,0,0,0,0,0,0,26,25,25,27,26,25,26,27,26,26,28,27,0,0,0,0,0,0,0,0,25,23,23,25,25,25,26,26,26,28,27,27,0,0,0,0,0,0,0,0,29,28,26,27,27,25,25,26,24,24,25,24,0,0,0,0,0,0,0,0,22,20,20,19,16,18,20,21,21,18,22,21,0,0,0,0,0,0,0,0,24,23,23,24,23,23,23,23,25,25,24,24,0,0,0,0,0,0,0,0,28,28,29,28,29,29,28,28,29,27,28,28,0,0,0,0,0,0,0,0,29,29,30,30,29,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,29,28,28,28,0,0,0,0,0,0,0,0,26,26,24,25,25,23,25,23,25,25,23,24,0,0,0,0,0,0,0,0,27,27,27,28,28,28,28,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,28,27,28,28,26,27,29,27,0,0,0,0,0,0,0,0,27,28,27,29,27,27,28,28,29,28,28,29,0,0,0,0,0,0,0,0,29,28,29,28,29,28,27,27,29,28,26,28,0,0,0,0,0,0,0,0,28,27,28,28,28,27,29,28,28,29,29,28,0,0,0,0,0,0,0,0,27,26,28,28,27,27,27,26,27,26,26,25,0,0,0,0,0,0,0,0,22,24,24,24,21,25,23,21,19,23,22,19,0,0,0,0,0,0,0,0,14,13,12,14,11,11,11,9,9,8,9,9,0,0,0,0,0,0,0,0,3,3,3,2,2,2,2,1,0,1,1,1,0,0,0,0,0,0,0,0,4,4,6,7,8,8,8,8,9],[0,22,24,24,24,25,26,25,26,26,25,25,27,26,27,27,27,27,27,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,29,30,29,30,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,28,28,28,28,0,0,0,0,0,0,0,0,27,28,29,28,28,28,28,28,27,27,28,29,0,0,0,0,0,0,0,0,29,29,28,28,29,28,28,27,28,27,28,28,0,0,0,0,0,0,0,0,28,28,28,27,27,28,28,28,27,28,28,28,0,0,0,0,0,0,0,0,28,28,28,29,27,26,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,28,29,28,27,28,28,26,27,26,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,28,28,28,29,28,0,0,0,0,0,0,0,0,27,26,29,29,27,26,28,27,29,27,26,29,0,0,0,0,0,0,0,0,28,28,28,29,29,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,29,28,27,28,27,27,27,28,28,27,27,28,0,0,0,0,0,0,0,0,26,27,26,26,27,25,25,25,24,24,24,25,0,0,0,0,0,0,0,0,27,27,25,27,28,27,26,28,26,28,28,29,0,0,0,0,0,0,0,0,27,27,27,28,28,27,27,28,28,26,28,28,0,0,0,0,0,0,0,0,27,27,25,26,27,25,24,26,25,26,27,26,0,0,0,0,0,0,0,0,27,27,27,26,27,27,28,28,27,27,27,28,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,28,29,29,28,28,27,28,26,27,0,0,0,0,0,0,0,0,25,25,25,26,27,25,25,27,26,25,27,27,0,0,0,0,0,0,0,0,24,24,22,26,25,26,25,26,26,26,26,27,0,0,0,0,0,0,0,0,28,26,27,28,28,26,25,26,24,25,24,24,0,0,0,0,0,0,0,0,22,20,18,18,18,15,18,22,21,19,23,23,0,0,0,0,0,0,0,0,24,23,24,22,23,23,21,23,25,24,24,25,0,0,0,0,0,0,0,0,27,28,28,27,28,28,28,27,28,26,27,28,0,0,0,0,0,0,0,0,28,28,28,28,28,27,28,27,27,27,27,27,0,0,0,0,0,0,0,0,29,28,29,29,29,29,28,29,28,28,27,28,0,0,0,0,0,0,0,0,26,25,25,24,25,24,24,24,24,25,24,26,0,0,0,0,0,0,0,0,27,27,28,28,28,28,29,29,28,28,29,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,29,28,28,27,28,28,0,0,0,0,0,0,0,0,26,25,27,27,27,26,26,28,26,28,27,28,0,0,0,0,0,0,0,0,28,27,29,28,27,28,28,28,27,28,29,27,0,0,0,0,0,0,0,0,28,29,28,28,28,27,28,28,29,28,28,29,0,0,0,0,0,0,0,0,29,28,28,27,29,28,27,27,29,28,27,28,0,0,0,0,0,0,0,0,28,27,27,28,27,27,29,27,27,28,28,27,0,0,0,0,0,0,0,0,26,26,27,27,26,26,26,26,27,26,27,26,0,0,0,0,0,0,0,0,22,21,25,25,19,24,24,21,18,23,22,19,0,0,0,0,0,0,0,0,14,11,11,14,12,11,10,9,10,9,9,9,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,1,1,0,1,1,0,0,0,0,0,0,0,0,4,5,6,7,8,8,8,9,9],[0,24,24,24,25,26,27,27,26,27,26,26,27,26,28,27,27,26,27,28,0,0,0,0,0,0,0,0,29,29,28,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,28,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,28,29,29,29,29,28,28,29,29,0,0,0,0,0,0,0,0,30,29,29,28,29,29,28,29,29,28,29,29,0,0,0,0,0,0,0,0,28,28,27,28,28,28,28,28,28,28,29,28,0,0,0,0,0,0,0,0,29,29,28,29,28,26,28,28,28,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,28,29,28,28,27,0,0,0,0,0,0,0,0,29,29,28,29,29,29,28,29,28,29,29,28,0,0,0,0,0,0,0,0,27,25,28,29,26,26,28,27,28,28,27,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,27,29,29,28,28,0,0,0,0,0,0,0,0,29,29,27,28,28,28,28,28,29,27,27,28,0,0,0,0,0,0,0,0,27,27,26,26,27,24,23,26,25,24,22,24,0,0,0,0,0,0,0,0,27,27,25,27,28,26,26,28,27,27,28,29,0,0,0,0,0,0,0,0,28,26,27,29,29,26,28,28,28,25,28,29,0,0,0,0,0,0,0,0,27,27,25,26,26,25,23,25,24,27,27,26,0,0,0,0,0,0,0,0,28,28,28,27,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,28,29,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,30,30,30,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,29,28,27,27,27,27,27,0,0,0,0,0,0,0,0,24,25,22,26,26,25,25,26,25,24,27,26,0,0,0,0,0,0,0,0,24,25,23,26,25,26,25,26,25,26,25,28,0,0,0,0,0,0,0,0,29,25,27,27,28,26,26,25,25,25,23,23,0,0,0,0,0,0,0,0,22,19,20,18,18,16,18,21,20,17,22,21,0,0,0,0,0,0,0,0,24,22,23,25,23,21,22,25,25,24,25,26,0,0,0,0,0,0,0,0,27,29,29,28,29,29,28,29,29,28,28,29,0,0,0,0,0,0,0,0,29,29,30,29,29,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,27,29,29,0,0,0,0,0,0,0,0,23,23,25,25,22,23,21,24,24,22,23,25,0,0,0,0,0,0,0,0,27,26,27,28,28,28,28,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,28,29,28,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,27,28,29,28,27,28,28,27,29,29,28,0,0,0,0,0,0,0,0,29,28,28,28,27,26,27,27,27,24,27,26,0,0,0,0,0,0,0,0,27,27,26,28,28,27,27,28,28,27,28,29,0,0,0,0,0,0,0,0,29,28,28,27,29,28,27,26,28,27,25,27,0,0,0,0,0,0,0,0,27,27,28,28,28,28,29,28,28,28,27,27,0,0,0,0,0,0,0,0,26,26,25,27,26,25,27,25,28,26,25,25,0,0,0,0,0,0,0,0,23,22,23,23,22,22,22,22,20,22,21,19,0,0,0,0,0,0,0,0,13,11,11,14,12,12,10,10,11,11,11,11,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,2,1,1,0,1,0,0,0,0,0,0,0,0,4,5,5,7,7,7,7,8,8],[0,25,25,26,25,26,28,28,26,28,26,27,28,27,28,28,28,29,27,29,0,0,0,0,0,0,0,0,29,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,28,28,29,27,29,28,28,28,28,28,29,29,0,0,0,0,0,0,0,0,30,29,29,29,29,29,30,30,30,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,30,29,30,29,30,0,0,0,0,0,0,0,0,29,28,29,30,28,27,28,29,30,28,30,30,0,0,0,0,0,0,0,0,29,30,30,29,29,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,28,29,29,29,28,29,29,28,0,0,0,0,0,0,0,0,28,27,28,28,27,26,29,28,30,29,27,29,0,0,0,0,0,0,0,0,29,29,30,29,28,30,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,29,27,28,28,28,29,29,28,29,29,29,0,0,0,0,0,0,0,0,27,27,26,27,27,25,25,26,26,26,24,24,0,0,0,0,0,0,0,0,27,27,23,26,28,27,26,28,26,27,29,29,0,0,0,0,0,0,0,0,28,27,26,28,27,27,27,28,26,26,27,28,0,0,0,0,0,0,0,0,27,26,25,25,27,25,23,25,25,27,28,26,0,0,0,0,0,0,0,0,28,29,28,28,28,29,28,29,29,29,29,30,0,0,0,0,0,0,0,0,29,29,30,30,29,29,30,29,30,29,30,29,0,0,0,0,0,0,0,0,28,29,29,30,30,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,29,28,29,29,28,29,28,27,28,28,28,28,0,0,0,0,0,0,0,0,25,24,24,27,27,25,25,27,27,26,26,27,0,0,0,0,0,0,0,0,24,24,23,26,25,26,25,26,26,27,26,27,0,0,0,0,0,0,0,0,29,26,26,27,27,26,26,25,23,24,24,24,0,0,0,0,0,0,0,0,21,19,17,17,16,17,19,22,21,18,21,21,0,0,0,0,0,0,0,0,26,24,22,24,23,22,23,23,24,24,25,24,0,0,0,0,0,0,0,0,27,29,29,28,29,29,28,29,29,28,28,29,0,0,0,0,0,0,0,0,29,29,30,30,29,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,29,29,29,29,27,28,28,0,0,0,0,0,0,0,0,24,24,24,25,23,23,23,23,24,24,23,26,0,0,0,0,0,0,0,0,27,27,27,27,28,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,28,29,29,29,28,0,0,0,0,0,0,0,0,29,28,28,29,26,27,28,27,25,26,26,25,0,0,0,0,0,0,0,0,27,26,25,26,27,26,28,29,29,28,29,29,0,0,0,0,0,0,0,0,29,29,28,27,29,29,25,27,29,27,25,25,0,0,0,0,0,0,0,0,28,28,28,29,29,29,29,29,29,29,28,29,0,0,0,0,0,0,0,0,26,27,26,29,27,26,27,26,27,25,25,24,0,0,0,0,0,0,0,0,21,24,24,22,22,23,21,20,20,22,20,18,0,0,0,0,0,0,0,0,12,11,10,13,10,10,10,8,9,8,9,9,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,1,1,1,1,0,0,0,0,0,0,0,0,0,3,3,4,5,6,5,6,7,7],[0,24,25,25,25,26,26,27,27,27,27,27,28,27,28,28,28,28,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,28,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,28,28,29,29,28,29,29,28,28,29,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,28,28,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,27,28,29,29,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,28,28,28,27,28,0,0,0,0,0,0,0,0,28,29,29,29,28,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,26,28,29,28,26,28,28,29,28,27,29,0,0,0,0,0,0,0,0,29,28,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,27,28,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,27,27,27,27,27,26,26,25,25,25,25,25,0,0,0,0,0,0,0,0,28,28,26,26,29,27,27,28,27,27,29,28,0,0,0,0,0,0,0,0,29,27,27,29,28,27,27,28,28,26,28,29,0,0,0,0,0,0,0,0,27,26,25,27,27,25,25,26,26,26,27,26,0,0,0,0,0,0,0,0,28,28,28,27,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,30,30,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,26,25,27,27,25,26,27,27,26,27,27,0,0,0,0,0,0,0,0,25,23,23,26,25,25,27,25,27,27,26,28,0,0,0,0,0,0,0,0,29,27,26,27,28,25,26,26,26,25,26,26,0,0,0,0,0,0,0,0,24,20,19,18,17,17,21,22,22,20,23,23,0,0,0,0,0,0,0,0,25,25,23,24,24,24,23,24,25,25,24,26,0,0,0,0,0,0,0,0,28,29,29,28,28,28,28,27,28,26,27,28,0,0,0,0,0,0,0,0,28,28,29,28,27,28,28,28,26,26,27,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,28,29,28,0,0,0,0,0,0,0,0,27,26,25,25,25,24,25,24,26,26,24,26,0,0,0,0,0,0,0,0,28,28,28,29,28,28,28,29,28,29,29,28,0,0,0,0,0,0,0,0,29,28,28,29,28,29,29,29,28,28,28,28,0,0,0,0,0,0,0,0,26,27,26,27,27,26,26,27,26,28,27,28,0,0,0,0,0,0,0,0,28,28,29,29,27,28,28,28,27,28,28,26,0,0,0,0,0,0,0,0,27,27,27,29,27,28,28,28,29,28,28,28,0,0,0,0,0,0,0,0,29,28,28,28,29,29,27,28,29,27,26,28,0,0,0,0,0,0,0,0,27,27,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,26,27,27,26,26,26,26,26,27,27,25,0,0,0,0,0,0,0,0,21,22,25,26,19,24,24,21,18,23,22,18,0,0,0,0,0,0,0,0,13,12,12,14,12,12,11,10,10,10,9,10,0,0,0,0,0,0,0,0,3,3,3,3,2,2,2,1,1,1,1,1,0,0,0,0,0,0,0,0,3,4,5,5,7,7,7,7,8],[0,23,24,25,25,26,27,26,26,26,26,26,27,26,28,27,28,27,27,28,0,0,0,0,0,0,0,0,29,29,29,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,30,29,29,30,29,29,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,30,30,29,28,29,29,28,28,29,29,28,29,0,0,0,0,0,0,0,0,28,27,28,27,28,29,28,29,28,28,29,28,0,0,0,0,0,0,0,0,29,29,27,29,29,26,28,28,28,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,28,29,27,28,27,0,0,0,0,0,0,0,0,29,29,28,29,30,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,29,27,29,30,28,27,29,27,28,29,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,30,30,29,29,0,0,0,0,0,0,0,0,29,29,28,29,28,29,28,28,29,28,27,29,0,0,0,0,0,0,0,0,28,28,27,28,28,27,26,27,25,24,24,26,0,0,0,0,0,0,0,0,29,28,26,28,29,28,27,28,27,29,29,29,0,0,0,0,0,0,0,0,29,28,29,30,29,28,29,29,29,27,28,29,0,0,0,0,0,0,0,0,28,28,26,27,28,26,25,25,26,27,28,26,0,0,0,0,0,0,0,0,29,28,28,27,29,28,29,29,29,28,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,30,30,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,29,28,28,28,28,0,0,0,0,0,0,0,0,26,25,24,26,26,25,26,27,26,25,27,27,0,0,0,0,0,0,0,0,22,24,22,26,26,26,24,26,25,25,26,26,0,0,0,0,0,0,0,0,29,27,27,29,28,26,26,26,26,26,25,25,0,0,0,0,0,0,0,0,24,21,18,18,19,17,19,23,23,20,25,24,0,0,0,0,0,0,0,0,26,24,24,24,25,24,23,25,27,23,25,26,0,0,0,0,0,0,0,0,28,29,29,28,29,29,29,29,29,28,28,28,0,0,0,0,0,0,0,0,29,29,29,28,29,28,28,28,29,28,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,26,26,26,26,24,25,23,25,26,24,24,27,0,0,0,0,0,0,0,0,28,28,27,29,29,28,29,29,29,28,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,28,26,27,29,28,27,28,28,27,29,28,29,0,0,0,0,0,0,0,0,29,29,29,29,27,29,29,27,28,27,27,27,0,0,0,0,0,0,0,0,28,28,27,29,28,29,28,28,29,29,29,30,0,0,0,0,0,0,0,0,30,30,29,28,30,29,28,28,29,28,27,28,0,0,0,0,0,0,0,0,29,29,29,29,28,28,29,28,28,29,28,28,0,0,0,0,0,0,0,0,27,25,27,28,26,26,25,26,26,25,26,24,0,0,0,0,0,0,0,0,21,21,25,25,21,24,25,23,19,25,24,21,0,0,0,0,0,0,0,0,15,11,11,15,14,14,11,11,12,11,11,11,0,0,0,0,0,0,0,0,4,3,4,3,3,2,2,2,1,1,1,1,0,0,0,0,0,0,0,0,3,4,4,6,6,6,7,8,8],[0,24,25,26,25,27,28,27,27,28,26,26,28,27,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,30,29,30,29,30,29,30,29,30,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,29,29,28,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,29,29,29,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,28,30,29,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,29,29,30,29,29,29,29,29,29,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,27,28,29,28,26,29,28,29,29,27,29,0,0,0,0,0,0,0,0,29,29,30,29,28,30,29,28,29,29,29,28,0,0,0,0,0,0,0,0,29,29,28,29,28,29,29,29,29,29,28,28,0,0,0,0,0,0,0,0,28,28,28,27,27,26,24,27,26,25,22,25,0,0,0,0,0,0,0,0,28,27,24,26,28,27,26,28,27,28,29,29,0,0,0,0,0,0,0,0,28,27,28,29,28,26,28,28,28,26,28,29,0,0,0,0,0,0,0,0,27,27,25,26,27,25,23,24,24,27,27,27,0,0,0,0,0,0,0,0,28,28,27,28,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,29,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,30,30,29,30,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,29,28,28,28,29,28,28,0,0,0,0,0,0,0,0,24,24,23,26,26,23,24,27,25,24,26,26,0,0,0,0,0,0,0,0,25,23,21,24,25,26,25,26,26,27,25,27,0,0,0,0,0,0,0,0,29,25,26,28,27,26,26,24,24,26,23,23,0,0,0,0,0,0,0,0,22,19,19,18,17,17,19,22,22,18,22,21,0,0,0,0,0,0,0,0,25,22,22,25,25,22,22,24,25,24,25,24,0,0,0,0,0,0,0,0,27,29,29,28,29,29,28,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,29,28,30,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,29,29,29,29,29,29,29,27,28,29,0,0,0,0,0,0,0,0,24,24,25,25,22,23,20,24,25,21,22,25,0,0,0,0,0,0,0,0,27,25,26,27,28,27,28,29,28,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,28,28,28,28,29,29,29,28,0,0,0,0,0,0,0,0,29,28,28,28,27,27,27,27,26,24,26,27,0,0,0,0,0,0,0,0,27,27,26,28,28,27,28,29,28,27,29,29,0,0,0,0,0,0,0,0,29,28,28,27,29,28,27,26,28,27,24,26,0,0,0,0,0,0,0,0,27,28,28,28,29,28,28,27,28,28,27,27,0,0,0,0,0,0,0,0,26,27,26,27,27,25,26,24,27,27,25,26,0,0,0,0,0,0,0,0,22,22,24,24,21,21,23,21,20,22,22,20,0,0,0,0,0,0,0,0,13,11,11,14,13,13,11,11,13,12,11,13,0,0,0,0,0,0,0,0,4,4,4,3,3,2,3,2,2,2,1,1,0,0,0,0,0,0,0,0,3,4,4,6,6,5,6,7,8],[0,26,26,26,27,27,28,28,27,28,27,27,28,27,28,28,29,28,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,29,27,28,27,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,29,29,28,28,29,29,28,29,30,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,29,28,29,30,28,27,28,28,30,28,30,30,0,0,0,0,0,0,0,0,28,29,29,29,29,28,29,28,29,29,28,29,0,0,0,0,0,0,0,0,29,29,29,29,28,29,29,29,28,29,29,28,0,0,0,0,0,0,0,0,28,26,27,28,27,27,29,28,29,28,27,28,0,0,0,0,0,0,0,0,29,28,29,29,28,29,29,28,28,29,29,27,0,0,0,0,0,0,0,0,28,28,27,29,29,28,29,29,28,28,28,29,0,0,0,0,0,0,0,0,27,27,26,27,26,25,25,25,26,25,23,25,0,0,0,0,0,0,0,0,26,26,25,25,27,26,26,27,27,28,28,28,0,0,0,0,0,0,0,0,27,26,27,28,26,25,27,27,26,24,27,28,0,0,0,0,0,0,0,0,26,26,25,26,26,24,21,23,23,25,27,26,0,0,0,0,0,0,0,0,27,28,27,27,28,28,28,28,28,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,30,30,30,29,30,29,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,29,29,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,30,29,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,27,28,28,27,27,0,0,0,0,0,0,0,0,25,22,23,26,25,24,23,25,25,24,25,24,0,0,0,0,0,0,0,0,23,24,21,24,24,24,24,24,25,25,25,26,0,0,0,0,0,0,0,0,28,25,24,26,26,25,25,23,24,23,24,23,0,0,0,0,0,0,0,0,21,18,17,16,15,17,18,21,19,18,21,21,0,0,0,0,0,0,0,0,24,23,22,23,22,22,22,22,22,25,23,24,0,0,0,0,0,0,0,0,26,29,28,27,28,28,28,29,29,29,28,28,0,0,0,0,0,0,0,0,28,29,29,29,28,29,29,29,29,28,28,28,0,0,0,0,0,0,0,0,28,28,29,29,28,28,28,28,29,26,27,28,0,0,0,0,0,0,0,0,23,24,23,24,22,22,21,24,24,22,22,23,0,0,0,0,0,0,0,0,25,23,26,26,27,27,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,28,28,28,28,29,29,28,28,28,29,28,0,0,0,0,0,0,0,0,28,29,28,28,29,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,26,28,28,26,25,26,25,23,24,24,24,0,0,0,0,0,0,0,0,26,26,25,26,27,25,28,28,28,27,28,29,0,0,0,0,0,0,0,0,28,28,27,26,28,27,26,25,28,26,24,26,0,0,0,0,0,0,0,0,26,28,27,28,27,28,28,26,27,28,26,27,0,0,0,0,0,0,0,0,25,25,26,26,27,25,26,25,25,25,24,26,0,0,0,0,0,0,0,0,21,23,24,23,21,21,22,20,19,21,21,18,0,0,0,0,0,0,0,0,13,11,11,14,12,12,10,11,10,11,10,12,0,0,0,0,0,0,0,0,4,4,5,4,3,3,3,2,2,2,2,1,0,0,0,0,0,0,0,0,3,4,5,6,8,6,6,7,8],[0,23,25,24,25,26,26,26,26,26,26,27,27,25,26,26,27,27,26,28,0,0,0,0,0,0,0,0,29,29,28,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,28,29,28,28,29,29,28,28,28,0,0,0,0,0,0,0,0,28,28,28,27,27,27,28,28,28,28,28,28,0,0,0,0,0,0,0,0,29,29,28,28,29,28,28,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,28,26,27,27,28,28,29,29,0,0,0,0,0,0,0,0,28,29,29,28,29,28,28,28,29,28,28,28,0,0,0,0,0,0,0,0,28,29,29,28,27,28,29,28,28,29,28,27,0,0,0,0,0,0,0,0,27,24,26,27,25,26,27,26,28,27,25,27,0,0,0,0,0,0,0,0,28,28,28,28,28,29,28,28,28,29,28,28,0,0,0,0,0,0,0,0,28,27,26,27,28,28,28,29,28,28,28,29,0,0,0,0,0,0,0,0,26,26,26,26,25,25,24,24,23,23,24,24,0,0,0,0,0,0,0,0,26,25,24,25,27,25,25,27,25,27,28,28,0,0,0,0,0,0,0,0,27,26,27,27,27,25,26,26,26,25,26,27,0,0,0,0,0,0,0,0,26,26,26,25,25,26,22,26,25,26,27,24,0,0,0,0,0,0,0,0,27,27,27,27,28,28,28,29,29,28,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,28,28,29,30,29,28,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,29,30,29,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,28,28,28,27,27,27,26,27,0,0,0,0,0,0,0,0,25,24,23,25,24,24,23,26,25,24,24,24,0,0,0,0,0,0,0,0,21,22,20,24,23,23,24,24,24,25,26,27,0,0,0,0,0,0,0,0,27,26,24,26,26,24,25,25,24,24,25,24,0,0,0,0,0,0,0,0,21,20,18,18,16,17,18,21,21,21,23,23,0,0,0,0,0,0,0,0,24,24,22,22,22,23,23,23,24,23,22,24,0,0,0,0,0,0,0,0,26,28,28,27,28,27,28,27,28,25,27,27,0,0,0,0,0,0,0,0,28,28,29,28,26,28,27,27,27,27,28,28,0,0,0,0,0,0,0,0,29,27,28,28,28,28,28,28,28,27,27,27,0,0,0,0,0,0,0,0,26,25,23,24,24,23,24,23,23,24,23,24,0,0,0,0,0,0,0,0,26,27,26,28,27,28,28,27,27,27,28,27,0,0,0,0,0,0,0,0,28,28,28,28,29,29,29,29,29,28,28,29,0,0,0,0,0,0,0,0,27,27,27,28,27,27,28,28,27,28,28,28,0,0,0,0,0,0,0,0,28,26,28,27,27,26,27,25,26,26,25,25,0,0,0,0,0,0,0,0,26,26,25,28,26,27,28,28,28,28,27,28,0,0,0,0,0,0,0,0,27,28,27,27,28,27,26,26,28,26,24,27,0,0,0,0,0,0,0,0,27,26,28,28,26,28,28,28,27,28,28,27,0,0,0,0,0,0,0,0,25,26,27,26,26,25,24,25,24,25,24,23,0,0,0,0,0,0,0,0,19,21,21,22,18,21,21,21,17,21,20,18,0,0,0,0,0,0,0,0,13,12,11,13,14,12,11,11,11,10,9,12,0,0,0,0,0,0,0,0,4,4,5,4,3,3,4,2,2,2,2,2,0,0,0,0,0,0,0,0,3,4,5,5,7,6,6,7,8],[0,24,25,25,25,26,27,27,26,27,26,26,27,26,28,27,28,28,28,29,0,0,0,0,0,0,0,0,29,29,29,30,29,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,30,29,29,29,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,27,28,28,0,0,0,0,0,0,0,0,29,29,28,27,29,28,27,28,28,28,28,28,0,0,0,0,0,0,0,0,27,27,27,27,27,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,29,28,26,26,28,27,28,28,28,0,0,0,0,0,0,0,0,29,28,28,29,28,27,28,27,28,27,27,26,0,0,0,0,0,0,0,0,28,28,28,28,29,28,28,28,29,29,28,28,0,0,0,0,0,0,0,0,28,27,28,28,28,27,28,27,28,27,28,29,0,0,0,0,0,0,0,0,28,28,29,28,29,29,28,29,29,28,28,29,0,0,0,0,0,0,0,0,28,29,28,27,28,27,27,28,28,27,28,28,0,0,0,0,0,0,0,0,27,27,26,27,27,26,25,26,25,24,24,25,0,0,0,0,0,0,0,0,27,27,26,27,28,27,27,28,27,28,28,28,0,0,0,0,0,0,0,0,28,27,27,28,28,27,27,27,28,26,27,28,0,0,0,0,0,0,0,0,27,27,25,27,27,26,24,26,26,26,28,26,0,0,0,0,0,0,0,0,28,27,27,27,28,28,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,29,29,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,30,29,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,28,27,28,27,28,27,0,0,0,0,0,0,0,0,26,26,25,26,26,25,25,26,24,25,26,26,0,0,0,0,0,0,0,0,24,23,21,25,25,25,24,25,26,26,25,27,0,0,0,0,0,0,0,0,28,27,26,27,27,25,26,26,25,26,26,24,0,0,0,0,0,0,0,0,24,22,19,18,18,18,21,22,22,21,24,24,0,0,0,0,0,0,0,0,25,24,23,23,24,24,22,23,25,24,24,26,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,29,27,28,28,0,0,0,0,0,0,0,0,28,28,29,28,27,27,28,27,26,27,28,27,0,0,0,0,0,0,0,0,29,28,29,29,29,29,29,29,28,28,28,28,0,0,0,0,0,0,0,0,26,26,25,25,25,25,24,23,25,24,24,26,0,0,0,0,0,0,0,0,27,28,28,28,28,28,29,29,28,28,29,28,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,0,0,0,27,26,26,27,27,26,27,27,27,28,27,28,0,0,0,0,0,0,0,0,28,28,29,28,27,28,28,28,27,27,28,27,0,0,0,0,0,0,0,0,28,27,27,29,28,27,28,28,29,29,28,28,0,0,0,0,0,0,0,0,28,28,28,28,29,28,27,28,29,27,27,27,0,0,0,0,0,0,0,0,29,28,28,27,27,27,29,28,27,28,28,28,0,0,0,0,0,0,0,0,27,26,27,27,26,26,26,27,26,26,26,26,0,0,0,0,0,0,0,0,22,22,25,25,20,24,24,22,19,24,23,21,0,0,0,0,0,0,0,0,16,12,11,15,14,13,11,12,11,11,10,12,0,0,0,0,0,0,0,0,4,4,5,4,3,3,4,3,2,2,3,2,0,0,0,0,0,0,0,0,3,4,5,6,7,7,6,6,8],[0,25,25,26,26,27,28,27,27,27,27,26,28,27,28,28,29,28,28,29,0,0,0,0,0,0,0,0,29,29,29,30,29,30,29,29,29,29,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,30,29,29,29,30,29,29,0,0,0,0,0,0,0,0,28,29,30,29,29,29,30,29,30,29,29,29,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,28,30,29,27,28,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,30,29,29,28,0,0,0,0,0,0,0,0,29,29,30,29,30,30,29,30,29,29,29,28,0,0,0,0,0,0,0,0,29,28,29,29,29,28,29,28,29,29,28,29,0,0,0,0,0,0,0,0,30,30,29,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,29,29,29,29,29,28,28,0,0,0,0,0,0,0,0,28,28,28,28,28,27,26,27,27,26,25,26,0,0,0,0,0,0,0,0,29,28,27,28,30,28,27,29,28,30,29,30,0,0,0,0,0,0,0,0,29,29,29,30,29,28,29,29,29,28,29,29,0,0,0,0,0,0,0,0,28,28,26,28,28,26,25,26,26,27,28,27,0,0,0,0,0,0,0,0,29,29,29,28,28,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,30,30,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,29,29,29,29,29,28,28,28,28,28,28,0,0,0,0,0,0,0,0,26,25,23,26,26,24,24,27,24,25,26,26,0,0,0,0,0,0,0,0,23,24,23,25,26,26,25,26,25,26,25,27,0,0,0,0,0,0,0,0,29,26,26,28,28,26,27,24,26,26,25,24,0,0,0,0,0,0,0,0,23,23,22,20,20,19,21,23,23,21,24,24,0,0,0,0,0,0,0,0,27,25,24,25,26,24,23,25,26,24,26,27,0,0,0,0,0,0,0,0,28,29,29,29,30,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,30,30,30,29,30,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,27,25,26,26,25,24,23,25,27,23,24,27,0,0,0,0,0,0,0,0,29,27,27,29,29,29,30,30,30,29,30,29,0,0,0,0,0,0,0,0,30,29,29,29,29,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,29,28,28,30,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,29,30,29,28,28,28,28,27,28,28,0,0,0,0,0,0,0,0,29,28,27,29,29,29,29,29,29,29,30,30,0,0,0,0,0,0,0,0,30,29,30,28,30,29,29,28,29,28,26,27,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,29,29,29,29,28,0,0,0,0,0,0,0,0,27,26,27,29,27,26,27,26,28,28,25,27,0,0,0,0,0,0,0,0,24,23,25,25,23,22,24,22,21,23,23,22,0,0,0,0,0,0,0,0,16,14,14,18,16,17,14,14,15,14,14,14,0,0,0,0,0,0,0,0,6,7,7,6,5,5,6,5,4,4,4,4,0,0,0,0,0,0,0,0,3,4,5,6,7,7,7,8,8],[0,26,27,27,27,28,28,28,28,28,27,27,28,26,27,28,28,29,28,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,29,30,30,29,30,29,30,29,30,30,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,29,30,30,30,30,29,30,30,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,28,30,29,28,28,30,29,30,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,29,29,28,28,28,27,28,29,27,26,27,0,0,0,0,0,0,0,0,29,29,27,28,30,28,28,29,28,29,30,29,0,0,0,0,0,0,0,0,29,28,29,30,29,28,29,29,29,27,29,29,0,0,0,0,0,0,0,0,29,28,26,28,29,27,25,26,26,28,29,28,0,0,0,0,0,0,0,0,29,29,29,28,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,29,29,29,29,29,28,0,0,0,0,0,0,0,0,27,27,26,28,27,26,27,28,27,26,28,27,0,0,0,0,0,0,0,0,25,25,23,25,27,27,26,26,27,26,26,27,0,0,0,0,0,0,0,0,29,27,27,28,29,26,28,26,28,27,26,26,0,0,0,0,0,0,0,0,24,21,20,20,19,19,21,24,22,22,23,25,0,0,0,0,0,0,0,0,28,25,25,27,26,24,24,26,25,26,27,28,0,0,0,0,0,0,0,0,29,30,30,29,29,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,29,30,29,0,0,0,0,0,0,0,0,26,27,28,27,25,25,24,26,28,26,26,27,0,0,0,0,0,0,0,0,28,27,29,29,29,29,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,30,30,29,30,30,30,30,30,30,29,29,0,0,0,0,0,0,0,0,30,29,30,30,30,30,29,29,29,30,29,29,0,0,0,0,0,0,0,0,30,29,30,30,29,28,29,29,27,27,28,28,0,0,0,0,0,0,0,0,29,29,28,30,29,29,29,29,30,29,30,30,0,0,0,0,0,0,0,0,29,30,30,29,30,29,29,29,30,29,28,29,0,0,0,0,0,0,0,0,29,30,29,29,30,29,30,29,29,29,28,29,0,0,0,0,0,0,0,0,28,28,29,29,29,27,28,27,28,27,28,27,0,0,0,0,0,0,0,0,23,22,25,26,21,22,25,24,20,25,25,22,0,0,0,0,0,0,0,0,17,15,16,17,17,16,16,16,15,17,14,17,0,0,0,0,0,0,0,0,8,8,10,8,8,7,8,6,6,5,5,5,0,0,0,0,0,0,0,0,1,3,4,4,6,5,5,6,7],[0,25,25,26,26,27,28,27,26,27,27,27,28,27,28,28,29,28,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,28,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,30,29,30,29,30,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,29,29,28,26,28,28,27,26,28,0,0,0,0,0,0,0,0,30,29,28,29,30,30,28,30,29,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,30,28,30,30,0,0,0,0,0,0,0,0,29,29,27,28,28,27,25,26,26,27,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,27,25,24,28,26,24,26,28,25,25,27,27,0,0,0,0,0,0,0,0,23,24,22,24,26,25,24,26,27,27,25,27,0,0,0,0,0,0,0,0,29,27,27,29,29,26,28,25,27,27,26,25,0,0,0,0,0,0,0,0,24,25,22,21,22,20,21,22,24,24,25,26,0,0,0,0,0,0,0,0,28,26,26,27,27,25,24,27,27,26,27,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,27,27,27,27,25,25,24,26,27,25,25,28,0,0,0,0,0,0,0,0,29,28,28,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,29,28,29,28,0,0,0,0,0,0,0,0,29,29,28,30,29,29,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,30,29,27,29,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,27,28,28,30,28,26,28,27,28,28,26,27,0,0,0,0,0,0,0,0,26,25,25,26,25,22,25,24,22,24,24,24,0,0,0,0,0,0,0,0,19,16,16,18,18,17,16,17,16,18,16,18,0,0,0,0,0,0,0,0,12,11,12,11,9,11,12,8,10,7,5,7,0,0,0,0,0,0,0,0,0,1,3,3,5,5,4,5,6],[0,26,26,27,27,28,29,28,28,29,28,28,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,29,30,29,30,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,29,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,30,0,0,0,0,0,0,0,0,29,28,29,29,28,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,28,28,28,27,28,28,27,27,27,0,0,0,0,0,0,0,0,29,28,28,29,29,29,28,29,28,29,30,29,0,0,0,0,0,0,0,0,29,29,29,30,29,28,29,29,29,28,29,30,0,0,0,0,0,0,0,0,29,29,27,28,28,28,27,28,27,28,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,30,29,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,28,29,29,28,29,0,0,0,0,0,0,0,0,28,27,26,28,27,26,27,28,26,26,27,26,0,0,0,0,0,0,0,0,25,24,24,25,27,26,26,27,26,27,27,27,0,0,0,0,0,0,0,0,30,28,28,28,28,27,27,27,27,27,26,28,0,0,0,0,0,0,0,0,25,26,22,23,21,21,23,25,25,25,27,27,0,0,0,0,0,0,0,0,28,26,27,28,27,26,26,26,27,27,27,27,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,29,29,30,29,29,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,30,30,29,29,29,0,0,0,0,0,0,0,0,27,27,27,26,27,26,25,27,26,28,26,26,0,0,0,0,0,0,0,0,29,28,29,29,29,29,30,29,29,30,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,29,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,30,29,29,30,29,29,29,28,28,28,29,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,30,29,27,28,0,0,0,0,0,0,0,0,30,30,29,29,29,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,28,28,28,29,28,28,28,28,27,27,27,26,0,0,0,0,0,0,0,0,26,24,26,27,24,24,25,25,22,25,26,23,0,0,0,0,0,0,0,0,19,18,16,18,20,18,17,18,16,18,17,20,0,0,0,0,0,0,0,0,13,14,16,14,12,13,15,11,10,8,9,8,0,0,0,0,0,0,0,0,1,0,1,3,4,4,4,5,5],[0,26,27,28,27,28,29,28,28,28,28,27,28,27,28,28,28,28,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,31,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,31,31,30,30,31,30,31,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,31,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,28,28,28,29,29,28,27,28,0,0,0,0,0,0,0,0,30,30,28,29,30,30,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,28,30,30,0,0,0,0,0,0,0,0,29,29,27,28,29,27,26,26,27,28,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,27,27,29,28,26,27,29,27,27,28,29,0,0,0,0,0,0,0,0,25,26,26,26,28,27,26,28,27,28,27,29,0,0,0,0,0,0,0,0,30,29,27,29,29,27,28,26,29,28,27,27,0,0,0,0,0,0,0,0,24,26,23,22,23,21,22,23,25,23,24,25,0,0,0,0,0,0,0,0,28,26,27,28,27,26,27,28,26,26,27,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,27,28,27,26,26,26,27,28,26,26,28,0,0,0,0,0,0,0,0,29,28,29,30,30,30,30,31,31,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,29,28,29,30,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,31,31,30,30,31,31,29,30,31,30,28,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,31,30,30,30,30,30,0,0,0,0,0,0,0,0,28,29,29,30,30,28,29,28,29,29,28,28,0,0,0,0,0,0,0,0,27,25,27,28,25,24,27,25,24,24,25,23,0,0,0,0,0,0,0,0,19,18,17,19,18,17,19,18,17,18,17,19,0,0,0,0,0,0,0,0,14,14,15,14,13,12,15,12,11,10,8,8,0,0,0,0,0,0,0,0,2,1,0,1,3,6,3,3,4],[0,26,26,26,27,27,27,28,28,28,27,27,28,28,28,28,28,29,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,29,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,29,30,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,28,30,29,29,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,28,29,29,28,28,27,28,28,27,27,27,0,0,0,0,0,0,0,0,30,29,28,28,30,29,28,29,28,29,29,29,0,0,0,0,0,0,0,0,30,29,29,30,30,28,30,30,29,28,29,30,0,0,0,0,0,0,0,0,29,28,27,28,27,27,25,27,27,28,28,28,0,0,0,0,0,0,0,0,29,30,30,29,29,30,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,29,30,29,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,29,29,29,30,29,29,0,0,0,0,0,0,0,0,28,26,25,27,27,26,27,27,25,25,27,26,0,0,0,0,0,0,0,0,24,23,23,25,26,26,25,27,27,26,26,28,0,0,0,0,0,0,0,0,29,28,27,28,28,27,27,26,27,27,27,27,0,0,0,0,0,0,0,0,25,26,21,21,20,22,21,23,25,24,26,26,0,0,0,0,0,0,0,0,28,26,26,27,27,26,26,27,27,26,26,26,0,0,0,0,0,0,0,0,29,29,30,29,30,29,29,29,29,28,29,29,0,0,0,0,0,0,0,0,29,30,30,30,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,28,27,27,27,26,26,25,26,27,27,25,27,0,0,0,0,0,0,0,0,28,29,29,29,29,29,29,30,30,29,29,29,0,0,0,0,0,0,0,0,30,29,30,30,29,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,29,29,28,29,29,28,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,29,28,29,29,28,0,0,0,0,0,0,0,0,29,29,28,30,28,28,29,28,29,29,29,29,0,0,0,0,0,0,0,0,30,29,30,29,30,30,28,29,30,29,28,29,0,0,0,0,0,0,0,0,29,29,28,29,29,29,30,29,29,30,30,30,0,0,0,0,0,0,0,0,29,28,29,29,27,28,27,27,27,26,27,26,0,0,0,0,0,0,0,0,24,23,26,26,23,24,27,24,21,25,27,22,0,0,0,0,0,0,0,0,19,18,16,19,19,19,19,18,17,17,17,18,0,0,0,0,0,0,0,0,15,13,15,14,15,14,16,13,13,11,10,10,0,0,0,0,0,0,0,0,3,1,1,0,1,2,2,3,3],[0,26,26,27,27,28,28,28,28,28,27,28,28,28,28,28,29,28,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,28,30,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,28,29,29,30,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,28,27,28,28,26,25,27,0,0,0,0,0,0,0,0,30,29,27,28,30,29,28,30,28,29,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,29,30,30,29,29,30,30,0,0,0,0,0,0,0,0,29,28,28,29,29,28,26,27,27,28,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,29,30,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,29,30,0,0,0,0,0,0,0,0,28,27,25,28,27,26,26,28,26,25,27,26,0,0,0,0,0,0,0,0,25,25,24,26,26,26,27,27,27,28,25,29,0,0,0,0,0,0,0,0,29,28,27,29,29,27,29,27,28,27,27,27,0,0,0,0,0,0,0,0,25,26,21,20,23,20,21,24,24,24,26,26,0,0,0,0,0,0,0,0,28,27,27,28,27,26,25,26,28,25,26,27,0,0,0,0,0,0,0,0,29,30,30,30,30,30,30,30,30,29,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,27,28,28,27,27,27,25,27,28,27,26,28,0,0,0,0,0,0,0,0,29,28,28,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,29,30,30,29,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,28,29,29,29,28,28,29,0,0,0,0,0,0,0,0,29,29,28,29,30,28,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,30,29,30,30,29,29,30,29,27,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,29,30,0,0,0,0,0,0,0,0,28,29,28,29,29,28,28,27,27,27,27,28,0,0,0,0,0,0,0,0,25,25,25,26,26,24,26,24,24,25,25,24,0,0,0,0,0,0,0,0,19,17,16,19,19,19,17,19,18,19,16,20,0,0,0,0,0,0,0,0,14,15,15,15,14,12,13,13,13,11,12,10,0,0,0,0,0,0,0,0,4,3,2,1,0,1,2,3,3],[0,27,26,27,27,28,28,28,28,28,27,27,28,27,28,28,28,28,28,29,0,0,0,0,0,0,0,0,29,29,29,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,29,29,30,29,29,29,29,29,29,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,28,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,29,29,0,0,0,0,0,0,0,0,30,28,29,30,28,28,29,29,30,29,29,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,28,29,29,29,29,30,29,29,29,29,0,0,0,0,0,0,0,0,28,26,27,28,26,25,26,27,28,26,25,26,0,0,0,0,0,0,0,0,29,28,26,28,29,28,28,29,28,29,29,29,0,0,0,0,0,0,0,0,29,28,29,30,29,26,29,29,27,25,28,29,0,0,0,0,0,0,0,0,27,27,26,27,27,25,25,27,26,27,27,27,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,29,0,0,0,0,0,0,0,0,29,29,29,29,30,29,29,29,29,30,29,29,0,0,0,0,0,0,0,0,30,30,30,29,30,29,30,29,29,29,30,30,0,0,0,0,0,0,0,0,30,29,30,30,29,29,29,28,29,29,29,29,0,0,0,0,0,0,0,0,27,26,25,28,27,25,26,28,27,26,28,28,0,0,0,0,0,0,0,0,25,26,25,25,27,26,26,27,27,27,27,28,0,0,0,0,0,0,0,0,29,28,27,28,28,27,28,26,28,27,26,27,0,0,0,0,0,0,0,0,24,24,21,19,22,18,19,23,22,22,24,24,0,0,0,0,0,0,0,0,27,25,23,25,25,23,24,26,25,26,27,26,0,0,0,0,0,0,0,0,29,29,30,29,29,30,29,29,30,29,30,29,0,0,0,0,0,0,0,0,29,30,30,30,29,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,29,29,29,30,30,30,30,30,28,29,29,0,0,0,0,0,0,0,0,25,26,26,26,25,25,24,24,26,26,25,26,0,0,0,0,0,0,0,0,27,27,28,28,29,29,30,30,30,29,29,30,0,0,0,0,0,0,0,0,29,29,30,29,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,29,29,28,27,28,28,26,27,28,28,0,0,0,0,0,0,0,0,29,29,28,29,29,28,29,29,30,29,30,29,0,0,0,0,0,0,0,0,30,30,29,28,30,29,28,28,30,28,27,28,0,0,0,0,0,0,0,0,29,29,29,30,30,29,30,29,30,30,28,29,0,0,0,0,0,0,0,0,27,29,29,29,29,28,28,27,28,28,27,27,0,0,0,0,0,0,0,0,25,24,26,27,23,24,25,25,23,24,24,21,0,0,0,0,0,0,0,0,19,19,16,18,18,16,16,18,16,16,16,18,0,0,0,0,0,0,0,0,15,15,17,15,15,15,15,14,13,13,13,11,0,0,0,0,0,0,0,0,5,4,3,2,1,0,1,3,2],[0,26,27,27,27,28,29,28,28,28,27,28,28,28,29,28,28,29,28,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,29,30,29,29,28,29,29,29,29,30,30,0,0,0,0,0,0,0,0,29,30,29,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,31,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,30,30,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,29,30,30,29,0,0,0,0,0,0,0,0,29,28,29,29,28,28,29,29,30,29,28,30,0,0,0,0,0,0,0,0,30,29,29,30,29,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,30,28,29,29,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,28,28,28,27,28,27,26,27,26,27,26,0,0,0,0,0,0,0,0,29,28,26,27,29,28,27,29,27,29,29,29,0,0,0,0,0,0,0,0,29,28,28,29,29,27,29,29,28,27,29,29,0,0,0,0,0,0,0,0,28,28,27,28,28,27,26,28,27,27,28,28,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,31,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,31,30,30,30,30,30,30,28,30,29,29,29,0,0,0,0,0,0,0,0,27,27,26,28,27,26,27,27,26,25,27,26,0,0,0,0,0,0,0,0,25,24,23,26,26,26,27,25,26,27,27,27,0,0,0,0,0,0,0,0,29,28,27,27,28,27,27,27,28,27,27,27,0,0,0,0,0,0,0,0,26,26,20,20,23,21,22,24,24,25,26,27,0,0,0,0,0,0,0,0,28,26,26,27,26,26,26,26,27,27,26,26,0,0,0,0,0,0,0,0,29,29,29,29,28,29,29,28,29,28,29,29,0,0,0,0,0,0,0,0,29,29,30,30,29,29,30,29,29,29,29,29,0,0,0,0,0,0,0,0,30,29,29,30,30,30,29,29,30,28,29,29,0,0,0,0,0,0,0,0,27,26,26,26,27,27,25,26,26,27,26,26,0,0,0,0,0,0,0,0,27,28,28,28,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,30,30,29,29,30,29,30,29,30,0,0,0,0,0,0,0,0,29,29,29,29,28,28,28,28,27,28,28,27,0,0,0,0,0,0,0,0,28,28,28,29,27,28,29,29,29,29,29,29,0,0,0,0,0,0,0,0,30,30,29,28,30,29,28,28,30,28,27,28,0,0,0,0,0,0,0,0,29,29,29,29,29,29,30,30,29,29,29,29,0,0,0,0,0,0,0,0,27,28,28,28,28,28,28,27,27,26,27,26,0,0,0,0,0,0,0,0,26,24,26,27,25,24,26,26,23,26,26,23,0,0,0,0,0,0,0,0,20,20,16,19,19,19,16,18,16,17,18,21,0,0,0,0,0,0,0,0,16,16,19,17,15,16,17,15,16,15,14,12,0,0,0,0,0,0,0,0,6,4,3,3,2,1,0,1,2],[0,26,26,27,26,27,28,28,27,28,27,28,28,27,28,27,28,28,28,29,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,29,28,30,29,30,29,29,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,28,29,29,29,28,28,28,28,27,27,28,0,0,0,0,0,0,0,0,29,29,28,28,29,29,27,28,27,29,29,30,0,0,0,0,0,0,0,0,30,28,29,30,30,28,30,29,28,28,29,30,0,0,0,0,0,0,0,0,29,29,27,28,28,28,26,27,27,28,28,28,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,30,29,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,29,29,29,29,0,0,0,0,0,0,0,0,28,27,26,28,27,27,27,27,25,27,28,26,0,0,0,0,0,0,0,0,26,25,23,27,27,27,28,26,28,28,26,28,0,0,0,0,0,0,0,0,29,27,27,28,29,27,28,27,28,27,27,27,0,0,0,0,0,0,0,0,27,26,21,22,24,22,22,24,25,25,27,27,0,0,0,0,0,0,0,0,28,27,27,28,27,26,26,26,28,26,26,27,0,0,0,0,0,0,0,0,29,29,29,29,30,29,30,29,29,28,29,29,0,0,0,0,0,0,0,0,29,30,30,30,29,30,29,30,30,29,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,29,29,29,0,0,0,0,0,0,0,0,27,27,28,27,27,27,26,27,27,28,26,27,0,0,0,0,0,0,0,0,28,28,28,28,29,29,28,29,30,29,30,29,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,29,29,30,30,30,29,29,0,0,0,0,0,0,0,0,30,29,29,30,29,28,29,29,28,28,28,28,0,0,0,0,0,0,0,0,28,28,28,29,28,29,29,29,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,28,29,30,28,27,28,0,0,0,0,0,0,0,0,29,30,29,29,30,30,30,29,30,30,29,30,0,0,0,0,0,0,0,0,28,28,28,29,28,28,28,28,28,28,27,27,0,0,0,0,0,0,0,0,26,25,27,27,26,27,27,26,25,26,26,25,0,0,0,0,0,0,0,0,22,20,19,20,19,20,18,19,18,19,19,20,0,0,0,0,0,0,0,0,16,18,19,17,16,16,16,14,16,14,14,13,0,0,0,0,0,0,0,0,7,6,4,4,4,2,1,0,1],[0,27,27,28,28,28,29,28,28,28,28,28,28,28,29,28,29,28,28,29,0,0,0,0,0,0,0,0,30,29,29,30,29,30,30,29,29,29,30,29,0,0,0,0,0,0,0,0,29,30,29,30,30,30,30,29,30,30,30,30,0,0,0,0,0,0,0,0,30,30,31,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,31,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,31,30,31,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,31,31,31,31,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,29,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,29,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,28,28,28,29,29,28,28,28,0,0,0,0,0,0,0,0,30,29,28,29,30,29,29,30,29,30,30,30,0,0,0,0,0,0,0,0,30,29,29,30,30,27,30,30,29,27,29,30,0,0,0,0,0,0,0,0,29,29,27,28,29,28,26,27,27,28,29,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,29,29,29,29,29,30,29,30,30,29,29,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,29,29,30,30,30,0,0,0,0,0,0,0,0,29,30,30,29,30,30,29,29,29,29,30,30,0,0,0,0,0,0,0,0,28,27,27,29,27,27,27,28,26,27,28,28,0,0,0,0,0,0,0,0,25,26,24,26,27,27,27,27,27,28,26,29,0,0,0,0,0,0,0,0,29,27,26,29,29,27,29,26,29,28,28,27,0,0,0,0,0,0,0,0,27,27,20,20,26,20,23,25,26,26,27,27,0,0,0,0,0,0,0,0,28,27,26,28,28,27,27,28,27,27,28,28,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,28,28,28,28,27,27,28,28,28,28,27,28,0,0,0,0,0,0,0,0,28,28,29,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,30,29,30,30,30,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,29,29,29,29,28,28,29,29,0,0,0,0,0,0,0,0,29,29,29,30,30,29,29,30,30,29,30,30,0,0,0,0,0,0,0,0,30,30,30,29,30,30,29,29,30,29,27,29,0,0,0,0,0,0,0,0,29,30,30,30,31,30,30,29,30,30,29,29,0,0,0,0,0,0,0,0,27,29,29,29,29,27,29,28,30,28,27,29,0,0,0,0,0,0,0,0,27,26,28,28,26,28,27,27,26,26,27,27,0,0,0,0,0,0,0,0,23,23,20,21,21,21,19,19,19,19,19,21,0,0,0,0,0,0,0,0,19,23,22,22,20,18,19,18,17,15,16,17,0,0,0,0,0,0,0,0,9,7,6,6,4,4,3,1,0]],"max_predicted_aligned_error":31.75}]
\ No newline at end of file
index ec96b59..7142b48 100644 (file)
@@ -553,6 +553,7 @@ label.select_colour_maximum_value = Select Colour for Maximum Value
 label.open_url_param = Open URL {0}
 label.open_url_seqs_param = Open URL ({0}..) ({1} seqs)
 label.load_pdb_file_associate_with_sequence = Load a PDB file and associate it with sequence {0}
+label.load_pae_matrix_file_associate_with_structure = Load a PAE matrix file and associate it with structure {0}
 label.reveal_hidden_columns = Reveal Hidden Columns with Right Mouse Button
 label.dark_colour = Dark Colour
 label.light_colour = Light Colour
@@ -707,6 +708,7 @@ label.select_outline_colour = Select Outline Colour
 label.web_browser_not_found_unix = Unixers\: Couldn't find default web browser.\nAdd the full path to your browser in Preferences."
 label.web_browser_not_found = Web browser not found
 label.select_pdb_file_for = Select a PDB file for {0}
+label.select_pae_matrix_file_for = Select a PAE matrix file for {0}
 label.html = HTML
 label.wrap = Wrap
 label.show_database_refs = Show Database Refs
@@ -1448,3 +1450,4 @@ label.tftype_dose = Dose
 label.optional = (optional)
 label.choose_tempfac_type = Choose Temperature Factor type
 label.add_pae_matrix_file = Add PAE matrix file
+label.nothing_selected = Nothing selected
index b846eb8..4b3da75 100644 (file)
@@ -503,6 +503,7 @@ label.select_colour_maximum_value = Seleccionar el color para el valor m
 label.open_url_param = Abrir URL {0}
 label.open_url_seqs_param = Abrir URL ({0}..) ({1} secuencias)
 label.load_pdb_file_associate_with_sequence = Cargar un fichero PDB y asociarlo con la secuencia {0}
+label.load_pae_matrix_file_associate_with_structure = Cargar un fichero de matriz PAE asociarlo con la estructura {0}
 label.reveal_hidden_columns = Revelar las columnas ocultas con el botón derecho del ratón
 label.dark_colour = Oscurecer color
 label.light_colour = Aclarar color
@@ -645,6 +646,7 @@ label.select_outline_colour = Seleccionar el color del l
 label.web_browser_not_found_unix = Unixers\: No es posible encontrar el navegador web por defecto.\nA\u00F1ada la ruta completa de su navegador en la pesta\u00F1a de Preferencias.
 label.web_browser_not_found = No se encuentra el navegador web
 label.select_pdb_file_for = Seleccione un fichero PDB para {0}
+label.select_pae_matrix_file_for = Seleccione un fichero PAE matriz para {0}
 label.html = HTML
 label.wrap = Envolver
 label.show_database_refs = Mostrar las referencias en base de datos
@@ -1431,3 +1433,5 @@ label.optional = (opcional)
 label.tftype_default = Default
 label.tftype_plddt = pLDDT
 label.tftype_dose = Dose
+label.add_pae_matrix_file = Añadir un fichero de matriz PAE
+label.nothing_selected = Nada seleccionado
index aadae01..47bec31 100644 (file)
@@ -61,12 +61,16 @@ import jalview.gui.structurechooser.PDBStructureChooserQuerySource;
 import jalview.gui.structurechooser.StructureChooserQuerySource;
 import jalview.gui.structurechooser.ThreeDBStructureChooserQuerySource;
 import jalview.io.DataSourceType;
+import jalview.io.JalviewFileChooser;
+import jalview.io.JalviewFileView;
 import jalview.jbgui.FilterOption;
 import jalview.jbgui.GStructureChooser;
+import jalview.structure.StructureImportSettings.TFType;
 import jalview.structure.StructureMapping;
 import jalview.structure.StructureSelectionManager;
 import jalview.util.MessageManager;
 import jalview.util.Platform;
+import jalview.util.StringUtils;
 import jalview.ws.DBRefFetcher;
 import jalview.ws.DBRefFetcher.FetchFinishedListenerI;
 import jalview.ws.seqfetcher.DbSourceProxy;
@@ -107,6 +111,10 @@ public class StructureChooser extends GStructureChooser
 
   private String selectedPdbFileName;
 
+  private TFType localPdbTempfacType;
+
+  private String localPdbPaeMatrixFileName;
+
   private boolean isValidPBDEntry;
 
   private boolean cachedPDBExists;
@@ -656,9 +664,9 @@ public class StructureChooser extends GStructureChooser
     // TODO: JAL-3048 not needed for Jalview-JS until JSmol dep and
     // StructureChooser
     // works
-    jalview.io.JalviewFileChooser chooser = new jalview.io.JalviewFileChooser(
+    JalviewFileChooser chooser = new JalviewFileChooser(
             Cache.getProperty("LAST_DIRECTORY"));
-    chooser.setFileView(new jalview.io.JalviewFileView());
+    chooser.setFileView(new JalviewFileView());
     chooser.setDialogTitle(
             MessageManager.formatMessage("label.select_pdb_file_for",
                     selectedSequence.getDisplayId(false)));
@@ -667,15 +675,83 @@ public class StructureChooser extends GStructureChooser
             selectedSequence.getDisplayId(false)));
 
     int value = chooser.showOpenDialog(null);
-    if (value == jalview.io.JalviewFileChooser.APPROVE_OPTION)
+    if (value == JalviewFileChooser.APPROVE_OPTION)
     {
       selectedPdbFileName = chooser.getSelectedFile().getPath();
       Cache.setProperty("LAST_DIRECTORY", selectedPdbFileName);
+      localPdbPaeMatrixFileName = guessPAEFilename();
       validateSelections();
     }
   }
 
   /**
+   * Handles action event for btn_pdbFromFile
+   */
+  @Override
+  protected void paeMatrixFile_actionPerformed()
+  {
+    File pdbFile = new File(selectedPdbFileName);
+    String setFile = Cache.getProperty("LAST_DIRECTORY");
+    if (localPdbPaeMatrixFileName != null)
+    {
+      File paeFile = new File(localPdbPaeMatrixFileName);
+      if (paeFile.exists())
+        setFile = paeFile.getAbsolutePath();
+      else if (paeFile.getParentFile().exists())
+        setFile = paeFile.getParentFile().getAbsolutePath();
+    }
+    else
+    {
+      String guess = guessPAEFilename();
+      if (guess != null)
+        setFile = guess;
+    }
+    JalviewFileChooser chooser = new JalviewFileChooser(setFile);
+    chooser.setFileView(new JalviewFileView());
+    chooser.setDialogTitle(MessageManager.formatMessage(
+            "label.select_pae_matrix_file_for", pdbFile.getName()));
+    chooser.setToolTipText(MessageManager.formatMessage(
+            "label.load_pae_matrix_file_associate_with_structure",
+            pdbFile.getName()));
+
+    int value = chooser.showOpenDialog(null);
+    if (value == JalviewFileChooser.APPROVE_OPTION)
+    {
+      localPdbPaeMatrixFileName = chooser.getSelectedFile().getPath();
+      Cache.setProperty("LAST_DIRECTORY", localPdbPaeMatrixFileName);
+    }
+    validateAssociationFromFile();
+  }
+
+  private String guessPAEFilename()
+  {
+    if (selectedPdbFileName.toLowerCase(Locale.ROOT).endsWith(".pdb"))
+    {
+      String jsonExt = selectedPdbFileName.substring(0,
+              selectedPdbFileName.length() - 4) + ".json";
+      // AlphaFold naming scheme
+      String guessFile1 = StringUtils.replaceLast(jsonExt, "model",
+              "predicted_aligned_error");
+      // nf-core mode naming scheme
+      String guessFile2 = StringUtils.replaceLast(jsonExt, ".json",
+              "_scores.json");
+      if (new File(guessFile1).exists())
+      {
+        return guessFile1;
+      }
+      else if (new File(jsonExt).exists())
+      {
+        return jsonExt;
+      }
+      else if (new File(guessFile2).exists())
+      {
+        return guessFile2;
+      }
+    }
+    return null;
+  }
+
+  /**
    * Populates the filter combo-box options dynamically depending on discovered
    * structures
    */
@@ -942,8 +1018,9 @@ public class StructureChooser extends GStructureChooser
   {
     AssociateSeqOptions assSeqOpt = (AssociateSeqOptions) fileChooserAssSeqPanel
             .getCmb_assSeq().getSelectedItem();
-    lbl_fromFileStatus.setIcon(errorImage);
-    setPdbOptionsEnabled(false);
+    // lbl_fromFileStatus.setIcon(errorImage);
+    String pdbFileString = "";
+    String pdbFileTooltip = "";
     if (selectedSequences.length == 1 || (assSeqOpt != null && !assSeqOpt
             .getName().equalsIgnoreCase("-Select Associated Seq-")))
     {
@@ -951,16 +1028,44 @@ public class StructureChooser extends GStructureChooser
       if (selectedPdbFileName != null && selectedPdbFileName.length() > 0)
       {
         btn_add.setEnabled(true);
-        lbl_fromFileStatus.setIcon(goodImage);
+        // lbl_fromFileStatus.setIcon(goodImage);
+        pdbFileString = new File(selectedPdbFileName).getName();
+        pdbFileTooltip = new File(selectedPdbFileName).getAbsolutePath();
         setPdbOptionsEnabled(true);
       }
+      else
+      {
+        pdbFileString = MessageManager.getString("label.none");
+        pdbFileTooltip = MessageManager.getString("label.nothing_selected");
+      }
     }
     else
     {
       btn_pdbFromFile.setEnabled(false);
-      lbl_fromFileStatus.setIcon(errorImage);
-      setPdbOptionsEnabled(false);
+      // lbl_fromFileStatus.setIcon(errorImage);
+      pdbFileString = MessageManager.getString("label.none");
+      pdbFileTooltip = MessageManager.getString("label.nothing_selected");
+    }
+    lbl_pdbFile.setText(pdbFileString);
+    lbl_pdbFile.setToolTipText(pdbFileTooltip);
+
+    // PAE file choice
+    String paeFileString = "";
+    String paeFileTooltip = "";
+    if (localPdbPaeMatrixFileName != null
+            && localPdbPaeMatrixFileName.length() > 0)
+    {
+      paeFileString = new File(localPdbPaeMatrixFileName).getName();
+      paeFileTooltip = new File(localPdbPaeMatrixFileName)
+              .getAbsolutePath();
+    }
+    else
+    {
+      paeFileString = MessageManager.getString("label.none");
+      paeFileTooltip = MessageManager.getString("label.nothing_selected");
     }
+    lbl_paeFile.setText(paeFileString);
+    lbl_paeFile.setToolTipText(paeFileTooltip);
   }
 
   @Override
index cfb4665..ac623bc 100644 (file)
@@ -93,6 +93,8 @@ public abstract class GStructureChooser extends JPanel
 {
   private static final Font VERDANA_12 = new Font("Verdana", 0, 12);
 
+  private static final Font VERDANA_10 = new Font("Verdana", 0, 10);
+
   public static final String VIEWS_FILTER = "VIEWS_FILTER";
 
   protected static final String VIEWS_FROM_FILE = "VIEWS_FROM_FILE";
@@ -125,12 +127,16 @@ public abstract class GStructureChooser extends JPanel
 
   protected JButton btn_pdbFromFile = new JButton();
 
+  protected JLabel lbl_pdbFile = new JLabel();
+
   protected JLabel lbl_chooseTempFacType = new JLabel();
 
   protected JComboBox<StructureImportSettings.TFType> combo_tempFacAs = new JComboBox<>();
 
   protected JButton btn_paeMatrixFile = new JButton();
 
+  protected JLabel lbl_paeFile = new JLabel();
+
   // holder for icon and button
   protected JPanel pnl_queryTDB;
 
@@ -168,7 +174,7 @@ public abstract class GStructureChooser extends JPanel
 
   protected JLabel lbl_pdbManualFetchStatus = new JLabel(errorImage);
 
-  protected JLabel lbl_fromFileStatus = new JLabel(errorImage);
+  // protected JLabel lbl_fromFileStatus = new JLabel(errorImage);
 
   protected AssociateSeqPanel idInputAssSeqPanel = new AssociateSeqPanel();
 
@@ -409,7 +415,7 @@ public abstract class GStructureChooser extends JPanel
     JButton btn_cancel = new JButton(
             MessageManager.getString("action.cancel"));
     btn_cancel.setFont(VERDANA_12);
-    btn_cancel.addActionListener(new java.awt.event.ActionListener()
+    btn_cancel.addActionListener(new ActionListener()
     {
       @Override
       public void actionPerformed(ActionEvent e)
@@ -490,7 +496,7 @@ public abstract class GStructureChooser extends JPanel
             MessageManager.formatMessage("action.new_structure_view_with",
                     StructureViewer.getViewerType().toString()));
     btn_newView.setFont(VERDANA_12);
-    btn_newView.addActionListener(new java.awt.event.ActionListener()
+    btn_newView.addActionListener(new ActionListener()
     {
       @Override
       public void actionPerformed(ActionEvent e)
@@ -515,7 +521,7 @@ public abstract class GStructureChooser extends JPanel
 
     btn_add = new JButton(MessageManager.getString("action.add"));
     btn_add.setFont(VERDANA_12);
-    btn_add.addActionListener(new java.awt.event.ActionListener()
+    btn_add.addActionListener(new ActionListener()
     {
       @Override
       public void actionPerformed(ActionEvent e)
@@ -538,7 +544,7 @@ public abstract class GStructureChooser extends JPanel
     btn_pdbFromFile.setFont(VERDANA_12);
     String btn_title = MessageManager.getString("label.select_pdb_file");
     btn_pdbFromFile.setText(btn_title + "              ");
-    btn_pdbFromFile.addActionListener(new java.awt.event.ActionListener()
+    btn_pdbFromFile.addActionListener(new ActionListener()
     {
       @Override
       public void actionPerformed(ActionEvent e)
@@ -557,24 +563,46 @@ public abstract class GStructureChooser extends JPanel
         }
       }
     });
+    lbl_pdbFile.setFont(VERDANA_10);
+    lbl_pdbFile.setFont(VERDANA_10);
 
+    lbl_chooseTempFacType.setFont(VERDANA_12);
     lbl_chooseTempFacType.setText(new StringBuilder()
             .append(MessageManager.getString("label.choose_tempfac_type"))
             .append(" ").append(MessageManager.getString("label.optional"))
             .toString());
 
+    combo_tempFacAs.setFont(VERDANA_12);
     for (TFType t : TFType.values())
     {
       combo_tempFacAs.addItem(t);
     }
-    // add changelistener
 
+    btn_paeMatrixFile.setFont(VERDANA_12);
     btn_paeMatrixFile.setText(new StringBuilder()
             .append(MessageManager.getString("label.add_pae_matrix_file"))
             .append(" ").append(MessageManager.getString("label.optional"))
             .toString());
-    ;
-    // add actionlistener
+    btn_paeMatrixFile.addActionListener(new ActionListener()
+    {
+      @Override
+      public void actionPerformed(ActionEvent e)
+      {
+        paeMatrixFile_actionPerformed();
+      }
+    });
+    btn_paeMatrixFile.addKeyListener(new KeyAdapter()
+    {
+      @Override
+      public void keyPressed(KeyEvent evt)
+      {
+        if (evt.getKeyCode() == KeyEvent.VK_ENTER)
+        {
+          paeMatrixFile_actionPerformed();
+        }
+      }
+    });
+    lbl_paeFile.setFont(VERDANA_10);
 
     JScrollPane scrl_foundStructures = new JScrollPane(tbl_summary);
     scrl_foundStructures.setPreferredSize(new Dimension(width, height));
@@ -668,9 +696,9 @@ public abstract class GStructureChooser extends JPanel
     pnl_main.add(pnl_controls, BorderLayout.CENTER);
     lbl_loading.setVisible(false);
 
-    JPanel pnl_fileChooser = new JPanel(new FlowLayout());
-    pnl_fileChooser.add(btn_pdbFromFile);
-    pnl_fileChooser.add(lbl_fromFileStatus);
+    // JPanel pnl_fileChooser = new JPanel(new FlowLayout());
+    // pnl_fileChooser.add(btn_pdbFromFile);
+    // pnl_fileChooser.add(lbl_fromFileStatus);
 
     JPanel pnl_fileOptions = new JPanel();
     pnl_fileOptions.setLayout(new GridBagLayout());
@@ -679,10 +707,14 @@ public abstract class GStructureChooser extends JPanel
     gbc.gridy = 0;
     gbc.weightx = 0.0;
     gbc.weighty = 0.0;
-    gbc.insets = new Insets(0, 0, 18, 0);
+    gbc.insets = new Insets(0, 0, 2, 0);
     gbc.fill = GridBagConstraints.NONE;
     gbc.anchor = GridBagConstraints.FIRST_LINE_START;
-    pnl_fileOptions.add(pnl_fileChooser, gbc);
+    // pnl_fileOptions.add(pnl_fileChooser, gbc);
+    pnl_fileOptions.add(btn_pdbFromFile, gbc);
+    gbc.gridy++;
+    gbc.insets = new Insets(0, 0, 18, 0);
+    pnl_fileOptions.add(lbl_pdbFile, gbc);
     gbc.gridy++;
     gbc.insets = new Insets(0, 0, 2, 0);
     pnl_fileOptions.add(lbl_chooseTempFacType, gbc);
@@ -690,8 +722,11 @@ public abstract class GStructureChooser extends JPanel
     gbc.insets = new Insets(0, 0, 18, 0);
     pnl_fileOptions.add(combo_tempFacAs, gbc);
     gbc.gridy++;
-    gbc.weighty = 1.0;
+    gbc.insets = new Insets(0, 0, 2, 0);
     pnl_fileOptions.add(btn_paeMatrixFile, gbc);
+    gbc.gridy++;
+    gbc.weighty = 1.0;
+    pnl_fileOptions.add(lbl_paeFile, gbc);
 
     JPanel pnl_fileChooserBL = new JPanel(new BorderLayout());
     pnl_fileChooserBL.add(fileChooserAssSeqPanel, BorderLayout.PAGE_START);
@@ -1000,6 +1035,8 @@ public abstract class GStructureChooser extends JPanel
 
   protected abstract void pdbFromFile_actionPerformed();
 
+  protected abstract void paeMatrixFile_actionPerformed();
+
   protected abstract void txt_search_ActionPerformed();
 
   protected abstract void populateCmbAssociateSeqOptions(
index adba947..7e1b8ad 100644 (file)
@@ -597,4 +597,23 @@ public class StringUtils
     }
     return index;
   }
+
+  /*
+   * implementation of String.replaceLast.
+   */
+  public static String replaceLast(String string, String toReplace,
+          String replacement)
+  {
+    int pos = string.lastIndexOf(toReplace);
+    if (pos > -1)
+    {
+      return string.substring(0, pos) + replacement
+              + string.substring(pos + toReplace.length());
+    }
+    else
+    {
+      return string;
+    }
+  }
+
 }