func_code_string: #include <bits/stdc++.h>   using namespace std;   void fastInOut() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     cout.tie(NULL);   }   const int size = 300000 + 5;   void solve() {     long long n;     cin >> n;     long long ans = 0;     long long x = 1;     long long ctr = 0;     long long till_now = 0;     while (till_now < n) {       ans++;       till_now += (x * (x + 1) / 2);       ctr++;       x += (1 << ctr);     }     if (till_now > n) ans--;     cout << ans << endl;   }   int main(int argc, char const* argv[]) {     fastInOut();     int t = 1;     cin >> t;     while (t--) {       solve();     }     return 0;   }   