aa = []
for i in range(0, 4) :
    aa.append(0)

for i in range(0, 4) :
    aa[i] = int(input(  str(i+1) + "번째 숫자 : " ))

hap = 0
for i in range(0, 4) :
    hap = hap + aa[i]

print(" 합계 ==> %d " % hap)
