#include <iostream>
#include <math.h>
using namespace std;
int main()
{
double a;
double p=1;
int n=0;
while(cin>>a && a>0)
{
n++;
p*=a;
}
cout << pow(p,1.0/n);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bWF0aC5oPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7Cglkb3VibGUgYTsKCWRvdWJsZSBwPTE7CglpbnQgbj0wOwoJd2hpbGUoY2luPj5hICYmIGE+MCkKCXsKCQluKys7CgkJcCo9YTsKCX0KCWNvdXQgPDwgcG93KHAsMS4wL24pOwoJcmV0dXJuIDA7Cn0=