def int2(x, base=2):
    return int(x, base)
print int2('1000000')
print int2('1010101')
e45b21c626dd665a280a8735a52756b0c4301d9d
def int2(x, base=2):
    return int(x, base)
print int2('1000000')
print int2('1010101')