Guest User

Untitled

a guest
Dec 4th, 2018
1,951
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.16 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.     int x;
  6.     cin >> x;
  7.     if (x==1)
  8.     cout << -1;
  9.     else
  10.     cout << x-x%2 << ' ' << 2;
  11. }
Comments
Add Comment
Please, Sign In to add comment