main(long double n){scanf("%f",&n);long q=n=sqrtl(8*n+1);printf(q