import java.io.*; 
import java.util.*; 
 
public class Main
{ 
    public static void main(String args[]) 
    { 
      
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int k = sc.nextInt();
		
		int sum;
	
		if(x == 0 && k == 0){
			
			System.out.print(x);
			
		} else {
		
		for(int i = 1; i < 1000; i++){
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			}	
		
		}
    } 
}  import java.io.*; io.* java import java.util.*; util.* java public class Main
{ 
    public static void main(String args[]) 
    { 
      
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int k = sc.nextInt();
		
		int sum;
	
		if(x == 0 && k == 0){
			
			System.out.print(x);
			
		} else {
		
		for(int i = 1; i < 1000; i++){
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			}	
		
		}
    } 
} Main public static void main(String args[]) 
    { 
      
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int k = sc.nextInt();
		
		int sum;
	
		if(x == 0 && k == 0){
			
			System.out.print(x);
			
		} else {
		
		for(int i = 1; i < 1000; i++){
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			}	
		
		}
    } main { 
      
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int k = sc.nextInt();
		
		int sum;
	
		if(x == 0 && k == 0){
			
			System.out.print(x);
			
		} else {
		
		for(int i = 1; i < 1000; i++){
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			}	
		
		}
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int sum; sum if(x == 0 && k == 0){
			
			System.out.print(x);
			
		} else {
		
		for(int i = 1; i < 1000; i++){
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			}	
		
		} x == 0 && k == 0 x == 0 x 0 k == 0 k 0 {
			
			System.out.print(x);
			
		} System.out.print(x) System.out.print System.out System System.out x {
		
		for(int i = 1; i < 1000; i++){
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			}	
		
		} for(int i = 1; i < 1000; i++){
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			} int i = 1; int i = 1; i 1 i < 1000 i 1000 i++ i++ i {
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			} {
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			} sum = 0 sum 0 sum = k - x + i sum k - x + i k - x k x i System.out.print(sum + " ") System.out.print System.out System System.out sum + " " sum " " if(sum == k+x-1){
				
				break;
				
				} sum == k+x-1 sum k+x-1 k+x k x 1 {
				
				break;
				
				} break; String args[] args public class Main
{ 
    public static void main(String args[]) 
    { 
      
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int k = sc.nextInt();
		
		int sum;
	
		if(x == 0 && k == 0){
			
			System.out.print(x);
			
		} else {
		
		for(int i = 1; i < 1000; i++){
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			}	
		
		}
    } 
} public class Main
{ 
    public static void main(String args[]) 
    { 
      
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int k = sc.nextInt();
		
		int sum;
	
		if(x == 0 && k == 0){
			
			System.out.print(x);
			
		} else {
		
		for(int i = 1; i < 1000; i++){
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			}	
		
		}
    } 
} Main
import java.io.*; 
import java.util.*; 
 
public class Main
{ 
    public static void main(String args[]) 
    { 
      
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int k = sc.nextInt();
		
		int sum;
	
		if(x == 0 && k == 0){
			
			System.out.print(x);
			
		} else {
		
		for(int i = 1; i < 1000; i++){
			
			sum = 0;
			sum = k - x + i; 
			System.out.print(sum + " ");
			if(sum == k+x-1){
				
				break;
				
				}
			
			}	
		
		}
    } 
} 