import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int x = scanner.nextInt();
		int a = scanner.nextInt();



		ArrayList<Integer> list = new ArrayList<Integer>();



		for(int i = 0; i<x; i++) {
			if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			}
		}


		Collections.sort(list);
		for(int num: list) {
			System.out.print(num+" ");

		}


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

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int x = scanner.nextInt();
		int a = scanner.nextInt();



		ArrayList<Integer> list = new ArrayList<Integer>();



		for(int i = 0; i<x; i++) {
			if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			}
		}


		Collections.sort(list);
		for(int num: list) {
			System.out.print(num+" ");

		}


	}
} Main public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int x = scanner.nextInt();
		int a = scanner.nextInt();



		ArrayList<Integer> list = new ArrayList<Integer>();



		for(int i = 0; i<x; i++) {
			if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			}
		}


		Collections.sort(list);
		for(int num: list) {
			System.out.print(num+" ");

		}


	} main {

		Scanner scanner = new Scanner(System.in);

		int x = scanner.nextInt();
		int a = scanner.nextInt();



		ArrayList<Integer> list = new ArrayList<Integer>();



		for(int i = 0; i<x; i++) {
			if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			}
		}


		Collections.sort(list);
		for(int num: list) {
			System.out.print(num+" ");

		}


	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner ArrayList<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() for(int i = 0; i<x; i++) {
			if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			}
		} int i = 0; int i = 0; i 0 i<x i x i++ i++ i {
			if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			}
		} {
			if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			}
		} if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			} a-i != a+i a-i a i a+i a i {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			} if(a-i>-1000000) {
					list.add(a-i);
				} a-i>-1000000 a-i a i -1000000 1000000 {
					list.add(a-i);
				} list.add(a-i) list.add list a-i a i if(a-i<1000000) {
					list.add(a+i);
				} a-i<1000000 a-i a i 1000000 {
					list.add(a+i);
				} list.add(a+i) list.add list a+i a i {
				list.add(a-i);
			} list.add(a-i) list.add list a-i a i Collections.sort(list) Collections.sort Collections list for(int num: list) {
			System.out.print(num+" ");

		} int num list {
			System.out.print(num+" ");

		} {
			System.out.print(num+" ");

		} System.out.print(num+" ") System.out.print System.out System System.out num+" " num " " String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int x = scanner.nextInt();
		int a = scanner.nextInt();



		ArrayList<Integer> list = new ArrayList<Integer>();



		for(int i = 0; i<x; i++) {
			if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			}
		}


		Collections.sort(list);
		for(int num: list) {
			System.out.print(num+" ");

		}


	}
} public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int x = scanner.nextInt();
		int a = scanner.nextInt();



		ArrayList<Integer> list = new ArrayList<Integer>();



		for(int i = 0; i<x; i++) {
			if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			}
		}


		Collections.sort(list);
		for(int num: list) {
			System.out.print(num+" ");

		}


	}
} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int x = scanner.nextInt();
		int a = scanner.nextInt();



		ArrayList<Integer> list = new ArrayList<Integer>();



		for(int i = 0; i<x; i++) {
			if(a-i != a+i) {
				if(a-i>-1000000) {
					list.add(a-i);
				}
				if(a-i<1000000) {
					list.add(a+i);
				}
			}else {
				list.add(a-i);
			}
		}


		Collections.sort(list);
		for(int num: list) {
			System.out.print(num+" ");

		}


	}
}