#include <stdio.h>

int main() {
    int x;
    scanf("%d", &x);
    
    if(x % 2 == 0 && x % 3 == 0 && x % 4 == 0) {
        printf("DA");
    }
    else {
        printf("NE");
    }

    
  
    return 0;
}
