#coding: utf-8 n = int(input()) count = 1 while True: n = n / 2 if n <= 1: break count = count + 1 print(count)