include
using namespace std; / run this program using the console pauser or add your own getch, system("pause") or input loop /
int main(int argc, char** argv) {
int n=0,dele=0;
cin>>n;
int a[n]={0};
for(int i=0;i<n;i++){
cin>>a[i];
}
cin>>dele;
for(int i=0;i<n;i++){
if(i==(dele-1)){
continue;
}
cout<<a[i]<<" ";
}
return 0;
}