Help me in solving MEANMEDIAN problem

My issue

what is the hidden test case it does not takeing the answer

My code

#include <stdio.h>

int main() {
int T;
scanf("%d",&T);
while(T--){
    int x,y;
    scanf("%d %d",&x,&y);
    int a,b,c;
    b=y;
    a=x-1;
    c=3*x-a-b;
    if(a < -1000){
        a= -1000;
        c=3*x-a-b;
    }
    if (c>1000){
     c = 1000;
     a=3*x-b-c;
    }
    printf("%d %d %d\n",a,b,c);
   }
return 0;
}


Learning course: Roadmap to 3*
Problem Link: https://www.codechef.com/learn/course/klu-roadmap-3star/KLURMP301/problems/MEANMEDIAN