a=0 b=1 n=d=input() while~b+a:print`a`+"/"+`b`;a,b,d=a*d/b+1,d,n-(n+b)%d