from math import * print(ceil(log(int(input()), 2)))