#include <iostream>
using namespace std;
/*
Ideea generala:
Daca Pretul produsului se imparte fara rest la 10 sau la 5, afisez "DA".
Altfel, afisez "NU".
Pasii de rezolvare:
Declar si citesc pretul produsului.
Daca restul impartirii acestuia la "10" sau la "5" este egal cu "0":
Afisez "DA".
Altfel, afisez "NU".
Teste:
7 -> NU
4 -> NU
1 -> NU
100 -> DA
10 -> DA
5 -> DA
35 -> DA
45 -> DA
34 -> NU
96 -> NU
95 -> DA
*/
const int TEN = 10;
const int FIVE = 5;
int main() {
int x;
cin >> x;
if (x % TEN == 0 || x % FIVE == 0) {
cout << "DA";
} else {
cout << "NU";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwovKgpJZGVlYSBnZW5lcmFsYToKRGFjYSBQcmV0dWwgcHJvZHVzdWx1aSBzZSBpbXBhcnRlIGZhcmEgcmVzdCBsYSAxMCBzYXUgbGEgNSwgYWZpc2V6ICJEQSIuCkFsdGZlbCwgYWZpc2V6ICJOVSIuCgpQYXNpaSBkZSByZXpvbHZhcmU6CkRlY2xhciBzaSBjaXRlc2MgcHJldHVsIHByb2R1c3VsdWkuCkRhY2EgcmVzdHVsIGltcGFydGlyaWkgYWNlc3R1aWEgbGEgIjEwIiBzYXUgbGEgIjUiIGVzdGUgZWdhbCBjdSAiMCI6CglBZmlzZXogIkRBIi4KQWx0ZmVsLCBhZmlzZXogIk5VIi4KVGVzdGU6CjcgLT4gTlUKNCAtPiBOVQoxIC0+IE5VCjEwMCAtPiBEQQoxMCAtPiBEQQo1IC0+IERBCjM1IC0+IERBCjQ1IC0+IERBCjM0IC0+IE5VCjk2IC0+IE5VCjk1IC0+IERBCiovCmNvbnN0IGludCBURU4gPSAxMDsKY29uc3QgaW50IEZJVkUgPSA1OwoKaW50IG1haW4oKSB7CglpbnQgeDsKCWNpbiA+PiB4OwoJaWYgKHggJSBURU4gPT0gMCB8fCB4ICUgRklWRSA9PSAwKSB7CgkJY291dCA8PCAiREEiOwoJfSBlbHNlIHsKCQljb3V0IDw8ICJOVSI7Cgl9CglyZXR1cm4gMDsKfQ==