https://codeforces.com/problemset/problem/707/C
Input Format
Check Link
Output Format
Check Link
Constraints
Check Link
Example
Input
17
Output
144 145
https://codeforces.com/problemset/problem/707/C
Check Link
Check Link
Check Link
17
144 145