Points: 200 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Cho 2 số nguyên dương \(a\)\(b\) kiểm tra xem \(a^2 - b^2\) có phải là số nguyên tố hay không.

Input:

  • Gồm 2 số nguyên dương \(a, b \ (1 \leq b < a \leq 10^{12})\).

Output:

  • In ra YES nếu \(a^2 - b^2\) là số nguyên tố. Ngược lại in NO.

Example

Test 1

Input
6 5 
Output
YES

Test 1

Input
13 5 
Output
NO

Comments

There are no comments at the moment.