# -*- coding: utf-8 -*- N = int(raw_input()) total = 0 for _ in xrange(N): total += float(raw_input()) print "%.10f" % total