#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; #define MOD 1000000007 int main() { int n; cin >> n; int ans = 0; int now = 1; while (now < n) { ans++; now *= 2; } cout << ans << endl; return 0; }