#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
//cout << b;
int copyB = b;
b /=10;
if (b == a) {
cout << "DA!";
//cout << b;
}else if (((copyB % 10)+(copyB/ 10 % 10)*10)==a) {
//cout << copyB;
cout << "DA!";
}else{
cout << "NU!";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgYSwgYjsKCWNpbiA+PiBhID4+IGI7CgkvL2NvdXQgPDwgYjsKCWludCBjb3B5QiA9IGI7CgliIC89MTA7IAoJaWYgKGIgID09IGEpIHsKCQljb3V0IDw8ICJEQSEiOwoJCS8vY291dCA8PCBiOwoJCQoJfWVsc2UgaWYgKCgoY29weUIgJSAxMCkrKGNvcHlCLyAxMCAlIDEwKSoxMCk9PWEpIHsKCQkvL2NvdXQgPDwgY29weUI7CgkJY291dCA8PCAiREEhIjsKCQkKCX1lbHNlewoJCWNvdXQgPDwgIk5VISI7Cgl9CglyZXR1cm4gMDsKfQ==