#include <stdio.h>
#import <Foundation/Foundation.h>

int main() {
  
  int X, K;
  
  scanf("%d %d", &X, &K);
  
  int left = MAX(-1000000, X - K + 1);
  int right = left + 2 * K - 2;
  
  for (NSInteger i=left; i<=right; i++) {
    printf("%d ", i);
  }
  
  return 0;
}