請支持702蔡明儒!
#include <iostream>
using namespace std;
int main()
{
int n,r,ID;
while(cin>>n>>r)
{
bool back[10001]={0};
for(int i=1; i<=r; i++) {cin>>ID; back[ID]=1;}
if(n==r) cout<<"*"<<endl;
else
{
for(int i=1; i<=n; i++) if(back[i]==0) cout<<i<<" ";
cout<<endl;
}
}
return 0;
}