F. The Grand Heist
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Example
Input
3 4
5 7 4
Output
Yes
SPLIT
5
1 2 4 3 6
DISTRIBUTE
2
5 10
3
7 9 11
1
8