#include #include #include using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 4000000000000000001 int main(){ long long n,a,b,c; cin>>n>>a>>b>>c; if(a*2 <= c){ rep(i,n){ long long t = i; if(t==0)t += n; long long ans = t*a; ans += b; cout<