import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int K = sc.nextInt(), X = sc.nextInt();
    int N = 1 + (K - 1) + (K - 1);
    int F = X - K + 1;
    for (int i = 0; i < N; i++) System.out.println(F++);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int K = sc.nextInt(), X = sc.nextInt();
    int N = 1 + (K - 1) + (K - 1);
    int F = X - K + 1;
    for (int i = 0; i < N; i++) System.out.println(F++);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int K = sc.nextInt(), X = sc.nextInt();
    int N = 1 + (K - 1) + (K - 1);
    int F = X - K + 1;
    for (int i = 0; i < N; i++) System.out.println(F++);
  } main {
    Scanner sc = new Scanner(System.in);
    int K = sc.nextInt(), X = sc.nextInt();
    int N = 1 + (K - 1) + (K - 1);
    int F = X - K + 1;
    for (int i = 0; i < N; i++) System.out.println(F++);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int K = sc.nextInt() K sc.nextInt() sc.nextInt sc X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int N = 1 + (K - 1) + (K - 1); N 1 + (K - 1) + (K - 1) 1 + (K - 1) + (K - 1) 1 (K - 1) K 1 (K - 1) K 1 int F = X - K + 1; F X - K + 1 X - K X K 1 for (int i = 0; i < N; i++) System.out.println(F++); int i = 0; int i = 0; i 0 i < N i N i++ i++ i System.out.println(F++); System.out.println(F++) System.out.println System.out System System.out F++ F String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int K = sc.nextInt(), X = sc.nextInt();
    int N = 1 + (K - 1) + (K - 1);
    int F = X - K + 1;
    for (int i = 0; i < N; i++) System.out.println(F++);
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int K = sc.nextInt(), X = sc.nextInt();
    int N = 1 + (K - 1) + (K - 1);
    int F = X - K + 1;
    for (int i = 0; i < N; i++) System.out.println(F++);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int K = sc.nextInt(), X = sc.nextInt();
    int N = 1 + (K - 1) + (K - 1);
    int F = X - K + 1;
    for (int i = 0; i < N; i++) System.out.println(F++);
  }
}