import math n = int(input()) m = math.log(n-0.1, 2) + 1 print(int(m))