#include <iostream>
#include <string>

using namespace std;

static void setup()
{
    cin.tie(0);
    ios::sync_with_stdio(false);
}

static void run()
{
    int n;
    cin >> n;

    int x = 1;
    int i = 0;
    while (x < n) {
        x <<= 1;
        i += 1;
    }
    cout << i << endl;
}

int main(int argc, char **argv)
{
    setup();
    run();
    return 0;
}