#include<iostream>
#include<stack>
#include<queue>
#include<vector>
#include<algorithm>
#include<ctime>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#define ll long long
#define inf 0x3f3f3f3f
#define fi first
#define se second
#define Max
// #include<bits/stdc++.h>
// #define local
#define eps 4e-13
#define fo(x,z,y) for(int x = (z); x < (y); ++x)
#define rfo(x,z,y) for(int x = (y) - 1; x >= (z);--x)
using namespace std;
typedef pair<int,int> P;
int dx[] = {0,0,1,-1},dy[] = {1,-1,0,0};
int main(){
    #ifdef local
    freopen("1.txt","r",stdin);
    // freopen("in","r",stdin);
    int clocks = clock();
    #endif
    int n;
    char s[1050];
    while(fgets(s,1050,stdin)){
        (cout<<"NO"<<endl).flush();
    } 
    #ifdef local
    printf("the time is %fms\n",1000 * (double)(clock() - clocks)/CLOCKS_PER_SEC);
    #endif
    return 0;
}