#include int main(void){ double N; int i = 0; scanf("%lf", &N); while(N > 1){ N /= 2; i++; } printf("%d\n", i); return 0; }