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