n = int(input("2's exponent? ")) print ("Sum of the digits of 2 ^", n, "=", sum(map(int, str(pow(2, n)))))