Find the number of positive integers not exceeding 1100 that are either the square or the cube of an integer.

find the number of positive integers not exceeding 1100 that are either the square or the cube of an integer.