using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static int NN => int.Parse(ReadLine()); static int[] NList => ReadLine().Split().Select(int.Parse).ToArray(); static int[][] NArr(long n) => Enumerable.Repeat(0, (int)n).Select(_ => NList).ToArray(); public static void Main() { Solve(); } static void Solve() { var c = NList; var (n, m, l) = (c[0], c[1], c[2]); var a = NList; var dp = new bool[1001]; dp[l] = true; foreach (var ai in a) { var next = new bool[1001]; for (var i = 0; i < dp.Length; ++i) { next[i] |= dp[i]; next[(i + ai) / 2] |= dp[i]; } dp = next; } WriteLine(dp[m] ? "Yes" : "No"); } }