#include using namespace std; typedef long long ll; const int N = 1e5+10; ll sum; int a[N]; int main() { ios::sync_with_stdio(false); cout.tie(0); int n; cin>>n; for(int i = 0;i>a[i]; sum+=a[i]; } if(sum%n == 0)cout<<"Yes"<