#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main(int argc, char *argv[])
{
double x, y, z, a;
printf("x=");
scanf("%lf=", &x);
printf("y=");
scanf("%lf=", &y);
printf("z=");
scanf("%lf=", &z);
if ((z-int(z/pi)*pi)!=0 && sqrt(exp(x*y))!=(log(fabs(tan(z)))))
a=((fabs(x)+cos(y)-sin(z))/(sqrt(exp(x*y)))+(log(fabs(tan(z)))));
printf(" A = %lf\n ", a);
system("PAUSE");
return 0;
}