{"raw_statement":[{"iden":"problem statement","content":"Given are integers $S$ and $P$. Is there a pair of positive integers $(N,M)$ such that $N + M = S$ and $N \\times M = P$?"},{"iden":"constraints","content":"*   All values in input are integers.\n*   $1 \\leq S,P \\leq 10^{12}$"},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$S$ $P$"},{"iden":"sample input 1","content":"3 2"},{"iden":"sample output 1","content":"Yes\n\n*   For example, we have $N+M=3$ and $N \\times M =2$ for $N=1,M=2$."},{"iden":"sample input 2","content":"1000000000000 1"},{"iden":"sample output 2","content":"No\n\n*   There is no such pair $(N,M)$."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}