def readFile(filename):
info = []
with open(filename, 'r') as openFile:
data = openFile.readlines()
for line in data:
info.append(line.split())
return info
dict = {}
def extractChars(info):
for line in info:
for char in line:
# char = char[::-1]
i = 1
cv = 0
for c in char[::-1]:
cv += int(c) * i
# print i, int(c), cv
i *= 2
print chr(cv)
extractChars(readFile("bin.txt"))