#include using namespace std; int main() { int n, ans = 0; cin >> n; for (int i = 1; i < n; i*=2) { ans++; } printf("%d\n", ans); return 0; }