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