Help me in solving LPYAS152 problem

My issue

failed on ahidden test case

My code

#include <stdio.h>

int main() {
	int n,i,x=0;
	printf("enter n");
	scanf("%d",&n);
	for(i=1;i<=n;i++)
	{
	    if(n%i==0)
	    {
	        x=x+1;
	    }
	}
	if(x==2)
	{
	    printf("Prime");
	}
	else
	{
	    printf("Not Prime");
	}

}


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

I loop should start fron 2 it is
for(int i=2;i<=n;i++)