#include <bits/stdc++.h> using namespace std; int a; int main(){ cin>>a; cout<<int(log2(a))+1; return 0; }