#include <iostream>
#include <cmath>
using namespace std;
int main() {
long double x, y, z;
cin>>x>>y>>z;
long double a, b;
long double e;
a = x*atan(y) - pow(M_E,(1-z));
b =(sqrt(abs(3-x*x))-pow(abs(y-x),1.0/3))/(1-x*x/2 + y*y/4 - z*z/8);
cout<<a<<endl;
cout<<b<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKaW50IG1haW4oKSB7Cglsb25nIGRvdWJsZSB4LCB5LCB6OwoJY2luPj54Pj55Pj56OwoJbG9uZyBkb3VibGUgYSwgYjsKCWxvbmcgZG91YmxlIGU7CiAgICBhID0geCphdGFuKHkpIC0gcG93KE1fRSwoMS16KSk7CgliID0oc3FydChhYnMoMy14KngpKS1wb3coYWJzKHkteCksMS4wLzMpKS8oMS14KngvMiArIHkqeS80IC0geip6LzgpOwoJY291dDw8YTw8ZW5kbDsKCWNvdXQ8PGI8PGVuZGw7CglyZXR1cm4gMDsKfQ==