func_code_string: #include <bits/stdc++.h>   using namespace std;   int main(void) {     long long n, k;     cin >> n >> k;     long long len = (1LL << n) - 1;     while (true) {       long long mid = len / 2 + 1;       if (k == mid) break;       if (k > mid) k -= mid;       n--;       len = (1LL << n) - 1;     }     cout << n << endl;     return 0;   }   