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