#include int main(){int N,a=0;std::cin>>N;--N;if(N)++a;while(N/=2)++a;std::cout<