#include using namespace std; int main(void){ int t; cin>>t; while(t--){ unsigned int n; cin>>n; cout<<(__builtin_popcount(n)==1?"Yes":"No")<