Time limit: 5000ms Memory limit: 256mb Description: Given a positive integer n, decide whether it is the cube of some integer m, i.e., m * m * m = n. Input: A positive integer n in the range [1, 1000000]. Output: Output YES if n is a cube, otherwise output NO. Sample input: 8 Sample output: YES