#include<stdio.h> int main(void) { int m,denominator,flag,i,n,j; double item,sum; scanf("%d",&m); while(n<=m){ scanf("%d",&n); } flag=1; denominator=1; sum=0; for(i=1;i<m;i++) for(j=1;j<n;j++){ item=flag*1.0/denominator; sum=sum+item; flag=-flag; denominator=denominator+1; printf("%d ",sum); } return 0; }