#Lutece1567. Jermutat1on
Jermutat1on
Migrated from Lutece 1567 Jermutat1on
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
You are given two numbers and .
You are required to construct a permutation of numbers such that there are exactly different numbers in , , ..., .
Input
Only one line contains two integers and .
.
Output
Print integers forming the permutation.
If there are multiple answers, print any of them.
If there are no such permutation, print -1
.
Samples
3 1
1 2 3
Resources
The 15th UESTC Programming Contest Preliminary