N = int(input()) bsc = 1 slaps = 0 while bsc <= N: bsc *= 2 slaps += 1 print(slaps)