#include using namespace std; #include using namespace atcoder; using ll=long long; using Graph=vector>>; #define MAX 100 #define MOD 998244353 #define INF 1000000000 int main(){ int N; cin>>N; vector A(N+1,0),B(N+1,0),C(N+1,0); for(int i=1;i<=N;i++){ cin>>A[i]; } for(int i=1;i<=N;i++){ cin>>B[i]; C[i]=(ll)i; } vector a=convolution_ll(A,C); vector b=convolution_ll(B,C); for(int i=1;i<=2*N;i++){ cout<