#arc108a. [arc108_a]Sum and Product
[arc108_a]Sum and Product
Problem Statement
Given are integers and . Is there a pair of positive integers such that and ?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
If there is a pair of positive integers such that and , print Yes
; otherwise, print No
.
Sample Input 1
3 2
Sample Output 1
Yes
- For example, we have and for .
Sample Input 2
1000000000000 1
Sample Output 2
No
- There is no such pair .