#include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
int x1,x2,y1,y2;
double k,b;
int main(){
cin>>x1>>y1>>x2>>y2;
if(x1 == x2 ||y1 == y2){
cout<<"nonono~";
return 0;
}
else k=(y2-y1)*1.0/(x2-x1)*1.0;
b=y2*1.0-k*x2*1.0;
printf("%.2lf %.2lf",k,b);
return 0;
}