Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: the number 35 is equal to the sum of the cubes of two integers . what is the product of those integers ?
6