import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
//        int[] arr = new int[k*2-1];
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < k*2-1; i++){
//            arr[i] = x-k+1+i;
            sb.append(x-k+1+i).append(' ');
        }
        System.out.println(sb);
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
//        int[] arr = new int[k*2-1];
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < k*2-1; i++){
//            arr[i] = x-k+1+i;
            sb.append(x-k+1+i).append(' ');
        }
        System.out.println(sb);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
//        int[] arr = new int[k*2-1];
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < k*2-1; i++){
//            arr[i] = x-k+1+i;
            sb.append(x-k+1+i).append(' ');
        }
        System.out.println(sb);
    } main {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
//        int[] arr = new int[k*2-1];
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < k*2-1; i++){
//            arr[i] = x-k+1+i;
            sb.append(x-k+1+i).append(' ');
        }
        System.out.println(sb);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int i = 0; i < k*2-1; i++){
//            arr[i] = x-k+1+i;
            sb.append(x-k+1+i).append(' ');
        } int i = 0; int i = 0; i 0 i < k*2-1 i k*2-1 k*2 k 2 1 i++ i++ i {
//            arr[i] = x-k+1+i;
            sb.append(x-k+1+i).append(' ');
        } {
//            arr[i] = x-k+1+i;
            sb.append(x-k+1+i).append(' ');
        } sb.append(x-k+1+i).append(' ') sb.append(x-k+1+i).append sb.append(x-k+1+i) sb.append sb x-k+1+i x-k+1+i x-k x k 1 i ' ' System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
//        int[] arr = new int[k*2-1];
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < k*2-1; i++){
//            arr[i] = x-k+1+i;
            sb.append(x-k+1+i).append(' ');
        }
        System.out.println(sb);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
//        int[] arr = new int[k*2-1];
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < k*2-1; i++){
//            arr[i] = x-k+1+i;
            sb.append(x-k+1+i).append(' ');
        }
        System.out.println(sb);
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
//        int[] arr = new int[k*2-1];
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < k*2-1; i++){
//            arr[i] = x-k+1+i;
            sb.append(x-k+1+i).append(' ');
        }
        System.out.println(sb);
    }
}
