#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int a, b; cin >> a >> b; cout << fixed << setprecision(10) << sqrt(abs(a * a - b * b)) << '\n'; return 0; }