t = int(input()) import math n = math.log(t,2) m = -(-n//1) print(int(m))