import math n = int(input()) i = 0 while True : if n <= 2**i : print(i) break else : i += 1