def main(): N = int(input()) ans = 0 count = 1 while count < N: count *= 2 ans += 1 print(ans) if __name__ == '__main__': main()