import math as m print(m.ceil(m.log2(int(input()))))