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