How to input a list?
You are asked to write a program that would take
nnumbers in the input and print them as a list.
The first line of the input is a single number
n. The next
nlines contain elements of the list.
The program should append those numbers to a list and print the list in the output.
7 1 3 0 8 -4 2 0
[1, 3, 0, 8, -4, 2, 0]