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