#include using namespace std; int main(){ int N,n = 1,c = 0; cin >> N; while(n < N){ n *= 2; c++; } cout << c << endl; }