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