#include <stdio.h>
int main() {
int N, i, tot;
int x1, x2, y1, y2, dx, dy;
tot = 0;
for (i = 0; i < N; i++) {
scanf(" %d %d %d %d", &x1
, &y1
, &x2
, &y2
); dx = x2 - x1;
dy = y2 - y1;
tot += dx * dx + dy * dy;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKCWludCBOLCBpLCB0b3Q7CglpbnQgeDEsIHgyLCB5MSwgeTIsIGR4LCBkeTsKCXNjYW5mKCIgJWQiLCAmTik7Cgl0b3QgPSAwOwoJZm9yIChpID0gMDsgaSA8IE47IGkrKykgewoJCXNjYW5mKCIgJWQgJWQgJWQgJWQiLCAmeDEsICZ5MSwgJngyLCAmeTIpOwoJCWR4ID0geDIgLSB4MTsKCQlkeSA9IHkyIC0geTE7CgkJdG90ICs9IGR4ICogZHggKyBkeSAqIGR5OwoJfQoJcHJpbnRmKCIlZFxuIiwgdG90KTsKCXJldHVybiAwOwp9