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