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