D: XORANDORBAN

Problem Statement

You are given a positive integer N. Your task is to determine a set S of 2^N integers satisfying the following conditions:

Input

N X A O

Constraints

Output

If there is no set satisfying the conditions mentioned in the problem statement, output No in a line. Otherwise, output Yes in the first line, and then output 2^N integers in such a set in the second line. If there are multiple sets satisfying the conditions, you can output any of them.

Sample Input 1

2 6 1 5

Output for Sample Input 1

Yes
0 3 4 7

Sample Input 2

3 0 5 1

Output for Sample Input 2

No

Sample Input 3

3 4 2 5

Output for Sample Input 3

Yes
1 0 6 15 8 9 14 7