import java.util.*; public class main{ public static void main(String[] args) { try{ int a,b; float d; Scanner in=new Scanner(System.in); a=in.nextInt(); d=(float)a; in.close(); b=0; while(d>0.00001) { b++; d*=0.5; } System.out.print(b); }catch(Exception e){ System.out.println("Input error!"); } } };