import java.util.*;
import java.lang.*;
class Task4
{
public static void main
(String[] args
) {
Scanner input
= new Scanner
(System.
in); int n = input.nextInt();
double workingTime, cof = 0;
for(;n>0;n--)
{
workingTime=input.nextDouble();
cof+=1/workingTime;
}
System.
out.
printf("Работа будет выполнена за%5.1f часов \n",
1/cof
); }
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CiAKY2xhc3MgVGFzazQKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpCgl7CgkJU2Nhbm5lciBpbnB1dCA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJaW50IG4gPSBpbnB1dC5uZXh0SW50KCk7CgkJZG91YmxlIHdvcmtpbmdUaW1lLCBjb2YgPSAwOwoJCWZvcig7bj4wO24tLSkgCgkJewoJCQl3b3JraW5nVGltZT1pbnB1dC5uZXh0RG91YmxlKCk7CgkJCWNvZis9MS93b3JraW5nVGltZTsKCQl9CgkJU3lzdGVtLm91dC5wcmludGYoItCg0LDQsdC+0YLQsCDQsdGD0LTQtdGCINCy0YvQv9C+0LvQvdC10L3QsCDQt9CwJTUuMWYg0YfQsNGB0L7QsiBcbiIsIDEvY29mKTsKCX0KfQ==