Help me in solving GDTURN problem

My issue

Problem Code:
GDTURN

My code



Problem Link: GDTURN Problem - CodeChef

Hello @kaushikreddy79 !!!
actually the question is if the sum of die is less than equal to six you should print NO and if its greater than six you must print yes
i will share my code with you hope it helps!

T=int(input())
for var1 in range(0,T):
x,y=list(map(int,input().split(" ")))
if x+y<=6:
print(“NO”)
else:
print(“YES”)

type or paste code here
``/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Codechef
{
	public static void main (String[] args)
	{
	    Scanner sc= new Scanner(System.in);
	    int x,y,t;
	   t=sc.nextInt();
	 
	    int Sum=0;
	    for(int i =0;i<t;i++){
	          x=sc.nextInt();
	  
	          y=sc.nextInt();
	          Sum=x+y;
	          if(Sum > 6)
		    {
		    System.out.println("YES");
		    }
		    else
		    {
		    System.out.println("NO");
		    }
	    }
		
		   
		}
	
}