Test case 1 and 2 failing

#include
using namespace std;
int main() {
int n;
cin>>n;
if (n%2==0)
{
int t;
t=(nn)/4 -1;
if (t<=n)
{
cout<<"-1";
}
else
{cout<<t<<" ";
cout<<(n
n)/4 +1<<endl;}
}
else
{
int t;
t=(nn-1)/2;
if (t<=n)
{
cout<<"-1";
}
else
{cout<<t<<" ";
cout<<(n
n+1)/2;}
}
}

@mishranavneet1710 hey navnit please use long long int for large value it will pass all the case if it is failing again do share your code with ide.codingblocks.com