#include using namespace std; typedef long long ll; int main() { ll n, k; scanf("%lld %lld", &n, &k); for (int i = 0; i < n-2; i++) { printf("1 "); } printf("%lld %lld\n", k+1, k*k+(n-1)*k); return 0; }