N = STDIN.gets.to_i print (Math.log(N, 2).ceil); print "\n"