#D1892. Shuffle 2

    ID: 1571 Type: Default 3000ms 268MiB

Shuffle 2

Shuffle 2

Problem

There is a bundle of n n cards, with i i written on the i i th card from the bottom. Shuffle this bundle as defined below q q times.

  • When looking at the bundle from below, consider a bundle x x made by stacking odd-numbered cards on top, and a bundle y y made by stacking even-numbered cards on top. Then do whatever you like out of the following 2 2 .
  • Operation 0 0 : Put the bundle y y on the bundle x x to make a bundle of 1 1 .
  • Operation 1 1 : Put the bundle x x on the bundle y y to make a bundle of 1 1 .

For example, if you consider shuffling 1 1 times for a bundle of 6 6 cards (123456 from the bottom), the bundle you get when you perform the operation 0 0 is ~~ 246135 ~~ from the bottom. 135246, the bundle obtained by performing the operation 1 1 is ~~ 135246 ~~ 246135 from the bottom. (Corrected at 14:52)

After q q shuffle, I want the card with k k to be d d th from the bottom of the bunch. If possible, print q q of shuffle operations in sequence, and if not, print 1 -1 .

Constraints

The input satisfies the following conditions.

  • 2 len le1015 2 \ le n \ le 10 ^ {15}
  • 1 leq le106 1 \ le q \ le 10 ^ 6
  • 1 lek,d len 1 \ le k, d \ le n
  • n n is even

Input

The input is given in the following format.

n n q q k k d d

Output

If it is possible to shuffle the conditions, output the shuffle operation on the q q line.

If not possible, output 1 -1 .

Examples

Input

4 2 1 1

Output

0 0

Input

4 2 3 1

Output

0 1

Input

4 1 1 4

Output

-1

Input

7834164883628 15 2189823423122 5771212644938

Output

0 1 1 1 1 1 0 1 0 1 0 0 0 0 0

inputFormat

input satisfies the following conditions.

  • 2 len le1015 2 \ le n \ le 10 ^ {15}
  • 1 leq le106 1 \ le q \ le 10 ^ 6
  • 1 lek,d len 1 \ le k, d \ le n
  • n n is even

Input

The input is given in the following format.

n n q q k k d d

outputFormat

Output

If it is possible to shuffle the conditions, output the shuffle operation on the q q line.

If not possible, output 1 -1 .

Examples

Input

4 2 1 1

Output

0 0

Input

4 2 3 1

Output

0 1

Input

4 1 1 4

Output

-1

Input

7834164883628 15 2189823423122 5771212644938

Output

0 1 1 1 1 1 0 1 0 1 0 0 0 0 0

样例

4 2 3 1
0

1

</p>