num = int(input()) a = 1 count = 0 while a < num: a *= 2 count += 1 print(count)