#include<bits/stdc++.h> using namespace std; int main() { int a,s; cin>>a; while (a!=10) { a=a/2; s+=1; } cout<<s; return 0; }