Task
Time limit: 1000 ms,
Memory limit: 256 Mb

Joan Rowling is the author of famous stories about the young wizard Harry Potter.
Before writing Harry Potter, Joan studied various manuscripts, descriptions and sources about the Chronicles of Narnia. Later, she also began exploring the world of Middle-earth by John Tolkien. So her training continued until the beginning of working practice.
There is no exact data on how many books Joan read, but, most likely, she still has them.
Let's help the famous writer calculate the total number of pages read from all books.

Input: 
in the first line the number N is entered - the number of books (0 < N <=100)
then there are N numbers, one number per line - the number of pages in the corresponding book (natural numbers less than 1000 each)
Output: 
output one number - the total number of pages in all books

Example
Input Output
1 3
125
215
300
640

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: