long long k;
main()
{
scanf("%d%lld",&k,&k);
printf("%d\n",1+__builtin_ctzll(k));
}