#include using namespace std; int main(void) { cin.tie(0); ios::sync_with_stdio(false); int n,t; vector a,b; cin >> n; for(int i=0;i> t; a.push_back(t); } for(int i=0;i> t; b.push_back(t); } cout << fixed; cout.precision(6); int lo = -1e9; int hi = 1e9; while(hi-lo>=3) { double m1 = (2*lo + hi) / 3.0; double m2 = (lo + 2*hi) / 3.0; double val1 = 0; double val2 = 0; for(int j=0;j sum) { res = sum; l = i; } } cout << l << ' ' << res << '\n'; return 0; }