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

return 0;}