ll@T;rep(T){ll@N;wt(N>16||N^N&-N?"No":"Yes");}