In this task, you are given books product reviews in English language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative.

Ex Input:
A book full of examples of how NOT to write perl . I couldn't resist the title, so I got this book. Unfortunately, I cannot reccommend it to people who want to learn to write better Perl, execpt as a source of examples of the mistakes you should avoid.    For example, in one of the earliest examples, the authors uses "return undef" in a situation where the return value of the routine is assigned to an array, to indicate the routine didn't find any of whatever it was looking for. Unfortunately, this is a mistake, the correct code would be to use "return;" all on its own. The correct solution produces an empty array or interim values; the mistake creates an array containing one element, 'undef'.    There are a number of similar mistakes which indicate the author is in over his head, writing things he doesn't understand; the editors know even less about the matter; and the code was never tested and verified for correctness.    If you want to learn Perl, get "Learning Perl"; If you want to improve your Perl, get "Intermediate Perl.    To

Ex Output:
NEG


Ex Input:
A fast paced look at downtown NYC post 9-11 . I enjoyed this book.  A portrait of an actress trying to search for  her place in the world after witnessing the fall of the twin towers.  Great details for those familiar with the locations and people that make downtown New York its own universe.  Some names are changed to protect the innocent, but even if you have never ventured south of Times Square, I believe you will be able to enjoy these characters and their attempts to "make it".  A quick read (I finished this in one sitting and I am not a fast reader), fast paced, smart and funny.  I am looking forward to reading other books by this author

Ex Output:
POS


Ex Input:
Beautiful Beginning / Painful (illogical) Ending . I hope the ending is illogical at least and is fiction. If thoughts are that powerful, they need to be resrained earlier. I don't know who survivied but he might feel very guilty about the others earlier and question if he had to survive. Logic can be quite painful when left alone, but sometimes it has to be

Ex Output:

NEG