import std.stdio;

void main() {
    long N; readf("%s\n", &N);
    if (N == 0) {
        writeln(0);
        return;
    }
    int x = 0; long n = 1;
    while (n <= N) {
        x++;
        n <<= 1;
    }
    writeln(x);
}