The program takes a natural number n as input. Your task is to find the largest perfect cube that is less than n.
A natural number n.
The largest perfect cube less than n.
Example 1