#include <iostream>
#include <cmath>
using namespace std;
double x,y,z;
void solve(){
if(x > z)
cout << (5 + sqrt(abs(x)))/sqrt(abs(y-x));
else cout << pow(y,2) + sin(x);
}
signed main() {
cin >> x >> y >> z;
solve();
#include <iostream>
#include <cmath>
using namespace std;
double x,y,z;
void solve(){
if(x > z)
cout << (5 + sqrt(abs(x)))/sqrt(abs(y-x));
else cout << pow(y,2) + sin(x);
}
signed main() {
cin >> x >> y >> z;
solve();
}