Medium
Stacked Bars
Read two rows of values of equal length. Draw the first as bars and the second on top with
bottom=first. Print the top edge (y + height) of each bar of the second series as integers, on one line.Input
Two lines.
Output
One line.
Sample 1
Input
1 2 3 4 5 6
Output
5 7 9
Sample 2
Input
10 5
Output
15
Output appears here