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