#include #include using namespace std; int main() { int n,d;cin>>n>>d; vector a(n); a[0]=0; for(int i=1;i>a[i]; if(n==1) {cout<