#include int main() { unsigned N; scanf("%u", &N); unsigned n = N + N-1; int i; for (i = 0; n > 1; n >>= 1, i++) ; printf("%d\n", i); return 0; }