n = int(raw_input()) tmp = 1 cnt = 0 while tmp < n: cnt += 1 tmp = tmp * 2 print cnt