p = int(input()) i = 0 while 2 ** i < p: i += 1 print(i + 1)