You work in a mathematical laboratory in Lylandia. Your task is to develop a program that determines whether a given number of Leland is a given number. The number of Leland is the number that can be represented in the form of [x^y + y^x], where [x] and [y] - integers, strictly large 1.
Input format
the one-number & nbsp; [n] ([2 \ le n \ le 10^6]), which must be checked for whether it is the number of Leyland
Output format
take "Yes" if the number [n] is the number of Leiland, and "no", and "no" if not is
Hint
There will be no clue here, decide for yourself!