#include #define rep(i,n) for (int i=0; i<(n); ++i) using namespace std; using ll = long long; int main() { int N; cin >> N; vector A(N); for (int i=0; i> A[i]; int M = min(N, 22); vector dp(1< mp; for (int i=1; i<(1< ans = A; for (int i=0; i> i) & 1; bool tb = (T >> i) & 1; if ( ! (sb ^ tb)) ans[i] = 0; else if (sb) ans[i] *= -1; else if (tb) ans[i] *= 1; } cout << "Yes" << endl; for (int i=0; i