n = input() l = map(float,input().split()) s = l.sum() print(s)