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