N, x, y = map(int, input().split())
A = list(map(int, input().split()))

hs = []
vs = []
for i, a in enumerate(A):
    if i % 2 == 0:
        hs.append(a)
    else:
        vs.append(a)

hok = {
    hs[0],
}
for h in hs[1:]:
    hok2 = set()
    for oh in hok:
        hok2.add(oh + h)
        hok2.add(oh - h)
    hok = hok2
vok = {
    0,
}
for v in vs:
    vok2 = set()
    for ov in vok:
        vok2.add(ov + v)
        vok2.add(ov - v)
    vok = vok2

print("Yes" if x in hok and y in vok else "No")
