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