145. Add Two Numbers Stored as Lists
Two non-negative numbers are stored as lists of single digits, with the LEAST
significant digit first. So the number 342 is stored as 2 4 3.
Read both lists, add the numbers, and print the sum in the same format, least significant digit first, separated by spaces.
Neither list has leading zeros, except that the number zero is stored as a single 0.
Constraints - `1 ≤ n, m ≤ 100000` - Each value is a single digit, 0 to 9.
Input
The first line contains n, then a line of n integers, the first list.
The next line contains m, then a line of m integers, the second list.
Each value is a single digit, stored least significant first. The starter code builds both lists for you.
Output
Print the digits of the sum, least significant FIRST, on one line separated by single spaces.
Hints
Four rungs, in order. The last two open once you have submitted an attempt. A wrong one counts.