#include using namespace std; int main() { double N; scanf("%lf", &N); cout << ceil(log2(N)) << endl; return 0; }