import java.util.Scanner; public class HelloWorld { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); sc.close(); double sum = 0; for (double n = 1; ; n = n + 1 ) { if (n * (n + k) > 1000000) { break; } System.out.println(sum); sum += 1.0 / n / (n + k); } System.out.println(sum); } }