#include <iostream>
using namespace std;
int main() {
int speaker, secondSpeaker, thirdSpeaker;
cin >> speaker >> secondSpeaker >> thirdSpeaker;
if ((speaker != secondSpeaker) || (speaker != thirdSpeaker) || (secondSpeaker != thirdSpeaker)) {
cout << "DA" << '\n';
}
else {
cout << "NU" << '\n';
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBpbnQgc3BlYWtlciwgc2Vjb25kU3BlYWtlciwgdGhpcmRTcGVha2VyOwogICAgY2luID4+IHNwZWFrZXIgPj4gc2Vjb25kU3BlYWtlciA+PiB0aGlyZFNwZWFrZXI7CiAgICBpZiAoKHNwZWFrZXIgIT0gc2Vjb25kU3BlYWtlcikgfHwgKHNwZWFrZXIgIT0gdGhpcmRTcGVha2VyKSB8fCAoc2Vjb25kU3BlYWtlciAhPSB0aGlyZFNwZWFrZXIpKSB7CiAgICAgICAgY291dCA8PCAiREEiIDw8ICdcbic7CiAgICB9CiAgICBlbHNlIHsKICAgICAgICBjb3V0IDw8ICJOVSIgPDwgJ1xuJzsKICAgIH0KICAgIHJldHVybiAwOwp9