#include #include using namespace std; using namespace atcoder; using ll = long long; using ld = long double; using mint = modint998244353; int main() { int N, M, L; cin >> N >> M >> L; vector A(N); for (auto &x: A) cin >> x; vector> dp(N + 1, vector(1001, false)); dp[0][L] = true; for (int i = 1; i <= N; i++) { for (int j = 0; j <= 1000; j++) { if (dp[i - 1][j]) { dp[i][j] = true; dp[i][(j + A[i - 1]) / 2] = true; } } } cout << (dp[N][M] ? "Yes": "No") << endl; }