🟨🟦🟥 Codeforces : Problem of the Day(in JAVA)
1088A- Ehab and another construction problem “Codeforces” (rating #800)
Given an integer 𝑥, find 2 integers 𝑎 and 𝑏 such that:
- b divides a (𝑎 is divisible by 𝑏).
The only line contains the integer 𝑥 (1≤𝑥≤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).