Help me in solving PPSC51 problem

My issue

shows invalid syntax for int main

My code

#include<stdio.h>
int main() {
    int x,y;
    scanf("%d %d",&x,&y);
    printf("%d\n",x*y);
    return 0;
}

Learning course: Introduction to C
Problem Link: Chef and Instant Noodles Practice Problem in Introduction to C - CodeChef

#include<stdio.h>
int main() {
int x,y;
scanf(ā€œ%d %dā€,&x,&y);
printf(ā€œ%d\nā€,x*y);
return 0;
}
I run this code in nano and vs code. this code works perfectly. you said that shows invalid syntax for int main just change the sequence of printf and scanf function.