#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main(void) {
int i, n;
double sum = 0.0;
printf("Ç×ÀÇ °³¼ö: ");
scanf("%d", &n);
for (i = 1; i <= n; i++)
sum += 1.0 / (double)i;
printf("¼ö¿ÀÇ ÇÕ=%lf \n\n", sum);
return 0;
}