#include #include int main(void){ int n,ans; double tmp; scanf("%d",&n); tmp = log((double)n) / log(2.0); ans = (int)ceil(tmp); printf("%d\n",ans); return 0; }