#include<stdio.h> int main() { int x1,y1,x2,y2; int a,b,d; scanf("%d %d",&x1,&y1); scanf("%d %d",&x2,&y2); a=(x1-x2)(x1-x2); b=(y1-y2)(y1-y2); d=a+b; printf("%d",d);
}
#include<stdio.h> int main() { int x1,y1,x2,y2; int a,b,d; scanf("%d %d",&x1,&y1); scanf("%d %d",&x2,&y2); a=(x1-x2)(x1-x2); b=(y1-y2)(y1-y2); d=a+b; printf("%d",d);
}