program skambuciai;
    
    var n, t, zino : longint;
        f : text;

begin
    assign(f, 'skambuciai.in');
    reset(f);
    read(f, n);
    close(f);

    t := 0; zino := 1;
    while zino < n do begin
        zino := zino * 2;
        t := t + 1;
    end;

    assign(f, 'skambuciai.out');
    rewrite(f);
    writeln(f, t);
    close(f);
end.
