xb = "1001100111101000111110101"
print("%s is %d in decimal"%(xb, int(xb, 2)))
xo = "114750765"
print("%s is %d in decimal"%(xo, int(xo, 8)))
xh = "133D1F5"
print("%s is %d in decimal"%(xh, int(xh, 16)))
