{"raw_statement":[{"iden":"problem statement","content":"Takahashi has $N$ foods in his house. The $i$\\-th food has the tastiness of $A_i$.  \nHe dislikes $K$ of these foods: for each $i=1,2,\\ldots,K$, he dislikes the $B_i$\\-th food.\nOut of the foods with the greatest tastiness among the $N$ foods, Takahashi will randomly choose one and eat it.  \nIf he has a chance to eat something he dislikes, print `Yes`; otherwise, print `No`."},{"iden":"constraints","content":"*   $1\\leq K\\leq N\\leq 100$\n*   $1\\leq A_i\\leq 100$\n*   $1\\leq B_i\\leq N$\n*   All $B_i$ are distinct.\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$ $K$\n$A_1$ $A_2$ $\\ldots$ $A_N$\n$B_1$ $B_2$ $\\ldots$ $B_K$"},{"iden":"sample input 1","content":"5 3\n6 8 10 7 10\n2 3 4"},{"iden":"sample output 1","content":"Yes\n\nAmong the five foods, the ones with the greatest tastiness are Food $3$ and $5$, of which he eats one.  \nHe dislikes Food $2$, $3$, and $4$, one of which he has a chance to eat: Food $3$.  \nTherefore, the answer is `Yes`."},{"iden":"sample input 2","content":"5 2\n100 100 100 1 1\n5 4"},{"iden":"sample output 2","content":"No\n\nThe foods with the greatest tastiness are Food $1$, $2$, and $3$, none of which he has a chance to eat."},{"iden":"sample input 3","content":"2 1\n100 1\n2"},{"iden":"sample output 3","content":"No\n\nThe food with the greatest tastiness is Food $1$, which he has no chance to eat."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}