#include <iostream>using namespace std;
int scif(int x){ int s=0; while(x) { s=s+x%10; x/=10;
} return s;}
int main(){ int s,v[101],n,i,ok=1; cout<<"n= ";cin>>n; cout<<"s= "; cin>>s; for(i=0;i<n;i++) cin>>v[i]; for(i=0;i<n;i++) if(scif(v[i])!=s) { ok=0; break; }
if(ok==1) cout<<"Da"; else cout<<"Nu"; return 0;}