#include int main(){ int n; int sum = 1; scanf("%d",&n); int count = 0; while(n > sum){ sum *= 2; count++; } printf("%d\n",count); return 0; }