#include using namespace std; using ll = long long; const ll MOD = 1000000007; using P = pair; #define rep(i, n) for(int i = 0; i < n; i++) #define all(x) (x).begin(),(x).end() int main(){ int n,k; cin >> n >> k; cout << 2 * k << " " << 2 * k + n - 2; rep(i,n-2) cout << " " << 1; cout << endl; return 0; }