Help me in solving GDTURN problem

##my issue
i dont understand what the issue is?
i am getting the correct output in vs code

My code

#include <stdio.h>

int main() {
	// your code goes here
	
	int T,n;
	printf("enter the no. of trials : ");
	scanf("%d", &T);
	
	for(n=1;n<=T;n+=1){
	    int dice1,dice2;
	    printf("enter the 2 nos. : ");
	    scanf("%d %d",&dice1 , &dice2);

		if(dice1<=0 || dice1>6 || dice2<=0 || dice2>6){
			printf("enter correct nos\n");
			break;
		}
	    
	    if(dice1+dice2<6){
	        printf("NO\n");
	    } else {
	        printf("YES\n");
	    }
	}
	
	
	
	return 0;
}


Problem Link: GDTURN Problem - CodeChef

@karan_mah
u don’t need to print the statements.
i have corrected your code.

#include <stdio.h>

int main() {
	// your code goes here
	
	int T,n;
	scanf("%d", &T);
	
	for(n=1;n<=T;n+=1){
	    int dice1,dice2;
	   // printf("enter the 2 nos. : ");
	    scanf("%d %d",&dice1 , &dice2);

	    
	    if(dice1+dice2<=6){
	        printf("NO\n");
	    } else {
	        printf("YES\n");
	    }
	}
	
	return 0;
}