#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (((a * a) + (b * b)) == (c * c)) {
cout << " DA " << "\n";
} else {
cout << " NU " << "\n";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBpbnQgYSwgYiwgYzsKICAgIGNpbiA+PiBhID4+IGIgPj4gYzsKICAgIGlmICgoKGEgKiBhKSArIChiICogYikpID09IChjICogYykpIHsKICAgICAgICBjb3V0IDw8ICIgREEgIiA8PCAiXG4iOwogICAgfSBlbHNlIHsKICAgICAgICBjb3V0IDw8ICIgTlUgIiA8PCAiXG4iOwogICAgfQogICAgcmV0dXJuIDA7Cn0=