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
Output appears hereOne integer n (1 ≤ n ≤ 10¹⁸).
YES or NO.
27
YES
26
NO
Output appears here