import java.util.Scanner;

class Main {

	public static void main(String[] args) {
		Scanner ipt = new Scanner(System.in);
		int a = ipt.nextInt(), b = ipt.nextInt(), c = 0;
		c = b - a + 1;
		for (int i = (a * 2) - 1; i > 0; i--) {
			System.out.print(c + " ");
			c++;
		}
		ipt.close();
	}
} import java.util.Scanner; Scanner java.util class Main {

	public static void main(String[] args) {
		Scanner ipt = new Scanner(System.in);
		int a = ipt.nextInt(), b = ipt.nextInt(), c = 0;
		c = b - a + 1;
		for (int i = (a * 2) - 1; i > 0; i--) {
			System.out.print(c + " ");
			c++;
		}
		ipt.close();
	}
} Main public static void main(String[] args) {
		Scanner ipt = new Scanner(System.in);
		int a = ipt.nextInt(), b = ipt.nextInt(), c = 0;
		c = b - a + 1;
		for (int i = (a * 2) - 1; i > 0; i--) {
			System.out.print(c + " ");
			c++;
		}
		ipt.close();
	} main {
		Scanner ipt = new Scanner(System.in);
		int a = ipt.nextInt(), b = ipt.nextInt(), c = 0;
		c = b - a + 1;
		for (int i = (a * 2) - 1; i > 0; i--) {
			System.out.print(c + " ");
			c++;
		}
		ipt.close();
	} Scanner ipt = new Scanner(System.in); ipt new Scanner(System.in) int a = ipt.nextInt() a ipt.nextInt() ipt.nextInt ipt b = ipt.nextInt() b ipt.nextInt() ipt.nextInt ipt c = 0; c 0 c = b - a + 1 c b - a + 1 b - a b a 1 for (int i = (a * 2) - 1; i > 0; i--) {
			System.out.print(c + " ");
			c++;
		} int i = (a * 2) - 1; int i = (a * 2) - 1; i (a * 2) - 1 (a * 2) a 2 1 i > 0 i 0 i-- i-- i {
			System.out.print(c + " ");
			c++;
		} {
			System.out.print(c + " ");
			c++;
		} System.out.print(c + " ") System.out.print System.out System System.out c + " " c " " c++ c ipt.close() ipt.close ipt String[] args args
import java.util.Scanner;

class Main {

	public static void main(String[] args) {
		Scanner ipt = new Scanner(System.in);
		int a = ipt.nextInt(), b = ipt.nextInt(), c = 0;
		c = b - a + 1;
		for (int i = (a * 2) - 1; i > 0; i--) {
			System.out.print(c + " ");
			c++;
		}
		ipt.close();
	}
}