#include <cstdio> #include <cmath> using namespace std; int main(){ int a; scanf("%d",&a); printf("%d",(int)log2((double)a)+1); return 0; }