a=STDIN.gets.to_i ans=0 b=1 while a>b do b*=2 ans+=1 end puts ans