import java.util.Scanner; public class Main { public static void main(String... args) { Scanner sc = new Scanner(System.in); int biscuitsQty = sc.nextInt(); System.out.println(calcHitPocket(biscuitsQty)); } public static int calcHitPocket(final int biscuitsQty) { int hitQty = 0; int currentBiscuitsQty = 1; while (currentBiscuitsQty < biscuitsQty) { currentBiscuitsQty *= 2; hitQty++; } return hitQty; } }