include
using namespace std;
int main() {
long long int n,N;
cin>>n;
if(n==1 || n==2 || n==-2 || n==-1 || n==0){
cout<<"-1"<<endl;
}
else if(n%2==0){
N=(nn)/4;
cout<<n<<endl<<N-1<<endl<<N+1;
}
else if(n%2!=0){
N=(nn)+1;
cout<<n<<endl<<N/2 - 1<<endl<<N/2;
}
return 0;
}
This is my program which shows wrong output for all cases except test case 4. Please help to solve this challenge.