ans = 0 i = 1 eat = int(raw_input()) while i < eat: i *= 2 ans += 1 print ans