Can anyone tell me which test case my code for Game of Piles Version 2 july long is getting wrong?

#include
using namespace std;

int main() {
long long int t;cin>>t;
while(t–){
long long int n,x,s=0;
cin>>n;
for(int i=0;i<n;i++){
cin>>x;
if(x!=1)
s+=(x-1);
}

        if(s%2==0)
            cout<<"Chefina"<<endl;
        else 
            cout<<"Chef"<<endl;
}
return 0;

}

Hey, did you try using the WA test finder feature? - New Feature - WA Test cases

When you are taking input, you should add x-2 instead of x-1, as by the time the stack has 2 stones the result is set on which player would win.