#include
using namespace std;
int main()
{
int N;
cout <<"N = ", cin >> N;
int A[N], M;
cout <<"M = ", cin >> M;
cout <<"A("<<N<<"): ";<br> int B = 0;
for(int i = 0; i < N; i++)
{
cin >> A[i];
if (A[i] == M) B = 1;
}
cout <<(B?"DA":"NET");<br> return 0;
}