Interesting Array

hard
<a href="https://codeforces.com/contest/482/problem/B">https://codeforces.com/contest/482/problem/B</a>

Input Format

.

Output Format

.

Constraints

.

Notice

.

Example

Input
3 1
1 3 3
Output
YES
3 3 3
Previous
Xor On Segment
Next
Complex Queries

Related Questions