Ehab and another construction problem
题意翻译
给一个x,找出a,b,使:
```
1≤a,b≤x
a能被b整除
a⋅b>x
a/b<x
```
如果有,输出a,b;否则输出-1
题目描述
Given an integer $ x $ , find 2 integers $ a $ and $ b $ such that:
- $ 1 \le a,b \le x $
- $ b $ divides $ a $ ( $ a $ is divisible by $ b $ ).
- $ a \cdot b>x $ .
- $ \frac{a}{b}<x $ .
输入输出格式
输入格式
The only line contains the integer $ x $ $ (1 \le x \le 100) $ .
输出格式
You should output two integers $ a $ and $ b $ , satisfying the given conditions, separated by a space. If no pair of integers satisfy the conditions above, print "-1" (without quotes).
输入输出样例
输入样例 #1
10
输出样例 #1
6 3
输入样例 #2
1
输出样例 #2
-1