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