#include #include #include using namespace std; int main(){ cout << fixed << setprecision(6); int a, b; cin >> a >> b; cout << sqrt( max(a,b)*max(a,b) - min(a,b)*min(a,b) ) << endl; return 0; }