#include using namespace std; using ll = long long; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b A){ ll L = A.size(); FOR(i, 0, L){ if(i) cout << ' '; cout << A[i]; } cout << endl; } int main(){ cin.tie(0); ios::sync_with_stdio(false); // input ll N, K; cin >> N >> K; if(N-K-2<0){ p(-1); return 0; } ll kado = N-K-2; vector A(N); FOR(i, 0, kado+2){ A[i] = i * 100; if(i%2==0){ A[i] += 1e5; } } FOR(i, kado+2, N){ A[i] = A[i-1]; } vprint(A); return 0; }