Problem Description

Read n integers and target T. Output YES if there exist i

Input Format

Line1 n T. Line2 n integers.

Output Format

YES or NO.

Sample Test Case

Input:
6 9 2 7 11 15 1 8
Output:
YES

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next