#include <bits/stdc++.h>
using namespace std;
int n,c,d;
int main (){
    cin>>n;
    c=n/2;
    d=n-c;
    for (int i=1; i<=c+1; i++){
        cout<<"NE"<<endl;
}
    for (int j=c+1; j<=d-1; j++){
        cout<<"DA"<<endl;
    }

return 0;}