This page is still under construction.

Parts of this page are still being built. What you see may change.

Addition

Time limit1sMemory limit128 MB

Summary
Add up N small natural numbers for each test case and print each sum on its own line.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

You are given NN natural numbers, each at most 10. Write a program that computes their sum.

Input

The first line contains the number of test cases TT (1≤T≤101 \le T \le 10). Each test case takes two lines. The first line contains the amount of natural numbers NN (1≤N≤1001 \le N \le 100), and the second line contains the NN natural numbers separated by single spaces. Every natural number is at most 10.

Output

For each test case, print the sum of the given natural numbers on a line of its own.

Examples1

  1. Example 1

    Input
    2
    5
    1 1 1 1 1
    7
    1 2 3 4 5 6 7
    
    Expected output
    5
    28