题目描述
Problem Description
An integer $ A $ is given.
Output YES if the integer $ A $ is a cubic number, otherwise output NO.
A cubic number is a number that can be made by cubing an integer.
Input Format
The input is given from the standard input in the following format:
$ A $
- The first line contains a single integer $A\ (1\ ≦\ A\ ≦\ 1000000)$.
Output Format
Output YES if $ A $ is a cubic number, otherwise output NO. The output should be on a single line, and a newline should be included at the end.
Sample Input and Output
Sample Input #1
8
Sample Output #1
YES
Sample Input #2
24
Sample Output #2
NO
Notes/Hints
Sample Explanation 1
Since $ 8 $ is a cubic number, output YES.
Sample Explanation 2
Since $ 24 $ is not a cubic number, output NO.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
8
样例输出
YES