Problem: It's holiday. Mashmokh and his boss, Bimokh, are playing a game invented by Mashmokh. 

In this game Mashmokh writes sequence of n distinct integers on the board. Then Bimokh makes several (possibly zero) moves. On the first move he removes the first and the second integer from from the board, on the second move he removes the first and the second integer of the remaining sequence from the board, and so on. Bimokh stops when the board contains less than two numbers. When Bimokh removes numbers x and y from the board, he gets gcd(x, y) points. At the beginning of the game Bimokh has zero points.

Mashmokh wants to win in the game. For this reason he wants his boss to get exactly k points in total. But the guy doesn't know how choose the initial sequence in the right way. 

Please, help him. Find n distinct integers a1, a2, ..., an such that his boss will score exactly k points. Also Mashmokh can't memorize too huge numbers. Therefore each of these integers must be at most 109.

Input

The first line of input contains two space-separated integers n, k (1 ≤ n ≤ 105; 0 ≤ k ≤ 108).

Output

If such sequence doesn't exist output -1 otherwise output n distinct space-separated integers a1, a2, ..., an (1 ≤ ai ≤ 109).

Examples

Input

5 2


Output

1 2 3 4 5


Input

5 3

Output

2 4 3 7 1

Input

7 2


Output

-1

Note

gcd(x, y) is greatest common divisor of x and y.

Solution (in JAVA):

Solution:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;


public class A {	
	BufferedReader reader;
    StringTokenizer tokenizer;
    PrintWriter out;
    
	public void solve() throws IOException {				
		int N = nextInt();
		int K = nextInt();
		int cnt = N/2;
		if (cnt > K) {
			out.println(-1); return;
		}
		if (cnt == 0 && K > 0) {
			out.println(-1); return;
		}
		
		ArrayList<Integer> ans = new ArrayList<Integer>();
		int max = (int) 1e7;
		boolean[] primes = getPrimeTable(max);
		 
		int big = K - cnt + 1;
		
		if (cnt > 0) {
			if (big > 0) {
				ans.add(big);
				ans.add(big*2);
				if (big < max) {
					primes[big] = false;
				}
				if (big * 2 < max) {
					primes[big*2] = false;
				}
				cnt--;
			}
		}

		int first = -1;
		for (int i = 0; i < primes.length; i++) {
			if (cnt == 0) break;
			
			if (primes[i]) {
				if (first == -1) {
					first = i;
				} else {					
					ans.add(first);
					ans.add(i);
					first = -1;
					cnt--;					
				}
			}
		}
		
		if (N % 2 == 1) {
			ans.add((int) 1e9);
		}
		
		if (ans.size() != N) {
			throw new RuntimeException();
		}
		
		for (int a: ans) {
			out.print(a + " ");
		}
		
		out.println();
	}
	
	public boolean[] getPrimeTable(int max){
		boolean[] isPrime = new boolean[max+1];		
		for(int i = 2; i <= max; i++){
			isPrime[i] = true;
		}		
		for(int i = 2; i <= max; i++){
			if(isPrime[i]){
				for(int j = i+i; j <= max; j+=i){
					isPrime[j] = false;
				}
			}
		}	
		return isPrime;
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		new A().run();
	}
	
	public void run() {
        try {
            reader = new BufferedReader(new InputStreamReader(System.in));
            tokenizer = null;
            out = new PrintWriter(System.out);
            solve();
            reader.close();
            out.close();
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(1);
        }
    }

    int nextInt() throws IOException {
        return Integer.parseInt(nextToken());
    }

    long nextLong() throws IOException {
        return Long.parseLong(nextToken());
    }

    double nextDouble() throws IOException {
        return Double.parseDouble(nextToken());
    }

    String nextToken() throws IOException {
        while (tokenizer == null || !tokenizer.hasMoreTokens()) {
            tokenizer = new StringTokenizer(reader.readLine());
        }
        return tokenizer.nextToken();
    }

}