Perfect Cube Number#366

Perfect Cube Number

1 second
64 megabytes
Very easy (≈850)

Find the largest number that is a perfect cube among numbers less than .

Input

A natural number is given (1 \le n \le 10^9).

Output

Output the largest perfect cube number that is less than .

Examples

Example 1

Loading
Loading