K Co-prime Permutation
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
Special Judge, 64bit IO Format: %lld

题目描述

Kotori is very good at math (really?) and she loves playing with permutations and primes.

One day, she thinks of a special kind of permutation named k co-prime permutation. A permutation of n is called a k co-prime permutation of n if there exists exactly k integers i such that and , where indicates the greatest common divisor of x and y.

Given n and k, please help Kotori construct a k co-prime permutation of n or just report that there is no such permutation.

Recall that a permutation of n is a sequence of length n containing all integers from 1 to n.

输入描述:

There is only one test case in each test file.

The first and only line contains two integers n and k (, ).

输出描述:

Output one line containing n integers  separated by one space, indicating the permutation satisfying the given constraints. If no such permutation exists output "-1" (without quotes) instead. If there are multiple valid answers you can print any of them.

Please, DO NOT output extra spaces at the end of each line, otherwise your answer may be considered incorrect!
示例1

输入

复制
5 3

输出

复制
1 4 5 2 3
示例2

输入

复制
1 0

输出

复制
-1