#include #include int main(){ int a, c = 0; scanf("%d", &a); while(pow(2, c++) < a/2 + (a%2)); printf("%d\n", c); return 0; }