#!/bin/python3

import os
import sys

#
# Complete the simpleArraySum function below.
#

def simpleArraySum(ar):
    s = 0
    for i in ar:
        s = s + i
        
    return s

if __name__ == '__main__':

    ar_count = int(input())

    ar = list(map(int, input().rstrip().split()))
    
    result = simpleArraySum(ar)

0c1037387b2f9717a34d1ae635b8aac554dd225c
<mask token>

<mask token>


def simpleArraySum(ar):
    s = 0
    for i in ar:
        s = s + i
    return s


<mask token>

<mask token>


def simpleArraySum(ar):
    s = 0
    for i in ar:
        s = s + i
    return s


if __name__ == '__main__':
    ar_count = int(input())
    ar = list(map(int, input().rstrip().split()))
    result = simpleArraySum(ar)

import os
import sys


def simpleArraySum(ar):
    s = 0
    for i in ar:
        s = s + i
    return s


if __name__ == '__main__':
    ar_count = int(input())
    ar = list(map(int, input().rstrip().split()))
    result = simpleArraySum(ar)

#!/bin/python3

import os
import sys

#
# Complete the simpleArraySum function below.
#

def simpleArraySum(ar):
    s = 0
    for i in ar:
        s = s + i
        
    return s

if __name__ == '__main__':

    ar_count = int(input())

    ar = list(map(int, input().rstrip().split()))
    
    result = simpleArraySum(ar)
