#include<bits/stdc++.h>
using namespace std;
int main(){
	ios::sync_with_stdio(false);
	cin.tie(0);cout.tie(0);
	cout<<"N\nFAIL\nW\nFAIL\nS\nFAIL\nE\nFAIL"; 
	return 0;
}