Question
Balanced Skill Kit

A placement mentor is creating a skill kit for a student. There are N practice modules, and each module adds a certain number of skill points. The mentor wants the kit to add exactly Target points.

Each module can be used at most once. Decide whether it is possible to select some modules with total skill points exactly equal to Target.

The twist: this is not about taking the largest modules first. A future smaller module may complete the exact score.

Input

The first line contains two integers KaTeX can only parse string typed expression and KaTeX can only parse string typed expression.

The second line contains KaTeX can only parse string typed expression integers KaTeX can only parse string typed expression — the skill points of each module.

Output

Print KaTeX can only parse string typed expression if an exact kit can be formed, otherwise print KaTeX can only parse string typed expression.

Example
Example 1:
Input
5 11

2 3 7 8 10
Output
YES
Explanation
Modules with points KaTeX can only parse string typed expression and KaTeX can only parse string typed expression give total KaTeX can only parse string typed expression.

Example 2:
Input
4 14

2 4 6 9
Output
NO

Online