li=list(map(int,input().split())) n=2**(len(li)-1) ans=0 for i in li: ans+=i ans*=n print(ans) 2的n-1次方 一个数要取出这么多遍