#include <stdio.h> int main() { double a,b,c; scanf("%lf%lf",&a,&b); c = sqrt(b) + pow(a,10)*fabs(a-b); printf("%.2lf",c); return 0; }