#include <bits/stdc++.h>
using namespace std;
int main() {
int n, r, ID, i;
while( cin >> n >> r) {
bool back[10001] = {0};
for ( i = 1; i <= r; i++) {
cin >> ID; back[ID] = 1;
}
if( n == r) {
cout << "*" << endl;
} else {
for ( i = 1; i <= n; i ++) {
if (back[i] == 0) {
cout << i << " ";
}
}
cout << endl;
}
}
}