import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		// input
		int k = scan.nextInt();
		int pos = scan.nextInt();


		// check
		int len = (k - 1) * 2 + 1;
		for(int i = pos - (k - 1); i <= pos + (k - 1); i++){
			System.out.print(i + " ");
		}
		System.out.println("");

	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		// input
		int k = scan.nextInt();
		int pos = scan.nextInt();


		// check
		int len = (k - 1) * 2 + 1;
		for(int i = pos - (k - 1); i <= pos + (k - 1); i++){
			System.out.print(i + " ");
		}
		System.out.println("");

	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		// input
		int k = scan.nextInt();
		int pos = scan.nextInt();


		// check
		int len = (k - 1) * 2 + 1;
		for(int i = pos - (k - 1); i <= pos + (k - 1); i++){
			System.out.print(i + " ");
		}
		System.out.println("");

	} main {
		Scanner scan = new Scanner(System.in);

		// input
		int k = scan.nextInt();
		int pos = scan.nextInt();


		// check
		int len = (k - 1) * 2 + 1;
		for(int i = pos - (k - 1); i <= pos + (k - 1); i++){
			System.out.print(i + " ");
		}
		System.out.println("");

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int k = scan.nextInt(); k scan.nextInt() scan.nextInt scan int pos = scan.nextInt(); pos scan.nextInt() scan.nextInt scan int len = (k - 1) * 2 + 1; len (k - 1) * 2 + 1 (k - 1) * 2 (k - 1) k 1 2 1 for(int i = pos - (k - 1); i <= pos + (k - 1); i++){
			System.out.print(i + " ");
		} int i = pos - (k - 1); int i = pos - (k - 1); i pos - (k - 1) pos (k - 1) k 1 i <= pos + (k - 1) i pos + (k - 1) pos (k - 1) k 1 i++ i++ i {
			System.out.print(i + " ");
		} {
			System.out.print(i + " ");
		} System.out.print(i + " ") System.out.print System.out System System.out i + " " i " " System.out.println("") System.out.println System.out System System.out "" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		// input
		int k = scan.nextInt();
		int pos = scan.nextInt();


		// check
		int len = (k - 1) * 2 + 1;
		for(int i = pos - (k - 1); i <= pos + (k - 1); i++){
			System.out.print(i + " ");
		}
		System.out.println("");

	}
} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		// input
		int k = scan.nextInt();
		int pos = scan.nextInt();


		// check
		int len = (k - 1) * 2 + 1;
		for(int i = pos - (k - 1); i <= pos + (k - 1); i++){
			System.out.print(i + " ");
		}
		System.out.println("");

	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		// input
		int k = scan.nextInt();
		int pos = scan.nextInt();


		// check
		int len = (k - 1) * 2 + 1;
		for(int i = pos - (k - 1); i <= pos + (k - 1); i++){
			System.out.print(i + " ");
		}
		System.out.println("");

	}
}
