uva12602測資B

Input:
50
XNT-1980
FPW-6855
WVY-8031
CAR-9792
KBO-8095
VWI-1965
MJR-2714
LCM-9807
DTJ-1125
RXV-4556
EKQ-7353
HOW-0988
MYL-4403
SJI-1962
QUN-8171
NCH-4225
LEA-2919
KPR-7670
YGY-0466
TCF-0090
WYK-9976
WOR-9188
DNW-2306
TCJ-3428
KFS-6470
IWR-8199
HWU-2395
CMQ-1469
HLJ-4971
BTN-7071
BBH-9679
KFG-1779
MUT-2921
NHE-2480
ZXU-9346
SRU-9616
CGE-1453
BYA-8654
GJY-1820
XUF-5786
FVX-3519
KGK-2810
OXX-6386
XKG-4948
XEP-4865
RYL-2626
CLV-3988
PWY-1617
LBV-3187
YKL-6241
Output:
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
nice
not nice
not nice
not nice
not nice
not nice
nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice
not nice