CF875C National Property

Description

You all know that the Library of Bookland is the largest library in the world. There are dozens of thousands of books in the library. Some long and uninteresting story was removed... The alphabet of Bookland is so large that its letters are denoted by positive integers. Each letter can be small or large, the large version of a letter $ x $ is denoted by $ x' $ . BSCII encoding, which is used everywhere in Bookland, is made in that way so that large letters are presented in the order of the numbers they are denoted by, and small letters are presented in the order of the numbers they are denoted by, but all large letters are before all small letters. For example, the following conditions hold: $ 2<3 $ , $ 2'<3' $ , $ 3'<2 $ . A word $ x_{1},x_{2},...,x_{a} $ is not lexicographically greater than $ y_{1},y_{2},...,y_{b} $ if one of the two following conditions holds: - $ a

Input Format

The first line contains two integers $ n $ and $ m $ ( $ 2

Output Format

In the first line print "Yes" (without quotes), if it is possible to capitalize some set of letters in such a way that the sequence of words becomes lexicographically ordered. Otherwise, print "No" (without quotes). If the required is possible, in the second line print $ k $ — the number of letters Denis has to capitalize (make large), and in the third line print $ k $ distinct integers — these letters. Note that you don't need to minimize the value $ k $ . You can print the letters in any order. If there are multiple answers, print any of them.

Explanation/Hint

In the first example after Denis makes letters $ 2 $ and $ 3 $ large, the sequence looks like the following: - $ 2' $ - $ 1 $ - $ 1 $ $ 3' $ $ 2' $ - $ 1 $ $ 1 $ The condition $ 2'<1 $ holds, so the first word is not lexicographically larger than the second word. The second word is the prefix of the third word, so the are in lexicographical order. As the first letters of the third and the fourth words are the same, and $ 3'<1 $ , then the third word is not lexicographically larger than the fourth word. In the second example the words are in lexicographical order from the beginning, so Denis can do nothing. In the third example there is no set of letters such that if Denis capitalizes them, the sequence becomes lexicographically ordered.