#include using namespace std; int main() { double a,b,c,d; cin>>a>>b>>c>>d; double res = (abs(d-b))/(abs(a-c)); printf("%.2f",res); return 0; } //不会