from math import ceil, log2 N = int(input()) print(ceil(log2(N)))