daily pastebin goal
30%
SHARE
TWEET

Untitled

a guest Dec 4th, 2018 621 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top