
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 min = Math.max(-1000000, X - K + 1);
        int max = Math.min(1000000, X + K - 1);

        for (int i = min ; i <= max ; i++) {
            System.out.printf("%d ", i);
        }
        System.out.println();
    }
} 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 min = Math.max(-1000000, X - K + 1);
        int max = Math.min(1000000, X + K - 1);

        for (int i = min ; i <= max ; i++) {
            System.out.printf("%d ", i);
        }
        System.out.println();
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int K = scanner.nextInt();
        int X = scanner.nextInt();

        int min = Math.max(-1000000, X - K + 1);
        int max = Math.min(1000000, X + K - 1);

        for (int i = min ; i <= max ; i++) {
            System.out.printf("%d ", i);
        }
        System.out.println();
    } main {
        Scanner scanner = new Scanner(System.in);

        int K = scanner.nextInt();
        int X = scanner.nextInt();

        int min = Math.max(-1000000, X - K + 1);
        int max = Math.min(1000000, X + K - 1);

        for (int i = min ; i <= max ; i++) {
            System.out.printf("%d ", i);
        }
        System.out.println();
    } 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 min = Math.max(-1000000, X - K + 1); min Math.max(-1000000, X - K + 1) Math.max Math -1000000 1000000 X - K + 1 X - K X K 1 int max = Math.min(1000000, X + K - 1); max Math.min(1000000, X + K - 1) Math.min Math 1000000 X + K - 1 X + K X K 1 for (int i = min ; i <= max ; i++) {
            System.out.printf("%d ", i);
        } int i = min ; int i = min ; i min i <= max i max i++ i++ i {
            System.out.printf("%d ", i);
        } {
            System.out.printf("%d ", i);
        } System.out.printf("%d ", i) System.out.printf System.out System System.out "%d " i System.out.println() System.out.println System.out System System.out 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 min = Math.max(-1000000, X - K + 1);
        int max = Math.min(1000000, X + K - 1);

        for (int i = min ; i <= max ; i++) {
            System.out.printf("%d ", i);
        }
        System.out.println();
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int K = scanner.nextInt();
        int X = scanner.nextInt();

        int min = Math.max(-1000000, X - K + 1);
        int max = Math.min(1000000, X + K - 1);

        for (int i = min ; i <= max ; i++) {
            System.out.printf("%d ", i);
        }
        System.out.println();
    }
} 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 min = Math.max(-1000000, X - K + 1);
        int max = Math.min(1000000, X + K - 1);

        for (int i = min ; i <= max ; i++) {
            System.out.printf("%d ", i);
        }
        System.out.println();
    }
}
