-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.py
3 lines (3 loc) · 1.84 KB
/
main.py
1
2
3
import base64,codecs
main = "aW1wb3J0IG9zLHN5cwppbXBvcnQgcmVxdWVzdHMKaW1wb3J0IGpzb24KCnVybCA9ICJodHRwOi8vaXAtYXBpLmNvbS9qc29uLyIKciA9ICdcMDMzWzE7MzFtJwplID0gJ1wwMzNbMG0nCm9zLnN5c3RlbSgnY2xlYXInKQpwcmludCAoJycnClwwMzNbMTszM20KICBfX19fXyBfX19fXyAgICAgICAgICAgX19fX19fXyBfX19fXyAgICAgICAgICAgIF9fX19fIF8gIF9fX19fX19fIF9fX19fICAgCiB8XyAgIF98ICBfXyBcICAgICAgICAgfF9fICAgX198ICBfXyBcICAgICAvXCAgIC8gX19fX3wgfC8gLyAgX19fX3wgIF9fIFwgIAogICB8IHwgfCB8X18pIHwgXC0tLS0tXCAgIHwgfCAgfCB8X18pIHwgICAvICBcIHwgfCAgICB8ICcgL3wgfF9fICB8IHxfXykgfCAKICAgfCB8IHwgIF9fXy8gICBcLS0tLS1cICB8IHwgIHwgIF8gIC8gICAvIC9cIFx8IHwgICAgfCAgPCB8ICBfX3wgfCAgXyAgLyAgCiAgX3wgfF98IHwgICAgICAgICAgICAgICAgfCB8ICB8IHwgXCBcICAvIF9fX18gXCB8X19fX3wgLiBcfCB8X19fX3wgfCBcIFwgIAogfF9fX19ffF98ICAgICAgICAgICAgICAgIHxffCAgfF98ICBcX1wvXy8gICAgXF9cX19fX198X3xcX1xfX19fX198X3wgIFxfXCAKIAogICAgICAgICAgIDwtLS1bIFwwMzNbMzVtYnkgSGFja2VyU005IHwgTWFkZSBJbiBJbmRpYSB8IHYuOTguN1wwMzNbMG0gXDAzM1sxOzMzbV0tLS0+CjEpIFlvdXIgSVBcbjIpIFRyYWNrIElQXG4zKSBNb3JlIFRvb2xzXG40KSBBYm91dFxuNSkgVXBncmFkZVxuXDAzM1swbScnJykKcHJpbnQocisiPj4+IEV4aXQgdG9vbCBbIENUUkwgKyBaIF0gPDw8IFxuIitlKQoKaXAgPSBpbnQoaW5wdXQoIlwwMzNbMTszNm1FbnRlciBZb3VyIENob2ljZSAkIFwwMzNbMTszNm0iKSkKaWYgaXAgPT0gMToKICAgIAlvcy5zeXN0ZW0oJ2NkIC5zcmMgJiYgcGhwIC5pcC10cmFjZXIucGhwJykKaWYgaXAgPT0gMjoKICAgIAlwcmludCgiIikKICAgIAlvcy5zeXN0ZW0oJ2NkIC5zcmMgJiYgcHl0aG9uMyB0cmFjay1pcC5weScpCQppZiBpcCA9PSAzOgogICAgCW9zLnN5c3RlbSgneGRnLW9wZW4gaHR0cHM6Ly9naXRodWIuY29tL0hhY2tlclNNOScpCmlmIGlwID09IDQ6CiAgICAgICAgb3Muc3lzdGVtKCdjZCAuc3JjICYmIHB5dGhvbjMgLmEucHknKQppZiBpcCA9PSA1OgogICAgCW9zLnN5c3RlbSgnYmFzaCB1cGRhdGUnKQkKZWxpZiAoaXAgPj0gNik6CiAgICBwcmludChyKyJJbnZhbGlkIE9wdGlvbiDDk+KVreKVrsOSIitlKQplbHNlOgogICAgcHJpbnQoIlwwMzNbMTs0Nm1cbkRvbmUgIVwwMzNbMG0iKQogICAgcHJpbnQoIlxuIik="
magic = eval(compile(base64.b64decode(eval('\x6d\x61\x69\x6e')),'\x3c\x73\x74\x72\x69\x6e\x67\x3e','\x65\x78\x65\x63'))