#include<iostream> #include<cstdio> #include<cmath> #include<cstdlib> using namespace std; int main(){ double x; while (cin >> x){ if (x <= -10){ double result = abs(pow(x,5)) - 33; printf("%.1lf",result); }else if (x <= 10){ double result = -0.5 * x + 10; printf("%.1lf",result); }else{ double result = 2 * sqrt(x); printf("%.1lf",result); } } }