Help me in solving SEARCHINARR problem

My issue

showing runtime error again and again

My code

#include <stdio.h>

int main() {
    int arra[50],i,n,find;
    scanf("%d",&n);
    scanf("%d",&find);
    for(i=0;i<n;i++){
        scanf("%d",&arra[i]);
    }
    int flag=0;
    for(i=0;i<n;i++){
        if(find==arra[i]){
           flag=1;
           break;
        }
    
    }
    if(flag==1){
       printf("yes\n"); }
    else{
        printf("no\n");
    }
    return 0;
}


Learning course: BCS301: Data structures
Problem Link: https://www.codechef.com/learn/course/abesit-dsa/ABESITDS06/problems/SEARCHINARR

Can you add the image of the problem

did you check the constaint of n.
if your n is greater than 50 you will get runtime error