N = int(input()) bis = 1 hit = 0 while 1: if bis >= N: print(hit) break else: bis = bis * 2 hit += 1