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