Spadework 2020. 2. 13. 10:03

* Solved 기준 브론즈3 단순 풀이

s = 0
for _ in range(int(input())):
	s += sum(map(int, input().split()))
print(s)