#include int main() { int N; scanf( "%d\n", &N ); int c = 1; int cnt = 0; for( ; c < N ; c = c * 2 ) { cnt++; } printf("%d\n", cnt ); return 0; }