func_code_string: #include <bits/stdc++.h>   using namespace std;   const int mxn = 5e5 + 123;   const int inf = 1e9;   const int mod = 1e9 + 7;   int a[mxn], n;   vector<int> v;   int main() {     long long s;     cin >> s;     for (long long i = 1; i <= s; i++) {       long long n;       cin >> n;       long long sum = 0;       while (n > 0) {         if (n % 2 == 1) sum++;         n /= 2;       }       cout << (1ll << sum) << endl;     }     return 0;   }   