Cube-loving Numbers | HackerRank

Count the Number of Cube-loving Numbers