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