#include using namespace std; int main() { int n; cin >> n; int ans = ceil(log2(n)); cout << ans << endl; return 0; }