atcoder#ARC108A. [ARC108A] Sum and Product
[ARC108A] Sum and Product
Score : points
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
.
3 2
Yes
- For example, we have and for .
1000000000000 1
No
- There is no such pair .