#include #include int main(void) { int a,b; double c; scanf("%d%d",&a,&b); if(b>=a){ c=sqrt((b*b)-(a*a)); } if(a>b){ c=sqrt((a*a)-(b*b)); } printf("%016.10lf\n",c); return 0; }