#include //#include using namespace std; //using namespace atcoder; #define rep(i,a,n) for (int i = a; i < (n); i++) #define all(x) (x).begin(),(x).end() using ll = long long; using P = pair; using Graph = vector>; int mod = 998244353; int INF = 1001001001; using pll = pair; int Flag=0; //デフォルトでNoがでる void yn(int Flag){ if(Flag==1){ cout<<"Yes"<> &C){ int n=C.size(); rep(i,0,n){ for(auto x:C[i]){ cerr<> &G){ int n=G.size(); rep(i,0,n){ for(auto &x : G[i]){ cerr<>N; vector A(N); ll sum=0; rep(i,0,N){ cin>>A[i]; sum+=A[i]; } if(sum%N!=0) Flag=1; yn(!Flag); }