#include int main(void){ int n; scanf("%d", &n); int a = 1, b = 0; for( ; a < n; b++, a *= 2); printf("%d\n", b); return 0; }