eolymp
bolt
Try our new interface for solving problems
Problems

Perfect cubes

Perfect cubes

Print in increasing order all perfect cubes of positive integers, less than n.

Input

One positive integer n (n > 1).

Output

Print in one line all perfect cubes of positive integers, less than n, in increasing order.

Time limit 1 second
Memory limit 128 MiB
Input example #1
9
Output example #1
1 8
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"