-
Notifications
You must be signed in to change notification settings - Fork 166
Expand file tree
/
Copy pathchnroute.pac
More file actions
183 lines (159 loc) · 126 KB
/
Copy pathchnroute.pac
File metadata and controls
183 lines (159 loc) · 126 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
var proxy = "SOCKS5 localhost:1080";
var direct = 'DIRECT';
var directDomains = ["51cdn.com","8686c.com","acadn.cn","acadn.com","aicdn.com","alibaba.cdn.steampipe.steamcontent.com","aocde.com","assets1.xboxlive.cn","assets2.xboxlive.cn","bbbcdns.com","bluearchive-cn.com","blzdist-d3.necdn.leihuo.netease.com","blzdist-di.necdn.leihuo.netease.com","blzdist-hs.necdn.leihuo.netease.com","blzdist-ow.necdn.leihuo.netease.com","blzdist-phx.necdn.leihuo.netease.com","blzdist-wow.necdn.leihuo.netease.com","bootcdn.cn","bootcdn.net","bootcss.com","bsclink.cn","cdn-ali.content.steamchina.com","cdn-qc.content.steamchina.com","cdn-ws.content.steamchina.com","cdn20.com","cdn30.org","cdnmg.com","cf-china.info","cf-ns.com","cf-ns.net","cf-ns.site","cf-ns.tech","cftest5.cn","cftest6.cn","cftest7.com","cftest8.com","chinanetcenter.com","chuangcache.com","chuangcdn.com","client-update.queniuqe.com","cloudflare-cn.com","cloudflareanycast.net","cloudflarechina.cn","cloudflarecn.net","cloudflareglobal.net","cloudflareinsights-cn.com","cloudflareperf.com","cloudflareprod.com","cloudflarestaging.com","cloudflarestoragegw.com","csgo.com.cn","csgo.wmsj.cn","dfyun.com.cn","dl.delivery.mp.microsoft.com","dl.steam.clngaa.com","dlgslb.cn","dlgslb.net","dota2.com.cn","dota2.wmsj.cn","dwion.com","epicgames-download1-1251447533.file.myqcloud.com","fastcdn.com","fastcdn.com.cn","flxdns.cn","flxdns.com","funcdn.com","globalcdn.cn","gog.qtlglb.com","gstore.val.manlaxy.com","hydun.com","jiashule.com","jiasule.com","leagueoflegends.cn","legendofzelda.cn","legendofzelda.com.cn","lpl.com.cn","lv.queniujq.cn","lxdns.cn","lxdns.com","lxdns.info","lxdns.net","lxdns.org","mariokart.cn","mariokart.com.cn","mcadn.cn","miitomo.com.cn","moutai","mwcdns.com","mwcloudcdn.com","nintendolabo.cn","nintendoswitch.cn","nintendoswitch.com.cn","npsv6.com","oncdp.com","ourdvsss.com","phpcomposer.com","qbox.me","qingcdn.com","qiniu.com","qiniucdn.com","qiniudn.com","qiniudns.com","qiniup.com","qnsdk.com","qnssl.com","qtlcdn.cn","qtlcdn.com","qtlcdn.net","sina","softpedia.com","speedws.info","speedws.org","st-bak.viv.wanwang.space","st.dl.bscstorage.net","st.dl.eccdnx.com","st.dl.pinyuncloud.com","staticfile.net","staticfile.org","steamchina.com","steampowered.com.8686c.com","steamstatic.com.8686c.com","supermariobros.com.cn","supersmashbros.cn","supersmashbros.com.cn","tlgslb.cn","tlgslb.com","tlu.dl.delivery.mp.microsoft.com","trpcdn.net","trts.baishancdnx.cn","ubisoftconnect.eo-edgefunctions7.com","upai.com","upaiyun.com","upcdn.net","uplaypc-s-ubisoft.cdn.ubi.com","uplaypc-s-ubisoft.cdn.ubionline.com.cn","upyun.com","wangsu.com","wmsjsteam.com","wscdns.com","wscdns.info","wscdns.org","wsdvs.com","wsglb.com","wsglb.net","wswebcdn.com","wswebpic.com","xboxlive.cn","xn--mts47c3w9b1qr.cn","xz.pphimalayanrt.com","yostar.cn"];
var domainsUsingProxy = ["agentclientprotocol.com","ai.google.dev","ai.studio","aicode.googleapis.com","aida.googleapis.com","aisandbox-pa.googleapis.com","aistudio.google.com","alkalicore-pa.clients6.google.com","alkalimakersuite-pa.clients6.google.com","ampproject.net","ampproject.org","anthropic.com","antigravity-pa.googleapis.com","antigravity-unleash.goog","antigravity.google","antigravity.googleapis.com","anythingllm.com","arena.ai","bard.google.com","browser-intake-datadoghq.com","cerebras.ai","chat.com","chatgpt.com","chatgpt.livekit.cloud","chatgpt.site","chutes.ai","cici.com","ciciai.com","ciciaicdn.com","clau.de","claude.ai","claude.com","claudemcpclient.com","claudemcpcontent.com","claudeusercontent.com","clawhub.ai","clipdrop.co","cloudaicompanion.googleapis.com","cloudcode-pa.googleapis.com","codeium.com","codeiumdata.com","coderabbit.ai","coderabbit.gallery.vsassets.io","cohere.ai","cohere.com","comfy.org","comfyci.org","comfyregistry.org","copilot-proxy.githubusercontent.com","copilot-stg.com","copilot-telemetry-service.githubusercontent.com","copilot-telemetry.githubusercontent.com","copilot-workspace.githubnext.com","copilot.cloud.microsoft","copilot.com","copilot.microsoft.com","copilotprodattachments.blob.core.windows.net","coze.com","crewai.com","crixet.com","cursor-cdn.com","cursor.com","cursor.sh","cursorapi.com","daily-cloudcode-pa.googleapis.com","deepmind.com","deepmind.google","deepwiki.com","deepwiki.org","developer.apple.com","devin.ai","diabrowser.com","diabrowser.engineering","dify.ai","dola.com","duck.ai","elevenlabs.com","elevenlabs.io","envato-static.com","envato.com","envatousercontent.com","flow.google","gateway.ai.cloudflare.com","geller-pa.googleapis.com","gemini.google","gemini.google.com","gemini.gstatic.com","generativeai.google","generativelanguage.googleapis.com","ggpht.com","githubcopilot.com","gmail","goo.gl","google","googleapis.cn","grazie.ai","grazie.aws.intellij.net","grok.com","grok.x.com","grokipedia.com","groq.com","gstatic","gvt1.com","h2o.ai","hf.co","hf.space","host.livekit.cloud","huggingface.co","jasper.ai","jetbrains.ai","jules.google","jules.google.com","kiro.dev","labs.google","labs.google.com","langchain.com","liveperson.net","lmstudio.ai","lovart.ai","lpsnmedia.net","makersuite.google.com","manus.im","manuscdn.com","marscode.com","meta.ai","midjourney.com","minimax.io","mistral.ai","mozilla.ai","notebook.google.com","notebooklm-pa.googleapis.com","notebooklm.google","notebooklm.google.com","notebooklm.googleapis.com","o33249.ingest.sentry.io","oaistatic.com","oaistatsig.com","oaiusercontent.com","ollama.com","opal.google","opal.google.com","openai.com","openai.com.cdn.cloudflare.net","openai.qualtrics.com","openaiapi-site.azureedge.net","openaiassets.blob.core.windows.net","openaicom-api-bdcpf8c6d2e9atf6.z01.azurefd.net","openaicom.imgix.net","openaicomproductionae4b.blob.core.windows.net","openart.ai","openclaw.ai","openrouter.ai","openspec.dev","oystermercury.top","perplexity.ai","perplexity.com","plannotator.ai","poe.com","poecdn.net","ppl-ai-file-upload.s3.amazonaws.com","pplx-res.cloudinary.com","pplx.ai","proactivebackend-pa.googleapis.com","production-openaicom-storage.azureedge.net","qoder.com","robinfrontend-pa.googleapis.com","servd-anthropic-website.b-cdn.net","sider.ai","sora.com","spicywriter.com","steam-chat.com","steamcommunity-a.akamaihd.net","steamcommunity.com","steamstore-a.akamaihd.net","stitch.withgoogle.com","tapnow.ai","themeforest.net","trae.ai","tripo3d.ai","turn.livekit.cloud","v2ex.com","webchannel-alkalimakersuite-pa.clients6.google.com","windsurf.build","windsurf.com","x.ai","youmind.ai","youmind.com","youmind.site","youtu.be","youtube","ytimg.com"];
var localTlds = [];
var cidrs = '0010010010,0010011110,0010101100,0011101111,0011110110,0110111100,0111000000,0111000101,0111010010,0111010110,0111100011,1011011100,~11,00001000101,00011011110,00100100011,00100100110,00100111010,00101111011,00110001010,00111010001,00111010110,00111011001,00111100000,00111100101,01101110011,01101110110,01101111100,01110000111,01110010111,01110011110,01111010010,01111011010,01111101010,10101111010,10110100011,10110110011,10110111100,11011010010,11011011100,11011100101,11011110001,~10,11011110110,11011111010,000000010101,000010001000,000011100001,000011100111,000011101001,000011101101,000110110001,001001000001,001010101000,~10,001010101101,~10,001010110100,~11,001010111011,001110101111,001110110100,001111001101,011001010001,011001010101,011001011001,011010100001,~10,011010100101,~11,011010101110,011011101011,011011101111,011011111100,011100000101,011100011110,011100100101,011100101101,011100110011,011100111110,011101000001,011101001110,011101010101,011101110111,011101111000,~11,011110000000,~10,011110010001,011110011110,011110101110,011110110111,011110111001,~10,011111001110,011111010010,011111010111,101010110101,~11,101010111101,101011110000,~11,101011111010,101101001010,101101100010,101101101000,110010100110,110010101100,110100100010,110100110101,110110100000,110110101100,110111001100,110111011101,~10,110111100001,110111101000,~11,110111110000,110111110110,110111111001,0000000100011,0000000100111,0000000111000,0000100010011,0000111001101,0001101100001,0001101100101,0001101110011,0001101110111,0010010000101,~11,0010101000110,0010101001011,0010101010110,0010101011000,0010101011111,0010101101010,0010101101101,0010101110001,~10,0011000101110,0011101000010,0011101010000,0011110011001,0011110100110,0110010101000,0110010111000,0110010111100,~10,0110101000111,0110111000111,0110111001010,0110111101001,0110111110100,~10,0110111111010,0110111111100,0111000001100,0111000100000,0111000110001,0111000111110,0111001001100,0111001110011,0111001110101,0111010100001,~11,0111010100100,0111010101000,0111010101110,0111011001001,0111011001110,0111011011111,0111011100100,~10,0111011101100,0111100001000,~10,0111100010000,0111100100001,0111100100100,0111100111000,0111101010001,0111101011110,0111101100001,0111101110000,0111101110111,0111110001001,~11,0111110001110,0111110010000,0111110010100,0111110011001,0111110101101,0111110111011,1000101111001,~10,1010101100001,1010101100101,1010101101101,1010111100010,1011010010001,~11,1011011001010,1011011010010,1011011011001,1011011011110,1011011101000,1011011110100,~11,1100101001110,1101001101000,1101001101100,1101001110001,1101001110100,1101101000010,1101101000111,1101101111011,1101101111100,1101110100000,1101110110110,1101110111001,1101111010101,1101111011110,1101111111010,1101111111110,00000001000011,00000001001100,00000001010001,00000001101101,~11,00000001110011,00001000100100,00011011001001,00011011100101,00011011111000,00100100000001,00100100001000,00100100111110,00100111011001,~10,00101010000001,00101010001110,00101010010101,00101010011001,00101010110011,00101010111101,00101011011001,00101011101010,00101011110000,00101111010111,00110001001101,00110001011110,00110001100110,00110001110100,~11,00110001111010,00110100010100,00111010011101,00111011010100,00111011011011,00111011101011,00111101111010,00111101111100,01010001010001,01100101000001,01100101001010,01100101010010,01100101011010,01100101011110,01100101100001,01100101110011,01100101111011,01101010000001,~11,01101010001101,01101010011011,01101110000100,01101110001010,01101110010110,01101110100110,01101110111001,01101111011100,~10,01101111101011,01110000010000,01110000011100,~11,01110000100000,01110000110000,01110001000011,01110001000110,01110001001011,01110001001100,01110001100001,01110001110011,01110001110111,01110001111110,01110010001111,01110010011010,01110011000110,01110011001000,~11,01110011011001,~10,01110011011110,01110011100101,01110011101101,01110100000001,~10,01110100001101,~11,01110100010011,01110100011100,01110100110100,~10,01110100111101,01110101001010,01110101001111,01110101010011,01110101011111,01110110000111,01110110011110,01110110100001,01110110100100,01110110101101,01110110110001,~11,01110110111000,01110110111101,01110111000001,01110111000101,01110111010101,~10,01110111100100,01110111101001,01110111111110,01111000000110,01111000001101,01111000010011,01111001001010,01111001001111,01111001010001,01111001110011,01111001111110,01111010000001,01111010100111,01111010101111,01111010110000,~11,01111011000001,01111011001101,01111011101101,01111011111010,01111011111101,01111100101011,01111100110111,10101011001001,10101111000110,10101111100101,~10,10101111101111,10110100010110,10110100101110,10110110010110,10110111010111,10110111101011,11010010000111,11010010010010,11010011100100,~11,11011010000110,11011010011000,~10,11011010111100,11011011111011,11011011111101,11011100011100,11011100111110,11011101000010,11011101101011,11011101110000,11011110101000,11011111011100,~11,11011111101000,11011111111110,000000010111010,000000011011100,000000011100101,000010001001011,000011101000001,~11,000011101100010,~110,000110111000000,001001000011000,001001110110001,001010000100100,001010100101000,001010100111100,001010101001111,001010101011100,001010101100101,001010101111001,001010110101100,~11,001010110110001,001010111100010,001100010000011,001100011000110,001101001000001,001101101101111,001110011011000,001110100001100,~11,001110100100001,001110100110010,001110101001101,001111001100001,001111001110100,001111011110110,010100101001110,011001010010001,~11,011001010011000,011001010100110,011001010111110,011001011000001,011001011100100,011001011110100,011001011111100,~10,011001110010000,011010100000100,011010100011000,011010111011000,011011100000011,011011100011010,011011100100000,~100,011011100101111,011011101001110,011011101010011,011011101110110,011011110111010,~111,011011111011101,011100000100101,011100000111010,~101,011100010000100,011100010001000,011100010011011,~100,~111,011100011000000,011100011100001,~100,011100011101011,~101,011100100011011,011100100100000,011100100111001,~10,011100101000101,011100101100010,011100110001110,011100111011111,011101000000001,011101000011100,011101000111010,011101001100001,011101001111001,~100,~110,011101010001011,011101010010110,011101010011000,011101010100100,011101010110010,~101,011101100001100,011101100100000,011101100101000,~10,011101100111110,011101101011101,~11,011101101100101,011101101101010,011101101110010,011101110000000,011101110010110,011101110011110,011101110100111,011101110110110,011101111010001,011101111110100,011101111111111,011110000001111,011110000011000,011110000101101,~11,011110010000010,011110010011000,~100,011110010100110,011110100000110,011110100110000,011110110011100,~10,011110110110000,011110111000101,011110111011001,011110111100010,~111,011111000000111,011111000001000,~11,011111000100000,~10,011111000111111,011111001100000,011111001111101,011111010110000,011111011101001,100010111100010,100010111101110,100010111110001,100011001100111,100101101000101,100110010010001,~10,100110010111011,101010110010001,101011110001111,101011110010101,~11,101011111001001,101011111011101,101101000100111,101101000101010,101101001100101,101101001101000,~10,101101101010111,101101110101010,101101111010100,110010100111100,110100100000110,110100100001101,110100100011010,110100100100110,110100100101001,110100111001011,110110100001110,110110100110110,110110101111010,110110111110100,110110111111001,110111001001101,110111010000111,110111010111101,110111011000001,~100,110111011100010,110111101111100,110111110001010,110111110111010,110111111000000,110111111010011,110111111100000,~11,~101,110111111101110,0000000100000011,0000000100001000,0000000100101101,0000000101110111,0000100010010101,0000111001100111,0001101101100111,0001101110010000,0010010000000001,0010010000100100,0010010000110011,0010010011111110,0010011101100000,0010011101101100,0010100010100010,0010101000111111,0010101001100001,0010101001111010,0010101010011101,0010101010111010,0010101011110000,0010101101011010,~101,0010101101100001,0010101111101100,~10,0011000100000101,0011101000001111,0011101001010011,0011101010010000,0011101101101011,0011101110011011,0011110000110111,0011110000111111,0011110011101011,0011110011110111,0011110011111100,~11,0011111011101010,0110010100100101,0110010100110100,~10,0110010101111110,0110010110000001,0110010111111110,0110011100100010,0110101000000010,0110101000001011,0110101000110010,0110101001001010,0110110111110100,0110111000110000,~11,0110111001001011,0110111101010101,0110111101111100,0110111110101010,0110111111011110,0111000001101111,0111000010000100,0111000100010010,0111000100011111,0111000100111010,0111000111001010,0111000111010001,0111001001000011,~100,0111001001110110,0111001010000100,~11,0111010000000001,0111010000001101,0111010001000101,0111010001010101,0111010001011111,0111010011000000,~110,0111010011001101,~11,0111010011010111,0111010100010101,0111010100110010,0111010100111001,~11,0111010101001011,0111011001000010,0111011001011001,0111011001111110,0111011010110010,0111011010111000,~100,0111011011000000,~11,0111011011100110,0111011011101111,0111011011110010,0111011100000011,0111011100010000,~11,0111011100011101,0111011100101001,0111011100111001,~10,~110,0111011101010000,0111011111111101,0111100001011100,0111100100101111,0111100100110011,0111100101011001,0111100111001001,0111100111111111,0111101000001001,0111101000110000,~11,0111101001110010,~111,0111101011000110,0111101100111011,~110,0111101101100101,0111101110001001,0111101110110001,0111101111111001,0111110000010100,0111110000011111,0111110000101010,0111110001000011,~110,0111110010010111,0111110010011000,0111110011000100,0111110011110010,0111110011111001,0111110101100010,0111110110101001,~11,1000000001101100,1000000100011100,1000000111001100,1000000111010011,1000010011101000,1000011010101111,1000101100001001,1000101110000001,1000101110010100,1000101110011011,1000101110101010,1000101110110000,1000101110111010,~101,1000101111000111,1000101111011001,~11,1000101111100000,1000110001001011,1000110010001111,1000110010110011,1000110011001101,1000110011010010,1000110011100000,1000110011101101,1000110011110000,~11,~110,1000110011111001,~10,~111,1000111001000110,1000111001010110,1000111101000000,1001000000000000,~111,1001000000001100,1001000000110100,1001000001111011,1001000011111111,1001010001000110,1001010100101001,1001011000000000,1001011001110011,1001011001111001,~10,1001011010011110,1001011011011111,1001011011111000,~111,1001100010001000,1001100100000000,~11,1001100101100011,~101,1001110100000000,1001110100010010,1001110100111101,1001110101111010,1001110110010100,1001110110011100,1001110111111111,1001111000111100,1001111001001111,1001111100011011,1001111101001011,1001111111100010,1010000101111000,1010000110111101,1010000111001111,1010001001101001,1010001100000000,1010001101111101,1010001110001110,1010001110110001,~11,1010001111001100,1010001111100100,1010011001101111,1010011110001011,1010011110111101,1010100010100000,1010101010110011,1010111100101100,1010111101100110,1010111110110010,1010111110111001,1011010001001101,1011010001010110,1011010010000010,1011010011001001,1011011000110001,~11,1011011001011100,1011011010011101,1011011011101110,1011011011111110,1011011110101010,1100000101110000,1100101101011101,1101001000010101,~10,1101001000011001,1101001000110011,1101001001001110,1101001110010100,1101001110011001,~10,1101101000011111,1101101011110110,1101101011111001,1101101101001000,1101101101010010,1101101111101011,1101110011101010,1101110011110011,1101110011111100,1101110100001101,1101110110000001,1101110111000110,1101111001111101,1101111111001001,00000001011101101,00001000100101001,00011011001100101,00011011011000111,00011011011100110,00100100000000001,00100111000000001,00100111011000010,00101000011111011,00101010000000011,00101010001111100,00101010010100111,00101010011000001,00101010011110111,00101010100111001,00101010101110111,00101010110010010,00101011010111000,00101011011000001,00101011101011001,00101011111011010,00110001000001000,00111010000011101,00111010010100100,00111010011000111,00111011100101110,00111011101111110,00111100111101011,00111100111111011,00111101000111000,01011110101111110,01100101001000011,01100101001001001,01100101011000001,01100101111110111,01101010000000111,01101010010010110,01101110010011010,01101111010000100,01101111110111011,01110000010010011,01110000011011011,01110001001110110,01110001110100001,01110001110101010,01110010000111000,01110010010000100,01110010011100010,01110010011101110,01110100010000100,01110100010001100,01110100110001001,~110,01110100110011000,01110100110101011,~101,01110100111111101,~11,01110101001100111,01110101001110100,01110101010010101,01110101011110010,~101,01110110010110001,01110110110000011,~100,01110111000000101,01110111000010100,01110111000110111,01110111001010001,01110111001110111,01111000010010001,01111000100010010,01111001001110100,01111001011001001,01111010000000001,01111010000010110,01111010000011100,01111010011100001,~11,~111,01111010100100001,01111011001100011,01111011001110100,01111011011000100,01111011011001110,01111011110001111,01111011111100100,01111100000101011,01111100000111010,01111100010000100,01111100010001110,01111100100100111,01111100111100000,01111100111110000,01111101001110101,01111101001111011,01111101110101010,01111101111111101,10001011100111111,10001011110001101,10011000011010001,10011010000010001,10100010000011101,10101111011010101,10110100010011001,10110100010111111,10110100100000011,10110100101111000,10110110000100100,10110110001101100,10110110001111010,10110110111011001,10111100100000111,11000000100100001,11001011011101111,11001011110000111,11001011110011111,11010010000011101,~10,11010011100101011,11010011100110000,~111,11010100010000000,11010100100000011,11011010000111101,11011010011001001,11011010111101111,11011011010100111,11011011111010101,11011100100110001,11011100111001111,11011100111100101,11011101000011000,11011101110001110,11011110011111101,11011111011110011,11011111111111001,~100,~110,000000010000001001,000000010000010001,000000010000101001,000000010111011001,000010001001010001,000100010101111001,~10,000110110011011011,000110110110101010,000110110111000000,~110,001001000000000001,001001110000000001,001001110110000110,001010000111111001,001010100000000010,001010100110001100,001010100111101101,001010101001110001,001010101011101100,001010111010010001,001010111010110001,001010111010111010,001010111110001010,001010111110010000,001010111110110110,001010111111011000,001011010010100011,001011011111110100,001011011111111001,~10,~100,001100010000010011,001100011110111100,~11,001110100000111001,001110100101011101,001111010001110110,001111010010110110,001111010010111110,001111010101011111,010001000100111100,010001011110011011,~110,010001011110101011,~110,010001111000001111,010001111000010000,010001111000100001,~100,011001010010010000,011001011111101101,011001110001011000,011001110010110100,~10,011001110010111001,011001110100000001,~11,011001111100100111,011001111100101001,011001111101100100,011001111101110110,011001111101111001,~10,~111,011001111110110000,~111,011010100000000001,011010100000001100,011010100100101110,011011100100110000,~11,011011101010110011,~101,011011110100001011,011011110111011101,011100000100100101,011100011101010000,011100100001110010,011100100100001011,011100100100111101,011100100110111001,011100100111000001,~10,011100100111011111,011100101000110110,011100110101010000,~111,011101001100010001,011101001101010101,011101010111100001,~110,011101100001101011,011101100101100001,011101101100001010,011101101101011111,011101110001101101,011101110010100000,011101111001011111,011101111010000111,011101111110101110,011110001000100010,011110010010111000,~11,011110010011011100,011110010011101111,011110010100111110,011110010110010100,011110100000000001,011110100000100011,011110100000111011,011110100011000100,011110100111000000,~101,011110100111001100,011110101001100011,011110101100100001,011110110000000010,011110110011101010,011110110110001111,011111000000011001,011111000001010101,011111000001110011,011111000010100010,011111000010111100,011111000100011110,011111001111000010,011111001111001111,011111001111111000,011111010001111111,011111010011111000,011111011101000000,011111011101011100,100010111011011100,~10,100010111100011000,100100100011100011,101000100000111001,101011000101000111,101011111011100010,101101000100110001,101101001011001011,101101001110100100,101101100011110111,110010100010011001,~11,110010101001010001,110010101011110100,110010110101011000,110010110101101010,110010110101111110,110010110110101100,110010111001010000,110010111001110011,110010111010111111,110010111011000000,110010111011111101,110010111100111101,110100100000111110,110100100001000010,110100100100111101,110100100101011110,110100101011100111,110100111001010100,110100111001100011,110100111001101100,110110100001111001,110110101111011100,110110111110101001,110111000110010111,110111001110011100,110111001110100001,110111001111001001,110111010000110010,110111011100011110,110111111111111011,0000000100000000001,0000000100000001001,0000000100000010001,0000000100000100001,0000000100001010001,0000100010010100000,0001000101011101011,0001000101011110001,~110,0001101101100010111,0001101101101101001,0010010000000000001,0010010000100101000,0010011100000000001,0010011101100001111,0010101000000000001,~111,0010101000000001000,0010101000111110100,0010101001010011011,0010101001100000010,0010101001100011010,0010101001111011000,0010101010011100000,0010101010111011010,0010101110000111111,0010101110100110110,0010101110101100001,0010101111100010001,~10,0010101111100011001,~10,~110,0010101111100110111,0010101111101101111,0010101111101111000,0010101111110000101,~10,0010101111110110010,0010101111110111111,0010101111111000011,0010110101111010000,~10,~101,0010110101111011111,0010110111111000111,0010110111111011101,~10,0010110111111100011,~100,~110,0010110111111101101,~10,0010110111111110110,0010110111111111010,~101,~110,0011000100110011000,~11,0011101000001110001,0011101001000100100,~11,0011110100011101110,0110010101001110001,0110010101100011011,0110010101100101010,0110010101100110010,0110010101101110010,0110010110000000001,0110010111001011100,0110010111101010011,0110010111111011001,0110011100000011011,0110011100010110010,0110011100100011000,0110011100100100101,~10,0110011100100111101,0110011100101101011,~110,0110011100101110001,0110011100111110011,~101,0110011100111111001,0110011101000000001,~101,0110011101000001010,0110011101001000111,0110011101001001000,0110011101010110111,0110011101011001110,0110011101100000101,0110011111000000000,0110011111001000101,~11,0110011111001001001,~101,0110011111001010000,~101,0110011111001011000,~11,0110011111010010101,0110011111010101010,~101,0110011111011010001,~10,0110011111011100101,0110011111011101000,~11,0110011111011110001,~110,0110011111011111001,~10,0110011111101011111,0110011111101100010,0110011111101110101,0110101000000011011,0110101001001011111,0110111001011101001,0110111010100101001,0110111010101101000,~110,0110111011101000001,0110111101000010100,0110111101000100010,0110111101110111100,0110111111101011011,~101,0111000100001011110,0111000100110100101,0111000111010000011,0111001001101111000,~101,0111001001110000001,~110,0111001001110001101,~10,0111001110100110010,0111010011000001001,0111010011000100001,0111010011000111100,0111010011010110001,0111010101001010010,0111011000011010000,~10,0111011001011000001,0111011001111111100,0111011011000001011,0111011011000010110,0111011100000010000,0111011100010010111,0111011100011111110,0111011100101010000,~111,0111011100111111001,0111011110010100101,0111011110100001101,0111100001001000001,0111100010001111100,0111100100101110101,0111100100110100101,~11,0111100100111011000,~10,~101,0111101000001110101,0111101001100110010,0111101001110000010,0111101001110001000,0111101001110011011,0111101100110010101,0111101100111010111,0111101101100011100,0111101101100100000,0111110000010101001,0111110000101000110,0111110001000111110,0111110111010110011,1000101110011111000,~10,1000101110110111010,~111,1000101111000110011,1010000011001010111,1010001000001110000,1010001100110101011,1011000111001001101,1011000111001011011,~111,1011001111101100000,1011010001001100001,1011010010010100111,1011010010010101100,1011010010010110101,1011010011011110111,1011010011011111000,~101,1011010011101001010,1011010011101011010,1011011000010000110,1011011000110000011,1011011000111101100,1011011010100000010,1011011011101111000,1100000010001100101,1100000101110111000,1100101000000100100,1100101000001000100,1100101000111111101,1100101001000110000,1100101001011010011,1100101001011011111,1100101001111010010,1100101001111111100,~11,1100101010000010000,~111,1100101010001101101,1100101010010101001,~101,1100101010010110111,1100101010010111100,1100101010011101110,1100101010011110101,1100101010100100011,1100101010100110111,1100101010101000101,1100101010101010100,~11,1100101010101101111,1100101010110000111,1100101010110100100,1100101010110110110,1100101101010110010,1100101101011000001,~110,1100101101011010110,1100101101011011001,1100101101011100101,1100101101011110000,1100101101011111011,~111,1100101101100100011,1100101101101001011,~100,1100101101101011011,1100101101101110101,1100101101110110110,1100101110000000001,~11,1100101110000010001,1100101110000100001,1100101110000111011,1100101110001110111,1100101110010001000,1100101110011000010,~100,1100101110100000110,1100101110100001110,1100101110100110101,1100101110101000000,1100101110101110011,1100101110101111100,1100101110110000010,1100101110111011101,1100101110111101110,1100101111000000000,1100101111000001111,1100101111000011010,1100101111001101010,1100101111010000001,1100101111010001111,1101001000000010000,1101001000000101000,~100,1101001000001110010,1101001000010111001,1101001000111000110,1101001001001111111,1101001011000000011,1101001110010101011,1101001110011000101,1101001110011011011,1101101000011110000,1101101001100100011,1101101010111001110,1101101011110111011,1101101111101010001,1101110011110010001,1101110110000000101,1101110110000101111,1101110111000111111,1101111101111011111,1101111111111110101,00000001000000010001,00000001000000100001,00000001000001000001,00000001000010100001,00000001011101100001,~11,00001000100101000011,00010001010101011100,00010001010111010011,~100,~1101,00010001010111100001,~1110,00010001111010111010,00011011011000101101,00011011011100000101,00100100000000000001,00100100001001010011,00100111000000000001,00100111011000011101,00101000000000001011,00101010000000001101,00101010000000010010,00101010001111101010,00101010010100110100,00101010011000000111,00101010011000110110,00101010011110110011,00101010100111000011,00101010101110110110,00101011011000000011,~111,00101011101011000001,00101011101011100111,~1101,00101011111000011110,00101011111000100110,~1100,~1111,00101011111000111010,00101011111001011011,00101011111001110010,~101,~110,~1001,~1010,00101011111011011101,00101011111011110010,00101011111100001111,00101011111100010000,~101,~1101,~1110,00101011111100100001,~101,~1001,00101011111101111011,~101,00101011111110000101,~1000,~1011,~1100,00101011111110011001,00101011111111101001,~110,00101011111111110100,00101101010000010001,00101101011100001101,00101101011100010001,~1101,00101101011110011111,00101101011110100110,~1100,00101101011110110011,~100,00101101011111010101,00101101111110000110,~1101,00101101111110010001,~1100,00101101111110100101,~11,~1000,00101101111110111001,00101101111111000001,~10,~1010,00101101111111010100,~10,~1001,~1110,00101101111111100000,~11,00101101111111110110,~1001,~1110,00110001000001001010,00110001111101101111,00111010000011100001,00111010010001001101,00111011100110000001,~100,00111011100110011011,00111101000001000101,~1011,00111101000010001010,00111101000111011110,00111101001011011110,01100101001001000100,01100101011000000001,01100101011001010111,01100101011001100111,01100101011011100110,01100101100000000001,01100101110010111011,01100101111010100101,01100101111110110001,01100111000000111000,01100111000101100111,01100111000111110011,01100111001000110010,01100111001001001110,01100111001001011001,~101,01100111001001111101,01100111001010000001,~10,~1111,01100111001011001011,~111,01100111001011010101,01100111001011100001,~1010,01100111001100001110,01100111001100100011,~111,~1011,~1110,01100111001101011000,01100111001111101101,01100111001111110100,~1010,~1100,~1111,01100111010000010000,~11,~1001,~1010,01100111010000101111,01100111010000110111,~1000,01100111010010000001,~10,01100111010010011000,01100111010010100010,01100111010011111100,01100111010101000001,01100111010101101101,01100111010110010110,01100111010110100111,01100111010111000000,~11,~100,~1011,~1111,01100111010111100010,01100111010111111111,01100111011000001100,01100111011000010001,01100111011000101111,01100111011010111101,01100111100001000100,01100111110000000110,~1000,01100111110000011110,01100111110001101110,01100111110010001001,01100111110010010000,~101,~110,01100111110010100010,~1000,~1100,~1111,01100111110011111100,01100111110101000000,01100111110101010011,~1001,01100111110110000001,~10,~1111,01100111110110011100,01100111110110101100,01100111110111000011,~110,~1000,~1111,01100111110111010010,~1100,01100111110111100000,01100111110111110001,~110,~1001,~1010,01100111111010111000,01100111111011010000,~1011,01100111111011100010,01100111111101000100,01101010000000000001,01101010000000110100,01101010010010111101,01101110001011001001,01101110101011010010,01101111010000101010,01101111010000111100,01110001100000100110,01110010000111001101,~11,01110010010000101000,~11,01110010011011100000,01110010011100001111,01110010011100011001,~110,01110011000111110100,01110011010001010100,01110011011111000001,01110011101110110000,01110100001100100000,01110100001110101000,~101,01110100010110011001,01110100010110100101,01110100110000010001,01110100110001000001,01110100110101001010,01110100110101100100,01110101001101010011,~1011,01110101011001110001,~1000,01110110000110100111,~1010,01110110010000110111,01110110010110111111,01110110011001100001,01110110110000010000,01110111000100101100,01110111000111001111,01110111000111100011,01110111001010000100,01110111001010101000,01110111010010111101,01110111010100101101,01111001000000000001,01111001001101001101,01111001001110101001,01111001001110110011,~1001,01111001011001011101,01111010000010101011,01111010000011101000,01111010011001100000,01111010011100000110,01111010011100010010,01111010011100110101,01111010110010010011,01111010111110000011,01111011011000111011,01111011011011001101,01111011101100000101,01111100001010000111,01111100010001111110,10001011100111110110,10001011101101110111,~1100,10001011110001100101,10011101011101111001,10100010000011100010,10100011001101010000,~11,~1010,10101111011011111001,~10,10110100010011000001,10110100010111100110,10110100110111110011,~1000,10110110001100100111,10110111010110111001,11000000100011001100,11001010000001101011,11001010000010001100,11001010000010100100,~11,11001010000101010011,11001010001001100011,11001010001010011111,11001010001010111001,11001010001011000001,11001010001011010001,11001010001011101110,11001010001011110110,11001010001110011100,~11,11001010001111000111,~1001,11001010001111110101,11001010010000010110,11001010010001010001,11001010010001100110,~1100,11001010010001110010,11001010010010000101,~11,11001010010010011111,11001010010010100101,11001010010010111101,11001010010100001100,11001010010100011011,11001010010101000000,11001010010101011101,11001010010101110101,11001010010110100001,~1110,11001010010110110110,~1011,11001010010111000011,11001010011110100111,11001010011110110110,11001010011111010111,~1011,11001010011111110001,~11,~111,~1100,11001010100000111101,11001010100001010010,11001010100001101000,~101,11001010100010000011,~1101,~1110,11001010100011001001,11001010100011100001,11001010100011110001,~10,11001010100100101010,11001010100100111001,11001010100101000010,11001010100101011110,11001010100101100001,~10,~1100,11001010100110001011,11001010100110010011,11001010101001000000,11001010101001011011,~101,11001010101010001000,11001010101011100100,11001010101100111010,11001010101101010111,11001010101101100010,11001010101111010101,11001010101111110101,11001011000001101110,11001011000011110000,11001011000110011101,11001011001110011110,11001011010011100011,11001011010011110000,11001011010100000010,~1001,11001011010100010001,11001011010100100111,~1110,11001011010100111110,11001011010110110110,11001011011000110001,~101,11001011011001000010,~101,~1100,11001011011010000010,11001011011010110101,11001011011011101101,11001011011100100101,11001011100001111010,11001011100100000111,11001011100101000100,11001011101010111110,11001011101110000101,11001011101111100110,11001011101111110001,~1001,11001011110011011010,11001011110101000000,~101,11010010000011100111,11010011100101010101,11010011100110001000,11010011100110110101,11011100111100100001,11011101100000001001,~101,11011101110001111100,11011111011110111101,11011111110111111011,~100,000000010000000000001,000000010000000100001,000000010000001000001,000000010000010000001,000000010000101000000,000000010111011000001,~101,000010001001010000100,000011100000000000000,000100010101011100000,~11,~1110,000100010101110100001,~11,000100010101110110001,~11,~111,~1001,~1101,000100010101111011110,000110110000000010000,~100,~1010,000110110010001011101,000110110011001000101,000110110011011001001,000110110011011010011,000110110111000001110,000110110111100101001,~111,001001000000000000001,001001000010010100101,001001110000000000001,001001110110000111000,001010000000000011111,001010001100011000010,001010100000000000001,~10,001010100000000011000,001010100000000100110,001010100011111010111,001010100101001101011,001010100110000001100,001010100110001101111,001010100111101100101,001010101001110000101,001010101011101101110,001010110110000001101,001010111001100001111,001010111010110000000,001010111010111011101,~10,001010111110000011001,~10,001010111110000111011,~110,001010111110001001110,001010111110001011010,001010111110001100000,~1100,001010111110001110001,~11,~110,~1111,001010111110010001000,001010111110010110001,~101,~1000,~1011,~1101,001010111110011110001,~110,001010111110110111001,001010111111000000111,~1001,001010111111000010000,001010111111000100010,001010111111000110101,~10,001010111111001000001,~111,~1001,001010111111001010100,~1000,~1011,001010111111001100001,001010111111001110010,001010111111011101011,~100,001010111111011111001,001010111111100000000,001010111111100010010,001010111111100110100,001010111111101000010,~100,~1100,001010111111101010010,~1011,001010111111111000000,~1011,~1110,001010111111111010001,~101,~111,~1000,~1111,001010111111111100000,001010111111111111001,~10,~100,001011010111000011101,001011010111000110010,~1001,001011010111010000100,~1100,001011010111011101000,001011010111100101000,001011010111101000100,~1110,001011010111101011010,001011010111101100100,~1010,001011010111101110000,~11,~101,~110,001011010111110000100,001011010111110101100,001011010111111000110,~1110,001011010111111100001,001011010111111110010,001011011111100001010,001011011111100010000,001011011111100100000,~100,001011011111100111010,001011011111101000100,~1101,001011011111101010010,~111,001011011111101100010,~1011,~1100,~1111,001011011111110000000,~1011,001011011111110011100,001011011111110101010,~110,001011011111110110001,001011011111111000010,001011011111111011100,001011011111111101110,001011011111111110001,~1110,001100010000010010111,001100010011001100111,~1011,001110100000111000000,001110100100000111101,001110100100010010100,~1001,001110111001100000100,~1110,001110111001100101000,001110111001100110101,001111010000111011011,~110,010000100110011011110,011001010010010001011,011001010011001000001,011001010011011111100,011001010110000000000,011001010110010101101,011001010110011001101,011001010110111001111,011001011000000000001,011001011100101110100,011001011110101001000,011001011111101100001,011001110000001011001,~10,011001110000001101011,011001110000001110011,011001110000011111011,011001110000100000000,011001110000100011001,011001110000100111111,011001110001000001010,011001110001001011010,011001110001001100101,~1000,011001110001010101110,011001110001011001101,011001110001011110100,011001110001100100011,~100,~1000,011001110001110110000,011001110001111101000,011001110010010000111,011001110010010011110,011001110010010110001,~100,011001110010011000101,011001110010011011100,011001110010011111001,~100,011001110010100011101,011001110010100110100,~1100,011001110010101001000,011001110010101101100,011001110010101111000,011001110010110001111,011001110010110011001,011001110010110101001,011001110010111010000,~11,~110,011001110010111110001,011001110011000010011,~1011,~1110,011001110011000101001,011001110011000110110,011001110011001001000,011001110011001010001,~1000,~1110,011001110011010001001,~10,~100,011001110011010010100,011001110011010101000,011001110011010111010,011001110011011010100,011001110011100000111,~1001,011001110011101101110,011001110011110110011,011001110011111001001,~10,011001110011111010000,011001110011111101010,011001110011111110110,011001110100000000000,~11,011001110100000010011,011001110100000101101,011001110100001100000,~1101,011001110100001110010,011001110100011101010,~111,011001110100100000110,~1110,011001110100100010000,011001110100101000011,~111,011001110100101010011,011001110100101101011,~101,011001110100110001000,011001110100110011011,011001110100111000111,~1000,011001110100111100011,~101,~111,~1000,~1010,011001110100111111010,011001110101000010110,011001110101000100010,011001110101010110101,011001110101011100000,011001110101100000001,~10,~100,011001110101100101110,011001110101100110111,~1100,011001110101101001101,011001110101101010000,011001110101101111010,011001110101110010101,011001110101110100000,011001110101111101011,011001110101111110001,~1011,011001110110000010011,~1010,011001110110000100001,~1000,~1110,011001110110000110010,011001110110001000101,~1011,~1100,011001110110001010001,~1011,~1100,011001110110001111101,011001110110010000110,011001110110010011111,011001110110010100001,~1111,011001110110010110010,011001110110011010101,~11,~1000,~1010,011001110110011111001,~100,~111,011001110110100000000,011001110110100100000,011001110110100111001,011001110110101000101,011001110110101010000,011001110110110010100,~1010,011001110110111010011,011001110111000001011,~110,011001110111000111101,011001110111010011100,011001110111011000111,~1000,011001110111100001100,011001110111100110100,011001110111101101011,011001110111101111001,~10,011001110111111010000,011001111000001111100,011001111000010001101,~10,011001111000010011010,011001111000011110100,~1000,011001111100000000110,~1011,011001111100000011010,011001111100000100101,011001111100000111011,011001111100010001011,011001111100011011011,~110,011001111100011111111,011001111100100001000,011001111100100010001,011001111100100100010,~1110,011001111100100110011,011001111100101000111,011001111100101010011,011001111100110010001,~10,~1101,011001111100110100101,011001111100110111000,~111,011001111100111110111,~1010,011001111101000000101,011001111101010100101,011001111101010110001,011001111101011011110,011001111101011100100,011001111101100000001,011001111101100011100,011001111101100110111,011001111101101000001,~10,011001111101101011010,011001111101101100011,~100,~1011,~1100,011001111101110001111,011001111101110010010,~1000,011001111101111000011,011001111101111011100,~10,011001111101111101110,011001111101111110000,~110,011001111110000000101,011001111110000011100,011001111110001000111,011001111110001101001,011001111110010111011,011001111110011011001,011001111110011100010,~1000,011001111110101100111,011001111110101110010,011001111110110011110,011001111110110100011,011001111110111000000,~11,~110,~1011,011001111110111110011,~1000,011001111111000110111,011001111111001010101,011001111111010001010,011001111111011000001,~1111,011001111111011110101,011001111111100100001,011001111111100110101,011001111111101011111,011001111111111001000,011001111111111101011,011001111111111110001,011010100000000000001,011010100000001101011,011010100100101111001,011011100010001000101,011011110100001010111,011011110101110011111,011011110111011011001,011011111101111100001,011100001000100100110,011100010001010111101,011100011000001001110,011100011101010010111,011100100001110011101,011100100001111101000,011100100100001010010,011100100111000000011,011100100111000110000,~1111,011100101000110101000,~10,011100101000111010001,011100101100011011111,011101000000000000001,~11,011101000100010010001,~110,011101000101101010111,011101001100000110110,011101001100010000000,011101001100010110100,011101001111111001101,011101010110011100101,~1001,011101010110100010101,011101010111100010111,~1010,~1111,011101010111100111000,011101100001101000101,~10,~1100,011101100001101010001,011101100110011000100,011101100110011110101,011101101100000100110,011101101100001011110,011101110000111110001,011101110001001011010,011101111010000011001,011101111010000101111,011101111010000110000,~10,011101111111110001100,011101111111110011110,011110000101100000001,011110001000100000010,011110010000000000001,011110010010111010000,011110010011001000001,011110010011011010110,011110010011101010001,~100,011110010011101100101,~1110,011110010011101110000,011110010101101101101,011110011100100011000,011110100000100001001,~110,011110100000101010101,~1010,~1101,011110100111000001110,011110100111000100111,011110101000000001111,011110101100100000101,011110101111100000011,011110101111111101000,011110110110001110101,011110110110110010001,011110111111001011000,011110111111111001100,011111000100011111110,011111000110110000001,~101,011111000110110101100,011111001100010100111,100010110000010100111,100010111001111100100,~11,~1111,100010111011011101101,100010111011011111011,100010111100011001001,100100000011000011010,100100101100010001110,100101101111001000000,~110,~1110,100101101111001010100,~11,~1101,~1110,100111010100001001011,100111010111011100001,100111010111011110001,~100,~1000,100111011000010111000,101000000001001111010,101000001100101011011,101000011010001100000,101000100000111000111,101000110011010100101,~1011,101000110011010110000,101010001001111110010,101101000101111000111,~1111,101101001001010000010,101101001001010010011,~1011,101101001011001001110,101101001101001011101,101101001101111100101,101101001101111110011,~1101,~1110,101101100001000010010,101101100001011110111,~1001,101101100011001000001,101101101110110100011,101101110100111010100,101101110101101100101,101101110101101110001,101101111011011000000,110000001000110010000,~1010,110001110100000111000,110010100000010111010,110010100001011011111,110010100010011000001,110010100010011010000,~111,110010100010100110011,110010100011110000110,~1100,110010100011110010001,110010100100000100000,110010100100100000101,110010100100101000001,110010100100110101010,110010100100111000001,110010100100111111100,110010100101010000011,110010100101100100001,110010100101100111101,110010100101110000001,110010100101111100011,110010100101111111110,110010100111101000000,~100,110010100111110000010,110010100111111100000,~101,110010100111111111011,110010101000001100010,~111,110010101000111100111,110010101001001011001,110010101001010111110,110010101010101011011,110010101010101111011,110010101010110100001,110010101011001111110,110010101011010011010,110010101011110110111,110010101011111101001,110010110000000001101,110010110000001001000,~110,110010110000001010100,110010110000001101010,~110,110010110000111111101,110010110001000000010,110010110001011010110,110010110001100100110,110010110100110011010,110010110101001100111,110010110101101000001,110010110101101101111,110010110101111100000,110010110101111111001,110010110110101101001,110010110111011100011,110010111000011011110,110010111001111000010,110010111010000001101,110010111011000010101,110010111100001001111,110010111100010000000,110010111100110110110,~1001,~1010,~1110,110010111101011111101,110100100000011100111,110100111001010101000,110100111001100010011,110100111001101101001,110110100001111000110,110110100110010001011,110110110101101001001,110111001111001000001,110111011000000010001,~1001,~1100,0000000100000001000001,0000000100000010000001,0000000100000100000001,0000000100001010000011,0000000101110110000001,~1001,0000100010010100001011,0000111000000000000011,0000111000000001000000,~110,0000111000000001011011,0000111001100110100000,~1101,0000111011000000001111,0000111011000000010011,0000111100100100010000,~11,0000111101001111010110,0000111101011001101001,0001000101010111000101,0001000101011101111000,0001101100000000101111,0001101100000000110011,0001101101101010110011,0001101101101101011111,0001101101110100001011,0001101110000011110111,0010010000000000000000,0010010011111111011101,0010010011111111100000,~1001,~1011,~1100,0010011100000000000001,0010011101100001110010,0010101000000000000000,~110,0010101000000000110011,0010101000000001001110,0010101000111110101101,0010101001010011010100,0010101001100000011011,0010101001100011011100,0010101001111011001001,0010101010011100001001,0010101010111011011110,0010101101100000001011,0010101101100000010111,~1001,0010101110101100000010,0010101110101110011011,0010101110101110111001,~111,0010101111100000000011,~110,~1011,~1101,~1110,0010101111100000010001,~10,~100,~1001,0010101111100000101000,~100,~110,0010101111100000110110,~1100,0010101111100001010011,~101,~1110,0010101111100001101101,0010101111100001110100,~1111,0010101111100010011110,0010101111100010111011,0010101111100011000010,0010101111100011011010,0010101111100011100100,~1111,0010101111100011111010,0010101111100100010011,~1001,~1101,~1110,0010101111100100100001,~10,~101,~110,~1111,0010101111100100110011,~1100,0010101111100101001010,~100,~110,0010101111100101011000,0010101111100101100100,0010101111100110000101,~1000,0010101111100110010001,~10,~1111,0010101111100110110111,0010101111101101110000,0010101111101111001100,0010101111101111011101,~10,0010101111101111101011,0010101111110000000000,0010101111110000010001,~101,~1111,0010101111110000100010,~111,0010101111110001001100,0010101111110001010011,~1100,0010101111110001101110,0010101111110001111100,~10,0010101111110010001100,0010101111110010010000,~1000,0010101111110010101010,~101,~111,0010101111110010110011,~1111,0010101111110011000001,~100,0010101111110011010110,0010101111110011100000,~10,~111,~1101,0010101111110011111001,~10,~101,0010101111110110011000,0010101111110110111001,0010101111110111000001,~10,~1011,~1100,0010101111110111010001,~11,~101,~1011,~1100,0010101111110111100101,~10,0010101111110111110001,0010101111111000000101,~11,~1100,0010101111111000010011,0010101111111000110100,~1001,~1010,~1101,0010101111111001000001,0010101111111001011110,0010101111111001100001,~10,~1010,0010101111111001110000,~1011,0010101111111010000001,~11,~111,0010101111111010011011,~100,0010101111111010100000,~1000,~1010,~1100,0010101111111010110010,~101,~1011,~1101,0010101111111011000001,~1001,0010101111111011110000,~1010,~1101,0010101111111100001100,~10,0010101111111110000010,~110,~1001,~1011,~1101,0010101111111110010000,~10,~101,~1001,~1010,0010101111111110100000,~1101,0010101111111110110010,~100,~111,~1100,0010101111111111000010,~100,~1100,0010101111111111010101,~1000,0010101111111111100100,~1100,~1110,0010101111111111110000,~1010,~1101,0010110101110000100001,~1111,0010110101110000111001,0010110101110001000011,~1010,~1101,~1110,0010110101110001010010,0010110101110001101010,~100,~110,0010110101110001111100,~11,0010110101110010000000,~1000,~1010,~1101,0010110101110010011000,0010110101110010100010,0010110101110010110001,~10,~1001,~1111,0010110101110011001011,0010110101110011011001,~110,0010110101110011100001,~100,~111,~1001,0010110101110011110010,~101,~1101,~1110,0010110101110100000100,~10,~1101,0010110101110100100011,~110,0010110101110100110100,0010110101110101000010,~101,0010110101110101010001,~1111,0010110101110101111111,0010110101110111001111,0010110101110111010010,~1010,~1101,0010110101110111111010,0010110101111000011001,0010110101111000100011,~1001,0010110101111000111100,0010110101111001001101,0010110101111001010010,~111,~1000,0010110101111001101011,~100,0010110101111010001010,~111,0010110101111010110110,0010110101111011000111,~1011,0010110101111011010110,~1110,0010110101111011100010,~101,~1001,~1110,0010110101111011110011,~101,0010110101111100000000,~101,~111,~1011,0010110101111100010001,~11,~100,~1001,~1111,0010110101111100101011,~100,0010110101111100110100,~1110,0010110101111101000110,~1011,~1101,~1110,0010110101111101010011,0010110101111101100010,0010110101111110011001,~11,~110,0010110101111110110101,~11,0010110101111111100000,~111,0010110111111000000010,0010110111111000010110,0010110111111000110011,0010110111111001000011,0010110111111001011100,0010110111111001101111,0010110111111010000011,~100,~111,~1010,0010110111111010010011,~1000,0010110111111010100110,~1001,~1101,0010110111111010110000,0010110111111011000000,~10,~1101,0010110111111011010101,0010110111111011100011,0010110111111011111000,0010110111111100000011,~1100,0010110111111100010101,0010110111111100101100,0010110111111100111010,0010110111111101010111,~1110,0010110111111101100001,0010110111111101111100,0010110111111110000111,~1010,0010110111111110111011,~100,~110,0010110111111111011110,0010110111111111111110,0011000100000100100000,~1101,0011000110000000000001,0011000111110110111001,~11,0011101110011001000001,~1000,~1111,0011101110011001010010,~111,0011101110011001100010,~110,~1001,0011101110011001110000,0011110100001110110101,0100100010100011111110,0101000110101101000101,0110010100000000000000,0110010100000001000000,0110010100000010101011,0110010100100100010101,0110010100110010001110,0110010100110101011001,0110010101001110000000,0110010101100000000010,0110010101101110011101,0110010110000000000000,0110010111001011101011,0110010111101010010011,0110010111111011000000,0110011100000001000010,~101,~110,0110011100000001010010,~110,0110011100000001101010,0110011100000010011011,0110011100000010100111,~1001,0110011100000011010101,0110011100000011100101,0110011100000100001110,0110011100000100101010,~110,0110011100000100111000,0110011100000101001001,~101,~110,0110011100000101100110,~1010,0110011100000101110000,~1111,0110011100000110010011,~1011,0110011100000110110111,~1001,0110011100000111100011,0110011100000111110101,0110011100001000000010,~1000,~1101,0110011100001000010001,~1011,0110011100001000100111,0110011100001000110111,0110011100001001000010,~110,0110011100001001011011,0110011100001001100110,0110011100001010000000,~100,0110011100001010010101,0110011100001010100011,0110011100001011000100,0110011100001011101010,~101,0110011100001100001000,0110011100001100010111,0110011100001100100010,~1110,0110011100001100111010,0110011100001101000011,0110011100001101011111,0110011100001101110001,~1101,0110011100001110010101,0110011100001110100001,~10,~111,0110011100001110111100,0110011100001111000001,~10,~100,0110011100001111011000,0110011100001111110010,0110011100010000001101,0110011100010000010110,~1011,~1111,0110011100010001001010,0110011100010001010000,~1110,0110011100010001100010,~1000,0110011100010001110011,~1001,0110011100010010110000,~1000,0110011100010011000011,0110011100010011010010,0110011100010011111010,0110011100010100000011,~1000,0110011100010100010001,~1100,0110011100010100100000,~1000,0110011100010100111110,0110011100010101100011,~1100,0110011100010101111100,0110011100010110011001,0110011100010110101111,0110011100010110111001,~111,0110011100010111000010,~1110,0110011100010111101100,0110011100010111111001,0110011100011000000110,0110011100011000011101,0110011100011000100000,~100,~1100,~1110,0110011100011000110111,~1001,~1111,0110011100011001000101,~1010,~1100,0110011100011001100101,~11,0110011100011001110110,0110011100011010000000,0110011100011010010000,~11,0110011100011010100001,~111,~1000,0110011100011010111001,~100,0110011100011011000001,~11,~110,~1110,0110011100011011011000,0110011100011011110101,~1100,0110011100011100000001,~10,0110011100011100101110,0110011100011100110011,~101,0110011100011101000100,0110011100011101100010,0110011100011110000101,0110011100011110011000,~10,0110011100011110100101,0110011100011110111001,~11,0110011100011111000000,0110011100011111100101,~1000,~1010,0110011100011111110010,0110011100100011001100,0110011100100011011010,0110011100100011110111,0110011100100100000111,~1001,0110011100100100010000,~10,~1000,0110011100100100100001,~10,0110011100100101000011,~100,~110,~1011,~1101,~1110,0110011100100101010010,~1001,~1010,0110011100100101101011,~100,~111,0110011100100101111111,0110011100100110000000,~1000,~1110,0110011100100110010011,~101,~111,~1000,~1101,0110011100100110100001,~11,0110011100100110111010,0110011100100111010000,~110,~1001,~1010,0110011100100111111010,0110011100101000000011,0110011100101000010110,0110011100101000110000,~101,~111,~1001,0110011100101001000000,~1101,0110011100101001011101,0110011100101001100011,~101,~110,0110011100101001110111,~1010,0110011100101010000010,~110,~1000,0110011100101010010011,0110011100101010111010,0110011100101011011010,~111,0110011100101011100001,~1110,0110011100101011110100,~11,~1000,~1100,0110011100101100001110,0110011100101100010100,0110011100101100100100,~1010,0110011100101100110000,~1000,~1011,0110011100101101111000,~110,0110011100101110000000,~11,0110011100101110100010,0110011100101110111101,~10,0110011100101111000001,~101,~1001,~1010,~1100,0110011100101111010100,~1000,~1011,~1101,~1110,0110011100101111110101,0110011100110000001101,0110011100110000010111,0110011100110000100101,0110011100110001000011,~101,0110011100110001011000,~11,0110011100110010001001,~11,0110011100110010010010,~1011,0110011100110010100001,~1011,0110011100110010110010,~111,~1110,0110011100110100001010,0110011100110100011010,0110011100110100101011,~100,~110,0110011100110100110001,0110011100110101010111,~1001,~1111,0110011100110101100100,~1101,0110011100110101110011,~1011,~1110,0110011100110110000010,~1100,0110011100110110110101,~1100,0110011100110111010100,~1110,0110011100110111100110,~1011,0110011100110111110011,~100,~1001,~1011,0110011100111000000101,~1000,0110011100111000011001,~10,0110011100111000100011,~110,~1110,0110011100111000110010,0110011100111001000011,~1101,~1110,0110011100111001010011,0110011100111001100010,0110011100111001110001,0110011100111010000110,0110011100111011010011,~1111,0110011100111011100000,~101,~1001,0110011100111100001000,~11,0110011100111100101001,0110011100111100111001,~11,0110011100111101001111,0110011100111101011010,0110011100111101100011,~1000,~1011,~1100,~1111,0110011100111110000110,0110011100111110010110,0110011100111110100111,0110011100111110110000,~11,~1000,0110011100111111010110,0110011100111111100011,~100,~110,~1110,0110011100111111110100,0110011101000000100011,~100,0110011101000001000100,0110011101000001011001,~100,0110011101000001110011,0110011101000010001000,~10,0110011101000010011011,0110011101000010110010,0110011101000011000010,0110011101000011011001,0110011101000011101011,0110011101000011110000,~101,~1111,0110011101000100010000,~110,~1001,0110011101000100100000,0110011101000101000100,0110011101000110000010,0110011101000110100101,0110011101000110111011,~111,0110011101000111000000,0110011101000111010001,~10,~110,0110011101000111100000,~100,0110011101000111110001,~10,~1010,0110011101001000000011,0110011101001000011111,0110011101001000101011,~101,0110011101001001001100,0110011101001001011101,~10,0110011101001001100100,~1010,~1100,0110011101001001110011,~100,~1101,~1110,0110011101001010001100,0110011101001010010100,~1111,0110011101001010100101,0110011101001010110011,~1010,0110011101001011011100,~10,0110011101001011100000,~100,~110,0110011101001100001111,0110011101001100010010,~111,0110011101001100111000,0110011101001101000111,~1101,~1110,0110011101001101010110,0110011101001101100001,~101,0110011101001101110111,0110011101001110011111,0110011101001110101011,~100,0110011101001110110001,~1001,0110011101001111001001,0110011101001111100010,~1111,0110011101010000001011,0110011101010000010010,0110011101010000101110,0110011101010000110000,~10,~1010,0110011101010001000001,~10,~1011,~1100,0110011101010001011000,~110,0110011101010001100101,~1001,0110011101010001110010,~1010,0110011101010010001111,0110011101010010010001,~101,~1010,0110011101010010111000,~11,0110011101010011001011,~101,~111,0110011101010011010000,~10,~1100,0110011101010011101101,0110011101010100000000,~11,~1100,0110011101010100010000,~10,0110011101010101001011,~100,0110011101010101010101,0110011101010101100010,~100,~1001,~1100,0110011101010110000111,~1000,~1111,0110011101010110010100,0110011101010110110011,0110011101010111000101,~1000,0110011101010111011000,0110011101010111100001,~1101,0110011101010111111000,0110011101011000000001,~1111,0110011101011000010000,~10,~1000,0110011101011000101001,0110011101011000110101,0110011101011001000111,0110011101011001100101,~1011,0110011101011010001101,0110011101011010010111,~1001,0110011101011010100110,~1010,~1100,~1111,0110011101011010110000,0110011101011011001001,~10,0110011101011011011011,0110011101011011100110,~1100,0110011101011011110010,~1011,~1111,0110011101011100010100,~10,~1011,~1111,0110011101011100100001,~111,~1001,0110011101011100110000,~1011,0110011101011101000111,0110011101011101010101,0110011101011101100110,~1101,0110011101011101110011,0110011101011110000011,~101,0110011101011110010010,~110,~1101,0110011101011110101000,0110011101011110110010,0110011101011111001101,0110011101011111010001,0110011101011111100000,~100,~110,0110011101011111111000,~11,0110011101100000000010,0110011101100000011111,0110011101100000100010,0110011101100000110110,0110011101100001001001,~10,~110,0110011101100001010010,0110011101100001101111,0110011101100001110000,0110011101100010001100,~10,0110011101100010010100,~1111,0110011101100010100100,~1001,~1010,~1101,0110011101100010110001,~1010,0110011101100011001110,0110011101100011011010,~101,~110,0110011101100011100110,0110011101100011110111,0110011101100100000000,~1000,~1010,~1110,0110011101100100010000,~110,~1101,0110011101100100100100,0110011101100100111011,~100,0110011101100101001111,0110011101100101101101,~10,0110011101100110010011,~100,0110011101100110101101,0110011101100110110010,0110011101100111000011,~100,~1001,0110011101100111010001,~10,0110011101100111101111,0110011101100111110111,~1010,0110011101101000001001,~10,0110011101101000010000,~1010,0110011101101000100110,~1111,0110011101101000111111,0110011101101001000011,~100,~1111,0110011101101001011101,0110011101101001101101,~10,0110011101101001110111,0110011101101010001001,~111,0110011101101010010001,~1000,~1110,0110011101101010101000,0110011101101010110001,~101,~1111,0110011101101011000000,~111,~1000,~1011,0110011101101011010010,~1011,0110011101101011101001,~10,~111,0110011101101011110000,0110011101101100001101,0110011101101100110001,~1000,~1101,0110011101101101000101,~1100,0110011101101101010110,0110011101101101111110,0110011101101110010111,~1101,0110011101101110100001,~10,~1111,0110011101101110110011,0110011101101111010000,0110011101101111101011,0110011101101111111111,0110011101110000010010,~1011,0110011101110000100011,0110011101110001000001,0110011101110001100100,0110011101110001110111,0110011101110010000001,~111,0110011101110010010001,~1001,0110011101110010100101,~1100,0110011101110010110101,~1011,~1100,0110011101110011001101,0110011101110011010001,~111,~1110,0110011101110011100101,0110011101110011111110,0110011101110100001010,0110011101110100010011,~111,~1110,0110011101110100100000,~1110,0110011101110100110111,0110011101110101000100,0110011101110101010110,0110011101110101101111,0110011101110101110111,0110011101110110001101,0110011101110110010010,~110,0110011101110110110101,~10,~1110,0110011101110111000111,0110011101110111100111,~1101,0110011101110111110010,0110011101111000001101,0110011101111000010010,~110,0110011101111000100011,0110011101111000110001,~1000,0110011101111001001101,0110011101111001111111,0110011101111010001100,0110011101111010110000,~1100,0110011101111011000001,~1110,0110011101111011011101,0110011101111011101100,0110011101111100000110,~1100,0110011101111100010000,0110011101111100110101,~10,0110011101111101000101,~1011,0110011101111101100001,~1001,0110011101111101110001,~1011,0110011101111110000000,~100,~1011,0110011101111110011111,0110011110000010100001,~1000,0110011110000010111001,0110011110000011000101,~1001,0110011110000011100110,~1010,0110011110000011111100,0110011110000100001100,~11,0110011110000100010100,~1110,0110011110000100101111,0110011110000101000011,~1010,0110011110000101100000,0110011110000101111010,0110011110000110110001,0110011110000111010100,~1111,0110011110000111100101,~11,~1100,~1110,0110011110000111111011,0110011110001000100000,0110011110001000111010,0110011110001001010011,0110011110001001101101,0110011110001001111011,0110011110001111000100,0110011110001111100001,0110011110010101111101,0110011110010110100000,0110011110011000000111,0110011110011000011110,0110011110100000001000,0110011110100000011100,0110011110100100001010,0110011110100110001101,0110011110110011010011,0110011110111101100110,0110011110111110011101,0110011111000000001110,0110011111000000010101,~1100,0110011111000000100100,~1001,~1111,0110011111000000110110,~1111,0110011111000001011110,0110011111000001100011,~1000,~1111,0110011111000001110000,~101,0110011111000010000100,0110011111000011011010,~100,0110011111000011100110,~1000,0110011111000100010000,~10,~1000,0110011111000100101010,0110011111000101000000,0110011111000101101101,0110011111000101111001,0110011111000110000101,~1111,0110011111000110010000,~10,~1111,0110011111000110100111,~1101,0110011111000110110001,0110011111000111101001,0110011111000111110001,~1001,0110011111001000001101,0110011111001000110000,~111,0110011111001001000111,0110011111001001010000,~11,~1110,0110011111001010100100,0110011111001010110101,~1001,~1011,0110011111001011001000,0110011111001011100000,~11,~1001,~1010,0110011111001011110000,~10,~101,~110,0110011111001100000110,0110011111001100010010,~110,~1100,0110011111001100100110,0110011111001100110001,0110011111001101000001,~1101,0110011111001101011011,~101,0110011111001101100010,~1111,0110011111001101110010,~1011,0110011111001110000000,~1011,0110011111001110100101,0110011111001111011010,0110011111001111110111,~1001,~1010,0110011111010000000011,~100,~111,~1100,0110011111010001011100,0110011111010001100010,0110011111010001110010,~100,~110,0110011111010010011000,0110011111010010100111,0110011111010010110110,0110011111010011001011,0110011111010011011000,0110011111010011100111,~1001,0110011111010011110111,~1000,~1110,0110011111010100001011,~100,0110011111010100010101,~1001,~1011,0110011111010100100101,~1001,0110011111010100110001,~10,~1111,0110011111010101011000,0110011111010101100001,0110011111010101110001,0110011111010110001100,0110011111010110010101,0110011111010110110101,0110011111010111000111,~1011,0110011111010111011001,~11,~101,~110,0110011111010111100011,0110011111011000000001,0110011111011000010000,~1011,0110011111011000100010,~110,0110011111011001101010,~101,0110011111011010000111,0110011111011010110110,0110011111011011010000,~101,0110011111011011101100,~10,0110011111011100010000,~111,~1101,0110011111011100100110,0110011111011100110010,0110011111011101010110,0110011111011110000100,0110011111011110111010,0110011111011111011111,0110011111011111100011,~1111,0110011111100000000000,~1111,0110011111100000110111,~1010,0110011111100010000100,~1010,0110011111100010010100,0110011111100010100001,~111,~1101,0110011111100010110001,0110011111100011001100,0110011111100011010100,~1001,~1110,0110011111100011100001,~10,0110011111100011110001,~11,~101,~1001,0110011111100100000011,0110011111100100010110,0110011111100100100010,~1000,~1100,0110011111100100110011,~100,~1001,~1010,0110011111100101000101,0110011111100101100010,~101,~1011,0110011111100101110101,~1001,~1011,~1100,0110011111100110000000,~111,~1011,0110011111100110011000,0110011111100110110001,~101,~1011,0110011111100111101101,0110011111100111111101,0110011111101000000001,0110011111101000100100,~1111,0110011111101001000001,~1011,~1101,0110011111101001011010,0110011111101001100000,~10,0110011111101001111001,0110011111101010000000,~101,~1110,0110011111101010100000,~1011,~1101,0110011111101010111101,0110011111101011001100,0110011111101011010100,~1001,0110011111101011101110,0110011111101011110000,~10,~111,0110011111101100011000,~110,0110011111101100101110,0110011111101100110111,~1010,~1111,0110011111101101010001,~110,0110011111101101100110,0110011111101110000101,~1110,0110011111101110011000,0110011111101110100001,~11,~100,0110011111101110110001,~11,~1111,0110011111101111000000,~1011,0110011111101111010001,0110011111101111101101,~10,0110011111101111110011,~100,~1000,~1101,0110011111110000000100,~1001,0110011111110000010010,~101,~1111,0110011111110000101011,~111,0110011111110000110010,~1101,0110011111110001000011,0110011111110001010111,~1000,0110011111110001101000,0110011111110001110111,0110011111110010010000,0110011111110010100000,~1000,~1100,0110011111110010110010,~101,~111,~1100,0110011111110011100010,0110011111110011111111,0110011111110100000100,~1111,0110011111110100101001,0110011111110100111010,~111,0110011111110101001101,~11,0110011111110101010100,~1111,0110011111110101100000,0110011111110110100001,~110,0110011111110111101100,0110011111110111110010,~101,0110011111111000011001,~111,0110011111111000100110,~1010,0110011111111000110000,~101,~1000,0110011111111001001101,0110011111111001100000,~10,~100,~1001,~1100,~1111,0110011111111001110000,~1101,~1111,0110011111111010001000,0110011111111010011010,~111,0110011111111010101101,0110011111111010110000,~110,~1000,~1011,0110011111111011001000,0110011111111011010101,~1000,~1111,0110011111111011101000,0110011111111011110000,~11,~1100,0110011111111100000111,~1001,0110011111111100010000,~1000,~1010,0110011111111100101011,0110011111111100110011,~100,~1010,~1110,0110011111111101000001,~1111,0110011111111101110011,~111,~1000,~1010,0110011111111110000010,~101,0110011111111110010011,~1100,0110011111111110101100,~11,0110011111111111010001,0110011111111111101110,0110011111111111110010,~101,~1001,0110101000000000000001,~1011,0110101000000011010100,0110111000101100000011,0110111001001100100001,~111,~1110,0110111001011100010001,0110111101000010101101,0110111111011111000001,~100,0110111111011111111100,~10,0110111111101011100111,0111000100110100111001,0111000100111011111000,0111000111000101011001,~10,0111000111010100011001,0111001000011100110001,0111001001000010100110,0111001001110000000001,~10,~101,0111001001110000111000,0111001001110001100011,0111001100101010001110,0111010011000100000010,0111010011111011011100,~11,0111010101111000100101,~1001,0111010101111000110110,0111011000011010001000,0111011000011010100000,~1111,0111011001100111101001,~100,0111100100101110010011,0111100100111011001000,0111100100111011011000,0111100100111011100010,0111101000001000001101,0111101000001000010001,~1111,0111101000001010101001,0111101000001010110000,~10,~110,~1001,~1100,0111101000001110100100,0111101001110001001101,0111101001110011010000,~11,0111101010000000011001,0111101101100011101000,0111101101101100100001,0111101110001000010110,0111101110110000001111,0111101111111101111100,0111110000101000111100,1000011000110001111100,1000100100111011010110,1000101100000101010100,~11,1000101100000101100000,~1000,1000101100000101110000,~11,~101,~1101,1000101110011111001010,~101,1000101110011111011100,1000101110110111011000,1000101110110111110101,1000101111000110010001,1001000000110000010000,~110,1001000000110000100111,~1101,~1110,1001000000110000110011,1001000100001110010010,1001001011000100001110,1001001011000100010001,~10,~111,~1111,1001011010000001100010,1001011010000001110000,~1111,1001011011110010000010,~111,~1011,~1110,1001011011110010010011,~100,~111,~1000,~1110,1001011011110010100110,~1010,1001011011110010110000,~1000,~1110,1001110100001111011001,1001110101110111000100,~11,1001110101110111100001,~1011,1001110101110111111100,~11,1010000000010011110110,1010000000010100000100,~1100,1010000000010110111101,1010000000011110110001,1010000010111011111111,1010000011001010100101,~10,1010000011001010110101,1010000011111010000100,1010001000001110001101,1010001100101111000001,1010001100110101001001,1010001100110101010000,1010001100110101100010,~1111,1010001100110101111100,1010001111100011010011,1010011111011100111101,1010100010011111100110,1010111101101111101110,1010111110011110011000,1010111110110000100111,~1100,~1111,1011010010111101100101,1011010011001000111111,1011010011010010110101,~1001,1011010011011111100100,1011010011011111110010,~101,~1111,1011010011101001100100,1011010011101011011100,1011011000110010000000,1011011000110110111101,1011011011111111001111,1011011101001110101101,1011011101010001101101,1011011101011011001101,1011011101011011100000,1011011110110110000011,~111,1011100111000000001110,1100000000110111010001,1100000001100110110011,1100000010001100100010,~111,1100000011101000001011,1100011010101111011001,1100101000000100111111,1100101000000101110110,1100101000001110101011,1100101000001110111011,1100101000100110000000,1100101000100110100011,~110,~1001,1100101000101001110001,~10,1100101000101011010011,1100101000101100001100,1100101000110111000101,~10,1100101000111001110101,~10,1100101000111010011100,1100101000111011110101,1100101000111100100001,1100101000111101010001,~11,~110,1100101000111110011100,1100101000111110111110,1100101000111111111110,1100101001000011000000,1100101001001001100000,1100101001001011111111,1100101001001100111111,1100101001001101010111,1100101001001111111110,1100101001010001000000,1100101001010011111111,1100101001010110111111,1100101001011000001000,1100101001011001011000,~11,1100101001011011000000,1100101001011100111111,1100101001011101111111,1100101001011110010111,1100101001111011011101,~10,1100101001111100000110,1100101001111111000011,1100101001111111110101,1100101010000011001100,1100101010001000111110,1100101010001100100011,1100101010001111000001,1100101010001111011001,~10,1100101010010010101111,1100101010010010110001,1100101010010101111110,1100101010010110001110,1100101010010111000000,1100101010011001000000,1100101010100000100011,~111,1100101010100101111111,1100101010101000010100,1100101010101100000000,1100101010101101000000,1100101010101101011100,1100101010101110011111,1100101010110101000010,~111,1100101010111111010001,1100101100000000000001,1100101100000000100001,1100101100000001000001,1100101100000001011001,1100101100000010100110,1100101100000011011000,1100101100000100100110,1100101100000100110100,1100101100000101001101,1100101100001000110101,1100101100001001011000,1100101100001010010101,1100101100001011010011,~101,~1001,1100101100001011100010,~1101,1100101100001011110100,1100101100001100110001,~1100,1100101100001101010111,1100101100001110000110,1100101100001111011100,1100101100001111100111,1100101100010010010010,1100101100010011111001,1100101100010101011000,1100101100010110010111,1100101100010111010111,1100101100010111110011,~1001,1100101100011101011110,1100101100100001000011,1100101100100010110011,1100101100111110111001,1100101101000001111100,1100101101001100101000,~10,1100101101001100110110,~1100,1100101101001101101101,1100101101001110100111,1100101101010000100001,1100101101010001111101,1100101101010011000000,~11,1100101101010110011000,1100101101011001100010,1100101101011100000000,1100101101011111110100,1100101101100100001100,1100101101110010111101,1100101101110110111110,1100101101110111001000,1100101101110111010100,~1101,1100101110000001000011,1100101110010000011000,~11,1100101110010100010100,1100101110010101010111,1100101110011001000000,1100101110100001000000,1100101110100111000111,1100101110101011000000,1100101110111101011100,1100101110111101111100,1100101111000011011101,1100101111000100000111,1100101111001010111011,1100101111001101100101,~1110,1100101111001101111001,1100101111011001101001,1101001000000101001111,1101001110010101010010,1101001110011000100100,1101001110011011010001,1101101000011110001000,~10,~110,1101101101011010010001,1101101111101010000011,1101110010011110111100,1101110011110010000000,1101110110000000100001,1101110110000000110001,~1010,~1101,1101111100011011101110,1101111100011101110100,1101111101111010000001,~11,~101,~111,1101111101111011110001,~11,1101111111111111111011,00000001000000000000001,00000001000000010000001,00000001000000100000000,00000001000001000000001,00000001000010100000100,00000001011101100000000,00000101000010101000101,00001000100101000010101,00001111001000000110100,00001111001001000111010,00001111001010000101000,00010000000000101000111,00010001010101110000101,~10,~1001,00010001010110000110110,00010001011111111000000,00100100001001010010010,00100100001100101110001,~1111,00100111000000000000001,00101000110001100001100,00101010000000001100101,00101011011000000001111,00101011011000000010101,00101011011000000101011,~101,00101011011000000110001,00101011100110000010011,00101011100110000111011,00101011101011000000110,00101011101011101110001,00101011111011111011000,00101011111101100111001,00101011111110101011010,00101011111110110000101,00101011111110110111011,00101101011100110001001,00101101111111000000101,00101110111110000001100,00110001000001001011001,00110001001100110011011,00110001001100111110001,00110001100000000000001,00110001110101010011110,00110001111101101110000,~100,01000010011001101111100,~11,01001000101000111111000,01001010011110100001101,01010001101011010001001,01100101001001000101001,01100101011001010110011,01100101011001100110010,01100111000000101011110,01100111000011000110001,01100111000100101011101,01100111000101010110001,~11,01100111000111010001100,01100111000111011110110,01100111000111111111001,01100111001000111011010,01100111001001101111110,01100111001010001001111,01100111001010001010111,01100111001011001100010,01100111001100001100101,01100111001110000101111,01100111001110110111100,01100111001110111010100,01100111010000011110000,01100111010001010011111,01100111010001100000111,01100111010001101110000,01100111010010110101001,01100111010011111110010,01100111010100011011100,01100111010101001010101,01100111010101011011101,01100111010110100011100,01100111010110110111000,01100111010110111000101,01100111010111011000111,01100111011000001110000,01100111011000010011110,01100111011000100000000,01100111011000110011011,01100111011010011000011,01100111011100101001110,01100111011101001000101,01100111011101010100101,01100111011101101101001,01100111011101111110000,01100111011111011111101,01100111100000111000101,01100111100001000001011,01100111100001101110100,01100111100010010011101,01100111100010011000100,01100111100010100000001,01100111100010101000011,01100111100010101101000,~110,01100111100010101111100,01100111100010110001011,01100111100010110101110,01100111100010111000011,01100111100010111010110,01100111100010111100110,~1010,01100111100011000000111,01100111100011001000110,~1000,01100111100011001100000,01100111100011010000101,01100111100011010011101,01100111100011011000000,01100111100011011011101,01100111100011011111001,01100111100011100001110,01100111100011100011101,01100111100011100101001,01100111100011100110000,~1101,01100111100011101000000,~1101,~1110,01100111100011101010110,~1010,~1101,01100111100011101110101,~11,~1100,01100111100011110100101,01100111100011110111100,~10,01100111100011111010111,01100111100011111110010,01100111100100000100001,~11,~100,01100111100100001000100,~1111,01100111100100010010101,01100111100100010110001,01100111100100011011110,01100111100100100100100,01100111100100100111111,01100111100100101000101,01100111100100101110110,~1110,01100111100100110111110,01100111100100111100111,01100111100101001010111,01100111100101010000011,01100111100101010010110,01100111100101011101001,~11,~110,01100111100101011111001,01100111100101100000101,~1100,01100111100101100100001,~100,01100111100101100111101,~11,01100111100101101001001,01100111100101101010010,~110,01100111100101101100100,~1100,01100111100101101111010,01100111100101111000111,~1010,~1111,01100111100110000011100,01100111100110000100110,01100111100110001001100,01100111100110001010100,~1101,01100111100110001100000,~100,~1000,01100111100110001110000,~1101,01100111100110010111001,~101,01100111100110011000010,~1001,01100111100110011010000,01100111100110100001001,~111,01100111100110100010000,~100,01100111100110100100001,01100111100110101010001,~10,~100,01100111100110110000111,01100111100110110010001,~1000,01100111100110110100110,01100111100110110111100,01100111100110111101011,01100111100110111111100,01100111100111000001110,01100111100111000100010,~111,01100111100111000110100,01100111100111001001111,01100111100111001010111,~1101,01100111100111001110010,01100111100111010001111,01100111100111011010111,01100111100111011101010,01100111100111011110101,~1111,01100111100111100000000,~100,~1000,01100111100111101100100,01100111100111101110000,01100111100111110101000,01100111100111110111101,~10,01100111100111111000011,~111,01100111101000001111010,~111,01100111101000010000111,01100111101000010110011,01100111101000011101000,~110,01100111101000011111111,01100111101000100000101,01100111101000100010000,01100111101000100111010,01100111101000110001110,01100111101000110010000,~111,01100111101000110100101,01100111101000111011010,01100111101001000000010,01100111101001000010000,01100111101001000100000,~110,01100111101001001011001,01100111101001010010110,~1010,01100111101001010101001,01100111101001010110111,01100111101001100001010,01100111101001100011001,01100111101001100101010,01100111101001101000101,01100111101001110000000,01100111101001110010010,01100111101001110110010,01100111101010000110001,01100111101010001010101,01100111101010010011001,~111,01100111101010010110110,01100111101010011010001,01100111101010011100101,01100111101010100000010,01100111101010101000011,01100111101010101101010,01100111101010110010000,01100111101010111101011,01100111101011000010000,01100111101011001010000,01100111101011010110011,01100111101011011011011,~100,01100111101011100101111,01100111101011110111001,~11,01100111101100000011010,01100111101100001101111,01100111101100001111010,01100111101100010001110,01100111101100010010110,01100111101100010100011,01100111101100011010001,01100111101100101111000,01100111101101001110001,01100111101101011110101,01100111101101110001101,01100111101101110100001,01100111101101110111101,~10,01100111101110000010111,~1110,01100111101110010100111,~1000,01100111101110100000010,01100111101110100110110,01100111101110101001111,01100111101110101110010,01100111101111010101110,01100111101111100001010,01100111101111100110100,~1101,01100111101111110110011,01100111101111111111001,01100111110011001101100,01100111110101011110001,~100,01100111110110001001110,01100111110110101011001,01100111110111010011001,01100111110111010101110,01100111111000100111010,01100111111001100110111,01100111111001111011101,01100111111010001010011,01100111111010011010001,01100111111011000111010,01100111111011001111100,01100111111011100001001,01100111111011101001100,01100111111100000010101,01100111111100011010110,01100111111101000001101,01100111111101000011101,01100111111110000000000,01100111111110000100000,01101000110000000110110,01101010000000000000001,01101111010000101011000,01110001110000000010100,01110010000111001100001,~100,~111,01110010011100000000110,~1000,01110010011100001110011,~101,01110010011100011111011,01110100110001000000110,01110100110101010010111,01110100111110110110011,01110110000110101000011,01110111101000011001100,01110111111111001111100,~10,01111001001110110010010,01111001001110110110011,~100,~111,~1111,01111001001110111000111,01111010000010000011101,~10,01111010000010000101000,01111010000010101000010,~100,01111010000010101100111,01111010000011101001011,~100,~111,01111010011100000111100,~11,01111010011100010011000,01111010011100110100011,~101,01111011011000111010011,01111011011011000101100,01111011011011001000001,01111011111111010011010,01111100010001111111101,~11,10000000011010110001100,10000010001001001001001,10000010110101101101101,10000011111001000110000,10001010111111000100100,~11,10001010111111000111011,10001010111111001010001,10001011100111110111010,10001011101101110110011,10001011101101111101000,10001011110001100100001,10010000010011110000010,~101,~1110,10010000010011110010101,~1011,10010000010011110101010,10010000010011111001010,10010110110111100101100,10010110111100101001110,10010111100111100000111,10010111100111100100111,~1000,10010111100111100111101,10011011011111101011000,10011100011010111010000,10011100100110100011111,10011101000010100010001,~10,10011101000010100111000,~11,10011101000010101000001,10011101000010101101101,~10,10011101000010101111011,10011101000011110100101,~1111,10011101000011110110100,10011101000101001000100,10011101000101001100001,10011101000101001111011,10011101010000100010101,10011101010000100100011,10011101010000101010010,10011101010000101111010,10011101100001011011101,10011110100011001111110,10100000000100110100110,~1001,10100000000101001000001,10100000000101100011101,10100000000101100101001,10100000000101101001010,10100000000101101011110,10100000000101101110000,~11,10100000000110010000101,~10,10100000000110011100001,10100000000111100010100,10100000000111101001011,10100000000111101100001,10100000000111101110011,10100000101111110000000,10100000101111110110100,~11,10100000110010100011110,10100000111011000100111,10100000111011001001010,10100000111011001010001,10100000111011001111101,10100000111110100000111,~1100,10100000111110100101010,~101,10100000111110100110011,~100,10100000111110101010000,~101,10100000111110101101011,10100000111110101111110,10100001101000110001110,10100001111110000001010,10100001111110000010101,10100001111110000101010,~110,10100001111110000110111,10100010000001000011011,10100010000001001010100,10100010000001001100011,~101,10100010000001001110011,10100010001111101111000,10100011001101000001110,10100011001101000100110,10100011001111011011001,10100011001111011100101,~1011,10100011100000000001111,10100011100000001001100,10100011100000001110110,~1111,10100011110111110001110,10100011110111110010000,10100011110111110100100,10100011110111110111110,10100011110111111101111,10100011111000110010001,~100,10100011111000110100101,~1000,10100100001101000100101,10100101011001010000010,10100101011001010100001,10100101011001011001000,10100101011001011010101,10100101011001011101000,10100101011001011111010,10101000100111111001110,10101101001001111100100,10110100010111001011000,10110111010110110011000,10110111101101100000100,~1000,~1100,11000000001100111010110,11000000001101110010111,11000000111010000010001,11000010100010101100101,11000110110100000111000,11001010000000000110010,~1101,11001010000000001011000,11001010000000010101011,~101,11001010000000010110111,~1000,11001010000000111000000,11001010000001100000011,11001010000001100100001,~100,~1100,~1110,11001010000001100110111,11001010000001101100101,11001010000010000000001,~10,11001010000010010010001,~1000,~1010,~1101,11001010000011000101010,11001010000011000110001,11001010000011100100000,~101,~111,11001010000011100110100,~10,~1001,~1011,~1110,11001010000011101001111,11001010000011101010101,~1100,11001010000011101101000,~111,11001010000011101110001,11001010000101000101100,~11,11001010000101000111111,11001010000101011001011,~100,11001010000110111000100,11001010001001101000100,~1001,~1011,~1111,11001010001001101010100,~1000,11001010001010000000010,11001010001010001001000,~111,11001010001010010000100,~10,11001010001010011000001,11001010001011001000010,~1001,11001010001011010000000,11001010001011100001000,~10,11001010001011100010010,~111,11001010001011110101001,11001010001011111000001,11001010001101110000000,~1001,~1110,11001010001110100111101,11001010001110110000000,11001010010000010000100,11001010010000101010101,11001010010001010000010,11001010010010101111111,11001010010101000001000,11001010010111110000001,11001010100000110011011,11001010100010000100100,~1000,11001010100100001100010,11001010100100101011100,11001010100101011111110,11001010101001011111000,11001011000000000000101,11001011000000000010101,~11,11001011000000000101001,~101,11001011000000000110000,~1001,11001011000000001000001,~1011,11001011000000010001101,11001011000000010100001,~11,~110,11001011000000010110001,11001011000000100111111,11001011000000101001110,11001011000000101011010,11001011000000101100010,~1011,11001011000000101110001,~110,11001011000000110100100,11001011000001001000010,11001011000001001010111,11001011000001001110011,11001011000001010000010,~100,11001011000001010010111,~1100,~1110,11001011000001010111001,11001011000001011011010,~110,11001011000001011101011,~101,11001011000001101000101,~1011,11001011000001101111100,11001011000001111000101,~1011,11001011000001111100000,11001011000010000101011,11001011000010000110111,11001011000010001010011,~1101,~1111,11001011000010001100011,~1001,11001011000010010010010,11001011000010010100011,~110,11001011000010010110010,11001011000010100100101,11001011000010111000111,11001011000011000100011,11001011000011000110010,11001011000011010010110,11001011000011010101100,11001011000011011110000,11001011000011100111001,11001011000011101100001,11001011000011110001010,11001011000011110101100,11001011000011111000001,11001011000011111111000,11001011000100000000110,11001011000100000011001,11001011000100001011101,11001011000100010100101,~1100,11001011000100011011111,11001011000100011111100,11001011000100100000001,11001011000100100011000,11001011000100100101000,11001011000100100110010,11001011000100101000010,11001011000100110010110,~1110,11001011000100111011001,11001011000100111111100,11001011000101000010100,11001011000101000101010,11001011000101000110101,~1011,~1111,11001011000101001000101,11001011000101010000000,11001011000101011000100,11001011000101100001110,11001011000101100111101,11001011000101101111001,~110,11001011000101110011111,11001011000101111000110,11001011000101111011101,11001011000101111110001,11001011000110000101000,~10,11001011000110000111101,11001011000110001001100,11001011000110001011101,11001011000110001101010,11001011000110010001010,11001011000110010100000,11001011000110011001101,11001011000110011010111,11001011000110011100101,11001011000110100011100,11001011000110100110011,11001011000110101001010,~111,11001011000110101100101,11001011000110110001011,11001011000110110111101,11001011000111000010001,11001011000111001011001,11001011000111001110001,11001011000111010000100,11001011000111011011011,11001011000111011111111,11001011000111100001000,11001011000111101110100,~1000,~1101,11001011000111110011011,11001011000111110110110,11001011000111111101111,11001011000111111111100,11001011001000000011000,11001011001000000100010,~1010,11001011001000001011101,11001011001000001100110,11001011001000011001111,11001011001000011100101,~11,~1011,11001011001000011110000,11001011001000100011000,~100,11001011001000101001100,11001011001000101100000,11001011001101110000001,11001011001101110111010,11001011001101111000000,~1001,11001011001101111101101,11001011001110000011000,~10,11001011001110000100010,~1001,~1010,11001011001110001010110,11001011001110001101000,11001011001110010000110,11001011001110010100011,11001011001110011111011,~111,11001011010100000000010,11001011010100001000111,11001011010100100000000,~1010,11001011010101100110010,~100,~1010,11001011010101101111111,11001011010110010000100,~11,11001011011000110000100,~11,11001011011010110100011,11001011011011101110100,11001011011101110111001,~101,~111,11001011100000001110001,11001011100000010000101,11001011100100000110101,11001011100101000101011,11001011101010100011101,11001011101111010000000,~11,11001011101111110000000,11001011110000110111000,11001011110011011000001,~10,~1100,~1111,11001011110011011101100,11001011110011011110001,11001011110111110001011,11010010000001010011101,11010010010101110100100,11010010010101110111001,11010011100110001001011,11010011100110110100001,11011010000111100010010,~111,~1110,11011010101110011111011,11011011111010100000101,11011100111100100000010,11011100111101111000100,~11,11011101100000001100000,11011101100000001110111,11011111011110100001001,~101,11011111111111111111110,000000010000000000000001,000000010000000100000000,000000010000001000000010,000000010000010000000001,000000010000101000001011,000000010001001010000000,000000010111011000000011,000001010000101010001100,~11,000010001001010000101001,000011110010010001001011,000011110010010001100101,~10,000011110010100001010011,000011111110011000101001,000011111110011000110001,000011111110011010001101,000100010101011100001001,000100010101011100010001,000100010101011111110101,000100010101100001001011,000100010111111110000010,001001000010010100100111,001001110000000000000000,001010001100011000001010,001010001111101111100001,~11,001010100000000011001001,001010110110000000000110,001010110110000000100101,~10,~1001,001010110110000001001111,001010110110000001010010,~1001,001010111001100000010000,001010111001100000101110,001010111001100000110000,001010111001100010001101,001010111001100010100101,~11,001010111001100010111101,~11,001010111001111101000010,~100,~1011,~1100,001010111001111101011100,001010111001111101100101,001010111010110000001110,001010111010111001101011,001010111010111011001010,001010111010111111011111,001010111110111110110011,001010111111001000110101,~10,001010111111011001110000,001010111111101001101011,001010111111101100001001,001011000001111001111000,001011010111100010110110,001011010111100111010111,001011011111110000001001,001100011000000000000000,001101101111000011100000,001111111000110000000000,~11,010000100110011011111011,~100,010000100111011110010101,010001011010001101101000,~10,010001011010001101111011,010100011010110100011100,010101111111111011001111,010111011011011100001110,010111011011011100010010,011001010110010101100100,011001010110011001100110,011001110000110110010001,~11,011001110001010000101110,011001110001011010011101,011001110001100100001001,011001110001110100011101,011001110001111111101101,~11,011001110010001101110101,~11,011001110010100010101101,011001110010100101111111,011001110010110011000111,011001110011000111000101,011001110011000111010100,~10,011001110011111000110101,~11,011001110100011011100011,011001110100100101100011,011001110101101000110011,011001110101101010101101,011001110101110001010110,011001110110000111100101,011001110110001100110101,011001110110010000111110,011001110110100110000101,011001110110101011001010,011001110111010010010110,011001110111010101001001,011001110111011010101101,011001110111011101110011,011001110111011111100011,011001110111100111111010,011001110111110111111001,011001111000000100110111,011001111000010010100001,011001111000100100111100,011001111001000101011101,011001111001001001011011,011001111001010100010001,011001111001101101100101,011001111010000110001011,011001111010100111011000,011001111010101110100110,011001111010111111000101,011001111011010001101100,011001111011101010100010,011001111011111001000111,011001111100110110100010,011001111110000100010010,011001111110011110111001,011001111110100110110010,011001111110101101010101,~11,011001111110110011111010,011001111111010001110111,011001111111010100010111,011001111111011110111111,011001111111101110000001,~11,011010001100000001101110,011010100000000000000000,011011010100011100000100,011011110100001010110010,011011111101110100011100,011100011100000000111001,011100100001110011000001,~1011,~1101,011100100001110011100001,~110,011100100111000011100100,011100100111000111110010,011101001100010000001110,011101001101010100101100,011101001111101101011111,011101001111101101101001,011101001111101101110101,~11,011101100001101010000101,011101101100001011100011,011101110001110000011100,011101111111110011111010,~111,011110010010111010001101,011110010011101100100111,011110010011101101100101,~1011,~1100,011110010011101101111001,~11,~101,011110010011101110001101,011110100000100000000000,011110100000100000010111,011110100000100000111001,~111,011110100000101010000001,~11,011110100000101011001101,011110100000111010010100,~1011,~1101,011110100111000001111010,~101,011110100111000100110011,011110100111001101001000,011110110110001110100100,011111001001011010001001,100001001110110110000110,100010010011101100111011,100010101111110001100000,100010111011011101100101,100010111011011111010011,100011001111001011011111,100011001111001011100000,100100000010010010010011,100100010000111001000111,100100010000111001010001,~10,~100,~110,~1000,~1010,100100101101111001001111,100100101101111001010001,~1110,100100110100111010000100,~10,100101101101111001000000,100101101111001011010100,~11,100110100100100000101100,~11,100111000110101110101010,100111000110101110110011,~101,100111010001010000100001,100111100001101011000000,~10,100111101000110011111111,101000000101001101101110,101000001011101111011111,101000001100101000111110,101000001110110011101011,101000011111100001110000,101000011111100010001000,101000100011111011110010,101000110011110100111111,101000111101111111011001,101000111111010011110110,101001000011010000000101,101001000011010000111101,101001000011010001000010,~1110,101001000011010001010000,~101,101001000011010001100011,101001010110010101000110,101010001001111110011110,101100101110110011101010,101101001101111111000100,101101100011001000000110,101101110101000110101100,101101110101101100100101,~11,101101110101101100110010,~1000,~1101,~1111,101101111011011000001011,101101111011011000010111,~1010,101110010000001000110000,~11,101110010100101110101101,~10,110000000001011110111111,110000000011100001100011,110000000111110010011010,110000001000100100011111,110000001010001100001011,110000001110100001100001,110000101000101010001000,110000101000101011110101,110001101101000000010001,~11,~1110,110001101101000000111101,~11,110001101101000001000011,110001111011011011101111,110001111111010010010000,110010100000000010110010,110010100000000101101001,~10,110010100000011001010111,110010100000011001100111,~1100,110010100000011001110010,110010100000100000000000,~1100,110010100000100000011000,110010100000100001001101,110010100000100100100000,110010100000100100110011,~110,~1001,110010100000110000000001,~10,110010100000110000010001,~10,110010100000110001001000,110010100000110001100000,~1010,~1111,110010100000110001110100,110010100000111001000101,~1001,~1100,110010100000111001011000,110010100000111001100001,~1111,110010100000111001111111,110010100000111010000001,~111,~1000,110010100000111010010101,~11,~1101,110010100000111010101001,110010100000111010110000,110010100000111011010101,~1011,~1100,110010100000111011100001,~111,~1011,110010100000111011110110,~1011,110010100001010001000010,~1111,110010100001010001010111,~1010,110010100001010001110010,~101,~1000,~1101,110010100001010110000011,~100,~1101,~1110,110010100001010110010011,~100,~1010,~1100,110010100001101100001100,~10,110010100010010011100010,110010100010011010010101,~1100,110010100010011010101010,110010100010100000000111,~1111,110010100010100010000111,~1000,~1100,~1111,110010100010100010010110,~1011,~1100,110010100010100010100010,110010100010100100001011,110010100010100110000000,~1110,110010100010100111000000,110010100010110001000011,~1010,110010100010110001100001,110010100010110010000001,110010100010110100000010,~1111,110010100010111000010010,110010100010111000100011,~110,~1000,~1011,~1100,110010100010111010000000,110010100010111101111110,110010100010111110000000,110010100011010000100001,~10,~1111,110010100011010010001111,110010100011010110001100,~11,110010100011011100000100,110010100011011100011111,110010100011101000000000,110010100011101111101100,110010100011101111110000,110010100011110101111011,~111,110010100011111011111100,~11,110010100011111111111101,110010100100001010101001,110010100100101000100100,~1010,110010100100101000110100,110010100100110011110111,110010100101010000010110,110010100101011011111001,110010100101100101110111,110010100101101000100101,110010100101101011000001,~100,~1101,110010100101111001001010,110010100101111001010001,110010100101111100000000,110010100111101010000100,110010100111110101101011,~101,110010101000000111010000,110010101000001000100111,110010101000011000111010,110010101000100011111111,110010101000100111100111,110010101001000011000110,110010101001001010111010,110010101001010111111111,110010101001011100100001,110010101001100100000111,110010101001111011110010,110010101010001001000011,~1011,110010101010010111101111,110010101010010111110011,~101,~1011,110010101010101111101000,~11,110010101010110000000111,110010101010110100000110,110010101011111100000000,110010110000000000010010,~1000,110010110000000000101101,110010110000000001010001,110010110000000001111010,110010110000000010000000,~1001,~1110,110010110000000010010000,~10,~100,~1000,110010110000000010110001,110010110000000011100000,110010110000000100010010,110010110000000101000001,110010110000000101011010,110010110000000101100001,~1100,110010110000000111111101,~10,110010110000001001001001,110010110000001010001100,110010110000001010010110,110010110000001011010001,110010110000001011100101,110010110000001101000100,~1011,110010110000001101101001,110010110000001101111000,~11,110010110000001110000111,~1011,~1111,110010110000010010000110,110010110000010010010111,110010110000010010110100,~1010,110010110000010011001101,110010110000010011100011,110010110000010100000111,~1011,110010110000010100010101,~10,110010110000010100101100,110010110000010101110110,~1000,110010110000010110101100,110010110000010110110110,~1001,~1010,~1110,110010110000010111000011,110010110000011010000011,~1000,~1110,110010110000011010011101,~11,110010110000011110000001,110010110000011110010011,~1110,110010110000011111001000,110010110000100000000000,~1000,110010110000100000010111,~1001,110010110000100001000110,110010110000100001010010,~1011,110010110000100001110011,110010110000100010101001,~101,110010110000100010111000,110010110000100011000000,~101,~1011,110010110000100011010001,~1001,~1100,110010110000100100100000,110010110000100100111001,~111,110010110000100101000001,~1000,~1011,110010110000100101101100,110010110000100110011110,110010110000101000100010,110010110000101000111000,110010110000101001011000,~111,110010110000101001111101,110010110000101101000110,110010110000101101010010,110010110000101101101101,110010110000101101110101,~1010,~1110,110010110000101110001101,110010110000110000010000,~11,~1000,110010110000110000111001,110010110000110001000001,~10,110010110000110001010111,~1011,~1101,~1111,110010110000110001100111,110010110000110001110010,~110,110010110000110010000010,~1001,110010110000110011010011,~1011,110010110000110011100010,110010110000110100010010,~1000,110010110000110101010001,110010110000110110101101,110010110000110111100011,~1001,110010110000111000100001,110010110000111000111000,~101,~110,110010110000111001101000,110010110000111001110110,110010110000111010100010,110010110000111011000000,110010110000111011010110,110010110000111011100111,110010110000111011110110,110010110000111100010110,110010110000111101010111,110010110000111101101001,110010110000111101110111,110010110000111110010101,~11,110010110000111110101110,110010110000111111100011,110010110000111111110110,110010110001000000001010,110010110001000000011011,110010110001000000100110,110010110001000000110001,~1010,~1111,110010110001000010000101,110010110001000010100001,~10,110010110001000011100100,~1110,110010110001000011110000,~101,110010110001000100000010,110010110001000100010010,~1100,110010110001000100100111,110010110001000100111000,110010110001000110001000,110010110001000110100100,110010110001000110111011,110010110001000111100111,~1001,110010110001000111111111,110010110001001000000100,~11,110010110001001000011111,110010110001001000100101,110010110001001000110100,110010110001001001010111,110010110001001001101001,~11,~110,110010110001001010000001,~11,110010110001001010010000,~1001,110010110001001011000111,110010110001001011010000,~11,~111,110010110001001100000001,110010110001001100010010,~1000,~1110,110010110001001100100100,~11,~1001,~1110,110010110001001100111010,110010110001001101000000,~100,~1000,110010110001001101100101,~1111,110010110001001110000011,~101,110010110001001110010000,~11,~101,~1100,110010110001001110110000,110010110001001111010000,110010110001001111101001,110010110001001111110010,~1111,110010110001010000010001,110010110001010000101100,110010110001010000110000,~1101,110010110001010001000001,110010110001010001011001,110010110001010001110011,~101,~1010,110010110001010010000111,110010110001010010010110,110010110001010011100110,~1000,~1100,110010110001010100000010,~1000,~1010,110010110001010100010010,110010110001010100100001,~10,~1001,~1100,110010110001010101000100,110010110001010101010010,110010110001010101111100,110010110001010110010001,110010110001010111001110,110010110001011000011000,~111,110010110001011001000100,~1100,~1110,110010110001011001010100,~11,110010110001011001100011,~1010,110010110001011010000011,110010110001011010100011,~110,~1010,110010110001011011000010,110010110001011011110101,~10,110010110001011100000000,110010110001011100101111,110010110001011100111101,110010110001011101001001,110010110001011101010101,110010110001011101100010,~1011,110010110001011101110000,110010110001011110000010,110010110001011110101100,110010110001011110110110,110010110001011111000000,~101,~110,110010110001011111100000,110010110001011111111001,~11,110010110001100000001101,110010110001100000010010,~1011,110010110001100000101011,110010110001100000111000,~10,110010110001100001000011,~1010,~1111,110010110001100001010110,~1010,110010110001100001101111,110010110001100001110000,~100,110010110001100010010001,~1101,110010110001100010100001,~111,110010110001100011000111,~1010,110010110001100011011001,~11,110010110001100011110100,110010110001100100010011,110010110001100100101110,110010110001100101011011,110010110001100101100011,~100,~1010,110010110001100110000011,~111,~1010,110010110001100110010011,~1001,110010110001100110100100,~10,110010110001100110110100,~10,~1111,110010110001100111000111,~1000,110010110001100111100101,~1011,~1100,110010110001100111110010,110010110001101000001100,110010110001101000100010,110010110001101000110001,~10,~111,~1100,110010110001101001000001,~100,~1100,110010110001101001010000,~100,110010110001101001100001,110010110001101001110011,~100,110010110001101010000001,~1111,110010110001101010010000,~1010,110010110001101010101010,~101,110010110001101010110000,~1001,110010110001101011010010,~110,~1110,110010110001101011100000,~100,~1000,110010110001101100000000,~1010,~1111,110010110001101100010000,~100,110010110001101100101000,~101,110010110001101100110101,110010110001101101000001,~10,110010110001101101010001,~1000,110010110001101101100110,~1101,110010110001101101110101,~1001,~1101,110010110001101111001000,~10,110010110001101111101001,110010110001101111110001,~1010,110010110001110000001010,~100,110010110001110000100001,~1011,~1100,110010110001110000110110,~1000,110010110001110001001001,~10,~100,110010110001110001010110,~1000,110010110001110001110000,110010110001110010000011,~1000,~1100,110010110001110010010001,110010110001110010100101,~1001,~1010,110010110001110010111001,~11,110010110001110011000100,110010110001110011101111,110010110001110100000010,~1101,~1110,110010110001110100011100,110010110001110100101110,110010110001110100111001,~101,~111,110010110001110101000101,~1001,110010110001110101010001,~1010,~1111,110010110001110101100100,~11,110010110001110101110000,110010110001110110111011,~101,~110,110010110001110111001101,110010110001110111010010,~1001,110010110001110111100011,~111,~1001,~1010,110010110001110111111000,110010110001111000011001,~11,~101,110010110001111001000010,110010110001111001010001,~111,110010110001111001101111,110010110001111001111001,~11,110010110001111010011000,~100,110010110001111010100010,~1101,~1111,110010110001111010111011,110010110001111011000010,110010110001111011011001,~100,~110,110010110001111011101011,110010110001111011110110,110010110001111100101101,~10,110010110001111100110001,~11,110010110001111101000101,~1000,110010110001111101010000,~101,110010110001111101100001,~1001,~1010,110010110001111101111100,110010110001111110100010,~1110,110010110001111110110001,~101,~1011,~1101,110010110001111111001100,110010110001111111011100,110010110001111111100001,~101,110010110001111111111101,110010110010000000010100,110010110010000000111000,~100,~110,110010110010000001001100,110010110010000001010001,~1111,110010110010000001100110,~1001,110010110010000010000010,~101,~1100,110010110010000010011000,110010110010000011000000,~100,~1011,110010110010000011010100,110010110010000100000100,~11,~1011,110010110010000100010101,~1010,110010110010000100100000,110010110010000100111111,110010110010000101000000,~11,~100,~1001,~1111,110010110010000101100100,110010110010000101111010,110010110010000110000001,~11,110010110010000110010001,~1100,110010110010000110101110,110010110010000110111001,110010110010000111001000,~100,110010110010000111100010,~1001,110010110010000111110011,~1010,110010110010001000000100,110010110010001000010101,~1011,110010110010001000100111,110010110010001000110110,110010110010001001000011,~101,~1100,110010110010001001011100,110010110010001001101010,110010110010001001110001,110010110010001010010011,~110,110010110010001010100001,~10,110010110010001010111011,110010110010001011000011,~110,110010110010001011101000,110010110010001011110000,~10,~101,~1011,110010110011011100000100,~1010,~1101,110010110011011100010110,~1110,110010110011011101011101,110010110011011101100101,~1101,~1110,110010110011011101110111,110010110011011111000000,~100,110010110011011111011101,110010110011011111100000,110010110011100000000001,~100,~1100,110010110011100000011000,110010110011100000100110,~1000,~1110,110010110011100000110011,~110,110010110011100001011111,110010110011100001101110,110010110011100001111001,110010110011100010100001,~1001,~1111,110010110011100010110111,~1001,~1011,110010110011100011000000,~110,~1001,110010110011100011010010,~110,~1000,110010110011100011100011,~100,~111,~1000,110010110011100011110000,~1100,~1110,110010110011100100000101,~10,110010110011100100011100,110010110011100100100111,~1110,110010110011100100111010,~101,110010110011100101000010,~101,~1001,110010110011100101011010,110010110011100101100101,~1101,110010110011100101111011,110010110011100110011101,110010110011100111001000,~10,~110,110010110011100111011110,110010110011100111111001,~101,110010110011111000000010,110010110011111010000011,~1011,110010110011111010100001,110010110011111011000101,110010110011111011101010,110010110011111011110110,110010110101000000111001,110010110101000010000001,~1100,110010110101000100000001,~10,~101,110010110101001000010000,~110,110010110101011001100110,~1011,~1100,~1110,110010110101011001110000,~10,~1000,110010110101011011111010,110010110101100100001101,110010110101100110000101,110010110101100110010000,110010110101110000000110,110010110110001100001100,110010110110010000110101,~11,~1010,~1100,~1111,110010110110101101000101,110010110110111011101010,110010110111011011110001,110010110111011101010101,110010110111011101110001,~1001,110010110111101100111010,110010111000000011100001,~100,~111,110010111000000100001000,110010111000111011011011,110010111001000001100100,~10,110010111010000010000001,110010111010000110110100,~11,110010111010101111010000,110010111010111000000100,~10,110010111011100110111101,110010111011111011111001,110010111011111100000010,~101,~111,110010111011111110000101,110010111100001101110010,110010111100100110110101,~10,110010111100110110011010,~100,110010111100110110111101,~10,110010111100110111100001,110010111101111100010000,~101,110011000011011110100000,110011100110110101001011,110100100000010100111000,110101011100011110101001,110110100001111000100110,~1101,110110101011100111110000,~10,~100,110111001111001000000110,110111011000000011000010,110111110001110111111100,~11,0001000101010101001000100,0001000101010101101001001,0001000101010111000100001,0011010001011101111100101,0111010011111011011010001,~100,0111010011111011011101100,~10001,1001001111110011011001110,1100001000111101111011010,00010001010101110001000001,01110100111110110101101101,~11001,~11011,01110100111110110110100001,~1011,~1110,~10000,~11010,01110100111110110111010000,~10,01110100111110110111100001,10010011111100110001110111,~1001,10101100111000010011001101,10101100111000010011101001,10101100111000010101000000,10101100111000010111111000,10101100111000011011010111,000100010101011100010000001,000100010101011110010001110,000100010101100001110110000,001010000100110111101100111,001010000100110111111110010,001011010111100010110100100,001101000101111011111001000,011010000001110001000010001,011010000001110001000101001,011010000001110001100011000,011010000001110001100101000,011010000001110001110101001,011010000001110001111000001,011101001111101101010100110,011101001111101101011000100,~1011,~1100,~1110,~10000,~10011,~10110,011101001111101101011110001,~100,011101001111101101101000000,~10100,~11110,011101001111101101101110010,~110,011101001111101101110100011,~10100,~10111,011101001111101101111000001,100100111111001100011110100,101011001110000100111010001,101011001110001000101111000,101011001110001010001010010,101011001110001010110100011,~100,101011001110001011010110010,0000110101101000101110000101,0001000101010111100100000001,0001000101011000000000100001,0010100001001101100010000111,0100001111011100100010011001,0110100000011100010100110001,~11,0110100000011100011101010101,0110100000011100011110000101,0111010011111011010110000110,~11010,~11110,0111010011111011010110100101,~1000,~1011,~1110,~10001,~10010,~11000,~11110,0111010011111011010111010111,~1101,0111010011111011010111100001,~1010,0111010011111011011001011011,0111010011111011011010000010,0111010011111011011010101011,~10000,~10011,~10100,~10111,~11110,0111010011111011011011000100,~1001,~1010,0111010011111011011011100001,~10,~110,~1111,0111010011111011011101000101,~1100,~1111,0111010011111011011101101011,0111010011111011011110000001,1000001111111101000011000101,1000101110001010111011100000,1001000010110010000111100011,1010110011100001110010000010,1100000111001000110111101010,1100101010100011000000011010,00010001010101010000011001000,00010001010111100000001111111,00110100010111011111001001111,01000001011000010011011111111,01011101011100010110110100001,~11,~1101,~10001,~10011,~11101,01100111111010000001000110101,01101000000111000010101100101,~10,01101000000111000100001001000,~10,~100,01101000000111000100010101000,~10,~100,01101000000111000101001100001,~100,01101000000111000110001100100,~10,~1000,01101000000111000110010100100,~10,~1000,01101000000111000111010101000,01101000000111000111100001000,01101000000111001101000010000,01101000000111001101000111100,01101000000111001111000010000,01101000000111001111000111100,01110100111110110101010010111,~1101,~1110,01110100111110110101100000101,~10,~1001,~1010,~1110,~10110,~11001,01110100111110110101100100010,~110,~1000,~1011,~10111,~11110,01110100111110110101101000100,~10,~10101,01110100111110110101101100111,~10010,~11011,~11110,01110100111110110101110100110,~1101,~10000,~10011,~10100,~10110,~11001,01110100111110110101111000001,~10110,01110100111110110110010010111,01110100111110110110010111111,01110100111110110110101100101,~1100,~11110,01110100111110110110110001010,~101,~10110,~11001,01110100111110110110110110011,~101,~1010,01110100111110110110111000110,~1110,~11101,01110100111110110110111100000,~100,01110100111110110111010001001,~11010,~11101,01110100111110110111011010100,~1011,10000011111111010000110000000,~11110,000011111111100000000101111001,010000001110101111100110100110,011001110001100001010011111011,011010000001110000101011001001,011010000001110001000010010011,~110,011010000001110001000101010011,~110,011010000001110001010011000001,~1010,~10001,~10010,011010000001110001100011001011,~110,011010000001110001100101001011,~110,011010000001110001110101010011,~1001,~1010,011010000001110001111000010011,~1001,~1010,011010000001110011000000000100,~100001,~110010,011010000001110011000001001001,~11010,011010000001110011000011000101,~110001,011010000001110011000101011000,011010000001110011000110101011,011010000001110011000111110010,011010000001110011001100101110,011010000001110011001111111110,011010000001110011010000000111,~10001,~100010,~100101,011010000001110011010001111110,011010000001110011010011000010,~1011,011010000001110011010100100001,~10,011010000001110011010101101011,~10010,011010000001110011011000001101,~10,~100001,~100010,~110000,011010000001110011011011001100,~11100,011010000001110011011100110100,011010000001110011011101000001,011010000001110011011110001111,011010000001110011011111010011,~101001,~101101,~110010,011010000001110011100000000100,~100001,~110010,011010000001110011100001001001,~11010,011010000001110011100011000101,~110001,011010000001110011100101011000,011010000001110011100110101011,011010000001110011100111110010,011010000001110011101100101110,011010000001110011101111111110,011010000001110011110000000111,~10001,~100010,~100101,011010000001110011110001111110,011010000001110011110011000010,~1011,011010000001110011110100100001,~10,011010000001110011110101101011,~10010,011010000001110011111000001101,~10,~100001,~100010,~110000,011010000001110011111011001100,~11100,011010000001110011111100110100,011010000001110011111101000001,011010000001110011111110001111,011010000001110011111111010011,~101001,~101101,~110010,011101001111101101010100101010,~101,~11001,~11110,011101001111101101011000001001,~111,~10000,~11111,~101001,~101111,~110000,~110100,~111000,~111101,~111111,011101001111101101011001000001,~10,~1001,~1011,~1110,~10010,~10101,~101101,~111110,011101001111101101011010001010,~111,~10010,~100100,~111101,011101001111101101011011110101,~1110,011101001111101101011101001011,~10010,~10110,~100010,~101010,011101001111101101011110000001,~101111,011101001111101101100100000001,~110101,~111101,011101001111101101100101000001,~10,~1000,~11010,~100101,~100110,~110101,~111011,~111101,011101001111101101101000001100,~11,011101001111101101101010101000,011101001111101101101011000100,~11,~1001,~10100,~10111,~11010,~111110,011101001111101101101100011000,~100,~101111,~110001,011101001111101101101101001001,~10100,~10110,~11000,~11011,~11110,~100001,~100010,~100100,~101000,~101100,~101111,~110000,~110011,~110110,~111010,~111101,~111110,011101001111101101101110011111,011101001111101101101111000010,~100,~1100,~10011,~10101,~10110,~11100,~100101,~110001,~110010,011101001111101101110100010001,~110110,011101001111101101110110110000,~101,011101001111101101111000000001,~11,110010101010001100001000010100,0000010110011010100110110011011,~101,0000010110011010100111000010011,~101,~1001,~1011,0001000101010101001001100100100,0001000101010111010010001110000,0001000101010111100010101010000,0001000101011000010010010000000,0001000101011000010100001010000,0001000101011000011000001001000,0001000101011000011010000100000,0001000101011000011100000111111,0001000101011110000000110000000,0110011100011000010100111110100,0110100000011100000010010010111,0110100000011100001001010010110,0110100000011100010000100001000,~111,~100101,~101110,~110100,0110100000011100010001010001111,~100101,~101110,~110100,0110100000011100010100110000001,~10111,~100000,~100110,0110100000011100011000110010100,~1111,0110100000011100011001010010100,~1111,0110100000011100011101010100100,~10001,0110100000011100011110000100100,~10001,0110100000011100100011110011011,0110100000011100101000101011111,0110100000011100110000000000111,0110100000011100110000001000001,~100011,0110100000011100110000010010001,~110011,0110100000011100110000110001001,0110100000011100110000111100001,0110100000011100110001010101111,0110100000011100110001101011000,0110100000011100110001111100110,0110100000011100110011001011011,0110100000011100110011111111110,0110100000011100110100000010000,~100001,~111111,0110100000011100110100001001100,0110100000011100110100011111011,0110100000011100110100110000011,~10101,0110100000011100110101011010101,~1000,~100110,0110100000011100110110000011110,0110100000011100110110001011111,0110100000011100110110110010111,~1010,~110111,0110100000011100110111001101010,0110100000011100110111010000001,0110100000011100110111100100000,0110100000011100110111110101000,0110100000011100110111111010001,~1001,~100110,0110100000011100111000000000111,0110100000011100111000001000001,~100011,0110100000011100111000010010001,~110011,0110100000011100111000110001001,0110100000011100111000111100001,0110100000011100111001010101111,0110100000011100111001101011000,0110100000011100111001111100110,0110100000011100111011001011011,0110100000011100111011111111110,0110100000011100111100000010000,~100001,~111111,0110100000011100111100001001100,0110100000011100111100011111011,0110100000011100111100110000011,~10101,0110100000011100111101011010101,~1000,~100110,0110100000011100111110000011110,0110100000011100111110001011111,0110100000011100111110110010111,~1010,~110111,0110100000011100111111001101010,0110100000011100111111010000001,0110100000011100111111100100000,0110100000011100111111110101000,0110100000011100111111111010001,~1001,~100110,0110100000101100110101010000000,0111010011111011010000011000110,0111010011111011010000100010101,0111010011111011010011110000110,0111010011111011010101001110001,0111010011111011010110000011101,~100011,~101100,~101110,~111101,0111010011111011010110001010001,~101,~111,~1101,~100011,~101010,~101101,~110011,~110101,~111000,~111100,0111010011111011010110010000000,~110,~10100,~11110,~100110,~101000,0111010011111011010110011011000,0111010011111011010110100100001,0111010011111011010110111001110,~10011,~10101,~11011,~11101,~100011,~100101,~100111,~101001,0111010011111011010111000000000,~10,0111010011111011010111010000101,~1111,~10001,~10011,0111010011111011010111101011101,0111010011111011011001000000100,~1010,~1100,~100100,~101010,~101101,~101110,~110001,~110010,~110100,~111011,~111101,~111110,0111010011111011011001001000100,~11011,~101110,~110101,~111001,~111111,0111010011111011011001010000110,~1001,~1010,~1100,~11010,~11111,~100100,~100111,~101010,~101101,~101110,~110001,~110010,~110110,~111011,~111101,~111110,0111010011111011011001011001001,~10000,~101001,~101110,~110101,~111001,0111010011111011011010000011010,~101,0111010011111011011010101010011,~101,~111,0111010011111011011010110001011,~101,~10001,0111010011111011011011001100001,0111010011111011011011010010001,~100,~100000,0111010011111011011011100011100,~11,0111010011111011011011101110000,~11,0111010011111011011011110011010,0111010011111011011011111010010,~101011,~101101,~101110,~110101,~110110,0111010011111011011101001101111,~10001,~10011,0111010011111011011101101010100,~10,1000011001001011011010110000101,~11,1000110011111000001000010000001,1001001001001011101110110000001,1001001001001011101111010000001,1001001001001011110001000000000,1100101110100000010001101100010,~1000,00010001010110001100111111000000,00010001010111100000000000010110,~110110,00010001010111100000000001011101,01100111000110000101001111111001,~10,~101,01100111001101110000010100100011,01100111001101110000010101001001,01100111100111101101111011110001,01101000000111000000100100110000,01101000000111000100001000001111,01101000000111000110001100101010,01101000000111001001010011001100,01101000000111001001110011001100,01101000000111001100000000001101,~10100,01101000000111001100000010001000,01101000000111001100000011000101,01101000000111001100000100100001,01101000000111001100000101100101,~1100,01101000000111001100001100011000,01101000000111001100001111001000,01101000000111001100010101011101,~100100,01101000000111001100011010101011,01101000000111001100011111001110,01101000000111001100110010111100,01101000000111001100111111111110,01101000000111001101000000011011,01101000000111001101000001001000,01101000000111001101000010001100,~10011,01101000000111001101000111111100,01101000000111001101001100001100,~101001,01101000000111001101010111000111,01101000000111001101100000111110,01101000000111001101100010111101,01101000000111001101101101101101,01101000000111001101110011001111,01101000000111001101110100001000,01101000000111001101111000111011,01101000000111001101111001000010,01101000000111001101111101001011,01101000000111001101111110101000,~10001,01101000000111001101111111001110,01101000000111001110000000001101,~10100,01101000000111001110000010001000,01101000000111001110000011000101,01101000000111001110000100100001,01101000000111001110000101100101,~1100,01101000000111001110001100011000,01101000000111001110001111001000,01101000000111001110010101011101,~100100,01101000000111001110011010101011,01101000000111001110011111001110,01101000000111001110110010111100,01101000000111001110111111111110,01101000000111001111000000011011,01101000000111001111000001001000,01101000000111001111000010001100,~10011,01101000000111001111000111111100,01101000000111001111001100001100,~101001,01101000000111001111010111000111,01101000000111001111100000111110,01101000000111001111100010111101,01101000000111001111101101101101,01101000000111001111110011001111,01101000000111001111110100001000,01101000000111001111111000111011,01101000000111001111111001000010,01101000000111001111111101001011,01101000000111001111111110101000,~10001,01101000000111001111111111001110,01101000000111101010000100001011,01101000110101000100010000111001,~10,01101000110101000100010001100110,01101000110101000100010010010111,~1000,01110100111110110100010000001111,01110100111110110110010010110101,01110100111110110110010011010011,~100000,~100010,~111101,01110100111110110110110100100001,~1010,~11111,01110100111110110110110101000010,~10111,~11111,01110100111110110110110110000011,~1111,~10111,~100111,~111011,01110100111110110110110111100111,~10011,10001011010111110000010000100010,11001100010011111000011100011000'.split(',');
function isIpAddress(ip) {
return /^\d{1,3}(\.\d{1,3}){3}$/.test(ip) || /^([0-9a-fA-F]{0,4}:){1,7}[0-9a-fA-F]{0,4}$/.test(ip);
}
function RadixTree() {
this.root = new Map();
}
RadixTree.prototype.insert = function(string) {
var node = this.root;
for (var i = 0; i < string.length; i++) {
var char = string[i];
if (!node.has(char)) {
node.set(char, new Map());
}
node = node.get(char);
}
};
RadixTree.prototype.search = function(string) {
var currentNode = this.root;
var isLastNode = false;
for (var i=0; i < string.length; i++) {
var char = string[i];
if (currentNode.has(char)) {
currentNode = currentNode.get(char);
isLastNode = currentNode.size === 0;
} else {
break;
}
}
return isLastNode;
}
function ipToBinary(ip) {
var bin = ''
// Check if it's IPv4
if (/^\d{1,3}(\.\d{1,3}){3}$/.test(ip)) {
bin = ip.split('.').map(function(num) {
return ("00000000" + parseInt(num, 10).toString(2)).slice(-8);
}).join('');
} else if (/^([0-9a-fA-F]{0,4}:){1,7}[0-9a-fA-F]{0,4}$/.test(ip)) {
// Expand the IPv6 address if it contains '::'
var parts = ip.split('::');
var left = parts[0] ? parts[0].split(':') : [];
var right = parts[1] ? parts[1].split(':') : [];
// Calculate the number of zero groups to insert
var zeroGroups = 8 - (left.length + right.length);
// Create the full address by inserting zero groups
var fullAddress = left.concat(Array(zeroGroups + 1).join('0').split('')).concat(right);
// Convert each group to binary and pad to 16 bits
bin = fullAddress.map(function(group) {
return ("0000000000000000" + parseInt(group || '0', 16).toString(2)).slice(-16);
}).join('');
}
// 不要删除前导零!保持完整的二进制字符串以便与CIDR前缀匹配
return bin;
}
function isInDirectDomain(host) {
for (var i = 0; i < directDomains.length; i++) {
var domain = directDomains[i];
if (host === domain || host.endsWith('.' + domain)) {
return true;
}
}
return false;
}
function isInProxyDomain(host) {
for (var i = 0; i < domainsUsingProxy.length; i++) {
var domain = domainsUsingProxy[i];
if (host === domain || host.endsWith('.' + domain)) {
return true;
}
}
return false;
}
function isLocalTestDomain(domain) {
// Chrome uses .test as testing gTLD.
var tld = domain.substring(domain.lastIndexOf('.'));
if (tld === domain) {
return false;
}
return localTlds.some(function(localTld) {
return tld === localTld;
});
}
/* https://github.com/frenchbread/private-ip */
function isPrivateIp(ip) {
return /^(::f{4}:)?10\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(ip) ||
/^(::f{4}:)?192\.168\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(ip) ||
/^(::f{4}:)?172\.(1[6-9]|2\d|30|31)\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(ip) ||
/^(::f{4}:)?127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(ip) ||
/^(::f{4}:)?169\.254\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(ip) ||
/^f[cd][0-9a-f]{2}:/i.test(ip) ||
/^fe80:/i.test(ip) ||
/^::1$/.test(ip) ||
/^::$/.test(ip);
}
function FindProxyForURL(url, host) {
if (isInDirectDomain(host)) {
debug('命中直连域名', host, 'N/A');
return direct;
} else if (isInProxyDomain(host)) {
debug('命中代理域名', host, 'N/A');
return proxy;
} else if (isPlainHostName(host) || host === 'localhost' || isLocalTestDomain(host)) {
debug('命中本地主机名或本地tld', host, 'N/A');
return direct;
} else if (isPrivateIp(host)) {
debug('命中私有 IP 地址', host, 'N/A');
return direct;
}
ip = isIpAddress(host) ? host : dnsResolve(host);
if (!ip) {
debug('无法解析 IP 地址', host, 'N/A');
return proxy;
} else if (isPrivateIp(ip)) {
debug('域名解析后命中私有 IP 地址', host, ip);
return direct;
} else if (radixTree.search(ipToBinary(ip))) {
debug('匹配到直连IP', host, ip);
return direct;
}
debug('未命中任何规则', host, ip);
return proxy;
}
var allowAlert = true
function debug(msg, host='', ip='') {
if (!allowAlert) {
return
}
try {
alert('[' + host + ' -> ' + ip + '] ' + msg);
} catch (e) {
allowAlert = false
}
}
var radixTree = new RadixTree();
(function () {
debug('开始生成 Radix Tree', 'PAC文件载入开始');
var lastFullPrefix = '';
for (var i = 0; i < cidrs.length; i++) {
var prefix = cidrs[i];
// 解压缩:如果以~开头,则从lastFullPrefix中还原
if (prefix.substring(0, 1) !== '~') {
lastFullPrefix = prefix;
} else {
// 计算公共前缀长度
var suffix = prefix.substring(1);
var prefixLen = lastFullPrefix.length - suffix.length;
prefix = lastFullPrefix.substring(0, prefixLen) + suffix;
}
// 直接使用二进制字符串插入(无需转换)
radixTree.insert(prefix);
}
debug('Radix Tree 已生成', 'PAC文件载入完毕', cidrs.length.toString() + '个CIDR条目');
})();