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