#include<bits/stdc++.h>
using namespace std;
#define int long long
void solve()
{
int x;cin>>x;
if(x == 1)cout<<"-1\n";
else cout<<x<<" "<<x<<endl;
}
signed main()
{
int t = 1;
// cin>>t;
while(t--)
solve();
return 0;
}
最特殊的情况就是输出两个相等的都是x,除了1不可以之外,其他都是符合条件的。

京公网安备 11010502036488号