- Time limit: 1.00 s
- Memory limit: 512 MB
Your task is to create a permutation of numbers that has exactly inversions.
An inversion is a pair where and where denotes the number at position in the permutation.
Input
The only input line has two integers and .
Output
Print a line that contains the permutation. You can print any valid solution.
Constraints
Example
Input:
5 4
Output:
1 5 2 4 3