#include using namespace std;int main(){int N,X;cin >>N>>X;vectorA(N);for(int i=0;i>A[i];}if(X<0){X*=-1;reverse(A.begin(),A.end());for(int i=0;i