Medium
Chain Several Lists
Read n lines of numbers. Use
itertools.chain to go through all numbers as one sequence and print how many there are and their total.Input
n, then n lines.
Output
One line.
Sample 1
Input
2 1 2 3 4 5
Output
5 15
Sample 2
Input
1 9
Output
1 9
Output appears here