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