LearnPy Hub
← Arena
EasyRating 1000

Perfect Cube

Print YES if n is the cube of a whole number, otherwise NO.

Input

One integer n (1 ≤ n ≤ 10¹⁸).

Output

YES or NO.

Sample 1

Input
27
Output
YES

Sample 2

Input
26
Output
NO
solution.py
Output appears here
Perfect Cube · Python Arena problem · LearnPy Hub