#include <iostream>
using namespace std;

int main() {
    int N;
    cin >> N;
    int C = 1;
    int i = 0;
    while (C < N) {
        C *= 2;
        i ++;
    }
    
    cout << i << endl;
}