Help me in solving GDTURN problem

My issue

no correct answer

My code

#include <stdio.h>

int main() {
    int T;
    
    scanf("%d", &T);

    while (T--) {
        int X, Y;
        
        scanf("%d %d", &X, &Y);

        
        if (X + Y == 7) {
            printf("YES\n");
        } else {
            printf("NO\n");
        }
    }

    return 0;
}

Problem Link: GDTURN Problem - CodeChef

in this problem, the input is the chef and chefina are rolling the dice
so maximum the chef can roll 7 and the chefina can roll 7.So the
the sum of the roll is 14 ,so in your code you have checked only if x+y is 7
i.e x+y == 7 but must check x+y >=7 or x+y > 6