Help me in solving MANCODE problem

My issue

what can be the possible hidden test case?

My code

#include <bits/stdc++.h>
using namespace std;

int main() {
	// your code goes here
	int t;
	cin >>t;
	while(t--){
	    int n;
	    cin >> n;
	    if(n%2==1){
	        cout << (n/2)+1 <<" "<< n-((n/2)+1) << endl;
	    }
	    else {
	        cout << n/2 <<" "<< n-((n/2)-1)<< endl;
	    }
	}

}

Problem Link: The Man Code Practice Coding Problem