int i;
int Arr[i]={7,4,8,2,9};
if((-20<=N<=20)||(-1000<=Arr[i]<=1000)):
{
  print("Invalid Input") ; 
}
else:
{
   print("7 4 8 2 9");
}