Type: Default 1000ms 256MiB

划分奇数段

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Problem Description

给定一个长度为 nn 的整数数组 aa 和一个整数 kk。

你需要判断能否将这个数组划分成恰好 kk 个连续子段,使得每个子段的元素和都是奇数。

Input Format

第一行包含两个整数 n,kn, k (1≤k≤n≤2×1051 \le k \le n \le 2 \times 10^5),分别表示数组长度和需要划分的段数。

第二行包含 nn 个整数 a1,a2,…,ana_1, a_2, \dots, a_n (−109≤ai≤109-10^9 \le a_i \le 10^9)。

Output Format

如果存在满足条件的划分方式,输出 Yes;否则输出 No。

Sample

输入 #1

5 2
-7 -10 13 17 19

输出 #1

Yes

输入 #2

5 2
1 -2 -1 2 1

输出 #2

No