#include using namespace std; int main(){ int n; cin >> n; vector x(n); vector y(n); vector z(n); long long d=1000000000; for(int i=0;i> x[i]; } for(int i=0;i> y[i]; z[i]=x[i]+y[i]; d=min(d,z[i]); cout << z[i] << endl; } cout << d << endl; cout << 0 << endl; for(int i=0;id){ cout << d << endl; } else{ cout << x[i] << endl; } } cout << d << endl; }