junk = "ghGDakGsdDhggkHjahsghasdkgFSSoGDS"
letter_to_find = 'o'
junk = "l" + junk + "l" # in case the sequence in question is
# at the edge of the string
bitstr = "".join(str(int(x.isupper())) for x in junk)
letter = junk[bitstr.index('011101110') + 4]
print("Letter = %s. Correct? %s" % (letter, letter == letter_to_find))
anVuayA9ICJnaEdEYWtHc2REaGdna0hqYWhzZ2hhc2RrZ0ZTU29HRFMiCmxldHRlcl90b19maW5kID0gJ28nCgpqdW5rID0gImwiICsganVuayArICJsIiAJCSMgaW4gY2FzZSB0aGUgc2VxdWVuY2UgaW4gcXVlc3Rpb24gaXMKCQkJCQkJCQkjIGF0IHRoZSBlZGdlIG9mIHRoZSBzdHJpbmcKYml0c3RyID0gIiIuam9pbihzdHIoaW50KHguaXN1cHBlcigpKSkgZm9yIHggaW4ganVuaykKbGV0dGVyID0ganVua1tiaXRzdHIuaW5kZXgoJzAxMTEwMTExMCcpICsgNF0KCnByaW50KCJMZXR0ZXIgPSAlcy4gQ29ycmVjdD8gJXMiICUgKGxldHRlciwgbGV0dGVyID09IGxldHRlcl90b19maW5kKSk=