#include <cstdlib> 
#include <iostream> 
#include <cmath> 

using namespace std; 

int main(int argc, char *argv[])
{
    double x, y; 
    cin >> x >> y; 
    a = log(pow(y,sqrt(-fabs(x)))*(sin(x)+ exp(x+y))); 
    cout << "a = " << a << endl; 
    system("PAUSE"); 
    return EXIT_SUCCESS; 

}
