import java.util.*;

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

        int a = s.nextInt();
        int b = s.nextInt();

        int amount = (a-1) * 2 + 1;
        int ans = b - (a-1);

        for (int i = 0; i < amount; i++) {
            System.out.print(ans + " ");
            ans++;
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);

        int a = s.nextInt();
        int b = s.nextInt();

        int amount = (a-1) * 2 + 1;
        int ans = b - (a-1);

        for (int i = 0; i < amount; i++) {
            System.out.print(ans + " ");
            ans++;
        }
    }
} Main public static void main(String[] args) {
        Scanner s = new Scanner(System.in);

        int a = s.nextInt();
        int b = s.nextInt();

        int amount = (a-1) * 2 + 1;
        int ans = b - (a-1);

        for (int i = 0; i < amount; i++) {
            System.out.print(ans + " ");
            ans++;
        }
    } main {
        Scanner s = new Scanner(System.in);

        int a = s.nextInt();
        int b = s.nextInt();

        int amount = (a-1) * 2 + 1;
        int ans = b - (a-1);

        for (int i = 0; i < amount; i++) {
            System.out.print(ans + " ");
            ans++;
        }
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int a = s.nextInt(); a s.nextInt() s.nextInt s int b = s.nextInt(); b s.nextInt() s.nextInt s int amount = (a-1) * 2 + 1; amount (a-1) * 2 + 1 (a-1) * 2 (a-1) a 1 2 1 int ans = b - (a-1); ans b - (a-1) b (a-1) a 1 for (int i = 0; i < amount; i++) {
            System.out.print(ans + " ");
            ans++;
        } int i = 0; int i = 0; i 0 i < amount i amount i++ i++ i {
            System.out.print(ans + " ");
            ans++;
        } {
            System.out.print(ans + " ");
            ans++;
        } System.out.print(ans + " ") System.out.print System.out System System.out ans + " " ans " " ans++ ans String[] args args public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);

        int a = s.nextInt();
        int b = s.nextInt();

        int amount = (a-1) * 2 + 1;
        int ans = b - (a-1);

        for (int i = 0; i < amount; i++) {
            System.out.print(ans + " ");
            ans++;
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);

        int a = s.nextInt();
        int b = s.nextInt();

        int amount = (a-1) * 2 + 1;
        int ans = b - (a-1);

        for (int i = 0; i < amount; i++) {
            System.out.print(ans + " ");
            ans++;
        }
    }
} Main
import java.util.*;

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

        int a = s.nextInt();
        int b = s.nextInt();

        int amount = (a-1) * 2 + 1;
        int ans = b - (a-1);

        for (int i = 0; i < amount; i++) {
            System.out.print(ans + " ");
            ans++;
        }
    }
}
