#include using namespace std; int main() { int i,n,x,m; cin>>n>>x; for(i=1;i<=n;i++) { cin>>m; if(x!=m) cout<