#include using namespace std; int main() { int n; cin >> n; int b = 1, c = 0; while (b < n) { b *= 2; c++; } cout << c << endl; }