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