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