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