#coding:utf-8 N=input() k=0 while True: if N <= 2**k: break else: k+=1 print k