Help me in solving CWC23QUALIF problem

My issue

program
for this problem for checking

My code

#include <stdio.h>

int main() {
    int x;
    scanf("%d",&x);
    {
        printf("Yes");
      }  else {
        printf("No");
        }
}


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