#include <bits/stdc++.h>
using namespace std;
long long n, x, a, sum;
int main() {
  cin.sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> x;
  cin >> sum;
  for (long long i = 2; i <= n; ++i) {
    ++sum;
    cin >> a;
    sum += a;
  }
  if (x == sum) {
    cout << "Yes\n";
  } else {
    cout << "No\n";
  }
}
