var i,j,k,m,n:word;begin j:=1;read(n);k:=n;repeat writeln(i,"/",j);m:=n+j;i:=i*k div j+1;j:=k;k:=n-m mod k until i>n end.
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page