public class Leijia
{
public static void main(String[] args)
{
double t=0;
int n;
for(n=1;n<=10;n++)
t +=1.0/n;
System.out.println(t);
}
}
{
public static void main(String[] args)
{
double t=0;
int n;
for(n=1;n<=10;n++)
t +=1.0/n;
System.out.println(t);
}
}