import strutils

var n = parseInt readLine stdin
var cnt = 0
var x = 1
while x < n:
  x *= 2
  inc cnt
echo cnt