import strutils let n = stdin.readLine.parseInt var t = 1 cnt = 0 while t < n: t *= 2 cnt += 1 echo cnt