#include<iostream>
using namespace std;

#include<wxmaths.h>
using namespace wxmaths;

int main()
{
Realfunction3d *f; cin >> f; cout << *f << endl << f << endl;
double x, y, z; cin >> x >> y >> z;
double fn = (*f)(x,y,z); cout << fn << endl;
return 0;
}
