~/algor $ cat problems/a-dan-b-gacha-kamayish-tartibida
From A to B in decreasing order
Easy
1000 ms
64 MB
21%
Two integers $A$ and $B$ are given ($A \lt B$). Print all integers strictly between $A$ and $B$ ($A$ and $B$ are not included) in decreasing order, and then their count.
Input
One line with two integers: $A$ and $B$.
Output
The first line contains the numbers in decreasing order separated by spaces, the second line contains their count.
Note
$1 \le A \lt B \le 1000$
Examples
Input #1
3 8
Output #1
7 6 5 4 4
Input #2
10 12
Output #2
11 1