巅峰极客

easy_Forensic

内存取证,在桌面处发现题目描述中所提到的微信文件以及相关可能有用的信息,于是将他们dump下来

接着在打开图片的一瞬间就可以发现出题人竟在我身边😀~ 可以发现他把底下的那句英文去掉了,改下高度即可得到压缩包密码:Nothing_is_more_important_than_your_life! (还得加下划线🤮

解压得到如下信息,base64解密后再转hex

A gift for You:  wHeMscYvTluyRvjf5d7AEX5K4VlZeU2IiGpKLFzek1Q=

c0778cb1c62f4e5bb246f8dfe5dec0117e4ae15959794d88886a4a2c5cde9354

最后就是解密微信文件了,根据文章中的解密脚本解密完string一下即可得到flag

参考文章:https://mp.weixin.qq.com/s/4DbXOS5jDjJzM2PN0Mp2JA

powerpower

将注册表拖入虚拟机中处理,先火绒剑啥的看看能不能找到什么线索,最后无果

然后根据题目提示使用registry workshop打开注册表文件来对比注册表,找到如下关键信息,base64解密后发现是个加密脚本

接着网上找了半天解密脚本试了下都不太行,后面大哥给我发来了一个直接梭哈了🙌tql!

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
import base64
from Crypto.Cipher import AES
from Crypto import Random

SS_DEFAULT_HEADER = '76492d1116743f0423413b16050a5345'
SS_DEFAULT_ENCODING = 'utf_16_le'


def convert_from_secure_string(key,
                               data,
                               header=SS_DEFAULT_HEADER,
                               enc=SS_DEFAULT_ENCODING,
                               iv=None):
    key_str = str(bytearray(key))
    padlen = 16 - (len(data) % 16)
    data += chr(padlen) * padlen
    if iv is None:
        iv = Random.new().read(AES.block_size)
    iv_str = str(bytearray(iv))
    cipher = AES.new(key_str, AES.MODE_CBC, iv_str)
    ciphertext = cipher.encrypt(data)
    rest_raw = '2|{0}|{1}'.format(base64.b64encode(iv_str),
                                  ciphertext.encode('hex'))
    if enc:
        rest_raw = rest_raw.encode(enc)
    rest_b64 = base64.b64encode(rest_raw)
    output = header + rest_b64
    return output


def convert_to_secure_string(key,
                             data,
                             header=SS_DEFAULT_HEADER,
                             enc=SS_DEFAULT_ENCODING):
    key_str = str(bytearray(key))
    print(key_str)
    key_str = 'F844A6035CF27CC4C90DFEAF'
    data = data[len(header):]
    p = base64.b64decode(data)
    if enc:
        p = p.decode(enc)
    p = p.split('|')
    if len(p) != 3 or p[0] != '2':
        return None
    iv_str = base64.b64decode(p[1])
    ciphertext = p[2].decode('hex')
    cipher = AES.new(key_str, AES.MODE_CBC, iv_str)
    d = cipher.decrypt(ciphertext)
    d = (d[:-ord(d[len(d) - 1:])])
    return d


if __name__ == '__main__':
    # key = [
    #     3, 4, 2, 3, 56, 34, 254, 222, 205, 34, 2, 23, 42, 64, 33, 223, 1, 34,
    #     2, 7, 6, 5, 35, 12
    # ]
    key = 'xx'
    msg = '76492d1116743f0423413b16050a5345MgB8AFQAegB3AFAAaAArAFcAVABwAEYAWABLAGoAUwBaAEsAQQBvAHAAagBrAFEAPQA9AHwAOABmADIAOQBmADkANgA4ADkAMABlADIAZgBmADgAMwA0AGEAYwAxADIAMgA5ADYAZgAyADMAMQBiAGEANAA2ADUAOQAxADEANgAyADUANwA2AGEAMgBkAGYANQBjAGQAYwA5ADQAMgAyAGMANgBiADIAYwA5ADEANgA3ADkAZgA1AGUAMgA5ADYANQAyADEAOAA1ADMAYwAyADcAZABhADAAZgA2AGQAOQA0AGEAOAA2ADEAMQA4ADIAZgBhADgAMwBjAGYAMwBmAGEAMQAwADYANQBmADIANwA0AGYANgAxADIAZAA5ADYANgBjAGQANQBkADAAOQA4AGEAMgAwADYAYQA5ADgAMgBkADkANABlAGEANABmADEAMAA0ADEAMQA4ADcAOABlADcAYQBmADQAMQBiADQAMgBmADEANwA='
    out = convert_to_secure_string(key, msg,
                                   '76492d1116743f0423413b16050a5345')
    print(out)

# flag{Y0u_Are_thE_Master_0f_powershell} 

观安杯

DISG

取证大师一把梭哈得到一个word文档拖开图片即可得到flag

castle

哥斯拉流量,首先打开数据包找到利用key

base64解密得到

然后在返回包里找到密钥和密码

接着就是哥斯拉马一步步解密

中间还换了一次密码

最后在最后一个流最后一个包中解得flag


网鼎杯

sqlmapHell

首先爆破得到压缩包密码:99114514

然后打开csv文件发现password,base64解密再转hex后cmd5解密得到7z的密码:nmy0612

然后得到一串韩文,最后转换编码即可flag

tHXcode

首先修复png文件头,扫码得到一个YouTube链接没啥用(听我说谢谢你评论区真精彩😂

接着stegosolve打开在Blue 1和Blue 0两个通道发现隐藏数据,于是Image Combiner叠加两张图,找到完成隐藏数据

最后根据汉信码固定的四个角画出一个完整的汉信码,扫码得到flag

一个自己的房间

首先伪加密,然后在0通道发现类似条形码的东西,将其提出来后发现很长一串01,并发现它是330²,于是将01转二维码

from PIL import Image
from zlib import *

MAX = 330
pic = Image.new("RGB",(MAX,MAX))
str ="000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111000000000000000011111111111111110000000000000000111111110000000000000000000000000000000000000000111111111111111111110000000000000000000000000000000000111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000111111111111111100000000111111111111111111111111000000000000000011111111111111110000000000000000111111110000000000000000000000000000000000000000111111111111111111110000000000000000000000000000000000111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000111111111111111100000000111111111111111111111111000000000000000011111111111111110000000000000000111111110000000000000000000000000000000000000000111111111111111111110000000000000000000000000000000000111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000111111111111111100000000111111111111111111111111000000000000000011111111111111110000000000000000111111110000000000000000000000000000000000000000111111111111111111110000000000000000000000000000000000111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000111111111111111111111111111111111111111100000000000000001111111100000000000000000000000000000000000000001111111100000000111111110000000011111111000000001111111111110000000000000000000000000000000000111111111111000000001111111100000000111111111111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000001111111100000000000000000000000000000000000000001111111100000000111111110000000011111111000000001111111111110000000000000000000000000000000000111111111111000000001111111100000000111111111111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000001111111100000000000000000000000000000000000000001111111100000000111111110000000011111111000000001111111111110000000000000000000000000000000000111111111111000000001111111100000000111111111111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000001111111100000000000000000000000000000000000000001111111100000000111111110000000011111111000000001111111111110000000000000000000000000000000000111111111111000000001111111100000000111111111111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000001111111100000000000000000000000000000000000000001111111100000000111111110000000011111111000000001111111111110000000000000000000000000000000000111111111111000000001111111100000000111111111111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000001111111100000000000000000000000000000000000000001111111100000000111111110000000011111111000000001111111111110000000000000000000000000000000000111111111111000000001111111100000000111111111111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000001111111100000000000000000000000000000000000000001111111100000000111111110000000011111111000000001111111111110000000000000000000000000000000000111111111111000000001111111100000000111111111111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000001111111100000000000000000000000000000000000000001111111100000000111111110000000011111111000000001111111111110000000000000000000000000000000000111111111111000000001111111100000000111111111111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000001111111100000000000000001111111111111111000000000000000011111111111111110000000000000000111111110000000000000000111111111111111111111111000000000000000011110000000000000000000000000000000000111111111111000000000000000000000000000000001111111100000000111111110000000011111111111111111111111100000000000000000000000000000000111111111111111100000000000000001111111111111111000000000000000011111111111111110000000000000000111111110000000000000000111111111111111111111111000000000000000011110000000000000000000000000000000000111111111111000000000000000000000000000000001111111100000000111111110000000011111111111111111111111100000000000000000000000000000000111111111111111100000000000000001111111111111111000000000000000011111111111111110000000000000000111111110000000000000000111111111111111111111111000000000000000011110000000000000000000000000000000000111111111111000000000000000000000000000000001111111100000000111111110000000011111111111111111111111100000000000000000000000000000000111111111111111100000000000000001111111111111111000000000000000011111111111111110000000000000000111111110000000000000000111111111111111111111111000000000000000011110000000000000000000000000000000000111111111111000000000000000000000000000000001111111100000000111111110000000011111111111111111111111100000000000000000000000000000000111111111111111100000000000000001111111111111111000000000000000011111111111111110000000000000000111111110000000000000000111111111111111111111111000000000000000011110000000000000000000000000000000000111111111111000000000000000000000000000000001111111100000000111111110000000011111111111111111111111100000000000000000000000000000000111111111111111100000000000000001111111111111111000000000000000011111111111111110000000000000000111111110000000000000000111111111111111111111111000000000000000011110000000000000000000000000000000000111111111111000000000000000000000000000000001111111100000000111111110000000011111111111111111111111100000000000000000000000000000000111111111111111100000000000000001111111111111111000000000000000011111111111111110000000000000000111111110000000000000000111111111111111111111111000000000000000011110000000000000000000000000000000000111111111111000000000000000000000000000000001111111100000000111111110000000011111111111111111111111100000000000000000000000000000000111111111111111100000000000000001111111111111111000000000000000011111111111111110000000000000000111111110000000000000000111111111111111111111111000000000000000011110000000000000000000000000000000000111111111111000000000000000000000000000000001111111100000000111111110000000011111111111111111111111100000000000000000000000000000000111111111111111100000000111111110000000011111111000000001111111100000000000000000000000000000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000011111111111111111111111111111111111111110000000011111111111111111111111100000000000000000000000000000000111111110000000000000000111111110000000011111111000000001111111100000000000000000000000000000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000011111111111111111111111111111111111111110000000011111111111111111111111100000000000000000000000000000000111111110000000000000000111111110000000011111111000000001111111100000000000000000000000000000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000011111111111111111111111111111111111111110000000011111111111111111111111100000000000000000000000000000000111111110000000000000000111111110000000011111111000000001111111100000000000000000000000000000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000011111111111111111111111111111111111111110000000011111111111111111111111100000000000000000000000000000000111111110000000000000000111111110000000011111111000000001111111100000000000000000000000000000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000011111111111111111111111111111111111111110000000011111111111111111111111100000000000000000000000000000000111111110000000000000000111111110000000011111111000000001111111100000000000000000000000000000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000011111111111111111111111111111111111111110000000011111111111111111111111100000000000000000000000000000000111111110000000000000000111111110000000011111111000000001111111100000000000000000000000000000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000011111111111111111111111111111111111111110000000011111111111111111111111100000000000000000000000000000000111111110000000000000000111111110000000011111111000000001111111100000000000000000000000000000000111111111111111100000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000011111111111111111111111111111111111111110000000011111111111111111111111100000000000000000000000000000000111111110000000011111111111111110000000011111111000000000000000011111111111111110000000011111111000000001111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111110000000000000000111111110000000000000000000000001111111111111111111111111111111100000000111111110000000011111111111111110000000011111111000000000000000011111111111111110000000011111111000000001111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111110000000000000000111111110000000000000000000000001111111111111111111111111111111100000000111111110000000011111111111111110000000011111111000000000000000011111111111111110000000011111111000000001111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111110000000000000000111111110000000000000000000000001111111111111111111111111111111100000000111111110000000011111111111111110000000011111111000000000000000011111111111111110000000011111111000000001111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111110000000000000000111111110000000000000000000000001111111111111111111111111111111100000000111111110000000011111111111111110000000011111111000000000000000011111111111111110000000011111111000000001111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111110000000000000000111111110000000000000000000000001111111111111111111111111111111100000000111111110000000011111111111111110000000011111111000000000000000011111111111111110000000011111111000000001111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111110000000000000000111111110000000000000000000000001111111111111111111111111111111100000000111111110000000011111111111111110000000011111111000000000000000011111111111111110000000011111111000000001111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111110000000000000000111111110000000000000000000000001111111111111111111111111111111100000000111111110000000011111111111111110000000011111111000000000000000011111111111111110000000011111111000000001111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111110000000000000000111111110000000000000000000000001111111111111111111111111111111100000000111111110000000000000000000000000000000011111111000000000000000000000000000000001111111111111111000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000011111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000000000000000000000000000011111111000000000000000000000000000000001111111111111111000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000011111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000000000000000000000000000011111111000000000000000000000000000000001111111111111111000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000011111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000000000000000000000000000011111111000000000000000000000000000000001111111111111111000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000011111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000000000000000000000000000011111111000000000000000000000000000000001111111111111111000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000011111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000000000000000000000000000011111111000000000000000000000000000000001111111111111111000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000011111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000000000000000000000000000011111111000000000000000000000000000000001111111111111111000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000011111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000000000000000000000000000011111111000000000000000000000000000000001111111111111111000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000011111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000000000000000000001111111111111111111111110000000011111111111111111111111100000000000000001111111100000000111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000000000000111111110000000000000000000000000000000011111111111111110000000011111111111111111111111100000000000000001111111111111111111111110000000011111111111111111111111100000000000000001111111100000000111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000000000000111111110000000000000000000000000000000011111111111111110000000011111111111111111111111100000000000000001111111111111111111111110000000011111111111111111111111100000000000000001111111100000000111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000000000000111111110000000000000000000000000000000011111111111111110000000011111111111111111111111100000000000000001111111111111111111111110000000011111111111111111111111100000000000000001111111100000000111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000000000000111111110000000000000000000000000000000011111111111111110000000011111111111111111111111100000000000000001111111111111111111111110000000011111111111111111111111100000000000000001111111100000000111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000000000000111111110000000000000000000000000000000011111111111111110000000011111111111111111111111100000000000000001111111111111111111111110000000011111111111111111111111100000000000000001111111100000000111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000000000000111111110000000000000000000000000000000011111111111111110000000011111111111111111111111100000000000000001111111111111111111111110000000011111111111111111111111100000000000000001111111100000000111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000000000000111111110000000000000000000000000000000011111111111111110000000011111111111111111111111100000000000000001111111111111111111111110000000011111111111111111111111100000000000000001111111100000000111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000000000000111111110000000000000000000000000000000011111111111111110000000011111111111111111111111100000000111111111111111100000000000000001111111100000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000011111111111111110000000011111111111111110000000000000000111111111111111111111111111111111111111100000000111111111111111100000000000000001111111100000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000011111111111111110000000011111111111111110000000000000000111111111111111111111111111111111111111100000000111111111111111100000000000000001111111100000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000011111111111111110000000011111111111111110000000000000000111111111111111111111111111111111111111100000000111111111111111100000000000000001111111100000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000011111111111111110000000011111111111111110000000000000000111111111111111111111111111111111111111100000000111111111111111100000000000000001111111100000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000011111111111111110000000011111111111111110000000000000000111111111111111111111111111111111111111100000000111111111111111100000000000000001111111100000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000011111111111111110000000011111111111111110000000000000000111111111111111111111111111111111111111100000000111111111111111100000000000000001111111100000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000011111111111111110000000011111111111111110000000000000000111111111111111111111111111111111111111100000000111111111111111100000000000000001111111100000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000011111111000000000000000000000000111111110000000011111111111111110000000011111111111111110000000000000000111111111111111111111111111111111111111111111111000000000000000000000000111111111111111111111111000000000000000000000000000000001111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000011111111111111111111111100000000000000000000000000000000111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111000000000000000000000000000000001111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000011111111111111111111111100000000000000000000000000000000111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111000000000000000000000000000000001111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000011111111111111111111111100000000000000000000000000000000111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111000000000000000000000000000000001111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000011111111111111111111111100000000000000000000000000000000111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111000000000000000000000000000000001111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000011111111111111111111111100000000000000000000000000000000111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111000000000000000000000000000000001111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000011111111111111111111111100000000000000000000000000000000111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111000000000000000000000000000000001111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000011111111111111111111111100000000000000000000000000000000111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111000000000000000000000000000000001111111100000000111111111111111100000000111111110000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000011111111111111111111111100000000000000000000000000000000111111111111111111111111000000001111111100000000111111111111111100000000111111111111111100000000111111111111111111111111111111110000000000000000000000001111111100000000111111110000000011110000000000000000000000000000000000111100000000000000001111111111111111111111110000000000000000000000001111111111111111000000001111111111111111111111111111111111111111111111110000000000000000111111111111111100000000111111111111111100000000111111111111111111111111111111110000000000000000000000001111111100000000111111110000000011110000000000000000000000000000000000111100000000000000001111111111111111111111110000000000000000000000001111111111111111000000001111111111111111111111111111111111111111111111110000000000000000111111111111111100000000111111111111111100000000111111111111111111111111111111110000000000000000000000001111111100000000111111110000000011110000000000000000000000000000000000111100000000000000001111111111111111111111110000000000000000000000001111111111111111000000001111111111111111111111111111111111111111111111110000000000000000111111111111111100000000111111111111111100000000111111111111111111111111111111110000000000000000000000001111111100000000111111110000000011110000000000000000000000000000000000111100000000000000001111111111111111111111110000000000000000000000001111111111111111000000001111111111111111111111111111111111111111111111110000000000000000111111111111111100000000111111111111111100000000111111111111111111111111111111110000000000000000000000001111111100000000111111110000000011110000000000000000000000000000000000111100000000000000001111111111111111111111110000000000000000000000001111111111111111000000001111111111111111111111111111111111111111111111110000000000000000111111111111111100000000111111111111111100000000111111111111111111111111111111110000000000000000000000001111111100000000111111110000000011110000000000000000000000000000000000111100000000000000001111111111111111111111110000000000000000000000001111111111111111000000001111111111111111111111111111111111111111111111110000000000000000111111111111111100000000111111111111111100000000111111111111111111111111111111110000000000000000000000001111111100000000111111110000000011110000000000000000000000000000000000111100000000000000001111111111111111111111110000000000000000000000001111111111111111000000001111111111111111111111111111111111111111111111110000000000000000111111111111111100000000111111111111111100000000111111111111111111111111111111110000000000000000000000001111111100000000111111110000000011110000000000000000000000000000000000111100000000000000001111111111111111111111110000000000000000000000001111111111111111000000001111111111111111111111111111111111111111111111110000000011111111000000001111111111111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111111111110000000011110000000000000000000000000000000000111100000000000000000000000011111111000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110000000011111111000000001111111111111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111111111110000000011110000000000000000000000000000000000111100000000000000000000000011111111000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110000000011111111000000001111111111111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111111111110000000011110000000000000000000000000000000000111100000000000000000000000011111111000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110000000011111111000000001111111111111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111111111110000000011110000000000000000000000000000000000111100000000000000000000000011111111000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110000000011111111000000001111111111111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111111111110000000011110000000000000000000000000000000000111100000000000000000000000011111111000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110000000011111111000000001111111111111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111111111110000000011110000000000000000000000000000000000111100000000000000000000000011111111000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110000000011111111000000001111111111111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111111111110000000011110000000000000000000000000000000000111100000000000000000000000011111111000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110000000011111111000000001111111111111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111111111110000000011110000000000000000000000000000000000111100000000000000000000000011111111000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000111111111111111111111111000000000000000000000000111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000111111111111111111111111000000000000000000000000111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000111111111111111111111111000000000000000000000000111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000111111111111111111111111000000000000000000000000111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000111111111111111111111111000000000000000000000000111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000111111111111111111111111000000000000000000000000111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000111111111111111111111111000000000000000000000000111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000001111111100000000111111110000000000000000000000000000000000000000000000000011111111000000000000000011111111111111110000000000000000111111111111111111111111000000000000000000000000111111110000000011111111000000000000000011111111111111111111111111111111111111111111111111111111000000000000000011111111111111110000000011111111000000000000000000000000111111111111111111110000000000000000000000000000000000111111111111000000001111111111111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000011111111000000000000000011111111111111111111111111111111111111111111111111111111000000000000000011111111111111110000000011111111000000000000000000000000111111111111111111110000000000000000000000000000000000111111111111000000001111111111111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000011111111000000000000000011111111111111111111111111111111111111111111111111111111000000000000000011111111111111110000000011111111000000000000000000000000111111111111111111110000000000000000000000000000000000111111111111000000001111111111111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000011111111000000000000000011111111111111111111111111111111111111111111111111111111000000000000000011111111111111110000000011111111000000000000000000000000111111111111111111110000000000000000000000000000000000111111111111000000001111111111111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000011111111000000000000000011111111111111111111111111111111111111111111111111111111000000000000000011111111111111110000000011111111000000000000000000000000111111111111111111110000000000000000000000000000000000111111111111000000001111111111111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000011111111000000000000000011111111111111111111111111111111111111111111111111111111000000000000000011111111111111110000000011111111000000000000000000000000111111111111111111110000000000000000000000000000000000111111111111000000001111111111111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000011111111000000000000000011111111111111111111111111111111111111111111111111111111000000000000000011111111111111110000000011111111000000000000000000000000111111111111111111110000000000000000000000000000000000111111111111000000001111111111111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000011111111000000000000000011111111111111111111111111111111111111111111111111111111000000000000000011111111111111110000000011111111000000000000000000000000111111111111111111110000000000000000000000000000000000111111111111000000001111111111111111111111110000000000000000000000000000000011111111000000001111111100000000111111110000000011111111000000000000000011111111000000000000000000000000000000000000000111111111000000001111111100000000000000000000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000111111111111111111111111111100000000111111110000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000001111111100000000000000000000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000111111111111111111111111111100000000111111110000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000001111111100000000000000000000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000111111111111111111111111111100000000111111110000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000001111111100000000000000000000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000111111111111111111111111111100000000111111110000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000001111111100000000000000000000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000111111111111111111111111111100000000111111110000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000001111111100000000000000000000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000111111111111111111111111111100000000111111110000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000001111111100000000000000000000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000111111111111111111111111111100000000111111110000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000001111111100000000000000000000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000111111111111111111111111111100000000111111110000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000001111111111111111111111111111111111111111111111111111111111111111000000001111111111110000000000000000000000000000000000111100000000000000001111111111111111000000001111111100000000111111110000000011111111111111111111111111111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000001111111111111111111111111111111111111111111111111111111111111111000000001111111111110000000000000000000000000000000000111100000000000000001111111111111111000000001111111100000000111111110000000011111111111111111111111111111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000001111111111111111111111111111111111111111111111111111111111111111000000001111111111110000000000000000000000000000000000111100000000000000001111111111111111000000001111111100000000111111110000000011111111111111111111111111111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000001111111111111111111111111111111111111111111111111111111111111111000000001111111111110000000000000000000000000000000000111100000000000000001111111111111111000000001111111100000000111111110000000011111111111111111111111111111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000001111111111111111111111111111111111111111111111111111111111111111000000001111111111110000000000000000000000000000000000111100000000000000001111111111111111000000001111111100000000111111110000000011111111111111111111111111111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000001111111111111111111111111111111111111111111111111111111111111111000000001111111111110000000000000000000000000000000000111100000000000000001111111111111111000000001111111100000000111111110000000011111111111111111111111111111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000001111111111111111111111111111111111111111111111111111111111111111000000001111111111110000000000000000000000000000000000111100000000000000001111111111111111000000001111111100000000111111110000000011111111111111111111111111111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000001111111111111111111111111111111111111111111111111111111111111111000000001111111111110000000000000000000000000000000000111100000000000000001111111111111111000000001111111100000000111111110000000011111111111111111111111111111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000000000000000000000000000000000000011111111000000001111111100000000000000001111111111110000000000000000000000000000000000111100000000000000000000000011111111111111111111111111111111000000001111111111111111000000000000000011111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000000000000000000000000000000000000011111111000000001111111100000000000000001111111111110000000000000000000000000000000000111100000000000000000000000011111111111111111111111111111111000000001111111111111111000000000000000011111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000000000000000000000000000000000000011111111000000001111111100000000000000001111111111110000000000000000000000000000000000111100000000000000000000000011111111111111111111111111111111000000001111111111111111000000000000000011111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000000000000000000000000000000000000011111111000000001111111100000000000000001111111111110000000000000000000000000000000000111100000000000000000000000011111111111111111111111111111111000000001111111111111111000000000000000011111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000000000000000000000000000000000000011111111000000001111111100000000000000001111111111110000000000000000000000000000000000111100000000000000000000000011111111111111111111111111111111000000001111111111111111000000000000000011111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000000000000000000000000000000000000011111111000000001111111100000000000000001111111111110000000000000000000000000000000000111100000000000000000000000011111111111111111111111111111111000000001111111111111111000000000000000011111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000000000000000000000000000000000000011111111000000001111111100000000000000001111111111110000000000000000000000000000000000111100000000000000000000000011111111111111111111111111111111000000001111111111111111000000000000000011111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000000000000000000000000000000000000011111111000000001111111100000000000000001111111111110000000000000000000000000000000000111100000000000000000000000011111111111111111111111111111111000000001111111111111111000000000000000011111111111111110000000000000000111111110000000011111111000000001111111111111111111111110000000111111111000000001111111100000000000000001111111111111111111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000111111111111111100000000111111110000000011111111000000000000000011111111000000001111111111111111000000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000000000001111111111111111111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000111111111111111100000000111111110000000011111111000000000000000011111111000000001111111111111111000000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000000000001111111111111111111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000111111111111111100000000111111110000000011111111000000000000000011111111000000001111111111111111000000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000000000001111111111111111111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000111111111111111100000000111111110000000011111111000000000000000011111111000000001111111111111111000000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000000000001111111111111111111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000111111111111111100000000111111110000000011111111000000000000000011111111000000001111111111111111000000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000000000001111111111111111111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000111111111111111100000000111111110000000011111111000000000000000011111111000000001111111111111111000000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000000000001111111111111111111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000111111111111111100000000111111110000000011111111000000000000000011111111000000001111111111111111000000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000000000001111111111111111111111110000000011111111000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000111111111111111100000000111111110000000011111111000000000000000011111111000000001111111111111111000000001111111111111111000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000011111111000000000000000011111111000000001111111111111111000000001111111100000000000000000000000011111111111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000011111111000000000000000011111111000000001111111111111111000000001111111100000000000000000000000011111111111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000011111111000000000000000011111111000000001111111111111111000000001111111100000000000000000000000011111111111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000011111111000000000000000011111111000000001111111111111111000000001111111100000000000000000000000011111111111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000011111111000000000000000011111111000000001111111111111111000000001111111100000000000000000000000011111111111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000011111111000000000000000011111111000000001111111111111111000000001111111100000000000000000000000011111111111111110000000000000000111111110000000011111111000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000011111111000000000000000011111111000000001111111111111111000000001111111100000000000000000000000011111111111111110000000000000000111111110000000011111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000011111111000000000000000011111111000000001111111111111111000000001111111100000000000000000000000011111111111111110000000000000000111111110000000011111111111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000111111111111111111111111111111111111111111111111000000001111111111111111111111110000000000000000111111111111111111111111111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000111111111111111111111111111111111111111111111111000000001111111111111111111111110000000000000000111111111111111111111111111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000111111111111111111111111111111111111111111111111000000001111111111111111111111110000000000000000111111111111111111111111111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000111111111111111111111111111111111111111111111111000000001111111111111111111111110000000000000000111111111111111111111111111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000111111111111111111111111111111111111111111111111000000001111111111111111111111110000000000000000111111111111111111111111111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000111111111111111111111111111111111111111111111111000000001111111111111111111111110000000000000000111111111111111111111111111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000111111111111111111111111111111111111111111111111000000001111111111111111111111110000000000000000111111111111111111111111111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000111111111111111111111111111111111111111111111111000000001111111111111111111111110000000000000000111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111111111111111111111110000000000000000000000000000000000011110000000000000000111111110000000000000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111111111111111111111110000000000000000000000000000000000011110000000000000000111111110000000000000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111111111111111111111110000000000000000000000000000000000011110000000000000000111111110000000000000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111111111111111111111110000000000000000000000000000000000011110000000000000000111111110000000000000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111111111111111111111110000000000000000000000000000000000011110000000000000000111111110000000000000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111111111111111111111110000000000000000000000000000000000011110000000000000000111111110000000000000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111111111111111111111110000000000000000000000000000000000011110000000000000000111111110000000000000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111000000000000000000000000111111111111111111111111111111111111111111110000000000000000000000000000000000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000000000000000000001111111111111111000000000000000011111111111111110000000000000000000000000000000000000000000000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000000000000000000001111111111111111000000000000000011111111111111110000000000000000000000000000000000000000000000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000000000000000000001111111111111111000000000000000011111111111111110000000000000000000000000000000000000000000000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000000000000000000001111111111111111000000000000000011111111111111110000000000000000000000000000000000000000000000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000000000000000000001111111111111111000000000000000011111111111111110000000000000000000000000000000000000000000000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000000000000000000001111111111111111000000000000000011111111111111110000000000000000000000000000000000000000000000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000000000000000000001111111111111111000000000000000011111111111111110000000000000000000000000000000000000000000000000001111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000000000000000000001111111111111111000000000000000011111111111111110000000000000000000000000000000000000000000000011110000000011111111000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111111111111000000000000000000000000111111110000000000000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011110000000000000000000000000000000000000001111111111111111000000001111111111111111000000000000000000000000111111111111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000111111111111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111111111111000000000000000000000000111111111111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000111111111111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111111111111000000000000000000000000111111111111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000111111111111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111111111111000000000000000000000000111111111111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000111111111111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111111111111000000000000000000000000111111111111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000111111111111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111111111111000000000000000000000000111111111111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000111111111111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111111111111000000000000000000000000111111111111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000111111111111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111111111111000000000000000000000000111111111111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000001111111100000000111111111111111100000000111111111111111111111111000000000000000000000000000000000000000000000000000000011110000000000000000000000001111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000011111111000000000000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000000000000000000001111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000011111111000000000000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000000000000000000001111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000011111111000000000000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000000000000000000001111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000011111111000000000000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000000000000000000001111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000011111111000000000000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000000000000000000001111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000011111111000000000000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000000000000000000001111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000011111111000000000000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000000000000000000001111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111111111111100000001111111111111111000000001111111111111111111111110000000111111111000000000000000011111111000000000000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000000001111111100000000111111110000000000000000111111110000000011111111111111111111111100000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000011111111000000000000000011111111111111110000000011111111000000000000000000000000000000000000000000000000000000000001111111100000000111111110000000000000000111111110000000011111111111111111111111100000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000011111111000000000000000011111111111111110000000011111111000000000000000000000000000000000000000000000000000000000001111111100000000111111110000000000000000111111110000000011111111111111111111111100000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000011111111000000000000000011111111111111110000000011111111000000000000000000000000000000000000000000000000000000000001111111100000000111111110000000000000000111111110000000011111111111111111111111100000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000011111111000000000000000011111111111111110000000011111111000000000000000000000000000000000000000000000000000000000001111111100000000111111110000000000000000111111110000000011111111111111111111111100000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000011111111000000000000000011111111111111110000000011111111000000000000000000000000000000000000000000000000000000000001111111100000000111111110000000000000000111111110000000011111111111111111111111100000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000011111111000000000000000011111111111111110000000011111111000000000000000000000000000000000000000000000000000000000001111111100000000111111110000000000000000111111110000000011111111111111111111111100000000111111110000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000111111111000000000000000011111111000000000000000011111111111111110000000011111111000000000000000000000000000000000000000000000000000000000001111111100000000111111110000000000000000111111110000000011111111111111111111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000011111111000000000000000011111111111111110000000011111111000000000000000000000000000000000000000000000000000000011110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011110000000000000000000000000000000000011110000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111111111111111110000000000000000000000000000000000011110000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111111111111111110000000000000000000000000000000000011110000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111111111111111110000000000000000000000000000000000011110000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111111111111111110000000000000000000000000000000000011110000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111111111111111110000000000000000000000000000000000011110000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111111111111111110000000000000000000000000000000000011110000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111111111111111110000000000000000000000000000000000011110000000011111111000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000001111111100000000111111111111111111110000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000000000001111111100000000111111111111111111111111000000001111111111111111000000001111111111111111111111110000000000000000111111110000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000000000001111111100000000111111111111111111111111000000001111111111111111000000001111111111111111111111110000000000000000111111110000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000000000001111111100000000111111111111111111111111000000001111111111111111000000001111111111111111111111110000000000000000111111110000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000000000001111111100000000111111111111111111111111000000001111111111111111000000001111111111111111111111110000000000000000111111110000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000000000001111111100000000111111111111111111111111000000001111111111111111000000001111111111111111111111110000000000000000111111110000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000000000001111111100000000111111111111111111111111000000001111111111111111000000001111111111111111111111110000000000000000111111110000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000000000001111111100000000111111111111111111111111000000001111111111111111000000001111111111111111111111110000000000000000111111110000000000000000000000000000000000000000000000000000000000011111111000000001111111111111111000000000000000000000000000000001111111111111111000000000000000000000000111111110000000000000000111111110000000000000001111111100000000111111111111111111111111000000001111111111111111000000001111111111111111111111110000000000000000111111110000000000000000000000000000000000000000000000011111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000011111111111111110000000011111111000000000000000000000000000000011111111111111110000000000000000111111110000000000000000000000001111111111111111000000000000000011111111111111110000000011110000000000000000000000000000000000011111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000011111111111111110000000011111111000000000000000000000000000000011111111111111110000000000000000111111110000000000000000000000001111111111111111000000000000000011111111111111110000000011110000000000000000000000000000000000011111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000011111111111111110000000011111111000000000000000000000000000000011111111111111110000000000000000111111110000000000000000000000001111111111111111000000000000000011111111111111110000000011110000000000000000000000000000000000011111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000011111111111111110000000011111111000000000000000000000000000000011111111111111110000000000000000111111110000000000000000000000001111111111111111000000000000000011111111111111110000000011110000000000000000000000000000000000011111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000011111111111111110000000011111111000000000000000000000000000000011111111111111110000000000000000111111110000000000000000000000001111111111111111000000000000000011111111111111110000000011110000000000000000000000000000000000011111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000011111111111111110000000011111111000000000000000000000000000000011111111111111110000000000000000111111110000000000000000000000001111111111111111000000000000000011111111111111110000000011110000000000000000000000000000000000011111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000011111111111111110000000011111111000000000000000000000000000000011111111111111110000000000000000111111110000000000000000000000001111111111111111000000000000000011111111111111110000000011110000000000000000000000000000000000011111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000011111111111111110000000011111111000000000000000000000000000000011111111111111110000000000000000111111110000000000000000000000001111111111111111000000000000000011111111111111110000000011110000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000011111111000000001111111111111111000000001111111111111111111111100000000111111111111111111111111111111111111111111111111111111110000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000011111111000000001111111111111111000000001111111111111111111111100000000111111111111111111111111111111111111111111111111111111110000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000011111111000000001111111111111111000000001111111111111111111111100000000111111111111111111111111111111111111111111111111111111110000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000011111111000000001111111111111111000000001111111111111111111111100000000111111111111111111111111111111111111111111111111111111110000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000011111111000000001111111111111111000000001111111111111111111111100000000111111111111111111111111111111111111111111111111111111110000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000011111111000000001111111111111111000000001111111111111111111111100000000111111111111111111111111111111111111111111111111111111110000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000011111111000000001111111111111111000000001111111111111111111111100000000111111111111111111111111111111111111111111111111111111110000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000011111111000000001111111111111111000000001111111111111111111111100000000111111111111111111111111111111111111111111111111111111110000000011111111000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111100000000111111111111111100000000111111111111111100000000000000001111111111111111000000001111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111000000001111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111100000000111111111111111100000000111111111111111100000000000000001111111111111111000000001111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111000000001111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111100000000111111111111111100000000111111111111111100000000000000001111111111111111000000001111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111000000001111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111100000000111111111111111100000000111111111111111100000000000000001111111111111111000000001111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111000000001111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111100000000111111111111111100000000111111111111111100000000000000001111111111111111000000001111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111000000001111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111100000000111111111111111100000000111111111111111100000000000000001111111111111111000000001111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111000000001111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111100000000111111111111111100000000111111111111111100000000000000001111111111111111000000001111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111000000001111111100000000000000001111111100000000000000000000000000000000000000000000000000000000000000000001111111111111111000000001111111100000000111111111111111100000000111111111111111100000000000000001111111111111111000000001111111000000001111111111111111000000000000000000000000111111110000000011111111111111111111111111111111000000001111111100000000000000001111111100000000000000000000000000000000000000000001111111100000000111111110000000011111111000000000000000011111111000000000000000011111111111111110000000011111111000000001111111111111111000000000000000000000001111111111111111111111110000000011111111111111110000000000000000111111110000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000001111111100000000111111110000000011111111000000000000000011111111000000000000000011111111111111110000000011111111000000001111111111111111000000000000000000000001111111111111111111111110000000011111111111111110000000000000000111111110000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000001111111100000000111111110000000011111111000000000000000011111111000000000000000011111111111111110000000011111111000000001111111111111111000000000000000000000001111111111111111111111110000000011111111111111110000000000000000111111110000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000001111111100000000111111110000000011111111000000000000000011111111000000000000000011111111111111110000000011111111000000001111111111111111000000000000000000000001111111111111111111111110000000011111111111111110000000000000000111111110000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000001111111100000000111111110000000011111111000000000000000011111111000000000000000011111111111111110000000011111111000000001111111111111111000000000000000000000001111111111111111111111110000000011111111111111110000000000000000111111110000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000001111111100000000111111110000000011111111000000000000000011111111000000000000000011111111111111110000000011111111000000001111111111111111000000000000000000000001111111111111111111111110000000011111111111111110000000000000000111111110000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000001111111100000000111111110000000011111111000000000000000011111111000000000000000011111111111111110000000011111111000000001111111111111111000000000000000000000001111111111111111111111110000000011111111111111110000000000000000111111110000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000001111111100000000111111110000000011111111000000000000000011111111000000000000000011111111111111110000000011111111000000001111111111111111000000000000000000000001111111111111111111111110000000011111111111111110000000000000000111111110000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000001111111111111111000000000000000000000000111111111111111111111111111111110000000000000000111111110000000000000000000000000000000011111111000000000000000111111111111111111111111000000001111111100000000111111110000000000000000111111111111111100000000000000000000000011111111000000001111111100000000000000000000000000000000000000000001111111111111111000000000000000000000000111111111111111111111111111111110000000000000000111111110000000000000000000000000000000011111111000000000000000111111111111111111111111000000001111111100000000111111110000000000000000111111111111111100000000000000000000000011111111000000001111111100000000000000000000000000000000000000000001111111111111111000000000000000000000000111111111111111111111111111111110000000000000000111111110000000000000000000000000000000011111111000000000000000111111111111111111111111000000001111111100000000111111110000000000000000111111111111111100000000000000000000000011111111000000001111111100000000000000000000000000000000000000000001111111111111111000000000000000000000000111111111111111111111111111111110000000000000000111111110000000000000000000000000000000011111111000000000000000111111111111111111111111000000001111111100000000111111110000000000000000111111111111111100000000000000000000000011111111000000001111111100000000000000000000000000000000000000000001111111111111111000000000000000000000000111111111111111111111111111111110000000000000000111111110000000000000000000000000000000011111111000000000000000111111111111111111111111000000001111111100000000111111110000000000000000111111111111111100000000000000000000000011111111000000001111111100000000000000000000000000000000000000000001111111111111111000000000000000000000000111111111111111111111111111111110000000000000000111111110000000000000000000000000000000011111111000000000000000111111111111111111111111000000001111111100000000111111110000000000000000111111111111111100000000000000000000000011111111000000001111111100000000000000000000000000000000000000000001111111111111111000000000000000000000000111111111111111111111111111111110000000000000000111111110000000000000000000000000000000011111111000000000000000111111111111111111111111000000001111111100000000111111110000000000000000111111111111111100000000000000000000000011111111000000001111111100000000000000000000000000000000000000000001111111111111111000000000000000000000000111111111111111111111111111111110000000000000000111111110000000000000000000000000000000011111111000000000000000111111111111111111111111000000001111111100000000111111110000000000000000111111111111111100000000000000000000000011111111000000001111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011111111000000000000000000000000111111111111111000000000000000000000000111111111111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011111111000000000000000000000000111111111111111000000000000000000000000111111111111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011111111000000000000000000000000111111111111111000000000000000000000000111111111111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011111111000000000000000000000000111111111111111000000000000000000000000111111111111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011111111000000000000000000000000111111111111111000000000000000000000000111111111111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011111111000000000000000000000000111111111111111000000000000000000000000111111111111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011111111000000000000000000000000111111111111111000000000000000000000000111111111111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000011111111111111111111111100000000111111110000000011111111000000000000000000000000111111111111111000000000000000000000000111111111111111111111111000000000000000011111111000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000011111111111100000000000000000000000000000000111111110000000000000000000000000000000011111111000000000000000011111111000000000000000011111111000000000000000111111111111111100000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000000000000000000001111111111110000000000000000000000000000000000011111111111100000000000000000000000000000000111111110000000000000000000000000000000011111111000000000000000011111111000000000000000011111111000000000000000111111111111111100000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000000000000000000001111111111110000000000000000000000000000000000011111111111100000000000000000000000000000000111111110000000000000000000000000000000011111111000000000000000011111111000000000000000011111111000000000000000111111111111111100000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000000000000000000001111111111110000000000000000000000000000000000011111111111100000000000000000000000000000000111111110000000000000000000000000000000011111111000000000000000011111111000000000000000011111111000000000000000111111111111111100000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000000000000000000001111111111110000000000000000000000000000000000011111111111100000000000000000000000000000000111111110000000000000000000000000000000011111111000000000000000011111111000000000000000011111111000000000000000111111111111111100000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000000000000000000001111111111110000000000000000000000000000000000011111111111100000000000000000000000000000000111111110000000000000000000000000000000011111111000000000000000011111111000000000000000011111111000000000000000111111111111111100000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000000000000000000001111111111110000000000000000000000000000000000011111111111100000000000000000000000000000000111111110000000000000000000000000000000011111111000000000000000011111111000000000000000011111111000000000000000111111111111111100000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000000000000000000001111111111110000000000000000000000000000000000011111111111100000000000000000000000000000000111111110000000000000000000000000000000011111111000000000000000011111111000000000000000011111111000000000000000111111111111111100000000000000000000000000000000000000000000000011111111000000001111111111111111111111110000000000000000000000001111111111110000000000000000000000000000000000000001111111111111111111111110000000011111111000000001111111100000000000000001111111100000000111111111111111111111111000000000000000011111111111111110000000000000001111111100000000111111110000000011111111000000001111111100000000000000001111111111111111000000000000000000000000111111110000000000000000000000000000000000000000000000000001111111111111111111111110000000011111111000000001111111100000000000000001111111100000000111111111111111111111111000000000000000011111111111111110000000000000001111111100000000111111110000000011111111000000001111111100000000000000001111111111111111000000000000000000000000111111110000000000000000000000000000000000000000000000000001111111111111111111111110000000011111111000000001111111100000000000000001111111100000000111111111111111111111111000000000000000011111111111111110000000000000001111111100000000111111110000000011111111000000001111111100000000000000001111111111111111000000000000000000000000111111110000000000000000000000000000000000000000000000000001111111111111111111111110000000011111111000000001111111100000000000000001111111100000000111111111111111111111111000000000000000011111111111111110000000000000001111111100000000111111110000000011111111000000001111111100000000000000001111111111111111000000000000000000000000111111110000000000000000000000000000000000000000000000000001111111111111111111111110000000011111111000000001111111100000000000000001111111100000000111111111111111111111111000000000000000011111111111111110000000000000001111111100000000111111110000000011111111000000001111111100000000000000001111111111111111000000000000000000000000111111110000000000000000000000000000000000000000000000000001111111111111111111111110000000011111111000000001111111100000000000000001111111100000000111111111111111111111111000000000000000011111111111111110000000000000001111111100000000111111110000000011111111000000001111111100000000000000001111111111111111000000000000000000000000111111110000000000000000000000000000000000000000000000000001111111111111111111111110000000011111111000000001111111100000000000000001111111100000000111111111111111111111111000000000000000011111111111111110000000000000001111111100000000111111110000000011111111000000001111111100000000000000001111111111111111000000000000000000000000111111110000000000000000000000000000000000000000000000000001111111111111111111111110000000011111111000000001111111100000000000000001111111100000000111111111111111111111111000000000000000011111111111111110000000000000001111111100000000111111110000000011111111000000001111111100000000000000001111111111111111000000000000000000000000111111110000000000000000000000000000000000000000000000011110000000000000000111111111111111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000000000000000000011111111000000001111111100000000111111110000000000000000000000001111111111111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000111111111111111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000000000000000000011111111000000001111111100000000111111110000000000000000000000001111111111111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000111111111111111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000000000000000000011111111000000001111111100000000111111110000000000000000000000001111111111111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000111111111111111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000000000000000000011111111000000001111111100000000111111110000000000000000000000001111111111111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000111111111111111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000000000000000000011111111000000001111111100000000111111110000000000000000000000001111111111111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000111111111111111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000000000000000000011111111000000001111111100000000111111110000000000000000000000001111111111111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000111111111111111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000000000000000000011111111000000001111111100000000111111110000000000000000000000001111111111111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000000000000111111111111111100000000111111111111111100000000111111111111111100000000000000001111111100000000111111110000000011111111111111110000000000000000000000011111111000000001111111100000000111111110000000000000000000000001111111111111111000000000000000000000000000000001111111111110000000000000000000000000000000000011110000000011111111111111110000000011111111111111110000000000000000111111110000000011111111000000000000000000000000000000000000000011111111111111110000000111111111111111111111111000000000000000011111111111111110000000000000000111111110000000000000000000000000000000000000000111111111111111111110000000000000000000000000000000000011110000000011111111111111110000000011111111111111110000000000000000111111110000000011111111000000000000000000000000000000000000000011111111111111110000000111111111111111111111111000000000000000011111111111111110000000000000000111111110000000000000000000000000000000000000000111111111111111111110000000000000000000000000000000000011110000000011111111111111110000000011111111111111110000000000000000111111110000000011111111000000000000000000000000000000000000000011111111111111110000000111111111111111111111111000000000000000011111111111111110000000000000000111111110000000000000000000000000000000000000000111111111111111111110000000000000000000000000000000000011110000000011111111111111110000000011111111111111110000000000000000111111110000000011111111000000000000000000000000000000000000000011111111111111110000000111111111111111111111111000000000000000011111111111111110000000000000000111111110000000000000000000000000000000000000000111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"

i=0
for y in range(0,MAX):
    for x in range(0,MAX):
        if(str[i] == '1'):
            pic.putpixel([x,y],(0,0,0))
        else:pic.putpixel([x,y],(255,255,255))
        i = i+1
pic.show()
pic.save("flag.png")

最后重新拼接四块构造出二维码即可得到flag

某省赛

easydecrypt

首先导出一个word文档

改成黑色后可以看到如下

可以看出减去11后就是flag头,然后括号里面内容我们把大写提出来转小写凯撒,然后插回原队列就可以得到flag:flag{odJjYbUPcOvVRVcgbfZShtmjRZDuvkGc}

看雪

ntfs隐写得到如下文件

然后snow解得flag

来自银河的信号

很明显是sstv,然后栅栏2得到flag:flag{M00nc@ke_Fes7iva1_15_Coming!}

时间刺客附件

文件时间转时间戳,然后转字符串得到flag

steg没有py

stegpy隐写,密码就是文件名,得到如下

eyjd{4e71wf_H1uc3s_15_EEEEpwwl!!}

a,b∈(1,25]
a=x**2;
b=(x-2)**2;
print(a,b)

可以得知有两种结果:a=16,b=4;a=25,b=9

最后仿射密码试出当a=25,b=9时可以得出flag

def get(a, b):
    if b == 0:
        return 1, 0
    else:
        k = a // b
        remainder = a % b
        x1, y1 = get(b, remainder)
        x, y = y1, x1 - k * y1
    return x, y


s = input("请输入解密字符:").upper()
a = int(input("请输入a:"))
b = int(input("请输入b:"))

# 求a关于26的乘法逆元
x, y = get(a, 26)
a1 = x % 26

l = len(s)
for i in range(l):
    cipher = a1 * (ord(s[i]) - 65 - b) % 26
    res = chr(cipher + 65)
    print(res, end='')

# FLAGDWFTZNEFCZPHXRFZVFFFFFUNNYPPB

另一个某省赛?

0101

附件给的就是zip的16进制文本,解压后得到一堆黑白的图,很明显黑1白0转二进制,最后再转字符串得到flag

blue sky

首先可以单独提取rgb三个通道的最低位,得到三个压缩包,接着我们写个脚本改成rgb一起读,得到flag