b;main(a){for(scanf("%d",&a),a--;a>>b;b++);b=!printf("%d",b);}