#include #include int MinHitNum(int corrent,int goal); int main(){ std::int32_t goal,count,bisquitnum; std::cin >> goal; count=0; bisquitnum=1; if(goal==1){ count=0; } else{ while(bisquitnum<(goal+1)/2){ bisquitnum*=2; count++; } count+=1; } std::cout << count << std::endl; }