def main(): _ = int(input()) print(sum(map(int, input().split()))) if __name__ == "__main__": main()