#include <iostream>
using namespace std;
int main()
{
int x, y, ok=0;
cin >> x;
cin >> y;
while (y!=0)
{
if (y==x) ok=1;
cin >> y;
}
if (ok==1) cout << "Da";
else cout << "nu";
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int x, y, ok=0;
cin >> x;
cin >> y;
do
{
if (y==x) ok=1;
cin >> y;
}
while (y!=0);
if (ok==1) cout << "Da";
else cout << "nu";
return 0;
}