public class E0404
{
public static void main(String args[])
{
double n;
double a=0,s=0;
n=Integer.parseInt(args[0]);
for(int i=1;i<=n;i++)
{
a=1.0/i;
s=s+a;
System.out.println(a);
}
System.out.println("和为"+s);
}
}
public class E0405
{
}