#include <iostream>
using namespace std;
const int FIVE = 5;
int main() {
int x;
cin >> x;
if (x % FIVE == 0) {
cout << "DA";
} else {
cout << "NU";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY29uc3QgaW50IEZJVkUgPSA1OwoKaW50IG1haW4oKSB7CglpbnQgeDsKCWNpbiA+PiB4OwoJaWYgKHggJSBGSVZFID09IDApIHsKCQljb3V0IDw8ICJEQSI7Cgl9IGVsc2UgewoJCWNvdXQgPDwgIk5VIjsKCX0KCXJldHVybiAwOwp9