#include #define rep(i,n) for(int i=0;i<(n);++i) #define all(a) (a).begin(),(a).end() using namespace std; typedef long long ll; int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; int bis = 1; int ans = 0; while (bis < n) { bis = bis * 2; ans++; } cout << ans << endl; return 0; }