import math x = int(input()) f = int(math.log(x, 2)) print(f if 2**f == x else f + 1)