#include using namespace std; unsigned int n, x, y; int main() { cin >> n >> x; while (cin >> y) { if (x != y) { cout << y << " "; } } return 0; }