n = gets.to_i ans = 0 ans += 1 while 2**ans < n puts ans