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