~/algor $ cat problems/a-dan-b-gacha-sonlar
Numbers from A to B
Easy
1000 ms
64 MB
20%
Two integers $A$ and $B$ are given ($A \lt B$). Print all integers from $A$ to $B$ (including $A$ and $B$) in increasing order, and then their count.
Input
One line with two integers: $A$ and $B$.
Output
The first line contains the numbers in increasing order, the second line contains their count.
Note
$-10^{4} \le A \lt B \le 10^{4}$
$B - A \le 1000$
Examples
Input #1
1 5
Output #1
1 2 3 4 5 5
Input #2
3 8
Output #2
3 4 5 6 7 8 6