#include<stdio.h> int main() { int n,i=1; scanf("%d",&n); while(n>(i+1)*i/2){ i++; } printf("%d/%d",n-(i-1)*i/2,i); return 0; }