A list of integers is given. Then $Q$ values are given, one per line. Append the values to the list in order and print the final list as a Python list literal.
Input
Line 1: the list. Line 2: $Q$. Next $Q$ lines: a value each.
Output
Print the resulting list.
Example 1
Input
1 2 3 3 4 5 6
Output
[1, 2, 3, 4, 5, 6]
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.