**Compilation/Execution Result:**

38.62%

Given an array of N integers. Your task is to print the sum of all of the integers.

**Input: **

First line of input file contains a single integer T which denotes the number of test cases. Then, T test cases follow. First line of each test contains a single integer N which denotes the number of elements in an array. Second line of each test case contains N space separated integers denoting the elements of an array.

**Output:**

Corresponding to each test case, print the sum of array in a new line.

**Constraints:**

1<=T<=100

1<=N<=1000

**Example:**

**Input:**

2

4

1 2 3 4

6

5 8 3 10 22 45

**Output:**

10

93

Author: harsh.agarwal0

Pulkit Gupta 2 | 171 |

Relentless | 158 |

Ibrahim Nash | 146 |

Sahil_Bansall | 121 |

lets_have_a_break! | 120 |

Ibrahim Nash | 654 |

KartikAgarwal | 545 |

rs119574 | 371 |

Little Noah | 367 |

surbhi_7 | 356 |

akhayrutdinov | 4267 |

sanjay05 | 3633 |

Ibrahim Nash | 3214 |

Quandray | 3044 |

Michael Riegger | 2359 |