/1st loop condition-Sum of 2 sides if triangle is always greater
greater then the 3rd side.
2nd loop condition-Sum of squares of 2 sides is greater than the sq of 3rd side.
/
#include
using namespace std;
int main()
{
int n,l,m;cin>>n;
l=n;
m=n;
while(n+l>m)
{
while(nn+ll>mm)
{
m++;
}
l++;
if(nn+ll==mm)
{cout<<l<<" "<<m;
break;}
}
if(n+l<=m)
cout<<-1;
return 0;
}