#C4155. Total Books Read in the Book Club

    ID: 47662 Type: Default 1000ms 256MiB

Total Books Read in the Book Club

Total Books Read in the Book Club

In the book club, each child reads a certain number of books during the month. You are given the number of children, N, and a list of N integers where the i-th integer represents the number of books read by the i-th child. Your task is to compute the total number of books read by the entire club.

Mathematically, if each child i reads (b_i) books, then the total number of books is given by (\sum_{i=1}^{N} b_i).

inputFormat

The input is provided via standard input (stdin) in the following format:

The first line contains an integer N, the number of children.
The second line contains N space-separated integers, where each integer represents the number of books read by a child.

outputFormat

Output a single integer (to standard output, stdout) which is the total number of books read by the book club.## sample

3
1 4 3
8

</p>