n, m, l = map(int, input().split()) a_list = list(map(int, input().split())) current_colors = {l} for a in a_list: next_colors = set() for c in current_colors: next_colors.add(c) # don't mix mixed = (c + a) // 2 next_colors.add(mixed) current_colors = next_colors print("Yes" if m in current_colors else "No")