import java.util.Scanner;

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

    int K = scanner.nextInt();
    int X = scanner.nextInt();
    int left = Math.max(-1000000, X - K + 1);
    StringBuilder sb = new StringBuilder();
    for (int i = left; i < X + K && i <= 1000000; i++) sb.append(i).append(' ');
    sb.setLength(sb.length() - 1);
    System.out.println(sb.toString());
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int K = scanner.nextInt();
    int X = scanner.nextInt();
    int left = Math.max(-1000000, X - K + 1);
    StringBuilder sb = new StringBuilder();
    for (int i = left; i < X + K && i <= 1000000; i++) sb.append(i).append(' ');
    sb.setLength(sb.length() - 1);
    System.out.println(sb.toString());
  }
} Main public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int K = scanner.nextInt();
    int X = scanner.nextInt();
    int left = Math.max(-1000000, X - K + 1);
    StringBuilder sb = new StringBuilder();
    for (int i = left; i < X + K && i <= 1000000; i++) sb.append(i).append(' ');
    sb.setLength(sb.length() - 1);
    System.out.println(sb.toString());
  } main {
    Scanner scanner = new Scanner(System.in);

    int K = scanner.nextInt();
    int X = scanner.nextInt();
    int left = Math.max(-1000000, X - K + 1);
    StringBuilder sb = new StringBuilder();
    for (int i = left; i < X + K && i <= 1000000; i++) sb.append(i).append(' ');
    sb.setLength(sb.length() - 1);
    System.out.println(sb.toString());
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int K = scanner.nextInt(); K scanner.nextInt() scanner.nextInt scanner int X = scanner.nextInt(); X scanner.nextInt() scanner.nextInt scanner int left = Math.max(-1000000, X - K + 1); left Math.max(-1000000, X - K + 1) Math.max Math -1000000 1000000 X - K + 1 X - K X K 1 StringBuilder sb = new StringBuilder(); sb new StringBuilder() for (int i = left; i < X + K && i <= 1000000; i++) sb.append(i).append(' '); int i = left; int i = left; i left i < X + K && i <= 1000000 i < X + K i X + K X K i <= 1000000 i 1000000 i++ i++ i sb.append(i).append(' '); sb.append(i).append(' ') sb.append(i).append sb.append(i) sb.append sb i ' ' sb.setLength(sb.length() - 1) sb.setLength sb sb.length() - 1 sb.length() sb.length sb 1 System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb String[] args args public class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int K = scanner.nextInt();
    int X = scanner.nextInt();
    int left = Math.max(-1000000, X - K + 1);
    StringBuilder sb = new StringBuilder();
    for (int i = left; i < X + K && i <= 1000000; i++) sb.append(i).append(' ');
    sb.setLength(sb.length() - 1);
    System.out.println(sb.toString());
  }
} public class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int K = scanner.nextInt();
    int X = scanner.nextInt();
    int left = Math.max(-1000000, X - K + 1);
    StringBuilder sb = new StringBuilder();
    for (int i = left; i < X + K && i <= 1000000; i++) sb.append(i).append(' ');
    sb.setLength(sb.length() - 1);
    System.out.println(sb.toString());
  }
} Main
import java.util.Scanner;

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

    int K = scanner.nextInt();
    int X = scanner.nextInt();
    int left = Math.max(-1000000, X - K + 1);
    StringBuilder sb = new StringBuilder();
    for (int i = left; i < X + K && i <= 1000000; i++) sb.append(i).append(' ');
    sb.setLength(sb.length() - 1);
    System.out.println(sb.toString());
  }
}
