210번 문제

 

s = [0, 0, 0]

for i in range(7):

    ip = input()

    s[len(ip)-1] += int(ip)

print(*s)