#include using namespace std; int main() { int n,d; cin >> n >> d; int a[n-1]; for(int i=0;i> a[i]; } int ls[n]; ls[0] = 0; for(int i=0;i