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