#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+3; i++){
        cout<<"NE"<<endl;
}
    for (int j=c+3; j<=d-3; j++){
        cout<<"DA"<<endl;
    }

return 0;}