<image>

Input

The input contains two integers row, col (0 ≤ row, col ≤ 63), separated by a single space.

Output

Output "IN" or "OUT".

Examples

Input


0 0


Output


OUT


Input


27 0


Output


IN


Input


0 27


Output


OUT


Input


27 27


Output


IN
x, y = map(int, input().split())
ans = [(0,0,0),(1,0,0),(2,0,0),(3,0,0),(4,0,0),(5,0,0),(6,0,0),(7,0,0),(8,0,0),(9,0,0),(10,0,0),(11,0,0),(12,0,0),(13,0,0),(14,0,0),(15,0,0),(16,0,0),(17,0,0),(18,0,0),(19,0,0),(20,0,0),(21,0,0),(22,0,0),(23,0,0),(24,0,0),(25,0,0),(26,0,1),(27,0,1),(28,0,1),(29,0,1),(30,0,1),(31,0,1),(32,0,1),(33,0,1),(34,0,1),(35,0,1),(36,0,1),(37,0,1),(38,0,0),(39,0,0),(40,0,0),(41,0,0),(42,0,0),(43,0,0),(44,0,0),(45,0,0),(46,0,0),(47,0,0),(48,0,0),(49,0,0),(50,0,0),(51,0,0),(52,0,0),(53,0,0),(54,0,0),(55,0,0),(56,0,0),(57,0,0),(58,0,0),(59,0,0),(60,0,0),(61,0,0),(62,0,0),(63,0,0),(0,1,0),(1,1,0),(2,1,0),(3,1,0),(4,1,0),(5,1,0),(6,1,0),(7,1,0),(8,1,0),(9,1,0),(10,1,0),(11,1,0),(12,1,0),(13,1,0),(14,1,0),(15,1,0),(16,1,0),(17,1,0),(18,1,0),(19,1,0),(20,1,0),(21,1,0),(22,1,1),(23,1,1),(24,1,1),(25,1,1),(26,1,1),(27,1,1),(28,1,1),(29,1,1),(30,1,1),(31,1,1),(32,1,1),(33,1,1),(34,1,1),(35,1,1),(36,1,1),(37,1,1),(38,1,1),(39,1,1),(40,1,1),(41,1,1),(42,1,0),(43,1,0),(44,1,0),(45,1,0),(46,1,0),(47,1,0),(48,1,0),(49,1,0),(50,1,0),(51,1,0),(52,1,0),(53,1,0),(54,1,0),(55,1,0),(56,1,0),(57,1,0),(58,1,0),(59,1,0),(60,1,0),(61,1,0),(62,1,0),(63,1,0),(0,2,0),(1,2,0),(2,2,0),(3,2,0),(4,2,0),(5,2,0),(6,2,0),(7,2,0),(8,2,0),(9,2,0),(10,2,0),(11,2,0),(12,2,0),(13,2,0),(14,2,0),(15,2,0),(16,2,0),(17,2,0),(18,2,0),(19,2,0),(20,2,1),(21,2,1),(22,2,1),(23,2,1),(24,2,1),(25,2,1),(26,2,1),(27,2,1),(28,2,1),(29,2,1),(30,2,1),(31,2,1),(32,2,1),(33,2,1),(34,2,1),(35,2,1),(36,2,1),(37,2,1),(38,2,1),(39,2,1),(40,2,1),(41,2,1),(42,2,1),(43,2,1),(44,2,0),(45,2,0),(46,2,0),(47,2,0),(48,2,0),(49,2,0),(50,2,0),(51,2,0),(52,2,0),(53,2,0),(54,2,0),(55,2,0),(56,2,0),(57,2,0),(58,2,0),(59,2,0),(60,2,0),(61,2,0),(62,2,0),(63,2,0),(0,3,0),(1,3,0),(2,3,0),(3,3,0),(4,3,0),(5,3,0),(6,3,0),(7,3,0),(8,3,0),(9,3,0),(10,3,0),(11,3,0),(12,3,0),(13,3,0),(14,3,0),(15,3,0),(16,3,0),(17,3,1),(18,3,0),(19,3,0),(20,3,1),(21,3,1),(22,3,1),(23,3,1),(24,3,1),(25,3,1),(26,3,1),(27,3,1),(28,3,1),(29,3,1),(30,3,1),(31,3,1),(32,3,1),(33,3,1),(34,3,1),(35,3,1),(36,3,1),(37,3,1),(38,3,1),(39,3,1),(40,3,1),(41,3,1),(42,3,1),(43,3,1),(44,3,1),(45,3,1),(46,3,1),(47,3,0),(48,3,0),(49,3,0),(50,3,0),(51,3,0),(52,3,0),(53,3,0),(54,3,0),(55,3,0),(56,3,0),(57,3,0),(58,3,0),(59,3,0),(60,3,0),(61,3,0),(62,3,0),(63,3,0),(0,4,0),(1,4,0),(2,4,0),(3,4,0),(4,4,0),(5,4,0),(6,4,0),(7,4,0),(8,4,0),(9,4,0),(10,4,0),(11,4,0),(12,4,0),(13,4,0),(14,4,0),(15,4,0),(16,4,1),(17,4,1),(18,4,0),(19,4,0),(20,4,0),(21,4,1),(22,4,1),(23,4,1),(24,4,1),(25,4,1),(26,4,1),(27,4,1),(28,4,1),(29,4,1),(30,4,1),(31,4,1),(32,4,1),(33,4,1),(34,4,1),(35,4,1),(36,4,1),(37,4,1),(38,4,1),(39,4,1),(40,4,1),(41,4,1),(42,4,1),(43,4,1),(44,4,1),(45,4,1),(46,4,1),(47,4,1),(48,4,0),(49,4,0),(50,4,0),(51,4,0),(52,4,0),(53,4,0),(54,4,0),(55,4,0),(56,4,0),(57,4,0),(58,4,0),(59,4,0),(60,4,0),(61,4,0),(62,4,0),(63,4,0),(0,5,0),(1,5,0),(2,5,0),(3,5,0),(4,5,0),(5,5,0),(6,5,0),(7,5,0),(8,5,0),(9,5,0),(10,5,0),(11,5,0),(12,5,0),(13,5,0),(14,5,1),(15,5,1),(16,5,1),(17,5,1),(18,5,1),(19,5,0),(20,5,0),(21,5,1),(22,5,1),(23,5,1),(24,5,1),(25,5,1),(26,5,1),(27,5,1),(28,5,1),(29,5,1),(30,5,1),(31,5,1),(32,5,1),(33,5,1),(34,5,1),(35,5,1),(36,5,1),(37,5,1),(38,5,1),(39,5,1),(40,5,1),(41,5,1),(42,5,1),(43,5,1),(44,5,1),(45,5,1),(46,5,1),(47,5,1),(48,5,1),(49,5,1),(50,5,0),(51,5,0),(52,5,0),(53,5,0),(54,5,0),(55,5,0),(56,5,0),(57,5,0),(58,5,0),(59,5,0),(60,5,0),(61,5,0),(62,5,0),(63,5,0),(0,6,0),(1,6,0),(2,6,0),(3,6,0),(4,6,0),(5,6,0),(6,6,0),(7,6,0),(8,6,0),(9,6,0),(10,6,0),(11,6,0),(12,6,0),(13,6,1),(14,6,1),(15,6,1),(16,6,1),(17,6,1),(18,6,1),(19,6,0),(20,6,0),(21,6,0),(22,6,1),(23,6,1),(24,6,1),(25,6,1),(26,6,1),(27,6,1),(28,6,1),(29,6,1),(30,6,1),(31,6,1),(32,6,1),(33,6,1),(34,6,1),(35,6,1),(36,6,1),(37,6,1),(38,6,1),(39,6,1),(40,6,1),(41,6,1),(42,6,1),(43,6,1),(44,6,1),(45,6,1),(46,6,1),(47,6,1),(48,6,1),(49,6,1),(50,6,1),(51,6,0),(52,6,0),(53,6,0),(54,6,0),(55,6,0),(56,6,0),(57,6,0),(58,6,0),(59,6,0),(60,6,0),(61,6,0),(62,6,0),(63,6,0),(0,7,0),(1,7,0),(2,7,0),(3,7,0),(4,7,0),(5,7,0),(6,7,0),(7,7,0),(8,7,0),(9,7,0),(10,7,0),(11,7,1),(12,7,1),(13,7,1),(14,7,1),(15,7,1),(16,7,1),(17,7,1),(18,7,1),(19,7,1),(20,7,0),(21,7,0),(22,7,1),(23,7,1),(24,7,1),(25,7,1),(26,7,1),(27,7,1),(28,7,1),(29,7,1),(30,7,1),(31,7,1),(32,7,1),(33,7,1),(34,7,1),(35,7,1),(36,7,1),(37,7,1),(38,7,1),(39,7,1),(40,7,1),(41,7,1),(42,7,1),(43,7,1),(44,7,1),(45,7,1),(46,7,1),(47,7,1),(48,7,1),(49,7,1),(50,7,1),(51,7,1),(52,7,1),(53,7,0),(54,7,0),(55,7,0),(56,7,0),(57,7,0),(58,7,0),(59,7,0),(60,7,0),(61,7,0),(62,7,0),(63,7,0),(0,8,0),(1,8,0),(2,8,0),(3,8,0),(4,8,0),(5,8,0),(6,8,0),(7,8,0),(8,8,0),(9,8,0),(10,8,1),(11,8,1),(12,8,1),(13,8,1),(14,8,1),(15,8,1),(16,8,1),(17,8,1),(18,8,1),(19,8,1),(20,8,0),(21,8,0),(22,8,0),(23,8,1),(24,8,1),(25,8,1),(26,8,1),(27,8,1),(28,8,1),(29,8,1),(30,8,1),(31,8,1),(32,8,1),(33,8,1),(34,8,1),(35,8,1),(36,8,1),(37,8,1),(38,8,1),(39,8,1),(40,8,1),(41,8,1),(42,8,1),(43,8,1),(44,8,1),(45,8,1),(46,8,1),(47,8,1),(48,8,1),(49,8,1),(50,8,1),(51,8,1),(52,8,1),(53,8,1),(54,8,0),(55,8,0),(56,8,0),(57,8,0),(58,8,0),(59,8,0),(60,8,0),(61,8,0),(62,8,0),(63,8,0),(0,9,0),(1,9,0),(2,9,0),(3,9,0),(4,9,0),(5,9,0),(6,9,0),(7,9,0),(8,9,0),(9,9,1),(10,9,1),(11,9,1),(12,9,1),(13,9,1),(14,9,1),(15,9,1),(16,9,1),(17,9,1),(18,9,1),(19,9,1),(20,9,1),(21,9,0),(22,9,0),(23,9,1),(24,9,1),(25,9,1),(26,9,1),(27,9,1),(28,9,1),(29,9,1),(30,9,1),(31,9,1),(32,9,1),(33,9,1),(34,9,1),(35,9,1),(36,9,1),(37,9,1),(38,9,1),(39,9,1),(40,9,1),(41,9,1),(42,9,1),(43,9,0),(44,9,1),(45,9,1),(46,9,1),(47,9,1),(48,9,1),(49,9,1),(50,9,1),(51,9,1),(52,9,1),(53,9,1),(54,9,1),(55,9,0),(56,9,0),(57,9,0),(58,9,0),(59,9,0),(60,9,0),(61,9,0),(62,9,0),(63,9,0),(0,10,0),(1,10,0),(2,10,0),(3,10,0),(4,10,0),(5,10,0),(6,10,0),(7,10,0),(8,10,1),(9,10,1),(10,10,1),(11,10,1),(12,10,1),(13,10,1),(14,10,1),(15,10,1),(16,10,1),(17,10,1),(18,10,1),(19,10,1),(20,10,1),(21,10,0),(22,10,0),(23,10,0),(24,10,1),(25,10,0),(26,10,1),(27,10,1),(28,10,1),(29,10,1),(30,10,1),(31,10,1),(32,10,1),(33,10,1),(34,10,1),(35,10,1),(36,10,1),(37,10,1),(38,10,1),(39,10,1),(40,10,1),(41,10,1),(42,10,1),(43,10,0),(44,10,0),(45,10,0),(46,10,0),(47,10,1),(48,10,1),(49,10,1),(50,10,1),(51,10,1),(52,10,1),(53,10,1),(54,10,1),(55,10,1),(56,10,0),(57,10,0),(58,10,0),(59,10,0),(60,10,0),(61,10,0),(62,10,0),(63,10,0),(0,11,0),(1,11,0),(2,11,0),(3,11,0),(4,11,0),(5,11,0),(6,11,0),(7,11,1),(8,11,1),(9,11,1),(10,11,1),(11,11,1),(12,11,1),(13,11,1),(14,11,1),(15,11,1),(16,11,1),(17,11,1),(18,11,1),(19,11,1),(20,11,1),(21,11,1),(22,11,0),(23,11,0),(24,11,1),(25,11,0),(26,11,1),(27,11,0),(28,11,0),(29,11,0),(30,11,1),(31,11,0),(32,11,1),(33,11,1),(34,11,1),(35,11,1),(36,11,1),(37,11,1),(38,11,1),(39,11,1),(40,11,1),(41,11,1),(42,11,1),(43,11,1),(44,11,1),(45,11,0),(46,11,1),(47,11,1),(48,11,1),(49,11,1),(50,11,1),(51,11,1),(52,11,1),(53,11,1),(54,11,1),(55,11,1),(56,11,1),(57,11,0),(58,11,0),(59,11,0),(60,11,0),(61,11,0),(62,11,0),(63,11,0),(0,12,0),(1,12,0),(2,12,0),(3,12,0),(4,12,0),(5,12,0),(6,12,0),(7,12,1),(8,12,1),(9,12,1),(10,12,1),(11,12,1),(12,12,1),(13,12,1),(14,12,1),(15,12,1),(16,12,1),(17,12,1),(18,12,1),(19,12,1),(20,12,1),(21,12,1),(22,12,0),(23,12,0),(24,12,1),(25,12,0),(26,12,0),(27,12,0),(28,12,1),(29,12,0),(30,12,0),(31,12,0),(32,12,1),(33,12,1),(34,12,0),(35,12,1),(36,12,1),(37,12,1),(38,12,1),(39,12,1),(40,12,1),(41,12,1),(42,12,1),(43,12,1),(44,12,0),(45,12,0),(46,12,0),(47,12,0),(48,12,0),(49,12,1),(50,12,1),(51,12,1),(52,12,1),(53,12,1),(54,12,1),(55,12,1),(56,12,1),(57,12,0),(58,12,0),(59,12,0),(60,12,0),(61,12,0),(62,12,0),(63,12,0),(0,13,0),(1,13,0),(2,13,0),(3,13,0),(4,13,0),(5,13,0),(6,13,1),(7,13,1),(8,13,1),(9,13,1),(10,13,1),(11,13,1),(12,13,1),(13,13,1),(14,13,1),(15,13,1),(16,13,1),(17,13,1),(18,13,1),(19,13,1),(20,13,1),(21,13,1),(22,13,1),(23,13,0),(24,13,0),(25,13,0),(26,13,1),(27,13,0),(28,13,1),(29,13,0),(30,13,1),(31,13,0),(32,13,0),(33,13,1),(34,13,0),(35,13,0),(36,13,1),(37,13,1),(38,13,1),(39,13,1),(40,13,1),(41,13,1),(42,13,1),(43,13,1),(44,13,1),(45,13,1),(46,13,1),(47,13,0),(48,13,1),(49,13,1),(50,13,1),(51,13,1),(52,13,1),(53,13,1),(54,13,1),(55,13,1),(56,13,1),(57,13,1),(58,13,0),(59,13,0),(60,13,0),(61,13,0),(62,13,0),(63,13,0),(0,14,0),(1,14,0),(2,14,0),(3,14,0),(4,14,0),(5,14,1),(6,14,1),(7,14,1),(8,14,1),(9,14,1),(10,14,1),(11,14,1),(12,14,1),(13,14,1),(14,14,1),(15,14,1),(16,14,1),(17,14,1),(18,14,1),(19,14,1),(20,14,1),(21,14,1),(22,14,0),(23,14,0),(24,14,1),(25,14,0),(26,14,1),(27,14,1),(28,14,1),(29,14,0),(30,14,1),(31,14,1),(32,14,0),(33,14,0),(34,14,0),(35,14,1),(36,14,1),(37,14,1),(38,14,1),(39,14,1),(40,14,1),(41,14,1),(42,14,1),(43,14,1),(44,14,1),(45,14,0),(46,14,0),(47,14,0),(48,14,0),(49,14,1),(50,14,0),(51,14,1),(52,14,1),(53,14,1),(54,14,1),(55,14,1),(56,14,1),(57,14,1),(58,14,1),(59,14,0),(60,14,0),(61,14,0),(62,14,0),(63,14,0),(0,15,0),(1,15,0),(2,15,0),(3,15,0),(4,15,0),(5,15,0),(6,15,1),(7,15,1),(8,15,1),(9,15,1),(10,15,1),(11,15,1),(12,15,1),(13,15,1),(14,15,1),(15,15,1),(16,15,1),(17,15,1),(18,15,1),(19,15,1),(20,15,1),(21,15,1),(22,15,0),(23,15,1),(24,15,1),(25,15,1),(26,15,1),(27,15,0),(28,15,1),(29,15,0),(30,15,0),(31,15,1),(32,15,0),(33,15,1),(34,15,0),(35,15,0),(36,15,1),(37,15,1),(38,15,1),(39,15,1),(40,15,1),(41,15,1),(42,15,1),(43,15,1),(44,15,1),(45,15,0),(46,15,1),(47,15,1),(48,15,0),(49,15,0),(50,15,0),(51,15,1),(52,15,1),(53,15,1),(54,15,1),(55,15,1),(56,15,1),(57,15,1),(58,15,1),(59,15,0),(60,15,0),(61,15,0),(62,15,0),(63,15,0),(0,16,0),(1,16,0),(2,16,0),(3,16,0),(4,16,1),(5,16,0),(6,16,0),(7,16,1),(8,16,1),(9,16,1),(10,16,1),(11,16,1),(12,16,1),(13,16,1),(14,16,1),(15,16,1),(16,16,1),(17,16,1),(18,16,1),(19,16,1),(20,16,1),(21,16,0),(22,16,0),(23,16,0),(24,16,0),(25,16,0),(26,16,0),(27,16,0),(28,16,1),(29,16,1),(30,16,1),(31,16,1),(32,16,0),(33,16,1),(34,16,1),(35,16,0),(36,16,0),(37,16,1),(38,16,1),(39,16,1),(40,16,1),(41,16,1),(42,16,1),(43,16,1),(44,16,1),(45,16,0),(46,16,0),(47,16,1),(48,16,1),(49,16,1),(50,16,0),(51,16,0),(52,16,0),(53,16,1),(54,16,1),(55,16,1),(56,16,1),(57,16,1),(58,16,1),(59,16,1),(60,16,0),(61,16,0),(62,16,0),(63,16,0),(0,17,0),(1,17,0),(2,17,0),(3,17,1),(4,17,1),(5,17,1),(6,17,0),(7,17,0),(8,17,1),(9,17,1),(10,17,1),(11,17,1),(12,17,1),(13,17,1),(14,17,1),(15,17,1),(16,17,1),(17,17,1),(18,17,1),(19,17,1),(20,17,1),(21,17,0),(22,17,1),(23,17,0),(24,17,1),(25,17,0),(26,17,1),(27,17,1),(28,17,1),(29,17,0),(30,17,1),(31,17,0),(32,17,0),(33,17,0),(34,17,1),(35,17,1),(36,17,0),(37,17,1),(38,17,0),(39,17,1),(40,17,1),(41,17,1),(42,17,1),(43,17,1),(44,17,1),(45,17,1),(46,17,0),(47,17,0),(48,17,1),(49,17,0),(50,17,0),(51,17,1),(52,17,0),(53,17,0),(54,17,1),(55,17,1),(56,17,1),(57,17,1),(58,17,1),(59,17,1),(60,17,1),(61,17,0),(62,17,0),(63,17,0),(0,18,0),(1,18,0),(2,18,0),(3,18,1),(4,18,0),(5,18,1),(6,18,1),(7,18,1),(8,18,1),(9,18,1),(10,18,1),(11,18,1),(12,18,1),(13,18,1),(14,18,1),(15,18,1),(16,18,1),(17,18,1),(18,18,1),(19,18,1),(20,18,0),(21,18,0),(22,18,1),(23,18,1),(24,18,1),(25,18,0),(26,18,0),(27,18,0),(28,18,0),(29,18,0),(30,18,1),(31,18,0),(32,18,1),(33,18,1),(34,18,1),(35,18,0),(36,18,0),(37,18,0),(38,18,0),(39,18,1),(40,18,1),(41,18,1),(42,18,1),(43,18,1),(44,18,1),(45,18,1),(46,18,1),(47,18,0),(48,18,1),(49,18,0),(50,18,1),(51,18,1),(52,18,1),(53,18,0),(54,18,0),(55,18,1),(56,18,1),(57,18,1),(58,18,1),(59,18,1),(60,18,1),(61,18,0),(62,18,0),(63,18,0),(0,19,0),(1,19,0),(2,19,0),(3,19,1),(4,19,0),(5,19,0),(6,19,0),(7,19,1),(8,19,1),(9,19,1),(10,19,1),(11,19,1),(12,19,1),(13,19,1),(14,19,1),(15,19,1),(16,19,1),(17,19,1),(18,19,1),(19,19,0),(20,19,0),(21,19,1),(22,19,1),(23,19,0),(24,19,1),(25,19,1),(26,19,0),(27,19,1),(28,19,1),(29,19,1),(30,19,1),(31,19,1),(32,19,1),(33,19,0),(34,19,1),(35,19,0),(36,19,1),(37,19,0),(38,19,1),(39,19,1),(40,19,1),(41,19,1),(42,19,1),(43,19,1),(44,19,1),(45,19,1),(46,19,0),(47,19,0),(48,19,1),(49,19,1),(50,19,1),(51,19,0),(52,19,1),(53,19,0),(54,19,1),(55,19,1),(56,19,1),(57,19,1),(58,19,1),(59,19,1),(60,19,1),(61,19,0),(62,19,0),(63,19,0),(0,20,0),(1,20,0),(2,20,1),(3,20,1),(4,20,0),(5,20,1),(6,20,0),(7,20,0),(8,20,1),(9,20,1),(10,20,1),(11,20,1),(12,20,1),(13,20,1),(14,20,1),(15,20,1),(16,20,1),(17,20,1),(18,20,1),(19,20,0),(20,20,1),(21,20,1),(22,20,0),(23,20,0),(24,20,0),(25,20,1),(26,20,1),(27,20,1),(28,20,1),(29,20,0),(30,20,0),(31,20,0),(32,20,0),(33,20,0),(34,20,0),(35,20,0),(36,20,1),(37,20,0),(38,20,0),(39,20,1),(40,20,1),(41,20,1),(42,20,1),(43,20,1),(44,20,1),(45,20,1),(46,20,1),(47,20,0),(48,20,0),(49,20,0),(50,20,0),(51,20,0),(52,20,1),(53,20,1),(54,20,1),(55,20,1),(56,20,1),(57,20,1),(58,20,1),(59,20,1),(60,20,1),(61,20,1),(62,20,0),(63,20,0),(0,21,0),(1,21,0),(2,21,1),(3,21,0),(4,21,0),(5,21,1),(6,21,1),(7,21,1),(8,21,1),(9,21,1),(10,21,1),(11,21,1),(12,21,1),(13,21,1),(14,21,1),(15,21,1),(16,21,1),(17,21,1),(18,21,1),(19,21,0),(20,21,0),(21,21,0),(22,21,0),(23,21,1),(24,21,0),(25,21,1),(26,21,0),(27,21,0),(28,21,1),(29,21,0),(30,21,1),(31,21,0),(32,21,1),(33,21,0),(34,21,1),(35,21,1),(36,21,1),(37,21,1),(38,21,0),(39,21,1),(40,21,1),(41,21,1),(42,21,1),(43,21,1),(44,21,1),(45,21,1),(46,21,0),(47,21,0),(48,21,1),(49,21,0),(50,21,1),(51,21,0),(52,21,0),(53,21,1),(54,21,0),(55,21,1),(56,21,1),(57,21,1),(58,21,1),(59,21,1),(60,21,1),(61,21,1),(62,21,0),(63,21,0),(0,22,0),(1,22,1),(2,22,1),(3,22,1),(4,22,0),(5,22,1),(6,22,0),(7,22,1),(8,22,0),(9,22,1),(10,22,1),(11,22,1),(12,22,1),(13,22,1),(14,22,1),(15,22,1),(16,22,1),(17,22,1),(18,22,1),(19,22,1),(20,22,0),(21,22,1),(22,22,1),(23,22,1),(24,22,0),(25,22,0),(26,22,0),(27,22,1),(28,22,1),(29,22,1),(30,22,1),(31,22,1),(32,22,1),(33,22,0),(34,22,0),(35,22,1),(36,22,0),(37,22,0),(38,22,0),(39,22,1),(40,22,1),(41,22,1),(42,22,1),(43,22,1),(44,22,1),(45,22,1),(46,22,0),(47,22,1),(48,22,1),(49,22,1),(50,22,1),(51,22,1),(52,22,0),(53,22,1),(54,22,0),(55,22,0),(56,22,1),(57,22,1),(58,22,1),(59,22,1),(60,22,1),(61,22,1),(62,22,1),(63,22,0),(0,23,0),(1,23,0),(2,23,0),(3,23,0),(4,23,0),(5,23,1),(6,23,0),(7,23,0),(8,23,0),(9,23,1),(10,23,1),(11,23,1),(12,23,1),(13,23,1),(14,23,1),(15,23,1),(16,23,1),(17,23,1),(18,23,1),(19,23,0),(20,23,0),(21,23,0),(22,23,1),(23,23,0),(24,23,0),(25,23,1),(26,23,1),(27,23,1),(28,23,0),(29,23,1),(30,23,0),(31,23,0),(32,23,1),(33,23,1),(34,23,1),(35,23,1),(36,23,0),(37,23,1),(38,23,0),(39,23,1),(40,23,1),(41,23,1),(42,23,1),(43,23,1),(44,23,1),(45,23,1),(46,23,0),(47,23,0),(48,23,1),(49,23,0),(50,23,0),(51,23,1),(52,23,1),(53,23,1),(54,23,0),(55,23,1),(56,23,1),(57,23,1),(58,23,1),(59,23,1),(60,23,1),(61,23,1),(62,23,1),(63,23,0),(0,24,0),(1,24,1),(2,24,1),(3,24,1),(4,24,1),(5,24,1),(6,24,0),(7,24,1),(8,24,0),(9,24,1),(10,24,1),(11,24,1),(12,24,1),(13,24,1),(14,24,1),(15,24,1),(16,24,1),(17,24,1),(18,24,1),(19,24,0),(20,24,1),(21,24,0),(22,24,1),(23,24,1),(24,24,0),(25,24,1),(26,24,0),(27,24,1),(28,24,0),(29,24,1),(30,24,1),(31,24,0),(32,24,0),(33,24,0),(34,24,0),(35,24,0),(36,24,0),(37,24,1),(38,24,1),(39,24,1),(40,24,1),(41,24,1),(42,24,1),(43,24,1),(44,24,1),(45,24,1),(46,24,1),(47,24,0),(48,24,1),(49,24,0),(50,24,1),(51,24,1),(52,24,0),(53,24,0),(54,24,0),(55,24,0),(56,24,0),(57,24,1),(58,24,1),(59,24,1),(60,24,1),(61,24,1),(62,24,1),(63,24,0),(0,25,0),(1,25,1),(2,25,0),(3,25,0),(4,25,0),(5,25,0),(6,25,0),(7,25,1),(8,25,0),(9,25,1),(10,25,1),(11,25,1),(12,25,1),(13,25,1),(14,25,1),(15,25,1),(16,25,1),(17,25,1),(18,25,1),(19,25,1),(20,25,1),(21,25,0),(22,25,0),(23,25,1),(24,25,1),(25,25,1),(26,25,0),(27,25,0),(28,25,0),(29,25,0),(30,25,1),(31,25,0),(32,25,1),(33,25,1),(34,25,1),(35,25,0),(36,25,1),(37,25,1),(38,25,1),(39,25,1),(40,25,1),(41,25,1),(42,25,1),(43,25,1),(44,25,1),(45,25,1),(46,25,1),(47,25,0),(48,25,0),(49,25,0),(50,25,0),(51,25,1),(52,25,1),(53,25,0),(54,25,1),(55,25,1),(56,25,0),(57,25,1),(58,25,1),(59,25,1),(60,25,1),(61,25,1),(62,25,1),(63,25,0),(0,26,1),(1,26,1),(2,26,0),(3,26,1),(4,26,1),(5,26,1),(6,26,0),(7,26,1),(8,26,1),(9,26,1),(10,26,1),(11,26,1),(12,26,1),(13,26,1),(14,26,1),(15,26,1),(16,26,1),(17,26,1),(18,26,1),(19,26,1),(20,26,1),(21,26,1),(22,26,0),(23,26,0),(24,26,1),(25,26,0),(26,26,0),(27,26,1),(28,26,0),(29,26,1),(30,26,1),(31,26,1),(32,26,1),(33,26,0),(34,26,0),(35,26,0),(36,26,0),(37,26,1),(38,26,1),(39,26,1),(40,26,1),(41,26,0),(42,26,0),(43,26,1),(44,26,1),(45,26,1),(46,26,0),(47,26,0),(48,26,1),(49,26,1),(50,26,0),(51,26,1),(52,26,0),(53,26,0),(54,26,0),(55,26,1),(56,26,0),(57,26,1),(58,26,1),(59,26,1),(60,26,1),(61,26,1),(62,26,1),(63,26,1),(0,27,0),(1,27,0),(2,27,0),(3,27,1),(4,27,0),(5,27,1),(6,27,0),(7,27,0),(8,27,0),(9,27,1),(10,27,1),(11,27,1),(12,27,1),(13,27,1),(14,27,1),(15,27,1),(16,27,1),(17,27,1),(18,27,1),(19,27,1),(20,27,1),(21,27,1),(22,27,1),(23,27,0),(24,27,1),(25,27,0),(26,27,1),(27,27,1),(28,27,1),(29,27,1),(30,27,0),(31,27,1),(32,27,0),(33,27,0),(34,27,1),(35,27,1),(36,27,1),(37,27,1),(38,27,1),(39,27,1),(40,27,1),(41,27,1),(42,27,0),(43,27,1),(44,27,1),(45,27,1),(46,27,1),(47,27,0),(48,27,1),(49,27,0),(50,27,0),(51,27,0),(52,27,0),(53,27,1),(54,27,1),(55,27,1),(56,27,0),(57,27,1),(58,27,1),(59,27,1),(60,27,1),(61,27,1),(62,27,1),(63,27,1),(0,28,1),(1,28,1),(2,28,1),(3,28,1),(4,28,0),(5,28,1),(6,28,1),(7,28,1),(8,28,0),(9,28,1),(10,28,1),(11,28,1),(12,28,1),(13,28,1),(14,28,1),(15,28,1),(16,28,1),(17,28,1),(18,28,1),(19,28,1),(20,28,1),(21,28,1),(22,28,1),(23,28,0),(24,28,0),(25,28,0),(26,28,0),(27,28,1),(28,28,0),(29,28,1),(30,28,0),(31,28,1),(32,28,1),(33,28,0),(34,28,0),(35,28,1),(36,28,1),(37,28,1),(38,28,1),(39,28,1),(40,28,0),(41,28,0),(42,28,0),(43,28,1),(44,28,1),(45,28,0),(46,28,0),(47,28,0),(48,28,1),(49,28,1),(50,28,0),(51,28,1),(52,28,0),(53,28,1),(54,28,0),(55,28,1),(56,28,1),(57,28,1),(58,28,1),(59,28,1),(60,28,1),(61,28,1),(62,28,1),(63,28,1),(0,29,0),(1,29,0),(2,29,0),(3,29,1),(4,29,0),(5,29,0),(6,29,0),(7,29,1),(8,29,0),(9,29,0),(10,29,1),(11,29,1),(12,29,1),(13,29,1),(14,29,1),(15,29,1),(16,29,1),(17,29,1),(18,29,1),(19,29,1),(20,29,1),(21,29,1),(22,29,1),(23,29,1),(24,29,0),(25,29,1),(26,29,0),(27,29,0),(28,29,0),(29,29,0),(30,29,0),(31,29,0),(32,29,1),(33,29,0),(34,29,1),(35,29,1),(36,29,0),(37,29,0),(38,29,0),(39,29,1),(40,29,1),(41,29,0),(42,29,1),(43,29,1),(44,29,0),(45,29,0),(46,29,1),(47,29,0),(48,29,0),(49,29,1),(50,29,1),(51,29,1),(52,29,1),(53,29,1),(54,29,0),(55,29,0),(56,29,1),(57,29,1),(58,29,1),(59,29,1),(60,29,1),(61,29,1),(62,29,1),(63,29,1),(0,30,1),(1,30,1),(2,30,0),(3,30,1),(4,30,0),(5,30,1),(6,30,1),(7,30,1),(8,30,0),(9,30,1),(10,30,1),(11,30,1),(12,30,1),(13,30,1),(14,30,1),(15,30,1),(16,30,1),(17,30,1),(18,30,1),(19,30,1),(20,30,1),(21,30,1),(22,30,1),(23,30,1),(24,30,1),(25,30,1),(26,30,1),(27,30,1),(28,30,1),(29,30,0),(30,30,1),(31,30,1),(32,30,1),(33,30,1),(34,30,1),(35,30,1),(36,30,1),(37,30,0),(38,30,1),(39,30,1),(40,30,0),(41,30,0),(42,30,0),(43,30,0),(44,30,0),(45,30,1),(46,30,1),(47,30,1),(48,30,0),(49,30,1),(50,30,0),(51,30,0),(52,30,1),(53,30,0),(54,30,0),(55,30,1),(56,30,1),(57,30,1),(58,30,1),(59,30,1),(60,30,1),(61,30,1),(62,30,1),(63,30,1),(0,31,1),(1,31,0),(2,31,0),(3,31,0),(4,31,0),(5,31,1),(6,31,0),(7,31,0),(8,31,0),(9,31,1),(10,31,1),(11,31,1),(12,31,1),(13,31,1),(14,31,1),(15,31,1),(16,31,1),(17,31,1),(18,31,1),(19,31,1),(20,31,1),(21,31,1),(22,31,1),(23,31,1),(24,31,1),(25,31,1),(26,31,1),(27,31,1),(28,31,0),(29,31,0),(30,31,0),(31,31,0),(32,31,0),(33,31,0),(34,31,1),(35,31,0),(36,31,1),(37,31,0),(38,31,0),(39,31,0),(40,31,0),(41,31,1),(42,31,0),(43,31,1),(44,31,0),(45,31,0),(46,31,0),(47,31,1),(48,31,1),(49,31,1),(50,31,0),(51,31,1),(52,31,1),(53,31,1),(54,31,0),(55,31,1),(56,31,1),(57,31,1),(58,31,1),(59,31,1),(60,31,1),(61,31,1),(62,31,1),(63,31,1),(0,32,1),(1,32,1),(2,32,1),(3,32,0),(4,32,1),(5,32,1),(6,32,0),(7,32,1),(8,32,1),(9,32,1),(10,32,1),(11,32,1),(12,32,1),(13,32,1),(14,32,1),(15,32,1),(16,32,1),(17,32,1),(18,32,1),(19,32,1),(20,32,1),(21,32,1),(22,32,1),(23,32,1),(24,32,1),(25,32,1),(26,32,1),(27,32,1),(28,32,1),(29,32,1),(30,32,1),(31,32,0),(32,32,1),(33,32,1),(34,32,1),(35,32,0),(36,32,0),(37,32,0),(38,32,1),(39,32,0),(40,32,1),(41,32,1),(42,32,0),(43,32,1),(44,32,1),(45,32,1),(46,32,0),(47,32,0),(48,32,1),(49,32,0),(50,32,0),(51,32,0),(52,32,0),(53,32,1),(54,32,0),(55,32,0),(56,32,0),(57,32,1),(58,32,1),(59,32,1),(60,32,1),(61,32,1),(62,32,1),(63,32,1),(0,33,1),(1,33,0),(2,33,1),(3,33,0),(4,33,1),(5,33,0),(6,33,0),(7,33,1),(8,33,0),(9,33,1),(10,33,1),(11,33,1),(12,33,1),(13,33,1),(14,33,1),(15,33,1),(16,33,1),(17,33,1),(18,33,1),(19,33,1),(20,33,1),(21,33,1),(22,33,1),(23,33,1),(24,33,1),(25,33,1),(26,33,1),(27,33,1),(28,33,0),(29,33,0),(30,33,1),(31,33,1),(32,33,1),(33,33,0),(34,33,0),(35,33,0),(36,33,1),(37,33,0),(38,33,1),(39,33,0),(40,33,0),(41,33,1),(42,33,1),(43,33,1),(44,33,1),(45,33,1),(46,33,1),(47,33,0),(48,33,1),(49,33,1),(50,33,1),(51,33,1),(52,33,0),(53,33,0),(54,33,0),(55,33,1),(56,33,0),(57,33,0),(58,33,1),(59,33,1),(60,33,1),(61,33,1),(62,33,1),(63,33,1),(0,34,1),(1,34,0),(2,34,0),(3,34,0),(4,34,1),(5,34,1),(6,34,1),(7,34,1),(8,34,0),(9,34,1),(10,34,1),(11,34,1),(12,34,1),(13,34,1),(14,34,1),(15,34,1),(16,34,1),(17,34,1),(18,34,1),(19,34,1),(20,34,1),(21,34,1),(22,34,1),(23,34,1),(24,34,1),(25,34,1),(26,34,1),(27,34,0),(28,34,0),(29,34,1),(30,34,1),(31,34,1),(32,34,0),(33,34,0),(34,34,1),(35,34,1),(36,34,1),(37,34,1),(38,34,1),(39,34,0),(40,34,1),(41,34,1),(42,34,1),(43,34,1),(44,34,1),(45,34,1),(46,34,0),(47,34,0),(48,34,0),(49,34,1),(50,34,0),(51,34,0),(52,34,0),(53,34,1),(54,34,1),(55,34,1),(56,34,0),(57,34,1),(58,34,1),(59,34,1),(60,34,1),(61,34,1),(62,34,1),(63,34,1),(0,35,1),(1,35,1),(2,35,1),(3,35,1),(4,35,1),(5,35,0),(6,35,1),(7,35,0),(8,35,0),(9,35,1),(10,35,1),(11,35,1),(12,35,1),(13,35,1),(14,35,1),(15,35,1),(16,35,1),(17,35,1),(18,35,1),(19,35,1),(20,35,1),(21,35,1),(22,35,1),(23,35,1),(24,35,1),(25,35,1),(26,35,1),(27,35,1),(28,35,0),(29,35,0),(30,35,0),(31,35,1),(32,35,0),(33,35,1),(34,35,1),(35,35,0),(36,35,0),(37,35,1),(38,35,1),(39,35,1),(40,35,1),(41,35,1),(42,35,1),(43,35,1),(44,35,1),(45,35,1),(46,35,1),(47,35,1),(48,35,0),(49,35,1),(50,35,1),(51,35,0),(52,35,1),(53,35,1),(54,35,0),(55,35,0),(56,35,0),(57,35,1),(58,35,1),(59,35,1),(60,35,1),(61,35,1),(62,35,1),(63,35,1),(0,36,0),(1,36,0),(2,36,0),(3,36,1),(4,36,0),(5,36,0),(6,36,1),(7,36,0),(8,36,1),(9,36,1),(10,36,1),(11,36,1),(12,36,1),(13,36,1),(14,36,1),(15,36,1),(16,36,1),(17,36,1),(18,36,1),(19,36,1),(20,36,1),(21,36,1),(22,36,1),(23,36,1),(24,36,1),(25,36,1),(26,36,0),(27,36,0),(28,36,0),(29,36,1),(30,36,0),(31,36,0),(32,36,0),(33,36,0),(34,36,0),(35,36,0),(36,36,1),(37,36,1),(38,36,1),(39,36,1),(40,36,1),(41,36,1),(42,36,1),(43,36,1),(44,36,1),(45,36,1),(46,36,0),(47,36,1),(48,36,0),(49,36,0),(50,36,0),(51,36,0),(52,36,0),(53,36,1),(54,36,0),(55,36,1),(56,36,1),(57,36,1),(58,36,1),(59,36,1),(60,36,1),(61,36,1),(62,36,1),(63,36,1),(0,37,1),(1,37,1),(2,37,0),(3,37,1),(4,37,0),(5,37,1),(6,37,1),(7,37,0),(8,37,0),(9,37,0),(10,37,1),(11,37,1),(12,37,1),(13,37,1),(14,37,1),(15,37,1),(16,37,1),(17,37,1),(18,37,1),(19,37,1),(20,37,1),(21,37,1),(22,37,1),(23,37,1),(24,37,0),(25,37,0),(26,37,0),(27,37,1),(28,37,1),(29,37,1),(30,37,0),(31,37,1),(32,37,0),(33,37,1),(34,37,1),(35,37,1),(36,37,1),(37,37,1),(38,37,1),(39,37,1),(40,37,1),(41,37,1),(42,37,1),(43,37,1),(44,37,1),(45,37,1),(46,37,0),(47,37,0),(48,37,0),(49,37,1),(50,37,0),(51,37,1),(52,37,1),(53,37,1),(54,37,0),(55,37,0),(56,37,0),(57,37,1),(58,37,1),(59,37,1),(60,37,1),(61,37,1),(62,37,1),(63,37,1),(0,38,0),(1,38,1),(2,38,0),(3,38,1),(4,38,0),(5,38,0),(6,38,0),(7,38,0),(8,38,1),(9,38,0),(10,38,1),(11,38,1),(12,38,1),(13,38,1),(14,38,1),(15,38,1),(16,38,1),(17,38,1),(18,38,1),(19,38,1),(20,38,1),(21,38,1),(22,38,0),(23,38,0),(24,38,0),(25,38,1),(26,38,1),(27,38,1),(28,38,0),(29,38,0),(30,38,0),(31,38,1),(32,38,0),(33,38,0),(34,38,0),(35,38,1),(36,38,0),(37,38,1),(38,38,1),(39,38,1),(40,38,1),(41,38,1),(42,38,1),(43,38,1),(44,38,1),(45,38,1),(46,38,1),(47,38,0),(48,38,1),(49,38,1),(50,38,0),(51,38,0),(52,38,1),(53,38,0),(54,38,0),(55,38,1),(56,38,0),(57,38,1),(58,38,1),(59,38,1),(60,38,1),(61,38,1),(62,38,1),(63,38,0),(0,39,0),(1,39,1),(2,39,0),(3,39,0),(4,39,0),(5,39,1),(6,39,0),(7,39,1),(8,39,1),(9,39,1),(10,39,1),(11,39,1),(12,39,1),(13,39,1),(14,39,1),(15,39,1),(16,39,1),(17,39,1),(18,39,1),(19,39,0),(20,39,0),(21,39,1),(22,39,1),(23,39,1),(24,39,0),(25,39,0),(26,39,0),(27,39,1),(28,39,1),(29,39,1),(30,39,0),(31,39,1),(32,39,1),(33,39,1),(34,39,0),(35,39,0),(36,39,0),(37,39,1),(38,39,1),(39,39,1),(40,39,1),(41,39,1),(42,39,1),(43,39,1),(44,39,1),(45,39,1),(46,39,0),(47,39,0),(48,39,1),(49,39,0),(50,39,0),(51,39,1),(52,39,1),(53,39,1),(54,39,1),(55,39,1),(56,39,0),(57,39,1),(58,39,1),(59,39,1),(60,39,1),(61,39,1),(62,39,1),(63,39,0),(0,40,0),(1,40,1),(2,40,1),(3,40,1),(4,40,1),(5,40,1),(6,40,1),(7,40,1),(8,40,0),(9,40,1),(10,40,1),(11,40,1),(12,40,1),(13,40,1),(14,40,1),(15,40,1),(16,40,1),(17,40,1),(18,40,1),(19,40,0),(20,40,1),(21,40,1),(22,40,0),(23,40,1),(24,40,1),(25,40,1),(26,40,0),(27,40,0),(28,40,0),(29,40,1),(30,40,1),(31,40,1),(32,40,0),(33,40,1),(34,40,1),(35,40,0),(36,40,1),(37,40,1),(38,40,1),(39,40,1),(40,40,1),(41,40,1),(42,40,1),(43,40,1),(44,40,1),(45,40,1),(46,40,1),(47,40,0),(48,40,1),(49,40,1),(50,40,1),(51,40,1),(52,40,0),(53,40,1),(54,40,0),(55,40,0),(56,40,0),(57,40,1),(58,40,1),(59,40,1),(60,40,1),(61,40,1),(62,40,1),(63,40,0),(0,41,0),(1,41,1),(2,41,0),(3,41,0),(4,41,0),(5,41,0),(6,41,1),(7,41,0),(8,41,0),(9,41,1),(10,41,1),(11,41,1),(12,41,1),(13,41,1),(14,41,1),(15,41,1),(16,41,1),(17,41,1),(18,41,1),(19,41,0),(20,41,0),(21,41,0),(22,41,0),(23,41,0),(24,41,0),(25,41,1),(26,41,1),(27,41,1),(28,41,0),(29,41,0),(30,41,1),(31,41,0),(32,41,0),(33,41,0),(34,41,0),(35,41,0),(36,41,0),(37,41,0),(38,41,1),(39,41,1),(40,41,1),(41,41,1),(42,41,1),(43,41,1),(44,41,1),(45,41,1),(46,41,1),(47,41,0),(48,41,0),(49,41,0),(50,41,1),(51,41,0),(52,41,0),(53,41,1),(54,41,1),(55,41,0),(56,41,1),(57,41,1),(58,41,1),(59,41,1),(60,41,1),(61,41,1),(62,41,1),(63,41,0),(0,42,0),(1,42,0),(2,42,0),(3,42,1),(4,42,1),(5,42,0),(6,42,0),(7,42,0),(8,42,1),(9,42,1),(10,42,1),(11,42,1),(12,42,1),(13,42,1),(14,42,1),(15,42,1),(16,42,1),(17,42,1),(18,42,1),(19,42,1),(20,42,0),(21,42,1),(22,42,1),(23,42,1),(24,42,0),(25,42,1),(26,42,0),(27,42,1),(28,42,1),(29,42,1),(30,42,1),(31,42,0),(32,42,1),(33,42,1),(34,42,1),(35,42,0),(36,42,1),(37,42,0),(38,42,1),(39,42,1),(40,42,1),(41,42,1),(42,42,1),(43,42,1),(44,42,1),(45,42,1),(46,42,0),(47,42,0),(48,42,1),(49,42,0),(50,42,1),(51,42,0),(52,42,1),(53,42,1),(54,42,1),(55,42,1),(56,42,1),(57,42,1),(58,42,1),(59,42,1),(60,42,1),(61,42,1),(62,42,0),(63,42,0),(0,43,0),(1,43,0),(2,43,1),(3,43,1),(4,43,0),(5,43,0),(6,43,1),(7,43,1),(8,43,1),(9,43,0),(10,43,1),(11,43,1),(12,43,1),(13,43,1),(14,43,1),(15,43,1),(16,43,1),(17,43,1),(18,43,1),(19,43,0),(20,43,0),(21,43,1),(22,43,0),(23,43,1),(24,43,1),(25,43,1),(26,43,0),(27,43,1),(28,43,0),(29,43,0),(30,43,1),(31,43,1),(32,43,1),(33,43,0),(34,43,1),(35,43,1),(36,43,1),(37,43,0),(38,43,0),(39,43,1),(40,43,1),(41,43,1),(42,43,1),(43,43,1),(44,43,1),(45,43,0),(46,43,0),(47,43,1),(48,43,1),(49,43,0),(50,43,0),(51,43,0),(52,43,0),(53,43,0),(54,43,1),(55,43,1),(56,43,1),(57,43,1),(58,43,1),(59,43,1),(60,43,1),(61,43,1),(62,43,0),(63,43,0),(0,44,0),(1,44,0),(2,44,0),(3,44,1),(4,44,1),(5,44,1),(6,44,1),(7,44,0),(8,44,0),(9,44,0),(10,44,1),(11,44,1),(12,44,1),(13,44,1),(14,44,1),(15,44,1),(16,44,1),(17,44,1),(18,44,1),(19,44,1),(20,44,0),(21,44,0),(22,44,0),(23,44,1),(24,44,0),(25,44,1),(26,44,0),(27,44,1),(28,44,1),(29,44,0),(30,44,0),(31,44,0),(32,44,0),(33,44,0),(34,44,1),(35,44,0),(36,44,1),(37,44,1),(38,44,0),(39,44,1),(40,44,1),(41,44,1),(42,44,1),(43,44,1),(44,44,1),(45,44,1),(46,44,0),(47,44,0),(48,44,1),(49,44,0),(50,44,1),(51,44,1),(52,44,0),(53,44,1),(54,44,1),(55,44,1),(56,44,1),(57,44,1),(58,44,1),(59,44,1),(60,44,1),(61,44,0),(62,44,0),(63,44,0),(0,45,0),(1,45,0),(2,45,0),(3,45,0),(4,45,0),(5,45,0),(6,45,0),(7,45,0),(8,45,1),(9,45,1),(10,45,1),(11,45,1),(12,45,1),(13,45,1),(14,45,1),(15,45,1),(16,45,1),(17,45,1),(18,45,1),(19,45,0),(20,45,0),(21,45,1),(22,45,0),(23,45,1),(24,45,0),(25,45,0),(26,45,0),(27,45,0),(28,45,1),(29,45,1),(30,45,1),(31,45,1),(32,45,1),(33,45,0),(34,45,0),(35,45,0),(36,45,0),(37,45,0),(38,45,0),(39,45,1),(40,45,1),(41,45,1),(42,45,1),(43,45,1),(44,45,1),(45,45,1),(46,45,1),(47,45,1),(48,45,1),(49,45,0),(50,45,0),(51,45,1),(52,45,0),(53,45,1),(54,45,1),(55,45,1),(56,45,1),(57,45,1),(58,45,1),(59,45,1),(60,45,1),(61,45,0),(62,45,0),(63,45,0),(0,46,0),(1,46,0),(2,46,0),(3,46,1),(4,46,1),(5,46,0),(6,46,1),(7,46,1),(8,46,1),(9,46,1),(10,46,1),(11,46,1),(12,46,1),(13,46,1),(14,46,1),(15,46,1),(16,46,1),(17,46,1),(18,46,1),(19,46,1),(20,46,0),(21,46,1),(22,46,1),(23,46,1),(24,46,0),(25,46,1),(26,46,1),(27,46,0),(28,46,1),(29,46,0),(30,46,0),(31,46,1),(32,46,1),(33,46,1),(34,46,0),(35,46,1),(36,46,1),(37,46,0),(38,46,1),(39,46,1),(40,46,1),(41,46,1),(42,46,1),(43,46,1),(44,46,1),(45,46,1),(46,46,1),(47,46,0),(48,46,1),(49,46,1),(50,46,0),(51,46,1),(52,46,1),(53,46,1),(54,46,1),(55,46,1),(56,46,1),(57,46,1),(58,46,1),(59,46,1),(60,46,1),(61,46,0),(62,46,0),(63,46,0),(0,47,0),(1,47,0),(2,47,0),(3,47,0),(4,47,1),(5,47,1),(6,47,1),(7,47,0),(8,47,0),(9,47,1),(10,47,1),(11,47,1),(12,47,1),(13,47,1),(14,47,1),(15,47,1),(16,47,1),(17,47,1),(18,47,1),(19,47,1),(20,47,0),(21,47,0),(22,47,1),(23,47,0),(24,47,0),(25,47,0),(26,47,1),(27,47,1),(28,47,1),(29,47,0),(30,47,1),(31,47,1),(32,47,0),(33,47,1),(34,47,1),(35,47,1),(36,47,0),(37,47,0),(38,47,0),(39,47,1),(40,47,1),(41,47,1),(42,47,1),(43,47,1),(44,47,1),(45,47,1),(46,47,0),(47,47,0),(48,47,0),(49,47,0),(50,47,0),(51,47,1),(52,47,1),(53,47,1),(54,47,1),(55,47,1),(56,47,1),(57,47,1),(58,47,1),(59,47,1),(60,47,0),(61,47,0),(62,47,0),(63,47,0),(0,48,0),(1,48,0),(2,48,0),(3,48,0),(4,48,0),(5,48,0),(6,48,0),(7,48,0),(8,48,1),(9,48,1),(10,48,1),(11,48,1),(12,48,1),(13,48,1),(14,48,1),(15,48,1),(16,48,1),(17,48,1),(18,48,1),(19,48,1),(20,48,1),(21,48,0),(22,48,0),(23,48,0),(24,48,1),(25,48,0),(26,48,0),(27,48,1),(28,48,0),(29,48,0),(30,48,1),(31,48,0),(32,48,0),(33,48,0),(34,48,1),(35,48,0),(36,48,0),(37,48,1),(38,48,0),(39,48,1),(40,48,1),(41,48,1),(42,48,1),(43,48,1),(44,48,1),(45,48,1),(46,48,0),(47,48,1),(48,48,1),(49,48,0),(50,48,1),(51,48,1),(52,48,1),(53,48,1),(54,48,1),(55,48,1),(56,48,1),(57,48,1),(58,48,1),(59,48,0),(60,48,0),(61,48,0),(62,48,0),(63,48,0),(0,49,0),(1,49,0),(2,49,0),(3,49,0),(4,49,0),(5,49,1),(6,49,1),(7,49,0),(8,49,0),(9,49,1),(10,49,1),(11,49,1),(12,49,1),(13,49,1),(14,49,1),(15,49,1),(16,49,1),(17,49,1),(18,49,1),(19,49,1),(20,49,1),(21,49,1),(22,49,0),(23,49,1),(24,49,1),(25,49,0),(26,49,1),(27,49,1),(28,49,0),(29,49,1),(30,49,1),(31,49,0),(32,49,1),(33,49,1),(34,49,1),(35,49,0),(36,49,1),(37,49,1),(38,49,1),(39,49,1),(40,49,1),(41,49,1),(42,49,1),(43,49,1),(44,49,1),(45,49,0),(46,49,0),(47,49,1),(48,49,0),(49,49,0),(50,49,1),(51,49,1),(52,49,1),(53,49,1),(54,49,1),(55,49,1),(56,49,1),(57,49,1),(58,49,1),(59,49,0),(60,49,0),(61,49,0),(62,49,0),(63,49,0),(0,50,0),(1,50,0),(2,50,0),(3,50,0),(4,50,0),(5,50,0),(6,50,1),(7,50,1),(8,50,0),(9,50,1),(10,50,1),(11,50,1),(12,50,1),(13,50,1),(14,50,1),(15,50,1),(16,50,1),(17,50,1),(18,50,1),(19,50,1),(20,50,1),(21,50,0),(22,50,0),(23,50,0),(24,50,1),(25,50,1),(26,50,1),(27,50,0),(28,50,0),(29,50,0),(30,50,1),(31,50,0),(32,50,0),(33,50,1),(34,50,0),(35,50,0),(36,50,0),(37,50,1),(38,50,1),(39,50,1),(40,50,1),(41,50,1),(42,50,1),(43,50,1),(44,50,1),(45,50,1),(46,50,0),(47,50,1),(48,50,1),(49,50,1),(50,50,1),(51,50,1),(52,50,1),(53,50,1),(54,50,1),(55,50,1),(56,50,1),(57,50,1),(58,50,0),(59,50,0),(60,50,0),(61,50,0),(62,50,0),(63,50,0),(0,51,0),(1,51,0),(2,51,0),(3,51,0),(4,51,0),(5,51,0),(6,51,0),(7,51,1),(8,51,1),(9,51,1),(10,51,1),(11,51,1),(12,51,1),(13,51,1),(14,51,1),(15,51,1),(16,51,1),(17,51,1),(18,51,1),(19,51,1),(20,51,1),(21,51,1),(22,51,0),(23,51,0),(24,51,0),(25,51,0),(26,51,1),(27,51,0),(28,51,1),(29,51,0),(30,51,1),(31,51,1),(32,51,0),(33,51,0),(34,51,0),(35,51,1),(36,51,0),(37,51,1),(38,51,1),(39,51,1),(40,51,1),(41,51,1),(42,51,1),(43,51,1),(44,51,1),(45,51,0),(46,51,0),(47,51,0),(48,51,1),(49,51,1),(50,51,1),(51,51,1),(52,51,1),(53,51,1),(54,51,1),(55,51,1),(56,51,1),(57,51,0),(58,51,0),(59,51,0),(60,51,0),(61,51,0),(62,51,0),(63,51,0),(0,52,0),(1,52,0),(2,52,0),(3,52,0),(4,52,0),(5,52,0),(6,52,0),(7,52,1),(8,52,1),(9,52,1),(10,52,1),(11,52,1),(12,52,1),(13,52,1),(14,52,1),(15,52,1),(16,52,1),(17,52,1),(18,52,1),(19,52,1),(20,52,1),(21,52,1),(22,52,0),(23,52,0),(24,52,1),(25,52,0),(26,52,0),(27,52,0),(28,52,1),(29,52,1),(30,52,1),(31,52,0),(32,52,0),(33,52,1),(34,52,0),(35,52,1),(36,52,1),(37,52,1),(38,52,1),(39,52,1),(40,52,1),(41,52,1),(42,52,1),(43,52,1),(44,52,1),(45,52,0),(46,52,1),(47,52,1),(48,52,1),(49,52,1),(50,52,1),(51,52,1),(52,52,1),(53,52,1),(54,52,1),(55,52,1),(56,52,1),(57,52,0),(58,52,0),(59,52,0),(60,52,0),(61,52,0),(62,52,0),(63,52,0),(0,53,0),(1,53,0),(2,53,0),(3,53,0),(4,53,0),(5,53,0),(6,53,0),(7,53,0),(8,53,1),(9,53,1),(10,53,1),(11,53,1),(12,53,1),(13,53,1),(14,53,1),(15,53,1),(16,53,1),(17,53,1),(18,53,1),(19,53,1),(20,53,1),(21,53,0),(22,53,0),(23,53,0),(24,53,1),(25,53,1),(26,53,0),(27,53,1),(28,53,1),(29,53,0),(30,53,0),(31,53,0),(32,53,1),(33,53,1),(34,53,1),(35,53,1),(36,53,1),(37,53,1),(38,53,1),(39,53,1),(40,53,1),(41,53,1),(42,53,1),(43,53,1),(44,53,0),(45,53,0),(46,53,0),(47,53,1),(48,53,1),(49,53,1),(50,53,1),(51,53,1),(52,53,1),(53,53,1),(54,53,1),(55,53,1),(56,53,0),(57,53,0),(58,53,0),(59,53,0),(60,53,0),(61,53,0),(62,53,0),(63,53,0),(0,54,0),(1,54,0),(2,54,0),(3,54,0),(4,54,0),(5,54,0),(6,54,0),(7,54,0),(8,54,0),(9,54,1),(10,54,1),(11,54,1),(12,54,1),(13,54,1),(14,54,1),(15,54,1),(16,54,1),(17,54,1),(18,54,1),(19,54,1),(20,54,1),(21,54,0),(22,54,0),(23,54,1),(24,54,1),(25,54,0),(26,54,0),(27,54,0),(28,54,0),(29,54,0),(30,54,1),(31,54,0),(32,54,0),(33,54,1),(34,54,1),(35,54,1),(36,54,1),(37,54,1),(38,54,1),(39,54,1),(40,54,1),(41,54,1),(42,54,1),(43,54,1),(44,54,1),(45,54,0),(46,54,1),(47,54,1),(48,54,1),(49,54,1),(50,54,1),(51,54,1),(52,54,1),(53,54,1),(54,54,1),(55,54,0),(56,54,0),(57,54,0),(58,54,0),(59,54,0),(60,54,0),(61,54,0),(62,54,0),(63,54,0),(0,55,0),(1,55,0),(2,55,0),(3,55,0),(4,55,0),(5,55,0),(6,55,0),(7,55,0),(8,55,0),(9,55,0),(10,55,1),(11,55,1),(12,55,1),(13,55,1),(14,55,1),(15,55,1),(16,55,1),(17,55,1),(18,55,1),(19,55,1),(20,55,1),(21,55,0),(22,55,0),(23,55,1),(24,55,1),(25,55,1),(26,55,1),(27,55,1),(28,55,1),(29,55,1),(30,55,1),(31,55,1),(32,55,1),(33,55,1),(34,55,1),(35,55,1),(36,55,1),(37,55,1),(38,55,1),(39,55,1),(40,55,1),(41,55,1),(42,55,1),(43,55,1),(44,55,1),(45,55,1),(46,55,1),(47,55,1),(48,55,1),(49,55,1),(50,55,1),(51,55,1),(52,55,1),(53,55,1),(54,55,0),(55,55,0),(56,55,0),(57,55,0),(58,55,0),(59,55,0),(60,55,0),(61,55,0),(62,55,0),(63,55,0),(0,56,0),(1,56,0),(2,56,0),(3,56,0),(4,56,0),(5,56,0),(6,56,0),(7,56,0),(8,56,0),(9,56,0),(10,56,0),(11,56,1),(12,56,1),(13,56,1),(14,56,1),(15,56,1),(16,56,1),(17,56,1),(18,56,1),(19,56,1),(20,56,0),(21,56,0),(22,56,0),(23,56,1),(24,56,1),(25,56,1),(26,56,1),(27,56,1),(28,56,1),(29,56,1),(30,56,1),(31,56,1),(32,56,1),(33,56,1),(34,56,1),(35,56,1),(36,56,1),(37,56,1),(38,56,1),(39,56,1),(40,56,1),(41,56,1),(42,56,1),(43,56,1),(44,56,1),(45,56,1),(46,56,1),(47,56,1),(48,56,1),(49,56,1),(50,56,1),(51,56,1),(52,56,1),(53,56,0),(54,56,0),(55,56,0),(56,56,0),(57,56,0),(58,56,0),(59,56,0),(60,56,0),(61,56,0),(62,56,0),(63,56,0),(0,57,0),(1,57,0),(2,57,0),(3,57,0),(4,57,0),(5,57,0),(6,57,0),(7,57,0),(8,57,0),(9,57,0),(10,57,0),(11,57,0),(12,57,0),(13,57,1),(14,57,1),(15,57,1),(16,57,1),(17,57,1),(18,57,1),(19,57,1),(20,57,0),(21,57,0),(22,57,1),(23,57,1),(24,57,1),(25,57,1),(26,57,1),(27,57,1),(28,57,1),(29,57,1),(30,57,1),(31,57,1),(32,57,1),(33,57,1),(34,57,1),(35,57,1),(36,57,1),(37,57,1),(38,57,1),(39,57,1),(40,57,1),(41,57,1),(42,57,1),(43,57,1),(44,57,1),(45,57,1),(46,57,1),(47,57,1),(48,57,1),(49,57,1),(50,57,1),(51,57,0),(52,57,0),(53,57,0),(54,57,0),(55,57,0),(56,57,0),(57,57,0),(58,57,0),(59,57,0),(60,57,0),(61,57,0),(62,57,0),(63,57,0),(0,58,0),(1,58,0),(2,58,0),(3,58,0),(4,58,0),(5,58,0),(6,58,0),(7,58,0),(8,58,0),(9,58,0),(10,58,0),(11,58,0),(12,58,0),(13,58,0),(14,58,1),(15,58,1),(16,58,1),(17,58,1),(18,58,1),(19,58,1),(20,58,0),(21,58,0),(22,58,1),(23,58,1),(24,58,1),(25,58,1),(26,58,1),(27,58,1),(28,58,1),(29,58,1),(30,58,1),(31,58,1),(32,58,1),(33,58,1),(34,58,1),(35,58,1),(36,58,1),(37,58,1),(38,58,1),(39,58,1),(40,58,1),(41,58,1),(42,58,1),(43,58,1),(44,58,1),(45,58,1),(46,58,1),(47,58,1),(48,58,1),(49,58,1),(50,58,0),(51,58,0),(52,58,0),(53,58,0),(54,58,0),(55,58,0),(56,58,0),(57,58,0),(58,58,0),(59,58,0),(60,58,0),(61,58,0),(62,58,0),(63,58,0),(0,59,0),(1,59,0),(2,59,0),(3,59,0),(4,59,0),(5,59,0),(6,59,0),(7,59,0),(8,59,0),(9,59,0),(10,59,0),(11,59,0),(12,59,0),(13,59,0),(14,59,0),(15,59,0),(16,59,1),(17,59,1),(18,59,1),(19,59,0),(20,59,0),(21,59,0),(22,59,1),(23,59,1),(24,59,1),(25,59,1),(26,59,1),(27,59,1),(28,59,1),(29,59,1),(30,59,1),(31,59,1),(32,59,1),(33,59,1),(34,59,1),(35,59,1),(36,59,1),(37,59,1),(38,59,1),(39,59,1),(40,59,1),(41,59,1),(42,59,1),(43,59,1),(44,59,1),(45,59,1),(46,59,1),(47,59,1),(48,59,0),(49,59,0),(50,59,0),(51,59,0),(52,59,0),(53,59,0),(54,59,0),(55,59,0),(56,59,0),(57,59,0),(58,59,0),(59,59,0),(60,59,0),(61,59,0),(62,59,0),(63,59,0),(0,60,0),(1,60,0),(2,60,0),(3,60,0),(4,60,0),(5,60,0),(6,60,0),(7,60,0),(8,60,0),(9,60,0),(10,60,0),(11,60,0),(12,60,0),(13,60,0),(14,60,0),(15,60,0),(16,60,0),(17,60,1),(18,60,1),(19,60,0),(20,60,0),(21,60,1),(22,60,1),(23,60,1),(24,60,1),(25,60,1),(26,60,1),(27,60,1),(28,60,1),(29,60,1),(30,60,1),(31,60,1),(32,60,1),(33,60,1),(34,60,1),(35,60,1),(36,60,1),(37,60,1),(38,60,1),(39,60,1),(40,60,1),(41,60,1),(42,60,1),(43,60,1),(44,60,1),(45,60,1),(46,60,1),(47,60,0),(48,60,0),(49,60,0),(50,60,0),(51,60,0),(52,60,0),(53,60,0),(54,60,0),(55,60,0),(56,60,0),(57,60,0),(58,60,0),(59,60,0),(60,60,0),(61,60,0),(62,60,0),(63,60,0),(0,61,0),(1,61,0),(2,61,0),(3,61,0),(4,61,0),(5,61,0),(6,61,0),(7,61,0),(8,61,0),(9,61,0),(10,61,0),(11,61,0),(12,61,0),(13,61,0),(14,61,0),(15,61,0),(16,61,0),(17,61,0),(18,61,0),(19,61,0),(20,61,0),(21,61,1),(22,61,1),(23,61,1),(24,61,1),(25,61,1),(26,61,1),(27,61,1),(28,61,1),(29,61,1),(30,61,1),(31,61,1),(32,61,1),(33,61,1),(34,61,1),(35,61,1),(36,61,1),(37,61,1),(38,61,1),(39,61,1),(40,61,1),(41,61,1),(42,61,1),(43,61,1),(44,61,0),(45,61,0),(46,61,0),(47,61,0),(48,61,0),(49,61,0),(50,61,0),(51,61,0),(52,61,0),(53,61,0),(54,61,0),(55,61,0),(56,61,0),(57,61,0),(58,61,0),(59,61,0),(60,61,0),(61,61,0),(62,61,0),(63,61,0),(0,62,0),(1,62,0),(2,62,0),(3,62,0),(4,62,0),(5,62,0),(6,62,0),(7,62,0),(8,62,0),(9,62,0),(10,62,0),(11,62,0),(12,62,0),(13,62,0),(14,62,0),(15,62,0),(16,62,0),(17,62,0),(18,62,0),(19,62,0),(20,62,0),(21,62,0),(22,62,1),(23,62,1),(24,62,1),(25,62,1),(26,62,1),(27,62,1),(28,62,1),(29,62,1),(30,62,1),(31,62,1),(32,62,1),(33,62,1),(34,62,1),(35,62,1),(36,62,1),(37,62,1),(38,62,1),(39,62,1),(40,62,1),(41,62,1),(42,62,0),(43,62,0),(44,62,0),(45,62,0),(46,62,0),(47,62,0),(48,62,0),(49,62,0),(50,62,0),(51,62,0),(52,62,0),(53,62,0),(54,62,0),(55,62,0),(56,62,0),(57,62,0),(58,62,0),(59,62,0),(60,62,0),(61,62,0),(62,62,0),(63,62,0),(0,63,0),(1,63,0),(2,63,0),(3,63,0),(4,63,0),(5,63,0),(6,63,0),(7,63,0),(8,63,0),(9,63,0),(10,63,0),(11,63,0),(12,63,0),(13,63,0),(14,63,0),(15,63,0),(16,63,0),(17,63,0),(18,63,0),(19,63,0),(20,63,0),(21,63,0),(22,63,0),(23,63,0),(24,63,0),(25,63,0),(26,63,1),(27,63,1),(28,63,1),(29,63,1),(30,63,1),(31,63,1),(32,63,1),(33,63,1),(34,63,1),(35,63,1),(36,63,1),(37,63,1),(38,63,0),(39,63,0),(40,63,0),(41,63,0),(42,63,0),(43,63,0),(44,63,0),(45,63,0),(46,63,0),(47,63,0),(48,63,0),(49,63,0),(50,63,0),(51,63,0),(52,63,0),(53,63,0),(54,63,0),(55,63,0),(56,63,0),(57,63,0),(58,63,0),(59,63,0),(60,63,0),(61,63,0),(62,63,0),(63,63,0),]
for i in ans:
    if i[0] == x and i[1] == y:
        print("IN" if i[2] else "OUT")
