'''
Author: tusikalanse
Date: 2021-06-29 00:48:14
LastEditTime: 2021-06-29 00:48:14
LastEditors: tusikalanse
Description: 
FilePath: /atcoder/mnt/e/algo/ProjectEuler/13.py
'''
n = 0
for i in range(100):
    n += int(input())
print(str(n)[:10])