#include using namespace std; int main() { int n; cin >> n; for (int ans = 0; ; ans++) { if (n <= 1 << ans) { cout << ans << endl; break; } } }