#include <stdio.h>
#include <math.h>
int main(void) {
int n;
scanf("%d", &n);
double a, p=1, k;
for(int i=1; i<=n; i++)
{
scanf("%lf", &a);
p*=a;
}
k=sqrt(fabs(p));
printf("%lf", k);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgbjsKCXNjYW5mKCIlZCIsICZuKTsKCWRvdWJsZSBhLCBwPTEsIGs7Cglmb3IoaW50IGk9MTsgaTw9bjsgaSsrKQoJewoJCXNjYW5mKCIlbGYiLCAmYSk7CgkJcCo9YTsKCX0KCWs9c3FydChmYWJzKHApKTsKCXByaW50ZigiJWxmIiwgayk7CglyZXR1cm4gMDsKfQo=