def main(): num = int(input()) ans = 0.0 for i in range(num): d = float(input()) ans += d print("{:.10f}\n".format(ans)) if __name__ == "__main__": main()