According to Waring’s theorem, any positive integer can be represented as the sum of nine or fewer perfect cubes (not necessarily distinct).
For instance, 89 can be represented as the sum of four perfect cubes: 27 + 27 + 27 + 8 = 89.
Can you express 239 as a sum of nine or fewer perfect cubes?