Created
April 15, 2012 14:06
-
-
Save jtwaleson/2393027 to your computer and use it in GitHub Desktop.
A - Speaking in Tongues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
english = "zq our language is impossible to understand there are twenty six factorial possibilities so it is okay if you want to just give up" | |
googlerese = "qz ejp mysljylc kd kxveddknmc re jsicpdrysi rbcpc ypc rtcsra dkh wyfrepkym veddknkmkrkcd de kr kd eoya kw aej tysr re ujdr lkgc jv" | |
mapping = dict(zip(googlerese, english)) | |
lines = map(lambda x: x.strip(), stdin.readlines()) | |
for i in range(1, len(lines)): | |
print "Case #%s: %s" % (i, "".join([mapping[char] for char in lines[i]])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment