#include int main(){ int a,b=1; scanf("%d",&a);a--; while(a/=2)b++; printf("%d\n",b); return 0; }