{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003ePrince Mochi of the Mochi Kingdom falls in love with Princess Tofu of the Tofu Kingdom, but the queen of the Tofu Kingdom does not assent to this marriage.\u003c/p\u003e\n\u003cp\u003eThe queen challenges their love and advocates a task for Prince Mochi. Solving this task is the premise for earning their happiness. The lack of capacity obliges Prince Mochi to ask you for help.\u003c/p\u003e\n\u003cp\u003eHere is the task: Princess Tofu, King Tofu, the queen, the minister, maids, chefs, and many others are all together for the task, all staying in separate rooms. Note that there is no empty room. Each one of them knows where he/she is and where any other people are.\u003c/p\u003e\n\u003cp\u003ePrince Mochi is asked to find the princess. He can inquire anyone about the following three types of questions:\u003c/p\u003e\n\u003cul\u003e\n \u003cli\u003eWho are you?\u003c/li\u003e\n \u003cli\u003eWho is staying in a specified room?\u003c/li\u003e\n \u003cli\u003eWhich room does the Princess Tofu stay in?\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eThey will never refuse to answer the questions, but may not tell the truth. People, including Princess Tofu herself, who support this marriage will present the facts. The opposition, like the queen, will always provide an incorrect answer. Other participants will be arbitrary.\u003c/p\u003e\n\u003cp\u003ePrince Mochi does not want to spend too much time and so he will query as little as possible. Can you tell him the minimum number of questions he really needs to confirm where his darling is under any circumstances? But sometimes, the task is impossible, then you should also remind him to begin a new love affair.\u003c/p\u003e\n\u003ch3\u003eInput\u003c/h3\u003e\n\u003cp\u003eThe only line in input contains three integers $a~(1 \\le a \\le 2 \\times 10^5)$, $b$ and $c~(0 \\le b,c \\le 2 \\times 10^5)$ which represent the number of participants who support this marriage, who are against this marriage and who do not really care about it respectively.\u003c/p\u003e\n\u003ch3\u003eOutput\u003c/h3\u003e\n\u003cp\u003eIf it is impossible to determine where Prince Mochi is, output \u003ccode\u003eNO\u003c/code\u003e. Otherwise, output \u003ccode\u003eYES\u003c/code\u003e at first following an integer indicating the minimum number of questions the prince needs to inquire in the second line.\u003c/p\u003e"}},{"title":"Sample 1","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e2 0 0\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eYES\n1\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003cbr /\u003e"}},{"title":"Sample 2","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e1 1 0\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eNO\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003cbr /\u003e\u003cp\u003eIn the second sample case, Prince Mochi may ask all available questions to both participants. However, in the case when they always provide the same answer, the prince cannot ensure where the princess is. Thus the answer is \u003ccode\u003eNO\u003c/code\u003e.\u003c/p\u003e"}}]}