#include<iostream>
#include<math.h>//别忘了
using namespace std;
int main()
{
double v1,v2;
cin>>v1>>v2;
cout<<sqrt((v1*v1+v2*v2)/2.0);//公式
}
#include<iostream>
#include<math.h>//别忘了
using namespace std;
int main()
{
double v1,v2;
cin>>v1>>v2;
cout<<sqrt((v1*v1+v2*v2)/2.0);//公式
}