#include #include #include using namespace std; ifstream cin ("packing.in"); ofstream cout ("packing.out"); vector < double > xs; vector < double > ys; int main () { int n; cin >> n; while (n--) { int p; cin >> p; double maxx = -1e9, maxy = -1e9; while (p --) { double a, b; cin >> a >> b; xs.push_back(a); ys.push_back(b); maxx = max(maxx, a); maxy = max(maxy, b); } int polys; cin >> polys; int sp = -1; while (polys --) { int points; cin >> points; while (points --) { int ind; cin >> ind; if(sp == -1) sp = ind; } } if (n == 0) { cout << 1 << " " << 0 << " " << setprecision(10) << maxx - xs[sp] << " " << setprecision(10) <