import java.util.*;enum F{F;System z;float a;{for(Scanner s=new Scanner(z.in);s==s;z.out.printf("%.2f\n",a/=a/s.nextInt()+1))a=s.nextInt();}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page