#A0157. 开三方
开三方
Title Description
Given a positive integer , find the positive integer such that .
In other words, you need to ensure and .
Input format
The first line is a positive integer .
Output format
Two positive integers in a row.
twenty-seven
3 4
three hundred
6 7
Example explanation
- ,
- ,
Data scale and agreement
For data of , .
- Subtask 1 (30 points): .
- Subtask 2 (30 points): .
- Subtask 3 (40 points): No special restrictions.