#include using namespace std; int main(){ int a, b; cin >> a >> b; if((a + b) % 15 == 0) { cout << "DA" << endl; } else { cout << "NE" << endl; } return 0; }