Олимпиадный тренинг

Задача 38620. The sum of two cubes


Express the given number n as the sum of two cubes.

Input
The program receives as input one natural number n (n <= 1028).

Imprint
The program should output 2 non-negative integers (in descending order) whose sum of cubes is equal to n. If it's impossible, print the string impossible.
 
Examples
# Input Output
1 9 2 1
2 3 impossible