Help me in solving FOURTICKETS problem

My issue

include <stdio.h>

int main() {
int t,x;
scanf(“%d”,&t);
while(t–){
scanf(“%d”,&x);
if(3*x<=1000)
printf(“YES\n”);
else
printf(“NO\n”);
}
}

My code

#include <stdio.h>

int main() {
	int t,x;
	scanf("%d",&t);
    while(t--){
        scanf("%d",&x);
        if(3*x<=1000)
        printf("YES\n");
        else
        printf("NO\n");
}
}


Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS00/problems/FOURTICKETS