N = int(raw_input()) i = 1 c = 0 while i < N: i = i * 2 c += 1 print c