import java.util.Scanner; public class WonderPocket { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int bis = 1; int count = 0; //オーバーしない数まで二倍していく while((bis *= 2) <= n){ count++; } if(bis/2 == n){ System.out.println(count); }else{ count++; System.out.println(count); } } }