import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; import java.math.*; public class Main { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int n = Integer.parseInt(br.readLine()); int sum = 1; int cnt = 0; while(true){ if(sum>=n)break; sum *= 2; cnt++; } sb.append(cnt); System.out.println(sb); } }