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