#include using namespace std; int N,D; main() { cin>>N>>D; cout<<0; int S=0,P=0; for(int i=1;i>A; S+=A; if(P+D