import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	try {
    		int k = sc.nextInt();
    		int x = sc.nextInt();

    		int min = Math.max(x - (k-1), -1000000);
    		int max = Math.min(x + (k-1),  1000000);
    		for (int i=min; i<=max; i++) {
    			System.out.print(i);
    			System.out.print(" ");
    		}
    		System.out.println();

    	} finally {
    		sc.close();
    	}
    }
}
 import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	try {
    		int k = sc.nextInt();
    		int x = sc.nextInt();

    		int min = Math.max(x - (k-1), -1000000);
    		int max = Math.min(x + (k-1),  1000000);
    		for (int i=min; i<=max; i++) {
    			System.out.print(i);
    			System.out.print(" ");
    		}
    		System.out.println();

    	} finally {
    		sc.close();
    	}
    }
} Main public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	try {
    		int k = sc.nextInt();
    		int x = sc.nextInt();

    		int min = Math.max(x - (k-1), -1000000);
    		int max = Math.min(x + (k-1),  1000000);
    		for (int i=min; i<=max; i++) {
    			System.out.print(i);
    			System.out.print(" ");
    		}
    		System.out.println();

    	} finally {
    		sc.close();
    	}
    } main {
    	Scanner sc = new Scanner(System.in);
    	try {
    		int k = sc.nextInt();
    		int x = sc.nextInt();

    		int min = Math.max(x - (k-1), -1000000);
    		int max = Math.min(x + (k-1),  1000000);
    		for (int i=min; i<=max; i++) {
    			System.out.print(i);
    			System.out.print(" ");
    		}
    		System.out.println();

    	} finally {
    		sc.close();
    	}
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) try {
    		int k = sc.nextInt();
    		int x = sc.nextInt();

    		int min = Math.max(x - (k-1), -1000000);
    		int max = Math.min(x + (k-1),  1000000);
    		for (int i=min; i<=max; i++) {
    			System.out.print(i);
    			System.out.print(" ");
    		}
    		System.out.println();

    	} finally {
    		sc.close();
    	} {
    		sc.close();
    	} sc.close() sc.close sc {
    		int k = sc.nextInt();
    		int x = sc.nextInt();

    		int min = Math.max(x - (k-1), -1000000);
    		int max = Math.min(x + (k-1),  1000000);
    		for (int i=min; i<=max; i++) {
    			System.out.print(i);
    			System.out.print(" ");
    		}
    		System.out.println();

    	} int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int min = Math.max(x - (k-1), -1000000); min Math.max(x - (k-1), -1000000) Math.max Math x - (k-1) x (k-1) k 1 -1000000 1000000 int max = Math.min(x + (k-1),  1000000); max Math.min(x + (k-1),  1000000) Math.min Math x + (k-1) x (k-1) k 1 1000000 for (int i=min; i<=max; i++) {
    			System.out.print(i);
    			System.out.print(" ");
    		} int i=min; int i=min; i min i<=max i max i++ i++ i {
    			System.out.print(i);
    			System.out.print(" ");
    		} {
    			System.out.print(i);
    			System.out.print(" ");
    		} System.out.print(i) System.out.print System.out System System.out i System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out String[] args args public class Main {
    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	try {
    		int k = sc.nextInt();
    		int x = sc.nextInt();

    		int min = Math.max(x - (k-1), -1000000);
    		int max = Math.min(x + (k-1),  1000000);
    		for (int i=min; i<=max; i++) {
    			System.out.print(i);
    			System.out.print(" ");
    		}
    		System.out.println();

    	} finally {
    		sc.close();
    	}
    }
} public class Main {
    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	try {
    		int k = sc.nextInt();
    		int x = sc.nextInt();

    		int min = Math.max(x - (k-1), -1000000);
    		int max = Math.min(x + (k-1),  1000000);
    		for (int i=min; i<=max; i++) {
    			System.out.print(i);
    			System.out.print(" ");
    		}
    		System.out.println();

    	} finally {
    		sc.close();
    	}
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	try {
    		int k = sc.nextInt();
    		int x = sc.nextInt();

    		int min = Math.max(x - (k-1), -1000000);
    		int max = Math.min(x + (k-1),  1000000);
    		for (int i=min; i<=max; i++) {
    			System.out.print(i);
    			System.out.print(" ");
    		}
    		System.out.println();

    	} finally {
    		sc.close();
    	}
    }
}

